@maggioli-design-system/magma 2.5.0 → 2.5.1

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 (594) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +16 -0
  3. package/LICENSE +21 -0
  4. package/agents/conventions.md +7 -0
  5. package/dist/cjs/{index-CWTZb9W2.js → index-Bg68W-da.js} +1 -1
  6. package/dist/cjs/{locale-Os4wg65H.js → locale-CaR39iYg.js} +12 -6
  7. package/dist/cjs/mds-banner_3.cjs.entry.js +1 -1
  8. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-calendar_2.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  12. package/dist/cjs/mds-file-preview.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-input-date-range.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-input-select.cjs.entry.js +9 -5
  24. package/dist/cjs/mds-input-switch_2.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-input-tip_2.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-input-upload.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-input.cjs.entry.js +154 -37
  28. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-keyboard.cjs.entry.js +7 -3
  30. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-link.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-modal.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-push-notification-item.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -5
  50. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-table-row.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  57. package/dist/collection/common/locale.js +12 -6
  58. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  59. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  60. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  61. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  62. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  63. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  64. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  65. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  66. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  67. package/dist/collection/components/mds-author/documentation.json +1 -1
  68. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  69. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  70. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  71. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  72. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  73. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  74. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  75. package/dist/collection/components/mds-badge/documentation.json +1 -1
  76. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  77. package/dist/collection/components/mds-banner/documentation.json +1 -1
  78. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  79. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  80. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  81. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  82. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  83. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  84. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  85. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  86. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  87. package/dist/collection/components/mds-button/documentation.json +1 -1
  88. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  89. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  90. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  91. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  92. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  93. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  94. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  95. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  96. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  97. package/dist/collection/components/mds-card/documentation.json +1 -1
  98. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  99. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  100. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  101. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  102. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  103. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  104. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  105. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  106. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  107. package/dist/collection/components/mds-chip/documentation.json +1 -1
  108. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  109. package/dist/collection/components/mds-details/documentation.json +1 -1
  110. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  111. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  112. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  113. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  114. package/dist/collection/components/mds-emoji/mds-emoji.css +0 -1
  115. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-entity/documentation.json +1 -1
  117. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-file/documentation.json +1 -1
  119. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  121. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-filter/documentation.json +1 -1
  123. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  125. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-header/documentation.json +1 -1
  127. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  128. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  129. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  130. package/dist/collection/components/mds-help/documentation.json +1 -1
  131. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  133. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  134. package/dist/collection/components/mds-hr/documentation.json +1 -1
  135. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  136. package/dist/collection/components/mds-icon/documentation.json +1 -1
  137. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-img/documentation.json +1 -1
  139. package/dist/collection/components/mds-input/AGENTS.md +4 -2
  140. package/dist/collection/components/mds-input/documentation.json +2 -2
  141. package/dist/collection/components/mds-input/mds-input.js +12 -7
  142. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
  143. package/dist/collection/components/mds-input/meta/validators.js +28 -13
  144. package/dist/collection/components/mds-input/meta/validity.js +8 -10
  145. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  147. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  149. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  151. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  153. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  154. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  155. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  157. package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
  158. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  159. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  160. package/dist/collection/components/mds-input-select/mds-input-select.js +7 -3
  161. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  163. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  165. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  167. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  169. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  170. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  171. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -2
  172. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  173. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  174. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  175. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  176. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  178. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  179. package/dist/collection/components/mds-label/documentation.json +1 -1
  180. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  181. package/dist/collection/components/mds-link/documentation.json +1 -1
  182. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-list/documentation.json +1 -1
  184. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  185. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  186. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-mention/documentation.json +1 -1
  188. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-modal/documentation.json +1 -1
  190. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  191. package/dist/collection/components/mds-note/documentation.json +1 -1
  192. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  193. package/dist/collection/components/mds-notification/documentation.json +1 -1
  194. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  196. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  197. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  198. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  199. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  200. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-pref/documentation.json +1 -1
  202. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  204. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  205. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  206. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  208. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  210. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  212. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  214. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  216. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  218. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  219. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  220. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  222. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  224. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  225. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  226. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  228. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  230. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  231. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  232. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-progress/documentation.json +1 -1
  234. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  236. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  237. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  238. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-quote/documentation.json +1 -1
  240. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  242. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  244. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  245. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  246. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-separator/documentation.json +1 -1
  248. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  249. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  250. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  251. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  252. package/dist/collection/components/mds-status-bar/mds-status-bar.css +1 -0
  253. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  254. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  255. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  257. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +6 -4
  258. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-tab/documentation.json +1 -1
  260. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  262. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  264. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  265. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  266. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-table/documentation.json +1 -1
  268. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  269. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  270. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  271. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  272. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  274. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  275. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  276. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  277. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  278. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  280. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  281. package/dist/collection/components/mds-text/documentation.json +1 -1
  282. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  283. package/dist/collection/components/mds-toast/documentation.json +1 -1
  284. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  286. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  287. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  288. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-tree/documentation.json +1 -1
  290. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  292. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  294. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-usage/documentation.json +1 -1
  296. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  298. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-zero/documentation.json +1 -1
  300. package/dist/components/mds-avatar-stack-item.js +1 -1
  301. package/dist/components/mds-avatar-stack.js +1 -1
  302. package/dist/components/mds-avatar.js +1 -1
  303. package/dist/components/mds-banner.js +1 -1
  304. package/dist/components/mds-breadcrumb.js +1 -1
  305. package/dist/components/mds-button-dropdown.js +1 -1
  306. package/dist/components/mds-calendar.js +1 -1
  307. package/dist/components/mds-chip.js +1 -1
  308. package/dist/components/mds-emoji.js +1 -1
  309. package/dist/components/mds-entity.js +1 -1
  310. package/dist/components/mds-file-preview.js +1 -1
  311. package/dist/components/mds-file.js +1 -1
  312. package/dist/components/mds-filter-item.js +1 -1
  313. package/dist/components/mds-filter.js +1 -1
  314. package/dist/components/mds-header-bar.js +1 -1
  315. package/dist/components/mds-header.js +1 -1
  316. package/dist/components/mds-horizontal-scroll.js +1 -1
  317. package/dist/components/mds-img.js +1 -1
  318. package/dist/components/mds-input-date-range.js +1 -1
  319. package/dist/components/mds-input-date.js +1 -1
  320. package/dist/components/mds-input-otp.js +1 -1
  321. package/dist/components/mds-input-range.js +1 -1
  322. package/dist/components/mds-input-select.js +1 -1
  323. package/dist/components/mds-input-switch.js +1 -1
  324. package/dist/components/mds-input-tip-item.js +1 -1
  325. package/dist/components/mds-input-upload.js +1 -1
  326. package/dist/components/mds-input.js +1 -1
  327. package/dist/components/mds-keyboard-key.js +1 -1
  328. package/dist/components/mds-keyboard.js +1 -1
  329. package/dist/components/mds-label.js +1 -1
  330. package/dist/components/mds-link.js +1 -1
  331. package/dist/components/mds-mention.js +1 -1
  332. package/dist/components/mds-modal.js +1 -1
  333. package/dist/components/mds-note.js +1 -1
  334. package/dist/components/mds-paginator.js +1 -1
  335. package/dist/components/mds-policy-ai.js +1 -1
  336. package/dist/components/mds-pref-animation.js +1 -1
  337. package/dist/components/mds-pref-consumption.js +1 -1
  338. package/dist/components/mds-pref-contrast.js +1 -1
  339. package/dist/components/mds-pref-language-item.js +1 -1
  340. package/dist/components/mds-pref-language.js +1 -1
  341. package/dist/components/mds-pref-mode.js +1 -1
  342. package/dist/components/mds-pref-theme.js +1 -1
  343. package/dist/components/mds-pref.js +1 -1
  344. package/dist/components/mds-push-notification-item.js +1 -1
  345. package/dist/components/mds-push-notification.js +1 -1
  346. package/dist/components/mds-radial-menu.js +1 -1
  347. package/dist/components/mds-status-bar.js +1 -1
  348. package/dist/components/mds-stepper-bar-item.js +1 -1
  349. package/dist/components/mds-table-header.js +1 -1
  350. package/dist/components/mds-table-row.js +1 -1
  351. package/dist/components/mds-table.js +1 -1
  352. package/dist/components/mds-toast.js +1 -1
  353. package/dist/components/mds-tree-item.js +1 -1
  354. package/dist/components/mds-url-view.js +1 -1
  355. package/dist/components/mds-usage.js +1 -1
  356. package/dist/components/{p-DF3PrYBI.js → p-5lLueiFt.js} +1 -1
  357. package/dist/components/{p-CLe_N2_H.js → p-BO-jHv-F.js} +1 -1
  358. package/dist/components/{p-CNZ8_QvE.js → p-BbgQG1UL.js} +2 -2
  359. package/dist/components/{p-DCrdKrky.js → p-CJYY4da7.js} +1 -1
  360. package/dist/components/{p-C1CTahjH.js → p-CPvuXO7s.js} +1 -1
  361. package/dist/components/{p-B8x-d2fx.js → p-CZjwSwe5.js} +1 -1
  362. package/dist/components/{p-Cd8id3Br.js → p-CaROqeeK.js} +1 -1
  363. package/dist/components/{p-CfQETwAK.js → p-Cu5nEwMu.js} +1 -1
  364. package/dist/components/{p-nsbhb0lz.js → p-D0A8gS-P.js} +1 -1
  365. package/dist/components/{p-C99SMdU_.js → p-DFD4E9zJ.js} +1 -1
  366. package/dist/components/{p-DiUUZ7ZA.js → p-DTtmr_Y9.js} +1 -1
  367. package/dist/components/{p-D2d9eOLi.js → p-DkYDXDkD.js} +1 -1
  368. package/dist/components/{p-uqwixjju.js → p-DucY18_e.js} +1 -1
  369. package/dist/components/p-yNPPTJ7i.js +1 -0
  370. package/dist/documentation.json +4 -4
  371. package/dist/esm/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
  372. package/dist/esm/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +12 -6
  373. package/dist/esm/mds-banner_3.entry.js +1 -1
  374. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  375. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  376. package/dist/esm/mds-calendar_2.entry.js +1 -1
  377. package/dist/esm/mds-emoji.entry.js +1 -1
  378. package/dist/esm/mds-file-preview.entry.js +1 -1
  379. package/dist/esm/mds-file.entry.js +1 -1
  380. package/dist/esm/mds-filter-item.entry.js +1 -1
  381. package/dist/esm/mds-filter.entry.js +1 -1
  382. package/dist/esm/mds-header-bar.entry.js +1 -1
  383. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  384. package/dist/esm/mds-img.entry.js +1 -1
  385. package/dist/esm/mds-input-date-range.entry.js +1 -1
  386. package/dist/esm/mds-input-date.entry.js +2 -2
  387. package/dist/esm/mds-input-otp.entry.js +1 -1
  388. package/dist/esm/mds-input-range.entry.js +1 -1
  389. package/dist/esm/mds-input-select.entry.js +9 -5
  390. package/dist/esm/mds-input-switch_2.entry.js +1 -1
  391. package/dist/esm/mds-input-tip_2.entry.js +1 -1
  392. package/dist/esm/mds-input-upload.entry.js +1 -1
  393. package/dist/esm/mds-input.entry.js +154 -37
  394. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  395. package/dist/esm/mds-keyboard.entry.js +7 -3
  396. package/dist/esm/mds-label.entry.js +1 -1
  397. package/dist/esm/mds-link.entry.js +1 -1
  398. package/dist/esm/mds-mention.entry.js +1 -1
  399. package/dist/esm/mds-modal.entry.js +1 -1
  400. package/dist/esm/mds-note.entry.js +1 -1
  401. package/dist/esm/mds-paginator.entry.js +1 -1
  402. package/dist/esm/mds-policy-ai.entry.js +1 -1
  403. package/dist/esm/mds-pref-animation.entry.js +1 -1
  404. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  405. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  406. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  407. package/dist/esm/mds-pref-language.entry.js +1 -1
  408. package/dist/esm/mds-pref-mode.entry.js +1 -1
  409. package/dist/esm/mds-pref-theme.entry.js +1 -1
  410. package/dist/esm/mds-pref.entry.js +1 -1
  411. package/dist/esm/mds-push-notification-item.entry.js +1 -1
  412. package/dist/esm/mds-push-notification.entry.js +1 -1
  413. package/dist/esm/mds-radial-menu.entry.js +1 -1
  414. package/dist/esm/mds-status-bar.entry.js +1 -1
  415. package/dist/esm/mds-stepper-bar-item.entry.js +7 -5
  416. package/dist/esm/mds-table-header.entry.js +1 -1
  417. package/dist/esm/mds-table-row.entry.js +1 -1
  418. package/dist/esm/mds-table.entry.js +1 -1
  419. package/dist/esm/mds-toast.entry.js +1 -1
  420. package/dist/esm/mds-tree-item.entry.js +1 -1
  421. package/dist/esm/mds-url-view.entry.js +1 -1
  422. package/dist/esm/mds-usage.entry.js +1 -1
  423. package/dist/esm-es5/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
  424. package/dist/esm-es5/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +22 -18
  425. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  426. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  427. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  428. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  429. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  430. package/dist/esm-es5/mds-file-preview.entry.js +5 -5
  431. package/dist/esm-es5/mds-file.entry.js +1 -1
  432. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  433. package/dist/esm-es5/mds-filter.entry.js +1 -1
  434. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  435. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  436. package/dist/esm-es5/mds-img.entry.js +1 -1
  437. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  438. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  439. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  440. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  441. package/dist/esm-es5/mds-input-select.entry.js +5 -4
  442. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  443. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  444. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  445. package/dist/esm-es5/mds-input.entry.js +53 -50
  446. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  447. package/dist/esm-es5/mds-keyboard.entry.js +6 -3
  448. package/dist/esm-es5/mds-label.entry.js +1 -1
  449. package/dist/esm-es5/mds-link.entry.js +1 -1
  450. package/dist/esm-es5/mds-mention.entry.js +1 -1
  451. package/dist/esm-es5/mds-modal.entry.js +1 -1
  452. package/dist/esm-es5/mds-note.entry.js +1 -1
  453. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  454. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  455. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  456. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  457. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  458. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  459. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  460. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  461. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  462. package/dist/esm-es5/mds-pref.entry.js +1 -1
  463. package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
  464. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  465. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  466. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  467. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
  468. package/dist/esm-es5/mds-table-header.entry.js +1 -1
  469. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  470. package/dist/esm-es5/mds-table.entry.js +1 -1
  471. package/dist/esm-es5/mds-toast.entry.js +1 -1
  472. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  473. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  474. package/dist/esm-es5/mds-usage.entry.js +1 -1
  475. package/dist/hydrate/index.js +190 -57
  476. package/dist/hydrate/index.mjs +190 -57
  477. package/dist/magma-components/magma-components.esm.js +1 -1
  478. package/dist/magma-components/{p-2a964578.entry.js → p-0193734e.entry.js} +1 -1
  479. package/dist/magma-components/{p-ae3bf24c.system.entry.js → p-046697e4.system.entry.js} +1 -1
  480. package/dist/magma-components/{p-81e02997.system.entry.js → p-071f5c7b.system.entry.js} +2 -2
  481. package/dist/magma-components/{p-a9ba496d.entry.js → p-075acd04.entry.js} +1 -1
  482. package/dist/magma-components/{p-94289f3d.system.entry.js → p-07a3c63c.system.entry.js} +5 -5
  483. package/dist/magma-components/{p-57839384.system.entry.js → p-093b8fbc.system.entry.js} +9 -6
  484. package/dist/magma-components/{p-a8e1ce2f.entry.js → p-0e2cd21e.entry.js} +1 -1
  485. package/dist/magma-components/{p-0eb3558a.entry.js → p-11320427.entry.js} +1 -1
  486. package/dist/magma-components/p-14635a8f.entry.js +1 -0
  487. package/dist/magma-components/{p-23c057a9.entry.js → p-168d5fad.entry.js} +1 -1
  488. package/dist/magma-components/{p-254ee71d.entry.js → p-17ec24dc.entry.js} +1 -1
  489. package/dist/magma-components/{p-f670ed20.entry.js → p-198ea5d8.entry.js} +1 -1
  490. package/dist/magma-components/p-1c2c4670.entry.js +1 -0
  491. package/dist/magma-components/{p-42e50f25.system.entry.js → p-1ea582a9.system.entry.js} +3 -3
  492. package/dist/magma-components/{p-2d3b5eb5.entry.js → p-227f57e6.entry.js} +1 -1
  493. package/dist/magma-components/{p-5c4e41d3.system.entry.js → p-2752b45a.system.entry.js} +1 -1
  494. package/dist/magma-components/{p-068e30a5.entry.js → p-29971e1d.entry.js} +1 -1
  495. package/dist/magma-components/{p-8d6470fb.system.entry.js → p-2a4d22c9.system.entry.js} +1 -1
  496. package/dist/magma-components/{p-d0a93a14.system.entry.js → p-2c3f518c.system.entry.js} +6 -3
  497. package/dist/magma-components/{p-1908f808.entry.js → p-2d9c9ef9.entry.js} +1 -1
  498. package/dist/magma-components/p-35528bdd.system.entry.js +225 -0
  499. package/dist/magma-components/{p-74f515c3.system.entry.js → p-37487e8b.system.entry.js} +2 -2
  500. package/dist/magma-components/{p-47717251.system.entry.js → p-38b16983.system.entry.js} +3 -3
  501. package/dist/magma-components/{p-ca1969c5.entry.js → p-3c669cfb.entry.js} +1 -1
  502. package/dist/magma-components/{p-4bc47ff0.system.entry.js → p-3e18b181.system.entry.js} +1 -1
  503. package/dist/magma-components/{p-000c315c.entry.js → p-3f68ddca.entry.js} +1 -1
  504. package/dist/magma-components/{p-0d32e196.system.entry.js → p-44333d50.system.entry.js} +5 -4
  505. package/dist/magma-components/{p-2eb4efcd.system.entry.js → p-44998584.system.entry.js} +2 -2
  506. package/dist/magma-components/{p-84777b38.system.entry.js → p-50705d36.system.entry.js} +2 -2
  507. package/dist/magma-components/{p-0148cf0a.entry.js → p-521ba3a8.entry.js} +1 -1
  508. package/dist/magma-components/{p-577ae081.system.entry.js → p-5472f18d.system.entry.js} +1 -1
  509. package/dist/magma-components/{p-396d95a1.system.entry.js → p-55b10b70.system.entry.js} +2 -2
  510. package/dist/magma-components/{p-617370e7.system.entry.js → p-624a3909.system.entry.js} +6 -6
  511. package/dist/magma-components/{p-5533b60d.system.entry.js → p-62e94d78.system.entry.js} +1 -1
  512. package/dist/magma-components/{p-b738d3c1.entry.js → p-69badbba.entry.js} +1 -1
  513. package/dist/magma-components/{p-29ab84bf.system.entry.js → p-6af00399.system.entry.js} +4 -4
  514. package/dist/magma-components/{p-3dc81ab9.system.entry.js → p-6dff107d.system.entry.js} +2 -2
  515. package/dist/magma-components/{p-70d38284.entry.js → p-770b3c4b.entry.js} +1 -1
  516. package/dist/magma-components/p-77545238.entry.js +1 -0
  517. package/dist/magma-components/{p-05ed801b.system.entry.js → p-79f543fc.system.entry.js} +1 -1
  518. package/dist/magma-components/p-7ad68b2f.entry.js +1 -0
  519. package/dist/magma-components/{p-336f56a4.entry.js → p-7b300282.entry.js} +1 -1
  520. package/dist/magma-components/{p-e5950aee.entry.js → p-7be0d28b.entry.js} +1 -1
  521. package/dist/magma-components/{p-15ffdcf6.entry.js → p-7ca73c56.entry.js} +1 -1
  522. package/dist/magma-components/{p-358aa5e7.entry.js → p-7d0c8177.entry.js} +1 -1
  523. package/dist/magma-components/{p-80eea067.system.entry.js → p-803957de.system.entry.js} +1 -1
  524. package/dist/magma-components/{p-cbb80188.entry.js → p-85a31141.entry.js} +1 -1
  525. package/dist/magma-components/{p-dbd34e3b.entry.js → p-85fb1d08.entry.js} +1 -1
  526. package/dist/magma-components/{p-5da14e81.entry.js → p-87baf82a.entry.js} +1 -1
  527. package/dist/magma-components/{p-3fd8ff0e.system.entry.js → p-88460d31.system.entry.js} +1 -1
  528. package/dist/magma-components/{p-fc2d1134.entry.js → p-8b501f92.entry.js} +1 -1
  529. package/dist/magma-components/{p-d980c3d2.system.entry.js → p-8ca2e879.system.entry.js} +1 -1
  530. package/dist/magma-components/{p-8680f63e.entry.js → p-8d14f146.entry.js} +1 -1
  531. package/dist/magma-components/{p-244676d3.system.entry.js → p-8f47eb63.system.entry.js} +1 -1
  532. package/dist/magma-components/{p-8173ed07.entry.js → p-93d7485d.entry.js} +2 -2
  533. package/dist/magma-components/{p-1eee93c8.system.entry.js → p-94439d8b.system.entry.js} +1 -1
  534. package/dist/magma-components/{p-4c6da1db.system.entry.js → p-947fcf74.system.entry.js} +3 -3
  535. package/dist/magma-components/{p-458eb34c.system.entry.js → p-97eb734a.system.entry.js} +2 -2
  536. package/dist/magma-components/{p-835d79e5.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
  537. package/dist/magma-components/{p-26b9f2b7.system.entry.js → p-9cf81575.system.entry.js} +1 -1
  538. package/dist/magma-components/{p-8645533a.entry.js → p-9f6c502b.entry.js} +1 -1
  539. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  540. package/dist/magma-components/{p-OOCOFWC0.system.js → p-CuHZXISO.system.js} +7 -3
  541. package/dist/magma-components/{p-DXAjcaHM.system.js → p-CxTugGM9.system.js} +1 -1
  542. package/dist/magma-components/{p-U5iXN1wy.js → p-Dx_cCOTw.js} +1 -1
  543. package/dist/magma-components/{p-Raj-urIN.js → p-OafT80hV.js} +1 -1
  544. package/dist/magma-components/{p-2cbd532a.system.entry.js → p-a0612465.system.entry.js} +1 -1
  545. package/dist/magma-components/{p-26451eb6.entry.js → p-a8a0a9ba.entry.js} +1 -1
  546. package/dist/magma-components/{p-d37fe692.system.entry.js → p-a987086b.system.entry.js} +1 -1
  547. package/dist/magma-components/{p-2cdf450c.system.entry.js → p-ad05ef26.system.entry.js} +1 -1
  548. package/dist/magma-components/{p-29162c98.entry.js → p-b01118cc.entry.js} +1 -1
  549. package/dist/magma-components/{p-791a6a6f.entry.js → p-b373cc32.entry.js} +1 -1
  550. package/dist/magma-components/{p-8279056b.system.entry.js → p-b4633c9c.system.entry.js} +1 -1
  551. package/dist/magma-components/{p-55746791.entry.js → p-b467f737.entry.js} +1 -1
  552. package/dist/magma-components/{p-bf0cb77d.system.entry.js → p-b5cc09c7.system.entry.js} +1 -1
  553. package/dist/magma-components/{p-87ce9d6c.entry.js → p-b69c3126.entry.js} +1 -1
  554. package/dist/magma-components/{p-29450db3.entry.js → p-b8a59768.entry.js} +1 -1
  555. package/dist/magma-components/{p-ab00b7b9.entry.js → p-b9ca6c2e.entry.js} +1 -1
  556. package/dist/magma-components/{p-77939a25.system.entry.js → p-bb282bc1.system.entry.js} +1 -1
  557. package/dist/magma-components/{p-6f81c9ef.system.entry.js → p-be6e156a.system.entry.js} +2 -2
  558. package/dist/magma-components/{p-729c89f9.system.entry.js → p-c03fc4fe.system.entry.js} +1 -1
  559. package/dist/magma-components/{p-2aac4003.entry.js → p-c40ad03a.entry.js} +1 -1
  560. package/dist/magma-components/{p-471227f2.system.entry.js → p-cc954b22.system.entry.js} +2 -2
  561. package/dist/magma-components/{p-1faa4f71.entry.js → p-ced3ebb8.entry.js} +1 -1
  562. package/dist/magma-components/{p-41a28f2a.system.entry.js → p-d254de66.system.entry.js} +2 -2
  563. package/dist/magma-components/{p-a76a9f92.system.entry.js → p-d3491226.system.entry.js} +1 -1
  564. package/dist/magma-components/{p-919f9dce.entry.js → p-d608b79c.entry.js} +1 -1
  565. package/dist/magma-components/{p-f2f992c2.system.entry.js → p-da93a00b.system.entry.js} +2 -2
  566. package/dist/magma-components/{p-287601bb.entry.js → p-dbca23af.entry.js} +1 -1
  567. package/dist/magma-components/{p-9855b517.entry.js → p-de1ae02c.entry.js} +1 -1
  568. package/dist/magma-components/{p-f1aafe07.entry.js → p-dedbf8d6.entry.js} +1 -1
  569. package/dist/magma-components/{p-0b3e4a97.system.entry.js → p-e2fa6300.system.entry.js} +1 -1
  570. package/dist/magma-components/{p-860bce85.system.entry.js → p-eb92312f.system.entry.js} +3 -3
  571. package/dist/magma-components/{p-b5789a7c.entry.js → p-ec635255.entry.js} +1 -1
  572. package/dist/magma-components/{p-d561062f.system.entry.js → p-f0285a1e.system.entry.js} +1 -1
  573. package/dist/magma-components/{p-b476435f.entry.js → p-f09b08f9.entry.js} +1 -1
  574. package/dist/magma-components/{p-481897a7.entry.js → p-f306b5c1.entry.js} +1 -1
  575. package/dist/magma-components/{p-d0bfdb44.system.entry.js → p-f39416e9.system.entry.js} +1 -1
  576. package/dist/magma-components/{p-f889d413.system.entry.js → p-f5326224.system.entry.js} +1 -1
  577. package/dist/magma-components/{p-73833405.entry.js → p-f5a33058.entry.js} +1 -1
  578. package/dist/magma-components/{p-96bb36b9.entry.js → p-f616f467.entry.js} +1 -1
  579. package/dist/magma-components/{p-34c2daa9.system.entry.js → p-f75935ed.system.entry.js} +1 -1
  580. package/dist/magma-components/{p-71cbc840.entry.js → p-f901c844.entry.js} +1 -1
  581. package/dist/magma-components/{p-656b00df.system.entry.js → p-fc22f5e0.system.entry.js} +8 -8
  582. package/dist/magma-components/{p-357724ab.entry.js → p-ffbf7448.entry.js} +1 -1
  583. package/dist/stats.json +777 -771
  584. package/dist/types/common/locale.d.ts +5 -0
  585. package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
  586. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  587. package/dist/types/components/mds-input-select/mds-input-select.d.ts +2 -1
  588. package/package.json +1 -1
  589. package/dist/components/p-BbTcXgbr.js +0 -1
  590. package/dist/magma-components/p-632ad925.system.entry.js +0 -222
  591. package/dist/magma-components/p-644e64a0.entry.js +0 -1
  592. package/dist/magma-components/p-7ec1ea2e.entry.js +0 -1
  593. package/dist/magma-components/p-da24a265.entry.js +0 -1
  594. package/dist/magma-components/p-f78c1699.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- System.register(["./p-BZP13mns.system.js","./p-CmqQGcAO.system.js","./p-D9J8lbUv.system.js","./p-Qrub-hmK.system.js","./p-JuViHg2B.system.js","./p-OOCOFWC0.system.js","./p-mGgjNqBm.system.js","./p-ChNqZgW5.system.js","./p-TXBtE7G5.system.js"],(function(e){"use strict";var r,a,i,t,o,s,l,n,v,c,m,d,b,f,g,p,u;return{setters:[function(e){r=e.r;a=e.d;i=e.h;t=e.e;o=e.g},function(e){s=e.m},function(e){l=e.K},function(e){n=e.c},function(e){v=e.f;c=e.a;m=e.b;d=e.c;b=e.g;f=e.d;g=e.e},function(e){p=e.L},function(e){u=e.p},null,null],execute:function(){
1
+ System.register(["./p-BZP13mns.system.js","./p-CmqQGcAO.system.js","./p-D9J8lbUv.system.js","./p-Qrub-hmK.system.js","./p-JuViHg2B.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js","./p-ChNqZgW5.system.js","./p-TXBtE7G5.system.js"],(function(e){"use strict";var r,a,i,t,o,s,l,n,v,c,m,d,b,f,g,p,u;return{setters:[function(e){r=e.r;a=e.d;i=e.h;t=e.e;o=e.g},function(e){s=e.m},function(e){l=e.K},function(e){n=e.c},function(e){v=e.f;c=e.a;m=e.b;d=e.c;b=e.g;f=e.d;g=e.e},function(e){p=e.L},function(e){u=e.p},null,null],execute:function(){
2
2
  /**
3
3
  * filesize
4
4
  *
@@ -6,29 +6,29 @@ System.register(["./p-BZP13mns.system.js","./p-CmqQGcAO.system.js","./p-D9J8lbUv
6
6
  * @license BSD-3-Clause
7
7
  * @version 10.1.6
8
8
  */
9
- var h="array";var w="bit";var x="bits";var y="byte";var k="bytes";var j="";var q="exponent";var B="function";var O="iec";var M="Invalid number";var N="Invalid rounding method";var z="jedec";var E="object";var G=".";var T="round";var C="s";var Z="si";var K="kbit";var P="kB";var D=" ";var F="string";var Y="0";var I={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"]}};function J(e,r){var a=r===void 0?{}:r,i=a.bits,t=i===void 0?false:i,o=a.pad,s=o===void 0?false:o,l=a.base,n=l===void 0?-1:l,v=a.round,c=v===void 0?2:v,m=a.locale,d=m===void 0?j:m,b=a.localeOptions,f=b===void 0?{}:b,g=a.separator,p=g===void 0?j:g,u=a.spacer,J=u===void 0?D:u,Q=a.symbols,R=Q===void 0?{}:Q,W=a.standard,_=W===void 0?j:W,A=a.output,H=A===void 0?F:A,S=a.fullform,U=S===void 0?false:S,V=a.fullforms,X=V===void 0?[]:V,L=a.exponent,$=L===void 0?-1:L,ee=a.roundingMethod,re=ee===void 0?T:ee,ae=a.precision,ie=ae===void 0?0:ae;var te=$,oe=Number(e),se=[],le=0,ne=j;
9
+ var h="array";var w="bit";var x="bits";var y="byte";var k="bytes";var j="";var q="exponent";var B="function";var O="iec";var M="Invalid number";var N="Invalid rounding method";var z="jedec";var E="object";var G=".";var T="round";var Z="s";var C="si";var K="kbit";var P="kB";var D=" ";var Y="string";var F="0";var I={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"]}};function H(e,r){var a=r===void 0?{}:r,i=a.bits,t=i===void 0?false:i,o=a.pad,s=o===void 0?false:o,l=a.base,n=l===void 0?-1:l,v=a.round,c=v===void 0?2:v,m=a.locale,d=m===void 0?j:m,b=a.localeOptions,f=b===void 0?{}:b,g=a.separator,p=g===void 0?j:g,u=a.spacer,H=u===void 0?D:u,J=a.symbols,Q=J===void 0?{}:J,R=a.standard,S=R===void 0?j:R,X=a.output,_=X===void 0?Y:X,A=a.fullform,U=A===void 0?false:A,V=a.fullforms,W=V===void 0?[]:V,L=a.exponent,$=L===void 0?-1:L,ee=a.roundingMethod,re=ee===void 0?T:ee,ae=a.precision,ie=ae===void 0?0:ae;var te=$,oe=Number(e),se=[],le=0,ne=j;
10
10
  // Sync base & standard
11
- if(_===Z){n=10;_=z}else if(_===O||_===z){n=2}else if(n===2){_=O}else{n=10;_=z}var ve=n===10?1e3:1024,ce=U===true,me=oe<0,de=Math[re];if(typeof e!=="bigint"&&isNaN(e)){throw new TypeError(M)}if(typeof de!==B){throw new TypeError(N)}
11
+ if(S===C){n=10;S=z}else if(S===O||S===z){n=2}else if(n===2){S=O}else{n=10;S=z}var ve=n===10?1e3:1024,ce=U===true,me=oe<0,de=Math[re];if(typeof e!=="bigint"&&isNaN(e)){throw new TypeError(M)}if(typeof de!==B){throw new TypeError(N)}
12
12
  // Flipping a negative number to determine the size
13
13
  if(me){oe=-oe}
14
14
  // Determining the exponent
15
15
  if(te===-1||isNaN(te)){te=Math.floor(Math.log(oe)/Math.log(ve));if(te<0){te=0}}
16
16
  // Exceeding supported length, time to reduce & multiply
17
- if(te>8){if(ie>0){ie+=8-te}te=8}if(H===q){return te}
17
+ if(te>8){if(ie>0){ie+=8-te}te=8}if(_===q){return te}
18
18
  // Zero is now a special case because bytes divide by 1
19
- if(oe===0){se[0]=0;ne=se[1]=I.symbol[_][t?x:k][te]}else{le=oe/(n===2?Math.pow(2,te*10):Math.pow(1e3,te));if(t){le=le*8;if(le>=ve&&te<8){le=le/ve;te++}}var be=Math.pow(10,te>0?c:0);se[0]=de(le*be)/be;if(se[0]===ve&&te<8&&$===-1){se[0]=1;te++}ne=se[1]=n===10&&te===1?t?K:P:I.symbol[_][t?x:k][te]}
19
+ if(oe===0){se[0]=0;ne=se[1]=I.symbol[S][t?x:k][te]}else{le=oe/(n===2?Math.pow(2,te*10):Math.pow(1e3,te));if(t){le=le*8;if(le>=ve&&te<8){le=le/ve;te++}}var be=Math.pow(10,te>0?c:0);se[0]=de(le*be)/be;if(se[0]===ve&&te<8&&$===-1){se[0]=1;te++}ne=se[1]=n===10&&te===1?t?K:P:I.symbol[S][t?x:k][te]}
20
20
  // Decorating a 'diff'
21
21
  if(me){se[0]=-se[0]}
22
22
  // Setting optional precision
23
23
  if(ie>0){se[0]=se[0].toPrecision(ie)}
24
24
  // Applying custom symbol
25
- se[1]=R[se[1]]||se[1];if(d===true){se[0]=se[0].toLocaleString()}else if(d.length>0){se[0]=se[0].toLocaleString(d,f)}else if(p.length>0){se[0]=se[0].toString().replace(G,p)}if(s&&c>0){var fe=se[0].toString(),ge=p||((fe.match(/(\D)/g)||[]).pop()||G),pe=fe.toString().split(ge),ue=pe[1]||j,he=ue.length,we=c-he;se[0]="".concat(pe[0]).concat(ge).concat(ue.padEnd(he+we,Y))}if(ce){se[1]=X[te]?X[te]:I.fullform[_][te]+(t?w:y)+(se[0]===1?j:C)}
25
+ se[1]=Q[se[1]]||se[1];if(d===true){se[0]=se[0].toLocaleString()}else if(d.length>0){se[0]=se[0].toLocaleString(d,f)}else if(p.length>0){se[0]=se[0].toString().replace(G,p)}if(s&&c>0){var fe=se[0].toString(),ge=p||((fe.match(/(\D)/g)||[]).pop()||G),pe=fe.toString().split(ge),ue=pe[1]||j,he=ue.length,we=c-he;se[0]="".concat(pe[0]).concat(ge).concat(ue.padEnd(he+we,F))}if(ce){se[1]=W[te]?W[te]:I.fullform[S][te]+(t?w:y)+(se[0]===1?j:Z)}
26
26
  // Returning Array, Object, or String (default)
27
- return H===h?se:H===E?{value:se[0],symbol:se[1],exponent:te,unit:ne}:se.join(J)}var Q="Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης";var R={remove:Q};var W="Remove file from upload queue";var _={remove:W};var A="Eliminar archivo de la cola de carga";var H={remove:A};var S="Rimuovi file dalla coda di upload";var U={remove:S};var V=function(){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-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(--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(--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(--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(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));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;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{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));grid-template-columns:repeat(1,minmax(1px,100%));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;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.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(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.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(--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(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-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(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-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(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-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])){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(--text-neutral-default,5 5 5)));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(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-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(--text-neutral-default,5 5 5)));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])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}"};var X=e("mds_file_preview",/** @class */function(){function e(e){var i=this;r(this,e);this.downloadedEvent=a(this,"mdsFileDownload",7);this.deletedEvent=a(this,"mdsFileDelete",7);this.t=new p({el:Object.assign(Object.assign({},R),d),en:Object.assign(Object.assign({},_),m),es:Object.assign(Object.assign({},H),c),it:Object.assign(Object.assign({},U),v)});this.km=new l;
27
+ return _===h?se:_===E?{value:se[0],symbol:se[1],exponent:te,unit:ne}:se.join(H)}var J="Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης";var Q={remove:J};var R="Remove file from upload queue";var S={remove:R};var X="Eliminar archivo de la cola de carga";var _={remove:X};var A="Rimuovi file dalla coda di upload";var U={remove:A};var V=function(){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-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(--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(--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(--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(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));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;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{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));grid-template-columns:repeat(1,minmax(1px,100%));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;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.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(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.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(--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(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-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(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-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(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-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])){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(--text-neutral-default,5 5 5)));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(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-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(--text-neutral-default,5 5 5)));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])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}"};var W=e("mds_file_preview",/** @class */function(){function e(e){var i=this;r(this,e);this.downloadedEvent=a(this,"mdsFileDownload",7);this.deletedEvent=a(this,"mdsFileDelete",7);this.t=new p({el:Object.assign(Object.assign({},Q),d),en:Object.assign(Object.assign({},S),m),es:Object.assign(Object.assign({},_),c),it:Object.assign(Object.assign({},U),v)});this.km=new l;
28
28
  /**
29
29
  * Truncates the filename shown
30
30
  */this.truncate="word";this.getDefaultKeyDescription=function(){return b(i.filename,i.suffix).description};this.onClickDeletedEvent=function(){i.deletedEvent.emit({target:i.host,filename:i.filename,extension:f(i.filename,i.suffix)})};this.onClickDownloadEvent=function(){if(!i.downloadable)return;i.downloadedEvent.emit({target:i.host,filename:i.filename,extension:f(i.filename,i.suffix)})};this.cardRef=function(e){if(e===i.card)return;i.km.removeElement();i.card=e!==null&&e!==void 0?e:undefined;i.attachCardKeyboard()};this.attachCardKeyboard=function(){if(!i.card)return;i.km.addElement(i.card);i.km.attachClickBehavior("element",{space:true})}}e.prototype.componentWillLoad=function(){this.format=b(this.filename,this.suffix).format};
31
31
  // a preview moved in the page is disconnected and connected again, without loading again
32
32
  e.prototype.connectedCallback=function(){this.attachCardKeyboard()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.handleFilename=function(e){this.format=b(e,this.suffix).format};e.prototype.render=function(){var e,r,a,o,l,v,c;
33
33
  // a removed attribute or a null bound by a framework counts as not set, like an empty value
34
- var m=((e=this.message)!==null&&e!==void 0?e:"")!=="";return i(t,{key:"ccceeecb39e0ce014d80db8278ea827c59f7cb7e","pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"18bd3233c61809fc39e6767d6ecb49aa7cd07082",title:this.t.get("remove"),class:"action-delete",icon:s,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"78b37a7dd81c75fa1996ff0fb75a9b1ff1abb6d0",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":undefined,tabindex:this.downloadable?"0":undefined},((r=this.src)!==null&&r!==void 0?r:"")!==""&&!m&&b(this.filename,this.suffix).preview?i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):i("div",{class:n("preview",m?"preview--status":"preview--icon")},((a=this.icon)!==null&&a!==void 0?a:"")!==""?i("mds-icon",{class:"icon",name:this.icon}):i("mds-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-text",{key:"b75b4c9d2a1b8b9e0ed08fdb7bea49cf1a618ada",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"920765752c32efd20d0d5ed2f6eaa91ec7ac35ef",class:n("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"8b0ff0bcf74ec1ef959460968f731799e5ff597c",class:"file-size",truncate:"word",typography:"caption",variant:"info"},J(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"d2744f6a13812fa0f9d6905a95adaee0694f294e",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),f(this.filename,this.suffix)&&i("mds-badge",{key:"7c8d72a726ce424023be53c8514101c43e92d72b",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(o=this.description)!==null&&o!==void 0?o:this.t.get(this.getDefaultKeyDescription())},f(this.filename,this.suffix)),((l=this.filesize)!==null&&l!==void 0?l:"")===""&&i("mds-text",{key:"8c3d0edb1b594eb9b2c4e14e5f91b0f336cf80a5",class:"description",truncate:"word",typography:"caption",variant:"info",title:(v=this.description)!==null&&v!==void 0?v:this.t.get(this.getDefaultKeyDescription())},(c=this.description)!==null&&c!==void 0?c:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:[{handleFilename:0}]}},enumerable:false,configurable:true});return e}());X.style=V()}}}));
34
+ var m=((e=this.message)!==null&&e!==void 0?e:"")!=="";return i(t,{key:"ccceeecb39e0ce014d80db8278ea827c59f7cb7e","pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"18bd3233c61809fc39e6767d6ecb49aa7cd07082",title:this.t.get("remove"),class:"action-delete",icon:s,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"78b37a7dd81c75fa1996ff0fb75a9b1ff1abb6d0",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":undefined,tabindex:this.downloadable?"0":undefined},((r=this.src)!==null&&r!==void 0?r:"")!==""&&!m&&b(this.filename,this.suffix).preview?i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):i("div",{class:n("preview",m?"preview--status":"preview--icon")},((a=this.icon)!==null&&a!==void 0?a:"")!==""?i("mds-icon",{class:"icon",name:this.icon}):i("mds-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-text",{key:"b75b4c9d2a1b8b9e0ed08fdb7bea49cf1a618ada",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"920765752c32efd20d0d5ed2f6eaa91ec7ac35ef",class:n("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"8b0ff0bcf74ec1ef959460968f731799e5ff597c",class:"file-size",truncate:"word",typography:"caption",variant:"info"},H(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"d2744f6a13812fa0f9d6905a95adaee0694f294e",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),f(this.filename,this.suffix)&&i("mds-badge",{key:"7c8d72a726ce424023be53c8514101c43e92d72b",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(o=this.description)!==null&&o!==void 0?o:this.t.get(this.getDefaultKeyDescription())},f(this.filename,this.suffix)),((l=this.filesize)!==null&&l!==void 0?l:"")===""&&i("mds-text",{key:"8c3d0edb1b594eb9b2c4e14e5f91b0f336cf80a5",class:"description",truncate:"word",typography:"caption",variant:"info",title:(v=this.description)!==null&&v!==void 0?v:this.t.get(this.getDefaultKeyDescription())},(c=this.description)!==null&&c!==void 0?c:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:[{handleFilename:0}]}},enumerable:false,configurable:true});return e}());W.style=V()}}}));
@@ -1 +1 @@
1
- import{r as t,d as a,h as e,e as i,g as r}from"./p-CvLLN-QH.js";import{c as s}from"./p-ChV9xqsO.js";import{m as n}from"./p-D17B058a.js";import{s as o}from"./p-wI0alRSO.js";import{K as c}from"./p-CGrPq3C4.js";import{c as l}from"./p-AEckDMXh.js";import{L as d}from"./p-Raj-urIN.js";import{p as m}from"./p-iX3kcwYg.js";import{s as h}from"./p-Cvhn9asj.js";const g={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 u={select:"Επιλογή {{#label}}{{label}}{{/label}}{{^label}}στοιχείο{{/label}}",unselect:"Αποεπιλογή {{#label}}{{label}}{{/label}}{{^label}}στοιχείο{{/label}}"},b={select:"Select {{#label}}{{label}}{{/label}}{{^label}}element{{/label}}",unselect:"Deselect {{#label}}{{label}}{{/label}}{{^label}}element{{/label}}"},p={select:"Seleccionar {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}",unselect:"Deseleccionar {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}"},v={select:"Seleziona {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}",unselect:"Deseleziona {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}"};const w=class{constructor(e){t(this,e),this.changeEvent=a(this,"mdsInputSwitchChange",7),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.formDisabled=!1,this.km=new c,this.loadChecked=!1,this.knobSliding=!1,this.hasText=!1,this.t=new d({el:u,en:b,es:p,it:v}),this.icon="",this.name="",this.size="md",this.type="switch",this.typography="detail",this.value="",this.uncheckSiblings=()=>{var t;if(""===(null!==(t=this.name)&&void 0!==t?t:""))return;const a=this.host.getRootNode(),e=this.host.closest("form");a.querySelectorAll('mds-input-switch[type="radio"]').forEach((t=>{t!==this.host&&t.name===this.name&&t.closest("form")===e&&(t.checked=!1)}))},this.handleInputOnChange=t=>{var a;const{value:e}=t.target;t.preventDefault(),t.stopPropagation();const i=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.getElementById("field");this.checked=i.checked,this.indeterminate=!1,this.changeEvent.emit({name:this.name,checked:this.checked,value:e})},this.handleKnobSlideEnd=t=>{t.target===t.currentTarget&&t.animationName===(this.checked?"check":"uncheck")&&(this.knobSliding=!1)},this.checkFocusElement=()=>{var t;this.km.addElement(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".field")),this.km.attachClickBehavior()},this.isDisabled=()=>!!this.disabled||this.formDisabled}updateFormValue(){var t;o(this.internals,this.checked&&!this.disabled&&null!==(t=this.value)&&void 0!==t?t:null)}disabledChanged(t){!1!==t?this.updateFormValue():this.disabled=void 0}checkedChanged(t,a){"switch"===this.type&&!!t!=!!a&&(this.knobSliding=!0),!1!==t?(t&&"radio"===this.type&&this.uncheckSiblings(),this.updateFormValue()):this.checked=void 0}valueChanged(){this.updateFormValue()}explicitChanged(t){!1===t&&(this.explicit=void 0)}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.checked=!!this.loadChecked||void 0,this.updateFormValue()}componentWillLoad(){this.loadChecked=!0===this.checked}componentDidLoad(){var t;this.label=null!==(t=this.host.textContent)&&void 0!==t?t:"",this.updateFormValue(),this.checkFocusElement(),this.hasText=l(this.host)}render(){var t;const{iconChecked:a,iconUnchecked:r,iconIndeterminate:o}=g[this.type],c=""!==this.icon?this.icon:a;return e(i,{key:"92ec2cf3d834a0d82174dce069eafd5c73aa14ee","pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},e("input",{key:"349d2bfc253d8dbf28bd85266f104b8e642ba5d6","aria-label":this.t.get(this.checked?"unselect":"select",{label:this.label}),autoFocus:this.autofocus,checked:this.checked,class:"field",disabled:this.isDisabled(),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:s("switch-container",this.knobSliding&&"switch-container--sliding")},e("div",{class:"switch"},e("div",{class:"switch-toggle",onAnimationEnd:this.handleKnobSlideEnd,"on-animationcancel":this.handleKnobSlideEnd},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':n})))):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:s(this.indeterminate?o:r)})),this.checked&&e("mds-text",{class:"icon-typography-checked",tag:"div",typography:this.typography,variant:this.variant},e("mds-icon",{class:"icon-checked",name:s(this.indeterminate?o:c)}))),e("label",{key:"b80348498b925b2721eed33579b1b5ba47723d08",htmlFor:"field",class:s("label-text",!this.hasText&&"label-text--empty")},e("mds-text",{key:"2c9e25b1861c8de5ebc83656f4c7be9f4b9474da",tag:"p",typography:this.typography,variant:this.variant},e("slot",{key:"c44943cb54847669339a9c85e2ec425c7bd5a577"}))))}static get formAssociated(){return!0}get host(){return r(this)}static get watchers(){return{disabled:[{disabledChanged:0}],checked:[{checkedChanged:0}],value:[{valueChanged:0}],explicit:[{explicitChanged:0}]}}};w.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-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(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,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:var(--duration-300,.3s);--mds-input-switch-icon-color-checked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-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(--variant-primary-04,36 103 231))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-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);position:relative}.field{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.label-icon{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(--magma-radius-3xs,var(--radius-squircle-3xs,6px));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(--magma-corner-shape,squircle);align-items:baseline;cursor:pointer;display:flex;position:relative;transition-property:outline-offset,opacity}.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(--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(--magma-radius-full,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(--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));transition-duration:var(--mds-input-switch-duration,var(--duration-300,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));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(--magma-radius-full,var(--radius-full,1000px))}.switch-toggle{align-items:center;animation-duration:calc(var(--mds-input-switch-duration,var(--duration-300,.3s))*1.5);animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:var(--mds-input-switch-animation-timing-function);background-color:var(--mds-input-switch-toggle-color-enabled-unchecked,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);display:flex;height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));justify-content:center;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,width;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(--variant-primary-04,36 103 231))))}.field:checked+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translate(100%)}.field:checked+.switch-container--sliding .switch-toggle{animation-name:check}.field:not(:checked)+.switch-container--sliding .switch-toggle{animation-name:uncheck}.field:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-unchecked,rgb(var(--magma-wash-strong,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(--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(--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(--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),:host([disabled]){pointer-events:none}.icon-checked,.icon-unchecked{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);transition-duration:var(--duration-200,.2s);transition-property:fill,transform;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(--text-neutral-subtle,99 99 99))));opacity:1;transform:scale(1)}.icon-checked,.icon-unchecked{transition-duration:var(--mds-input-switch-duration,var(--duration-300,.3s))}.icon-checked{fill:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-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);transition-duration:calc(var(--mds-input-switch-duration,var(--duration-300,.3s))*2)}.field:checked+.label-icon .icon-checked{transform:scale(1);transition-duration:calc(var(--mds-input-switch-duration,var(--duration-300,.3s))*1.5)}.field:disabled+.label-icon .icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-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(--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(--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(--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(--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(--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(--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(--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(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-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(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}}';const f=class{constructor(a){t(this,a)}componentWillLoad(){h(this.host,"role","cell")}render(){return e(i,{key:"e729dcb332b155e67087c9df7467a749e6dfd824","pref-animation":m.state.animation},e("slot",{key:"9a3460cff8e06f3ca9edd802e149c07d85126130"}))}get host(){return r(this)}};f.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-table-cell-background:var(--mds-table-row-background);--mds-table-cell-background-alt:var(--mds-table-background);--mds-table-cell-color-alt:var(--mds-table-color);--mds-table-cell-color:var(--mds-table-row-color);--mds-table-cell-transition-duration:var(--duration-200,.2s);--private-table-cell-transition-duration:var(--mds-table-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-cell-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;color:var(--mds-table-cell-color);display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,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-table-cell-transition-duration:0s}:host([sorted]){--mds-table-cell-background:var(--mds-table-cell-background-alt);--mds-table-cell-color:var(--mds-table-cell-color-alt)}: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}@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-table-cell-transition-duration:0s}}';export{w as mds_input_switch,f as mds_table_cell}
1
+ import{r as t,d as a,h as e,e as i,g as r}from"./p-CvLLN-QH.js";import{c as s}from"./p-ChV9xqsO.js";import{m as n}from"./p-D17B058a.js";import{s as o}from"./p-wI0alRSO.js";import{K as c}from"./p-CGrPq3C4.js";import{c as l}from"./p-AEckDMXh.js";import{L as d}from"./p-OafT80hV.js";import{p as m}from"./p-iX3kcwYg.js";import{s as h}from"./p-Cvhn9asj.js";const g={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 u={select:"Επιλογή {{#label}}{{label}}{{/label}}{{^label}}στοιχείο{{/label}}",unselect:"Αποεπιλογή {{#label}}{{label}}{{/label}}{{^label}}στοιχείο{{/label}}"},b={select:"Select {{#label}}{{label}}{{/label}}{{^label}}element{{/label}}",unselect:"Deselect {{#label}}{{label}}{{/label}}{{^label}}element{{/label}}"},p={select:"Seleccionar {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}",unselect:"Deseleccionar {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}"},v={select:"Seleziona {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}",unselect:"Deseleziona {{#label}}{{label}}{{/label}}{{^label}}elemento{{/label}}"};const w=class{constructor(e){t(this,e),this.changeEvent=a(this,"mdsInputSwitchChange",7),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals),this.formDisabled=!1,this.km=new c,this.loadChecked=!1,this.knobSliding=!1,this.hasText=!1,this.t=new d({el:u,en:b,es:p,it:v}),this.icon="",this.name="",this.size="md",this.type="switch",this.typography="detail",this.value="",this.uncheckSiblings=()=>{var t;if(""===(null!==(t=this.name)&&void 0!==t?t:""))return;const a=this.host.getRootNode(),e=this.host.closest("form");a.querySelectorAll('mds-input-switch[type="radio"]').forEach((t=>{t!==this.host&&t.name===this.name&&t.closest("form")===e&&(t.checked=!1)}))},this.handleInputOnChange=t=>{var a;const{value:e}=t.target;t.preventDefault(),t.stopPropagation();const i=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.getElementById("field");this.checked=i.checked,this.indeterminate=!1,this.changeEvent.emit({name:this.name,checked:this.checked,value:e})},this.handleKnobSlideEnd=t=>{t.target===t.currentTarget&&t.animationName===(this.checked?"check":"uncheck")&&(this.knobSliding=!1)},this.checkFocusElement=()=>{var t;this.km.addElement(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".field")),this.km.attachClickBehavior()},this.isDisabled=()=>!!this.disabled||this.formDisabled}updateFormValue(){var t;o(this.internals,this.checked&&!this.disabled&&null!==(t=this.value)&&void 0!==t?t:null)}disabledChanged(t){!1!==t?this.updateFormValue():this.disabled=void 0}checkedChanged(t,a){"switch"===this.type&&!!t!=!!a&&(this.knobSliding=!0),!1!==t?(t&&"radio"===this.type&&this.uncheckSiblings(),this.updateFormValue()):this.checked=void 0}valueChanged(){this.updateFormValue()}explicitChanged(t){!1===t&&(this.explicit=void 0)}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.checked=!!this.loadChecked||void 0,this.updateFormValue()}componentWillLoad(){this.loadChecked=!0===this.checked}componentDidLoad(){var t;this.label=null!==(t=this.host.textContent)&&void 0!==t?t:"",this.updateFormValue(),this.checkFocusElement(),this.hasText=l(this.host)}render(){var t;const{iconChecked:a,iconUnchecked:r,iconIndeterminate:o}=g[this.type],c=""!==this.icon?this.icon:a;return e(i,{key:"92ec2cf3d834a0d82174dce069eafd5c73aa14ee","pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},e("input",{key:"349d2bfc253d8dbf28bd85266f104b8e642ba5d6","aria-label":this.t.get(this.checked?"unselect":"select",{label:this.label}),autoFocus:this.autofocus,checked:this.checked,class:"field",disabled:this.isDisabled(),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:s("switch-container",this.knobSliding&&"switch-container--sliding")},e("div",{class:"switch"},e("div",{class:"switch-toggle",onAnimationEnd:this.handleKnobSlideEnd,"on-animationcancel":this.handleKnobSlideEnd},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':n})))):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:s(this.indeterminate?o:r)})),this.checked&&e("mds-text",{class:"icon-typography-checked",tag:"div",typography:this.typography,variant:this.variant},e("mds-icon",{class:"icon-checked",name:s(this.indeterminate?o:c)}))),e("label",{key:"b80348498b925b2721eed33579b1b5ba47723d08",htmlFor:"field",class:s("label-text",!this.hasText&&"label-text--empty")},e("mds-text",{key:"2c9e25b1861c8de5ebc83656f4c7be9f4b9474da",tag:"p",typography:this.typography,variant:this.variant},e("slot",{key:"c44943cb54847669339a9c85e2ec425c7bd5a577"}))))}static get formAssociated(){return!0}get host(){return r(this)}static get watchers(){return{disabled:[{disabledChanged:0}],checked:[{checkedChanged:0}],value:[{valueChanged:0}],explicit:[{explicitChanged:0}]}}};w.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-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(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,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:var(--duration-300,.3s);--mds-input-switch-icon-color-checked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-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(--variant-primary-04,36 103 231))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-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);position:relative}.field{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.label-icon{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(--magma-radius-3xs,var(--radius-squircle-3xs,6px));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(--magma-corner-shape,squircle);align-items:baseline;cursor:pointer;display:flex;position:relative;transition-property:outline-offset,opacity}.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(--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(--magma-radius-full,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(--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));transition-duration:var(--mds-input-switch-duration,var(--duration-300,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));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(--magma-radius-full,var(--radius-full,1000px))}.switch-toggle{align-items:center;animation-duration:calc(var(--mds-input-switch-duration,var(--duration-300,.3s))*1.5);animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:var(--mds-input-switch-animation-timing-function);background-color:var(--mds-input-switch-toggle-color-enabled-unchecked,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);display:flex;height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));justify-content:center;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,width;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(--variant-primary-04,36 103 231))))}.field:checked+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translate(100%)}.field:checked+.switch-container--sliding .switch-toggle{animation-name:check}.field:not(:checked)+.switch-container--sliding .switch-toggle{animation-name:uncheck}.field:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-unchecked,rgb(var(--magma-wash-strong,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(--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(--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(--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),:host([disabled]){pointer-events:none}.icon-checked,.icon-unchecked{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);transition-duration:var(--duration-200,.2s);transition-property:fill,transform;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(--text-neutral-subtle,99 99 99))));opacity:1;transform:scale(1)}.icon-checked,.icon-unchecked{transition-duration:var(--mds-input-switch-duration,var(--duration-300,.3s))}.icon-checked{fill:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-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);transition-duration:calc(var(--mds-input-switch-duration,var(--duration-300,.3s))*2)}.field:checked+.label-icon .icon-checked{transform:scale(1);transition-duration:calc(var(--mds-input-switch-duration,var(--duration-300,.3s))*1.5)}.field:disabled+.label-icon .icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-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(--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(--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(--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(--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(--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(--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(--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(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-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(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}}';const f=class{constructor(a){t(this,a)}componentWillLoad(){h(this.host,"role","cell")}render(){return e(i,{key:"e729dcb332b155e67087c9df7467a749e6dfd824","pref-animation":m.state.animation},e("slot",{key:"9a3460cff8e06f3ca9edd802e149c07d85126130"}))}get host(){return r(this)}};f.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-table-cell-background:var(--mds-table-row-background);--mds-table-cell-background-alt:var(--mds-table-background);--mds-table-cell-color-alt:var(--mds-table-color);--mds-table-cell-color:var(--mds-table-row-color);--mds-table-cell-transition-duration:var(--duration-200,.2s);--private-table-cell-transition-duration:var(--mds-table-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-cell-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;color:var(--mds-table-cell-color);display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,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-table-cell-transition-duration:0s}:host([sorted]){--mds-table-cell-background:var(--mds-table-cell-background-alt);--mds-table-cell-color:var(--mds-table-cell-color-alt)}: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}@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-table-cell-transition-duration:0s}}';export{w as mds_input_switch,f as mds_table_cell}