@fluentui/web-components 3.0.0-beta.7 → 3.0.0-beta.70

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 (830) hide show
  1. package/CHANGELOG.md +774 -103
  2. package/README.md +46 -15
  3. package/dist/dts/accordion/accordion.bench.d.ts +3 -0
  4. package/dist/dts/accordion/accordion.d.ts +70 -3
  5. package/dist/dts/accordion/accordion.definition.d.ts +0 -4
  6. package/dist/dts/accordion/accordion.options.d.ts +14 -0
  7. package/dist/dts/accordion/accordion.template.d.ts +4 -0
  8. package/dist/dts/accordion/index.d.ts +2 -1
  9. package/dist/dts/accordion-item/accordion-item.bench.d.ts +3 -0
  10. package/dist/dts/accordion-item/accordion-item.d.ts +120 -12
  11. package/dist/dts/accordion-item/accordion-item.definition.d.ts +0 -3
  12. package/dist/dts/accordion-item/accordion-item.options.d.ts +4 -4
  13. package/dist/dts/accordion-item/accordion-item.template.d.ts +2 -1
  14. package/dist/dts/accordion-item/index.d.ts +3 -2
  15. package/dist/dts/anchor-button/anchor-button.bench.d.ts +3 -0
  16. package/dist/dts/anchor-button/anchor-button.d.ts +185 -26
  17. package/dist/dts/anchor-button/anchor-button.definition.d.ts +0 -3
  18. package/dist/dts/anchor-button/anchor-button.options.d.ts +43 -6
  19. package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -2
  20. package/dist/dts/anchor-button/index.d.ts +4 -3
  21. package/dist/dts/avatar/avatar.bench.d.ts +3 -0
  22. package/dist/dts/avatar/avatar.d.ts +51 -23
  23. package/dist/dts/avatar/avatar.options.d.ts +7 -7
  24. package/dist/dts/avatar/index.d.ts +2 -2
  25. package/dist/dts/badge/badge.bench.d.ts +3 -0
  26. package/dist/dts/badge/badge.d.ts +31 -1
  27. package/dist/dts/badge/badge.definition.d.ts +0 -3
  28. package/dist/dts/badge/badge.options.d.ts +7 -7
  29. package/dist/dts/badge/index.d.ts +2 -2
  30. package/dist/dts/button/button.bench.d.ts +3 -0
  31. package/dist/dts/button/button.d.ts +284 -23
  32. package/dist/dts/button/button.definition.d.ts +2 -3
  33. package/dist/dts/button/button.options.d.ts +42 -7
  34. package/dist/dts/button/button.styles.d.ts +9 -0
  35. package/dist/dts/button/button.template.d.ts +8 -0
  36. package/dist/dts/button/index.d.ts +5 -4
  37. package/dist/dts/checkbox/checkbox.bench.d.ts +3 -0
  38. package/dist/dts/checkbox/checkbox.d.ts +343 -15
  39. package/dist/dts/checkbox/checkbox.options.d.ts +15 -12
  40. package/dist/dts/checkbox/checkbox.template.d.ts +7 -1
  41. package/dist/dts/checkbox/index.d.ts +4 -3
  42. package/dist/dts/compound-button/compound-button.bench.d.ts +3 -0
  43. package/dist/dts/compound-button/compound-button.definition.d.ts +0 -3
  44. package/dist/dts/compound-button/compound-button.options.d.ts +5 -10
  45. package/dist/dts/compound-button/index.d.ts +2 -2
  46. package/dist/dts/counter-badge/counter-badge.bench.d.ts +3 -0
  47. package/dist/dts/counter-badge/counter-badge.d.ts +37 -1
  48. package/dist/dts/counter-badge/counter-badge.definition.d.ts +0 -4
  49. package/dist/dts/counter-badge/counter-badge.options.d.ts +6 -6
  50. package/dist/dts/counter-badge/index.d.ts +2 -2
  51. package/dist/dts/dialog/dialog.bench.d.ts +3 -0
  52. package/dist/dts/dialog/dialog.d.ts +12 -146
  53. package/dist/dts/dialog/dialog.options.d.ts +3 -3
  54. package/dist/dts/dialog/index.d.ts +2 -1
  55. package/dist/dts/dialog-body/define.d.ts +1 -0
  56. package/dist/dts/dialog-body/dialog-body.bench.d.ts +3 -0
  57. package/dist/dts/dialog-body/dialog-body.d.ts +14 -0
  58. package/dist/dts/dialog-body/dialog-body.definition.d.ts +9 -0
  59. package/dist/dts/dialog-body/dialog-body.styles.d.ts +4 -0
  60. package/dist/dts/dialog-body/dialog-body.template.d.ts +6 -0
  61. package/dist/dts/dialog-body/index.d.ts +4 -0
  62. package/dist/dts/divider/divider.bench.d.ts +3 -0
  63. package/dist/dts/divider/divider.d.ts +74 -12
  64. package/dist/dts/divider/divider.options.d.ts +32 -9
  65. package/dist/dts/divider/divider.template.d.ts +1 -0
  66. package/dist/dts/divider/index.d.ts +2 -2
  67. package/dist/dts/drawer/define.d.ts +1 -0
  68. package/dist/dts/drawer/drawer.d.ts +93 -0
  69. package/dist/dts/drawer/drawer.definition.d.ts +8 -0
  70. package/dist/dts/drawer/drawer.options.d.ts +40 -0
  71. package/dist/dts/drawer/drawer.styles.d.ts +4 -0
  72. package/dist/dts/drawer/drawer.template.d.ts +8 -0
  73. package/dist/dts/drawer/index.d.ts +5 -0
  74. package/dist/dts/drawer-body/define.d.ts +1 -0
  75. package/dist/dts/drawer-body/drawer-body.d.ts +20 -0
  76. package/dist/dts/drawer-body/drawer-body.definition.d.ts +8 -0
  77. package/dist/dts/drawer-body/drawer-body.styles.d.ts +4 -0
  78. package/dist/dts/drawer-body/drawer-body.template.d.ts +8 -0
  79. package/dist/dts/drawer-body/index.d.ts +4 -0
  80. package/dist/dts/field/define.d.ts +1 -0
  81. package/dist/dts/field/field.bench.d.ts +3 -0
  82. package/dist/dts/field/field.d.ts +136 -0
  83. package/dist/dts/field/field.definition.d.ts +9 -0
  84. package/dist/dts/field/field.options.d.ts +43 -0
  85. package/dist/dts/field/field.styles.d.ts +6 -0
  86. package/dist/dts/field/field.template.d.ts +6 -0
  87. package/dist/dts/field/index.d.ts +6 -0
  88. package/dist/dts/form-associated/form-associated.d.ts +104 -0
  89. package/dist/dts/helpers.tests.d.ts +22 -0
  90. package/dist/dts/image/image.bench.d.ts +3 -0
  91. package/dist/dts/image/image.d.ts +36 -0
  92. package/dist/dts/image/image.options.d.ts +3 -4
  93. package/dist/dts/image/index.d.ts +2 -2
  94. package/dist/dts/index-rollup.d.ts +38 -1
  95. package/dist/dts/index.d.ts +61 -31
  96. package/dist/dts/label/index.d.ts +2 -1
  97. package/dist/dts/label/label.bench.d.ts +3 -0
  98. package/dist/dts/label/label.d.ts +24 -2
  99. package/dist/dts/label/label.options.d.ts +3 -3
  100. package/dist/dts/link/define.d.ts +1 -0
  101. package/dist/dts/link/index.d.ts +5 -0
  102. package/dist/dts/link/link.bench.d.ts +3 -0
  103. package/dist/dts/link/link.d.ts +45 -0
  104. package/dist/dts/link/link.definition.d.ts +7 -0
  105. package/dist/dts/link/link.options.d.ts +52 -0
  106. package/dist/dts/link/link.styles.d.ts +1 -0
  107. package/dist/dts/link/link.template.d.ts +12 -0
  108. package/dist/dts/menu/index.d.ts +1 -1
  109. package/dist/dts/menu/menu.bench.d.ts +3 -0
  110. package/dist/dts/menu/menu.d.ts +86 -57
  111. package/dist/dts/menu-button/index.d.ts +4 -3
  112. package/dist/dts/menu-button/menu-button.bench.d.ts +3 -0
  113. package/dist/dts/menu-button/menu-button.definition.d.ts +0 -3
  114. package/dist/dts/menu-button/menu-button.options.d.ts +6 -7
  115. package/dist/dts/menu-item/index.d.ts +5 -3
  116. package/dist/dts/menu-item/menu-item.bench.d.ts +3 -0
  117. package/dist/dts/menu-item/menu-item.d.ts +144 -5
  118. package/dist/dts/menu-item/menu-item.definition.d.ts +0 -4
  119. package/dist/dts/menu-item/menu-item.options.d.ts +30 -0
  120. package/dist/dts/menu-item/menu-item.styles.d.ts +5 -0
  121. package/dist/dts/menu-item/menu-item.template.d.ts +2 -1
  122. package/dist/dts/menu-list/index.d.ts +1 -1
  123. package/dist/dts/menu-list/menu-list.bench.d.ts +3 -0
  124. package/dist/dts/menu-list/menu-list.d.ts +73 -4
  125. package/dist/dts/menu-list/menu-list.definition.d.ts +0 -4
  126. package/dist/dts/menu-list/menu-list.template.d.ts +1 -0
  127. package/dist/dts/message-bar/define.d.ts +1 -0
  128. package/dist/dts/message-bar/index.d.ts +5 -0
  129. package/dist/dts/message-bar/message-bar.bench.d.ts +3 -0
  130. package/dist/dts/message-bar/message-bar.d.ts +66 -0
  131. package/dist/dts/message-bar/message-bar.definition.d.ts +9 -0
  132. package/dist/dts/message-bar/message-bar.options.d.ts +30 -0
  133. package/dist/dts/message-bar/message-bar.styles.d.ts +7 -0
  134. package/dist/dts/message-bar/message-bar.template.d.ts +14 -0
  135. package/dist/dts/patterns/aria-globals.d.ts +189 -0
  136. package/dist/dts/patterns/index.d.ts +2 -0
  137. package/dist/dts/patterns/start-end.d.ts +44 -0
  138. package/dist/dts/progress-bar/index.d.ts +2 -2
  139. package/dist/dts/progress-bar/progress-bar.bench.d.ts +3 -0
  140. package/dist/dts/progress-bar/progress-bar.d.ts +89 -13
  141. package/dist/dts/progress-bar/progress-bar.options.d.ts +4 -4
  142. package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -0
  143. package/dist/dts/radio/index.d.ts +2 -1
  144. package/dist/dts/radio/radio.bench.d.ts +3 -0
  145. package/dist/dts/radio/radio.d.ts +57 -3
  146. package/dist/dts/radio/radio.options.d.ts +14 -0
  147. package/dist/dts/radio/radio.styles.d.ts +3 -1
  148. package/dist/dts/radio/radio.template.d.ts +13 -0
  149. package/dist/dts/radio-group/index.d.ts +2 -2
  150. package/dist/dts/radio-group/radio-group.bench.d.ts +3 -0
  151. package/dist/dts/radio-group/radio-group.d.ts +257 -6
  152. package/dist/dts/radio-group/radio-group.options.d.ts +17 -0
  153. package/dist/dts/radio-group/radio-group.template.d.ts +2 -1
  154. package/dist/dts/rating-display/define.d.ts +1 -0
  155. package/dist/dts/rating-display/index.d.ts +5 -0
  156. package/dist/dts/rating-display/rating-display.d.ts +150 -0
  157. package/dist/dts/rating-display/rating-display.definition.d.ts +9 -0
  158. package/dist/dts/rating-display/rating-display.options.d.ts +29 -0
  159. package/dist/dts/rating-display/rating-display.styles.d.ts +6 -0
  160. package/dist/dts/rating-display/rating-display.template.d.ts +14 -0
  161. package/dist/dts/slider/index.d.ts +3 -2
  162. package/dist/dts/slider/slider-utilities.d.ts +5 -0
  163. package/dist/dts/slider/slider.bench.d.ts +3 -0
  164. package/dist/dts/slider/slider.d.ts +341 -6
  165. package/dist/dts/slider/slider.form-associated.d.ts +14 -0
  166. package/dist/dts/slider/slider.options.d.ts +44 -3
  167. package/dist/dts/slider/slider.template.d.ts +4 -2
  168. package/dist/dts/spinner/index.d.ts +2 -2
  169. package/dist/dts/spinner/spinner.bench.d.ts +3 -0
  170. package/dist/dts/spinner/spinner.d.ts +29 -4
  171. package/dist/dts/spinner/spinner.definition.d.ts +0 -4
  172. package/dist/dts/spinner/spinner.options.d.ts +3 -3
  173. package/dist/dts/spinner/spinner.template.d.ts +1 -2
  174. package/dist/dts/styles/partials/index.d.ts +1 -0
  175. package/dist/dts/styles/partials/typography.partials.d.ts +18 -0
  176. package/dist/dts/styles/states/index.d.ts +256 -0
  177. package/dist/dts/switch/index.d.ts +3 -2
  178. package/dist/dts/switch/switch.bench.d.ts +3 -0
  179. package/dist/dts/switch/switch.d.ts +7 -12
  180. package/dist/dts/switch/switch.form-associated.d.ts +14 -0
  181. package/dist/dts/switch/switch.options.d.ts +2 -2
  182. package/dist/dts/switch/switch.template.d.ts +2 -1
  183. package/dist/dts/tab/index.d.ts +4 -3
  184. package/dist/dts/tab/tab.bench.d.ts +3 -0
  185. package/dist/dts/tab/tab.d.ts +17 -2
  186. package/dist/dts/tab/tab.template.d.ts +3 -3
  187. package/dist/dts/tab-panel/index.d.ts +1 -1
  188. package/dist/dts/tab-panel/tab-panel.bench.d.ts +3 -0
  189. package/dist/dts/tab-panel/tab-panel.d.ts +2 -2
  190. package/dist/dts/tab-panel/tab-panel.template.d.ts +4 -1
  191. package/dist/dts/tablist/define.d.ts +1 -0
  192. package/dist/dts/tablist/index.d.ts +5 -0
  193. package/dist/dts/tablist/tablist.bench.d.ts +3 -0
  194. package/dist/dts/tablist/tablist.d.ts +191 -0
  195. package/dist/dts/tablist/tablist.definition.d.ts +7 -0
  196. package/dist/dts/tablist/tablist.options.d.ts +44 -0
  197. package/dist/dts/tablist/tablist.styles.d.ts +4 -0
  198. package/dist/dts/tablist/tablist.template.d.ts +5 -0
  199. package/dist/dts/tabs/index.d.ts +5 -4
  200. package/dist/dts/tabs/tabs.bench.d.ts +3 -0
  201. package/dist/dts/tabs/tabs.d.ts +102 -13
  202. package/dist/dts/tabs/tabs.options.d.ts +23 -5
  203. package/dist/dts/tabs/tabs.template.d.ts +5 -1
  204. package/dist/dts/text/index.d.ts +2 -2
  205. package/dist/dts/text/text.bench.d.ts +3 -0
  206. package/dist/dts/text/text.d.ts +40 -1
  207. package/dist/dts/text/text.options.d.ts +5 -5
  208. package/dist/dts/text-input/index.d.ts +5 -5
  209. package/dist/dts/text-input/text-input.bench.d.ts +3 -0
  210. package/dist/dts/text-input/text-input.d.ts +415 -11
  211. package/dist/dts/text-input/text-input.definition.d.ts +2 -3
  212. package/dist/dts/text-input/text-input.options.d.ts +31 -10
  213. package/dist/dts/text-input/text-input.styles.d.ts +5 -2
  214. package/dist/dts/text-input/text-input.template.d.ts +8 -1
  215. package/dist/dts/textarea/define.d.ts +1 -0
  216. package/dist/dts/textarea/index.d.ts +5 -0
  217. package/dist/dts/textarea/textarea.bench.d.ts +3 -0
  218. package/dist/dts/textarea/textarea.d.ts +390 -0
  219. package/dist/dts/textarea/textarea.definition.d.ts +9 -0
  220. package/dist/dts/textarea/textarea.options.d.ts +49 -0
  221. package/dist/dts/textarea/textarea.styles.d.ts +7 -0
  222. package/dist/dts/textarea/textarea.template.d.ts +12 -0
  223. package/dist/dts/theme/design-tokens.d.ts +2220 -384
  224. package/dist/dts/theme/index.d.ts +1 -1
  225. package/dist/dts/theme/set-theme.d.ts +27 -5
  226. package/dist/dts/theme/set-theme.global.bench.d.ts +3 -0
  227. package/dist/dts/theme/set-theme.local.bench.d.ts +3 -0
  228. package/dist/dts/theme/set-theme.shadow.bench.d.ts +3 -0
  229. package/dist/dts/toggle-button/index.d.ts +5 -4
  230. package/dist/dts/toggle-button/toggle-button.bench.d.ts +3 -0
  231. package/dist/dts/toggle-button/toggle-button.d.ts +29 -26
  232. package/dist/dts/toggle-button/toggle-button.definition.d.ts +0 -2
  233. package/dist/dts/toggle-button/toggle-button.options.d.ts +6 -7
  234. package/dist/dts/toggle-button/toggle-button.styles.d.ts +7 -0
  235. package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
  236. package/dist/dts/utils/benchmark-dependencies/tokens.d.ts +1 -0
  237. package/dist/dts/utils/benchmark-wrapper.d.ts +2 -0
  238. package/dist/dts/utils/converters.d.ts +17 -0
  239. package/dist/dts/utils/direction.d.ts +10 -0
  240. package/dist/dts/utils/display.d.ts +17 -0
  241. package/dist/dts/utils/element-internals.d.ts +20 -0
  242. package/dist/dts/utils/focusable-element.d.ts +3 -0
  243. package/dist/dts/utils/index.d.ts +7 -0
  244. package/dist/dts/utils/root-active-element.d.ts +1 -0
  245. package/dist/dts/utils/template-helpers.d.ts +16 -0
  246. package/dist/dts/utils/typings.d.ts +6 -0
  247. package/dist/dts/utils/whitespace-filter.d.ts +12 -0
  248. package/dist/esm/accordion/accordion.bench.js +30 -0
  249. package/dist/esm/accordion/accordion.bench.js.map +1 -0
  250. package/dist/esm/accordion/accordion.definition.js +0 -4
  251. package/dist/esm/accordion/accordion.definition.js.map +1 -1
  252. package/dist/esm/accordion/accordion.js +172 -3
  253. package/dist/esm/accordion/accordion.js.map +1 -1
  254. package/dist/esm/accordion/accordion.options.js +9 -0
  255. package/dist/esm/accordion/accordion.options.js.map +1 -0
  256. package/dist/esm/accordion/accordion.styles.js +1 -1
  257. package/dist/esm/accordion/accordion.styles.js.map +1 -1
  258. package/dist/esm/accordion/accordion.template.js +11 -1
  259. package/dist/esm/accordion/accordion.template.js.map +1 -1
  260. package/dist/esm/accordion/index.js +2 -1
  261. package/dist/esm/accordion/index.js.map +1 -1
  262. package/dist/esm/accordion-item/accordion-item.bench.js +14 -0
  263. package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -0
  264. package/dist/esm/accordion-item/accordion-item.definition.js +0 -3
  265. package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
  266. package/dist/esm/accordion-item/accordion-item.js +138 -13
  267. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  268. package/dist/esm/accordion-item/accordion-item.options.js +1 -1
  269. package/dist/esm/accordion-item/accordion-item.options.js.map +1 -1
  270. package/dist/esm/accordion-item/accordion-item.styles.js +63 -85
  271. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  272. package/dist/esm/accordion-item/accordion-item.template.js +30 -4
  273. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  274. package/dist/esm/accordion-item/index.js +2 -2
  275. package/dist/esm/accordion-item/index.js.map +1 -1
  276. package/dist/esm/anchor-button/anchor-button.bench.js +11 -0
  277. package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -0
  278. package/dist/esm/anchor-button/anchor-button.definition.js +0 -6
  279. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  280. package/dist/esm/anchor-button/anchor-button.js +193 -60
  281. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  282. package/dist/esm/anchor-button/anchor-button.options.js +26 -0
  283. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  284. package/dist/esm/anchor-button/anchor-button.styles.js +12 -5
  285. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  286. package/dist/esm/anchor-button/anchor-button.template.js +21 -1
  287. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  288. package/dist/esm/anchor-button/index.js +3 -3
  289. package/dist/esm/anchor-button/index.js.map +1 -1
  290. package/dist/esm/avatar/avatar.bench.js +10 -0
  291. package/dist/esm/avatar/avatar.bench.js.map +1 -0
  292. package/dist/esm/avatar/avatar.js +66 -37
  293. package/dist/esm/avatar/avatar.js.map +1 -1
  294. package/dist/esm/avatar/avatar.styles.js +132 -132
  295. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  296. package/dist/esm/avatar/avatar.template.js +2 -4
  297. package/dist/esm/avatar/avatar.template.js.map +1 -1
  298. package/dist/esm/avatar/index.js +2 -2
  299. package/dist/esm/avatar/index.js.map +1 -1
  300. package/dist/esm/badge/badge.bench.js +11 -0
  301. package/dist/esm/badge/badge.bench.js.map +1 -0
  302. package/dist/esm/badge/badge.definition.js +0 -3
  303. package/dist/esm/badge/badge.definition.js.map +1 -1
  304. package/dist/esm/badge/badge.js +61 -7
  305. package/dist/esm/badge/badge.js.map +1 -1
  306. package/dist/esm/badge/badge.styles.js +17 -9
  307. package/dist/esm/badge/badge.styles.js.map +1 -1
  308. package/dist/esm/badge/badge.template.js +2 -2
  309. package/dist/esm/badge/badge.template.js.map +1 -1
  310. package/dist/esm/badge/index.js +2 -2
  311. package/dist/esm/badge/index.js.map +1 -1
  312. package/dist/esm/button/button.bench.js +11 -0
  313. package/dist/esm/button/button.bench.js.map +1 -0
  314. package/dist/esm/button/button.definition.js +2 -6
  315. package/dist/esm/button/button.definition.js.map +1 -1
  316. package/dist/esm/button/button.js +331 -38
  317. package/dist/esm/button/button.js.map +1 -1
  318. package/dist/esm/button/button.options.js +20 -1
  319. package/dist/esm/button/button.options.js.map +1 -1
  320. package/dist/esm/button/button.styles.js +154 -136
  321. package/dist/esm/button/button.styles.js.map +1 -1
  322. package/dist/esm/button/button.template.js +23 -1
  323. package/dist/esm/button/button.template.js.map +1 -1
  324. package/dist/esm/button/index.js +4 -4
  325. package/dist/esm/button/index.js.map +1 -1
  326. package/dist/esm/checkbox/checkbox.bench.js +11 -0
  327. package/dist/esm/checkbox/checkbox.bench.js.map +1 -0
  328. package/dist/esm/checkbox/checkbox.definition.js +1 -1
  329. package/dist/esm/checkbox/checkbox.definition.js.map +1 -1
  330. package/dist/esm/checkbox/checkbox.js +447 -13
  331. package/dist/esm/checkbox/checkbox.js.map +1 -1
  332. package/dist/esm/checkbox/checkbox.options.js +0 -8
  333. package/dist/esm/checkbox/checkbox.options.js.map +1 -1
  334. package/dist/esm/checkbox/checkbox.styles.js +146 -128
  335. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  336. package/dist/esm/checkbox/checkbox.template.js +34 -17
  337. package/dist/esm/checkbox/checkbox.template.js.map +1 -1
  338. package/dist/esm/checkbox/index.js +3 -3
  339. package/dist/esm/checkbox/index.js.map +1 -1
  340. package/dist/esm/compound-button/compound-button.bench.js +15 -0
  341. package/dist/esm/compound-button/compound-button.bench.js.map +1 -0
  342. package/dist/esm/compound-button/compound-button.definition.js +0 -6
  343. package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
  344. package/dist/esm/compound-button/compound-button.options.js.map +1 -1
  345. package/dist/esm/compound-button/compound-button.styles.js +34 -35
  346. package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
  347. package/dist/esm/compound-button/compound-button.template.js +4 -40
  348. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  349. package/dist/esm/compound-button/index.js +2 -2
  350. package/dist/esm/compound-button/index.js.map +1 -1
  351. package/dist/esm/counter-badge/counter-badge.bench.js +11 -0
  352. package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -0
  353. package/dist/esm/counter-badge/counter-badge.definition.js +0 -4
  354. package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
  355. package/dist/esm/counter-badge/counter-badge.js +69 -7
  356. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  357. package/dist/esm/counter-badge/counter-badge.styles.js +14 -8
  358. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  359. package/dist/esm/counter-badge/index.js +2 -2
  360. package/dist/esm/counter-badge/index.js.map +1 -1
  361. package/dist/esm/dialog/dialog.bench.js +11 -0
  362. package/dist/esm/dialog/dialog.bench.js.map +1 -0
  363. package/dist/esm/dialog/dialog.js +33 -312
  364. package/dist/esm/dialog/dialog.js.map +1 -1
  365. package/dist/esm/dialog/dialog.options.js +1 -1
  366. package/dist/esm/dialog/dialog.options.js.map +1 -1
  367. package/dist/esm/dialog/dialog.styles.js +69 -85
  368. package/dist/esm/dialog/dialog.styles.js.map +1 -1
  369. package/dist/esm/dialog/dialog.template.js +17 -54
  370. package/dist/esm/dialog/dialog.template.js.map +1 -1
  371. package/dist/esm/dialog/index.js +2 -1
  372. package/dist/esm/dialog/index.js.map +1 -1
  373. package/dist/esm/dialog-body/define.js +4 -0
  374. package/dist/esm/dialog-body/define.js.map +1 -0
  375. package/dist/esm/dialog-body/dialog-body.bench.js +11 -0
  376. package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -0
  377. package/dist/esm/dialog-body/dialog-body.definition.js +17 -0
  378. package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -0
  379. package/dist/esm/dialog-body/dialog-body.js +22 -0
  380. package/dist/esm/dialog-body/dialog-body.js.map +1 -0
  381. package/dist/esm/dialog-body/dialog-body.styles.js +79 -0
  382. package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -0
  383. package/dist/esm/dialog-body/dialog-body.template.js +42 -0
  384. package/dist/esm/dialog-body/dialog-body.template.js.map +1 -0
  385. package/dist/esm/dialog-body/index.js +5 -0
  386. package/dist/esm/dialog-body/index.js.map +1 -0
  387. package/dist/esm/divider/divider.bench.js +10 -0
  388. package/dist/esm/divider/divider.bench.js.map +1 -0
  389. package/dist/esm/divider/divider.js +104 -12
  390. package/dist/esm/divider/divider.js.map +1 -1
  391. package/dist/esm/divider/divider.options.js +14 -6
  392. package/dist/esm/divider/divider.options.js.map +1 -1
  393. package/dist/esm/divider/divider.styles.js +45 -44
  394. package/dist/esm/divider/divider.styles.js.map +1 -1
  395. package/dist/esm/divider/divider.template.js +4 -1
  396. package/dist/esm/divider/divider.template.js.map +1 -1
  397. package/dist/esm/divider/index.js +2 -2
  398. package/dist/esm/divider/index.js.map +1 -1
  399. package/dist/esm/drawer/define.js +4 -0
  400. package/dist/esm/drawer/define.js.map +1 -0
  401. package/dist/esm/drawer/drawer.definition.js +16 -0
  402. package/dist/esm/drawer/drawer.definition.js.map +1 -0
  403. package/dist/esm/drawer/drawer.js +132 -0
  404. package/dist/esm/drawer/drawer.js.map +1 -0
  405. package/dist/esm/drawer/drawer.options.js +25 -0
  406. package/dist/esm/drawer/drawer.options.js.map +1 -0
  407. package/dist/esm/drawer/drawer.styles.js +138 -0
  408. package/dist/esm/drawer/drawer.styles.js.map +1 -0
  409. package/dist/esm/drawer/drawer.template.js +28 -0
  410. package/dist/esm/drawer/drawer.template.js.map +1 -0
  411. package/dist/esm/drawer/index.js +6 -0
  412. package/dist/esm/drawer/index.js.map +1 -0
  413. package/dist/esm/drawer-body/define.js +4 -0
  414. package/dist/esm/drawer-body/define.js.map +1 -0
  415. package/dist/esm/drawer-body/drawer-body.definition.js +16 -0
  416. package/dist/esm/drawer-body/drawer-body.definition.js.map +1 -0
  417. package/dist/esm/drawer-body/drawer-body.js +21 -0
  418. package/dist/esm/drawer-body/drawer-body.js.map +1 -0
  419. package/dist/esm/drawer-body/drawer-body.styles.js +31 -0
  420. package/dist/esm/drawer-body/drawer-body.styles.js.map +1 -0
  421. package/dist/esm/drawer-body/drawer-body.template.js +21 -0
  422. package/dist/esm/drawer-body/drawer-body.template.js.map +1 -0
  423. package/dist/esm/drawer-body/index.js +5 -0
  424. package/dist/esm/drawer-body/index.js.map +1 -0
  425. package/dist/esm/field/define.js +4 -0
  426. package/dist/esm/field/define.js.map +1 -0
  427. package/dist/esm/field/field.bench.js +10 -0
  428. package/dist/esm/field/field.bench.js.map +1 -0
  429. package/dist/esm/field/field.definition.js +20 -0
  430. package/dist/esm/field/field.definition.js.map +1 -0
  431. package/dist/esm/field/field.js +212 -0
  432. package/dist/esm/field/field.js.map +1 -0
  433. package/dist/esm/field/field.options.js +27 -0
  434. package/dist/esm/field/field.options.js.map +1 -0
  435. package/dist/esm/field/field.styles.js +200 -0
  436. package/dist/esm/field/field.styles.js.map +1 -0
  437. package/dist/esm/field/field.template.js +26 -0
  438. package/dist/esm/field/field.template.js.map +1 -0
  439. package/dist/esm/field/index.js +6 -0
  440. package/dist/esm/field/index.js.map +1 -0
  441. package/dist/esm/form-associated/form-associated.js +458 -0
  442. package/dist/esm/form-associated/form-associated.js.map +1 -0
  443. package/dist/esm/helpers.tests.js +44 -0
  444. package/dist/esm/helpers.tests.js.map +1 -1
  445. package/dist/esm/image/image.bench.js +14 -0
  446. package/dist/esm/image/image.bench.js.map +1 -0
  447. package/dist/esm/image/image.js +61 -6
  448. package/dist/esm/image/image.js.map +1 -1
  449. package/dist/esm/image/image.options.js +0 -1
  450. package/dist/esm/image/image.options.js.map +1 -1
  451. package/dist/esm/image/image.styles.js +14 -13
  452. package/dist/esm/image/image.styles.js.map +1 -1
  453. package/dist/esm/image/index.js +2 -2
  454. package/dist/esm/image/index.js.map +1 -1
  455. package/dist/esm/index-rollup.js +38 -1
  456. package/dist/esm/index-rollup.js.map +1 -1
  457. package/dist/esm/index.js +46 -31
  458. package/dist/esm/index.js.map +1 -1
  459. package/dist/esm/label/index.js +2 -1
  460. package/dist/esm/label/index.js.map +1 -1
  461. package/dist/esm/label/label.bench.js +11 -0
  462. package/dist/esm/label/label.bench.js.map +1 -0
  463. package/dist/esm/label/label.js +42 -6
  464. package/dist/esm/label/label.js.map +1 -1
  465. package/dist/esm/label/label.styles.js +29 -21
  466. package/dist/esm/label/label.styles.js.map +1 -1
  467. package/dist/esm/link/define.js +4 -0
  468. package/dist/esm/link/define.js.map +1 -0
  469. package/dist/esm/link/index.js +6 -0
  470. package/dist/esm/link/index.js.map +1 -0
  471. package/dist/esm/link/link.bench.js +11 -0
  472. package/dist/esm/link/link.bench.js.map +1 -0
  473. package/dist/esm/link/link.definition.js +15 -0
  474. package/dist/esm/link/link.definition.js.map +1 -0
  475. package/dist/esm/link/link.js +58 -0
  476. package/dist/esm/link/link.js.map +1 -0
  477. package/dist/esm/link/link.options.js +21 -0
  478. package/dist/esm/link/link.options.js.map +1 -0
  479. package/dist/esm/link/link.styles.js +72 -0
  480. package/dist/esm/link/link.styles.js.map +1 -0
  481. package/dist/esm/link/link.template.js +22 -0
  482. package/dist/esm/link/link.template.js.map +1 -0
  483. package/dist/esm/menu/index.js +1 -1
  484. package/dist/esm/menu/index.js.map +1 -1
  485. package/dist/esm/menu/menu.bench.js +31 -0
  486. package/dist/esm/menu/menu.bench.js.map +1 -0
  487. package/dist/esm/menu/menu.js +146 -175
  488. package/dist/esm/menu/menu.js.map +1 -1
  489. package/dist/esm/menu/menu.styles.js +53 -9
  490. package/dist/esm/menu/menu.styles.js.map +1 -1
  491. package/dist/esm/menu/menu.template.js +3 -9
  492. package/dist/esm/menu/menu.template.js.map +1 -1
  493. package/dist/esm/menu-button/index.js +3 -3
  494. package/dist/esm/menu-button/index.js.map +1 -1
  495. package/dist/esm/menu-button/menu-button.bench.js +11 -0
  496. package/dist/esm/menu-button/menu-button.bench.js.map +1 -0
  497. package/dist/esm/menu-button/menu-button.definition.js +0 -6
  498. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  499. package/dist/esm/menu-button/menu-button.options.js.map +1 -1
  500. package/dist/esm/menu-button/menu-button.template.js +6 -2
  501. package/dist/esm/menu-button/menu-button.template.js.map +1 -1
  502. package/dist/esm/menu-item/index.js +4 -3
  503. package/dist/esm/menu-item/index.js.map +1 -1
  504. package/dist/esm/menu-item/menu-item.bench.js +11 -0
  505. package/dist/esm/menu-item/menu-item.bench.js.map +1 -0
  506. package/dist/esm/menu-item/menu-item.definition.js +0 -4
  507. package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
  508. package/dist/esm/menu-item/menu-item.js +261 -4
  509. package/dist/esm/menu-item/menu-item.js.map +1 -1
  510. package/dist/esm/menu-item/menu-item.options.js +27 -0
  511. package/dist/esm/menu-item/menu-item.options.js.map +1 -0
  512. package/dist/esm/menu-item/menu-item.styles.js +112 -131
  513. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  514. package/dist/esm/menu-item/menu-item.template.js +30 -7
  515. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  516. package/dist/esm/menu-list/index.js +1 -1
  517. package/dist/esm/menu-list/index.js.map +1 -1
  518. package/dist/esm/menu-list/menu-list.bench.js +21 -0
  519. package/dist/esm/menu-list/menu-list.bench.js.map +1 -0
  520. package/dist/esm/menu-list/menu-list.definition.js +0 -4
  521. package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
  522. package/dist/esm/menu-list/menu-list.js +239 -16
  523. package/dist/esm/menu-list/menu-list.js.map +1 -1
  524. package/dist/esm/menu-list/menu-list.styles.js +5 -5
  525. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  526. package/dist/esm/menu-list/menu-list.template.js +12 -1
  527. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  528. package/dist/esm/message-bar/define.js +4 -0
  529. package/dist/esm/message-bar/define.js.map +1 -0
  530. package/dist/esm/message-bar/index.js +6 -0
  531. package/dist/esm/message-bar/index.js.map +1 -0
  532. package/dist/esm/message-bar/message-bar.bench.js +56 -0
  533. package/dist/esm/message-bar/message-bar.bench.js.map +1 -0
  534. package/dist/esm/message-bar/message-bar.definition.js +20 -0
  535. package/dist/esm/message-bar/message-bar.definition.js.map +1 -0
  536. package/dist/esm/message-bar/message-bar.js +79 -0
  537. package/dist/esm/message-bar/message-bar.js.map +1 -0
  538. package/dist/esm/message-bar/message-bar.options.js +27 -0
  539. package/dist/esm/message-bar/message-bar.options.js.map +1 -0
  540. package/dist/esm/message-bar/message-bar.styles.js +108 -0
  541. package/dist/esm/message-bar/message-bar.styles.js.map +1 -0
  542. package/dist/esm/message-bar/message-bar.template.js +25 -0
  543. package/dist/esm/message-bar/message-bar.template.js.map +1 -0
  544. package/dist/esm/patterns/aria-globals.js +72 -0
  545. package/dist/esm/patterns/aria-globals.js.map +1 -0
  546. package/dist/esm/patterns/index.js +3 -0
  547. package/dist/esm/patterns/index.js.map +1 -0
  548. package/dist/esm/patterns/start-end.js +29 -0
  549. package/dist/esm/patterns/start-end.js.map +1 -0
  550. package/dist/esm/progress-bar/index.js +2 -2
  551. package/dist/esm/progress-bar/index.js.map +1 -1
  552. package/dist/esm/progress-bar/progress-bar.bench.js +10 -0
  553. package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -0
  554. package/dist/esm/progress-bar/progress-bar.js +117 -16
  555. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  556. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  557. package/dist/esm/progress-bar/progress-bar.styles.js +51 -129
  558. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  559. package/dist/esm/progress-bar/progress-bar.template.js +11 -5
  560. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  561. package/dist/esm/radio/index.js +1 -1
  562. package/dist/esm/radio/index.js.map +1 -1
  563. package/dist/esm/radio/radio.bench.js +11 -0
  564. package/dist/esm/radio/radio.bench.js.map +1 -0
  565. package/dist/esm/radio/radio.js +78 -3
  566. package/dist/esm/radio/radio.js.map +1 -1
  567. package/dist/esm/radio/radio.options.js +2 -0
  568. package/dist/esm/radio/radio.options.js.map +1 -0
  569. package/dist/esm/radio/radio.styles.js +97 -90
  570. package/dist/esm/radio/radio.styles.js.map +1 -1
  571. package/dist/esm/radio/radio.template.js +27 -4
  572. package/dist/esm/radio/radio.template.js.map +1 -1
  573. package/dist/esm/radio-group/index.js +2 -2
  574. package/dist/esm/radio-group/index.js.map +1 -1
  575. package/dist/esm/radio-group/radio-group.bench.js +21 -0
  576. package/dist/esm/radio-group/radio-group.bench.js.map +1 -0
  577. package/dist/esm/radio-group/radio-group.js +457 -15
  578. package/dist/esm/radio-group/radio-group.js.map +1 -1
  579. package/dist/esm/radio-group/radio-group.options.js +7 -0
  580. package/dist/esm/radio-group/radio-group.options.js.map +1 -0
  581. package/dist/esm/radio-group/radio-group.styles.js +28 -33
  582. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  583. package/dist/esm/radio-group/radio-group.template.js +15 -1
  584. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  585. package/dist/esm/rating-display/define.js +4 -0
  586. package/dist/esm/rating-display/define.js.map +1 -0
  587. package/dist/esm/rating-display/index.js +6 -0
  588. package/dist/esm/rating-display/index.js.map +1 -0
  589. package/dist/esm/rating-display/rating-display.definition.js +17 -0
  590. package/dist/esm/rating-display/rating-display.definition.js.map +1 -0
  591. package/dist/esm/rating-display/rating-display.js +169 -0
  592. package/dist/esm/rating-display/rating-display.js.map +1 -0
  593. package/dist/esm/rating-display/rating-display.options.js +19 -0
  594. package/dist/esm/rating-display/rating-display.options.js.map +1 -0
  595. package/dist/esm/rating-display/rating-display.styles.js +126 -0
  596. package/dist/esm/rating-display/rating-display.styles.js.map +1 -0
  597. package/dist/esm/rating-display/rating-display.template.js +34 -0
  598. package/dist/esm/rating-display/rating-display.template.js.map +1 -0
  599. package/dist/esm/slider/index.js +2 -2
  600. package/dist/esm/slider/index.js.map +1 -1
  601. package/dist/esm/slider/slider-utilities.js +12 -0
  602. package/dist/esm/slider/slider-utilities.js.map +1 -0
  603. package/dist/esm/slider/slider.bench.js +10 -0
  604. package/dist/esm/slider/slider.bench.js.map +1 -0
  605. package/dist/esm/slider/slider.form-associated.js +14 -0
  606. package/dist/esm/slider/slider.form-associated.js.map +1 -0
  607. package/dist/esm/slider/slider.js +660 -27
  608. package/dist/esm/slider/slider.js.map +1 -1
  609. package/dist/esm/slider/slider.options.js +11 -1
  610. package/dist/esm/slider/slider.options.js.map +1 -1
  611. package/dist/esm/slider/slider.styles.js +124 -131
  612. package/dist/esm/slider/slider.styles.js.map +1 -1
  613. package/dist/esm/slider/slider.template.js +22 -2
  614. package/dist/esm/slider/slider.template.js.map +1 -1
  615. package/dist/esm/spinner/index.js +2 -2
  616. package/dist/esm/spinner/index.js.map +1 -1
  617. package/dist/esm/spinner/spinner.bench.js +10 -0
  618. package/dist/esm/spinner/spinner.bench.js.map +1 -0
  619. package/dist/esm/spinner/spinner.definition.js +0 -4
  620. package/dist/esm/spinner/spinner.definition.js.map +1 -1
  621. package/dist/esm/spinner/spinner.js +48 -9
  622. package/dist/esm/spinner/spinner.js.map +1 -1
  623. package/dist/esm/spinner/spinner.styles.js +123 -61
  624. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  625. package/dist/esm/spinner/spinner.template.js +16 -21
  626. package/dist/esm/spinner/spinner.template.js.map +1 -1
  627. package/dist/esm/styles/partials/badge.partials.js +119 -119
  628. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  629. package/dist/esm/styles/partials/index.js +1 -0
  630. package/dist/esm/styles/partials/index.js.map +1 -1
  631. package/dist/esm/styles/partials/typography.partials.js +105 -0
  632. package/dist/esm/styles/partials/typography.partials.js.map +1 -0
  633. package/dist/esm/styles/states/index.js +262 -0
  634. package/dist/esm/styles/states/index.js.map +1 -0
  635. package/dist/esm/switch/index.js +2 -2
  636. package/dist/esm/switch/index.js.map +1 -1
  637. package/dist/esm/switch/switch.bench.js +11 -0
  638. package/dist/esm/switch/switch.bench.js.map +1 -0
  639. package/dist/esm/switch/switch.form-associated.js +14 -0
  640. package/dist/esm/switch/switch.form-associated.js.map +1 -0
  641. package/dist/esm/switch/switch.js +6 -12
  642. package/dist/esm/switch/switch.js.map +1 -1
  643. package/dist/esm/switch/switch.styles.js +59 -83
  644. package/dist/esm/switch/switch.styles.js.map +1 -1
  645. package/dist/esm/switch/switch.template.js +15 -1
  646. package/dist/esm/switch/switch.template.js.map +1 -1
  647. package/dist/esm/tab/index.js +3 -3
  648. package/dist/esm/tab/index.js.map +1 -1
  649. package/dist/esm/tab/tab.bench.js +11 -0
  650. package/dist/esm/tab/tab.bench.js.map +1 -0
  651. package/dist/esm/tab/tab.js +9 -3
  652. package/dist/esm/tab/tab.js.map +1 -1
  653. package/dist/esm/tab/tab.styles.js +21 -21
  654. package/dist/esm/tab/tab.styles.js.map +1 -1
  655. package/dist/esm/tab/tab.template.js +1 -1
  656. package/dist/esm/tab/tab.template.js.map +1 -1
  657. package/dist/esm/tab-panel/index.js +1 -1
  658. package/dist/esm/tab-panel/index.js.map +1 -1
  659. package/dist/esm/tab-panel/tab-panel.bench.js +13 -0
  660. package/dist/esm/tab-panel/tab-panel.bench.js.map +1 -0
  661. package/dist/esm/tab-panel/tab-panel.js +2 -2
  662. package/dist/esm/tab-panel/tab-panel.js.map +1 -1
  663. package/dist/esm/tab-panel/tab-panel.styles.js +2 -2
  664. package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
  665. package/dist/esm/tab-panel/tab-panel.template.js +8 -1
  666. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
  667. package/dist/esm/tablist/define.js +4 -0
  668. package/dist/esm/tablist/define.js.map +1 -0
  669. package/dist/esm/tablist/index.js +6 -0
  670. package/dist/esm/tablist/index.js.map +1 -0
  671. package/dist/esm/tablist/tablist.bench.js +21 -0
  672. package/dist/esm/tablist/tablist.bench.js.map +1 -0
  673. package/dist/esm/tablist/tablist.definition.js +15 -0
  674. package/dist/esm/tablist/tablist.definition.js.map +1 -0
  675. package/dist/esm/tablist/tablist.js +407 -0
  676. package/dist/esm/tablist/tablist.js.map +1 -0
  677. package/dist/esm/tablist/tablist.options.js +24 -0
  678. package/dist/esm/tablist/tablist.options.js.map +1 -0
  679. package/dist/esm/tablist/tablist.styles.js +194 -0
  680. package/dist/esm/tablist/tablist.styles.js.map +1 -0
  681. package/dist/esm/tablist/tablist.template.js +10 -0
  682. package/dist/esm/tablist/tablist.template.js.map +1 -0
  683. package/dist/esm/tabs/index.js +4 -4
  684. package/dist/esm/tabs/index.js.map +1 -1
  685. package/dist/esm/tabs/tabs.bench.js +32 -0
  686. package/dist/esm/tabs/tabs.bench.js.map +1 -0
  687. package/dist/esm/tabs/tabs.js +292 -20
  688. package/dist/esm/tabs/tabs.js.map +1 -1
  689. package/dist/esm/tabs/tabs.options.js +6 -2
  690. package/dist/esm/tabs/tabs.options.js.map +1 -1
  691. package/dist/esm/tabs/tabs.styles.js +50 -50
  692. package/dist/esm/tabs/tabs.styles.js.map +1 -1
  693. package/dist/esm/tabs/tabs.template.js +14 -1
  694. package/dist/esm/tabs/tabs.template.js.map +1 -1
  695. package/dist/esm/text/index.js +2 -2
  696. package/dist/esm/text/index.js.map +1 -1
  697. package/dist/esm/text/text.bench.js +13 -0
  698. package/dist/esm/text/text.bench.js.map +1 -0
  699. package/dist/esm/text/text.js +92 -7
  700. package/dist/esm/text/text.js.map +1 -1
  701. package/dist/esm/text/text.styles.js +83 -61
  702. package/dist/esm/text/text.styles.js.map +1 -1
  703. package/dist/esm/text-input/index.js +4 -5
  704. package/dist/esm/text-input/index.js.map +1 -1
  705. package/dist/esm/text-input/text-input.bench.js +10 -0
  706. package/dist/esm/text-input/text-input.bench.js.map +1 -0
  707. package/dist/esm/text-input/text-input.definition.js +5 -3
  708. package/dist/esm/text-input/text-input.definition.js.map +1 -1
  709. package/dist/esm/text-input/text-input.js +439 -12
  710. package/dist/esm/text-input/text-input.js.map +1 -1
  711. package/dist/esm/text-input/text-input.options.js +35 -2
  712. package/dist/esm/text-input/text-input.options.js.map +1 -1
  713. package/dist/esm/text-input/text-input.styles.js +107 -96
  714. package/dist/esm/text-input/text-input.styles.js.map +1 -1
  715. package/dist/esm/text-input/text-input.template.js +55 -2
  716. package/dist/esm/text-input/text-input.template.js.map +1 -1
  717. package/dist/esm/textarea/define.js +4 -0
  718. package/dist/esm/textarea/define.js.map +1 -0
  719. package/dist/esm/textarea/index.js +6 -0
  720. package/dist/esm/textarea/index.js.map +1 -0
  721. package/dist/esm/textarea/textarea.bench.js +10 -0
  722. package/dist/esm/textarea/textarea.bench.js.map +1 -0
  723. package/dist/esm/textarea/textarea.definition.js +20 -0
  724. package/dist/esm/textarea/textarea.definition.js.map +1 -0
  725. package/dist/esm/textarea/textarea.js +605 -0
  726. package/dist/esm/textarea/textarea.js.map +1 -0
  727. package/dist/esm/textarea/textarea.options.js +48 -0
  728. package/dist/esm/textarea/textarea.options.js.map +1 -0
  729. package/dist/esm/textarea/textarea.styles.js +268 -0
  730. package/dist/esm/textarea/textarea.styles.js.map +1 -0
  731. package/dist/esm/textarea/textarea.template.js +54 -0
  732. package/dist/esm/textarea/textarea.template.js.map +1 -0
  733. package/dist/esm/theme/design-tokens.js +2220 -384
  734. package/dist/esm/theme/design-tokens.js.map +1 -1
  735. package/dist/esm/theme/index.js.map +1 -1
  736. package/dist/esm/theme/set-theme.global.bench.js +25 -0
  737. package/dist/esm/theme/set-theme.global.bench.js.map +1 -0
  738. package/dist/esm/theme/set-theme.js +186 -12
  739. package/dist/esm/theme/set-theme.js.map +1 -1
  740. package/dist/esm/theme/set-theme.local.bench.js +27 -0
  741. package/dist/esm/theme/set-theme.local.bench.js.map +1 -0
  742. package/dist/esm/theme/set-theme.shadow.bench.js +29 -0
  743. package/dist/esm/theme/set-theme.shadow.bench.js.map +1 -0
  744. package/dist/esm/toggle-button/index.js +4 -4
  745. package/dist/esm/toggle-button/index.js.map +1 -1
  746. package/dist/esm/toggle-button/toggle-button.bench.js +11 -0
  747. package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -0
  748. package/dist/esm/toggle-button/toggle-button.definition.js +0 -5
  749. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
  750. package/dist/esm/toggle-button/toggle-button.js +44 -91
  751. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  752. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
  753. package/dist/esm/toggle-button/toggle-button.styles.js +56 -50
  754. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  755. package/dist/esm/toggle-button/toggle-button.template.js +1 -1
  756. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -1
  757. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +142 -0
  758. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -0
  759. package/dist/esm/utils/benchmark-dependencies/tokens.js +2 -0
  760. package/dist/esm/utils/benchmark-dependencies/tokens.js.map +1 -0
  761. package/dist/esm/utils/benchmark-wrapper.js +18 -0
  762. package/dist/esm/utils/benchmark-wrapper.js.map +1 -0
  763. package/dist/esm/utils/converters.js +26 -0
  764. package/dist/esm/utils/converters.js.map +1 -0
  765. package/dist/esm/utils/direction.js +15 -0
  766. package/dist/esm/utils/direction.js.map +1 -0
  767. package/dist/esm/utils/display.js +15 -0
  768. package/dist/esm/utils/display.js.map +1 -0
  769. package/dist/esm/utils/element-internals.js +34 -0
  770. package/dist/esm/utils/element-internals.js.map +1 -0
  771. package/dist/esm/utils/focusable-element.js +10 -0
  772. package/dist/esm/utils/focusable-element.js.map +1 -0
  773. package/dist/esm/utils/get-initials.js.map +1 -1
  774. package/dist/esm/utils/index.js +8 -0
  775. package/dist/esm/utils/index.js.map +1 -0
  776. package/dist/esm/utils/root-active-element.js +9 -0
  777. package/dist/esm/utils/root-active-element.js.map +1 -0
  778. package/dist/esm/utils/template-helpers.js +19 -0
  779. package/dist/esm/utils/template-helpers.js.map +1 -0
  780. package/dist/esm/utils/typings.js +3 -0
  781. package/dist/esm/utils/typings.js.map +1 -0
  782. package/dist/esm/utils/whitespace-filter.js +13 -0
  783. package/dist/esm/utils/whitespace-filter.js.map +1 -0
  784. package/dist/web-components.d.ts +8063 -1625
  785. package/dist/web-components.js +9704 -8548
  786. package/dist/web-components.min.js +428 -259
  787. package/package.json +56 -158
  788. package/dist/fluent-web-components.api.json +0 -22035
  789. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +0 -1
  790. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +0 -1
  791. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +0 -2
  792. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +0 -17
  793. package/dist/storybook/350.e4be85c2.iframe.bundle.js +0 -462
  794. package/dist/storybook/350.e4be85c2.iframe.bundle.js.LICENSE.txt +0 -51
  795. package/dist/storybook/350.e4be85c2.iframe.bundle.js.map +0 -1
  796. package/dist/storybook/401.7edec720.iframe.bundle.js +0 -2
  797. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +0 -12
  798. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +0 -2
  799. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +0 -12
  800. package/dist/storybook/491.77b24750.iframe.bundle.js +0 -1
  801. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +0 -2
  802. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +0 -94
  803. package/dist/storybook/709.22096ad4.iframe.bundle.js +0 -2
  804. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +0 -8
  805. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +0 -2
  806. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +0 -8
  807. package/dist/storybook/721.46fa9f53.iframe.bundle.js +0 -2
  808. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +0 -31
  809. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +0 -2
  810. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +0 -31
  811. package/dist/storybook/858.da40ed98.iframe.bundle.js +0 -1
  812. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +0 -1
  813. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +0 -1
  814. package/dist/storybook/954.630c5748.iframe.bundle.js +0 -1
  815. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +0 -1
  816. package/dist/storybook/SegoeUI-VF.ttf +0 -0
  817. package/dist/storybook/favicon.ico +0 -0
  818. package/dist/storybook/favicon.png +0 -0
  819. package/dist/storybook/iframe.html +0 -364
  820. package/dist/storybook/index.html +0 -165
  821. package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +0 -1
  822. package/dist/storybook/main.b095c2e8.iframe.bundle.js +0 -2
  823. package/dist/storybook/main.b095c2e8.iframe.bundle.js.LICENSE.txt +0 -1
  824. package/dist/storybook/project.json +0 -1
  825. package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +0 -1
  826. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +0 -1
  827. package/dist/storybook/shell.css +0 -83
  828. package/dist/storybook/theme-switch.ts +0 -13
  829. package/docs/api-report.md +0 -2459
  830. package/playwright.config.ts +0 -25
@@ -1,35 +1,64 @@
1
- function e(e,t,o,r){var a,n=arguments.length,i=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(n<3?a(i):n>3?a(t,o,i):a(t,o))||i);return n>3&&i&&Object.defineProperty(t,o,i),i}function t(e,t,o,r){return new(o||(o=Promise))((function(a,n){function i(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(pu){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const a=e=>"function"==typeof e,n=e=>"string"==typeof e,i=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function u(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function h(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=i}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),v=e=>e,b=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:v}):{createHTML:v};let m=Object.freeze({createHTML:e=>b.createHTML(e),protect:(e,t,o,r)=>r});const f=m,k=Object.freeze({get policy(){return m},setPolicy(e){if(m!==f)throw c.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),y=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function a(){if(t.length)throw t.shift()}function n(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(a,0)}}function i(){let t=0;for(;t<e.length;)if(n(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(i):i())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:i,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,a=t.length;r<a;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let a;a=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),a.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const B=Object.freeze({unknown:void 0,coupled:1}),w=c.getById(r.observable,()=>{const e=y.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,i=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=i(e):o.set(e,r=new $(e))),r}const l=h();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];a(n)&&n.call(e,r,t),s(e).notify(this.name)}}}class u extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==B.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let a;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{a=this.expression(e,t)}finally{r=o}return a}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,a=s(e),n=null===o?this.first:{};if(n.propertySource=e,n.propertyName=t,n.notifier=a,a.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=n}this.last=n}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(u),Object.freeze({setArrayObserverFactory(e){i=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){n(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new u(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){w.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),F=Object.freeze({default:{index:0,length:0,get event(){return F.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class C{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class N extends C{createObserver(e){return w.binding(this.evaluate,e,this.isVolatile)}}function T(e,t,o=w.isVolatileBinding(e)){return new N(e,t,o)}class A extends C{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function I(e,t){return new A(e,t)}let z;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(z),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){z=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const H=u(),O=Object.freeze({getForInstance:H.getForInstance,getByType:H.getByType,define:e=>(H.register({type:e}),e)});function D(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class M{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>D(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){D(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){D(this,t.controller,t)}}O.define(M);const E=""+Math.random().toString(36).substring(2,8);let R=0;const j=()=>`--v${E}${++R}`;function V(e,t){const o=[];let r="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){r+=e[n];let s=t[n];a(s)?s=new M(T(s),j()).createCSS(i):s instanceof C?s=new M(s,j()).createCSS(i):void 0!==O.getForInstance(s)&&(s=s.createCSS(i)),s instanceof L||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:n}}const G=(e,...t)=>{const{styles:o,behaviors:r}=V(e,t),a=new L(o);return r.length?a.withBehaviors(...r):a};class _{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(n(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}O.define(_),G.partial=(e,...t)=>{const{styles:o,behaviors:r}=V(e,t);return new _(o,r)};const X="fast-"+Math.random().toString(36).substring(2,8),W=X+"{",q="}"+X,Y=q.length;let U=0;const K=()=>`${X}-${++U}`,Q=Object.freeze({interpolation:e=>`${W}${e}${q}`,attribute:e=>`${K()}="${W}${e}${q}"`,comment:e=>`\x3c!--${W}${e}${q}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(W);if(1===o.length)return null;const r=[];for(let e=0,a=o.length;e<a;++e){const a=o[e],n=a.indexOf(q);let i;if(-1===n)i=a;else{const e=a.substring(0,n);r.push(t[e]),i=a.substring(n+Y)}""!==i&&r.push(i)}return r}}),J=u(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:k.setAttribute,[g.booleanAttribute]:k.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const a=this.id+"-t",n=null!==(r=e[a])&&void 0!==r?r:e[a]={v:0,cv:Object.create(null)},i=n.cv;let s=n.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(i[o]=s,l.add(o))}}if(n.v=s+1,0!==s){s-=1;for(const e in i)i[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){F.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);F.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function ae(e,t){const o=e.parentNode;let r,a=e;for(;a!==t;)r=a.nextSibling,o.removeChild(a),a=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ne{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=B.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return F.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,a=this.firstChild;for(;a!==t;)r=a.nextSibling,o.insertBefore(a,e),a=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){ae(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){ae(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ne),w.defineProperty(ne.prototype,"index"),w.defineProperty(ne.prototype,"length");const ie=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return a(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class ue{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,a){var n,i;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(n=e.id)&&void 0!==n?n:K(),e.targetNodeId=o,e.targetTagName=a,e.policy=null!==(i=e.policy)&&void 0!==i?i:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let a=se[t];if(!a){const r="_"+t;se[t]=a={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=a}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ne(t,this.factories,o)}}function he(e,t,o,r,a,n=!1){const i=o.attributes,s=e.directives;for(let l=0,c=i.length;l<c;++l){const d=i[l],u=d.value,h=Z.parse(u,s);let p=null;null===h?n&&(p=new re(I(()=>u,e.policy)),ee.assignAspect(p,d.name)):p=ve.aggregate(h,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,a,o.tagName))}}function pe(e,t,o){let r=0,a=t.firstChild;for(;a;){const t=ge(e,o,a,r);a=t.node,r=t.index}}function ge(e,t,o,r){const a=ie(t,r);switch(o.nodeType){case 1:he(e,t,o,a,r),pe(e,o,a);break;case 3:return function(e,t,o,r,a){const i=Z.parse(t.textContent,e.directives);if(null===i)return le.node=t.nextSibling,le.index=a+1,le;let s,l=s=t;for(let t=0,c=i.length;t<c;++t){const c=i[t];0!==t&&(a++,r=ie(o,a),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),n(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,a,null)),l=s}return le.index=a+1,le.node=l.nextSibling,le}(e,o,t,a,r);case 8:const i=Z.parse(o.data,e.directives);null!==i&&e.addFactory(ve.aggregate(i),t,a,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const ve={compile(e,t,o=k.policy){let r;if(n(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;r.content.firstChild||r.content.lastChild||r.content.appendChild(document.createComment(""));const a=document.adoptNode(r.content),i=new ue(a,t,o);var s,l;return he(i,"",r,"h",0,!0),s=a.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===a.childNodes.length&&Object.keys(t).length>0)&&a.insertBefore(document.createComment(""),a.firstChild),pe(i,a,"r"),le.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=k.policy){if(1===e.length)return e[0];let o,r,a=!1,i=void 0;const s=e.length,l=e.map(e=>n(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,a=a||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=a,r.policy=null!=i?i:t;const c=new re(r);return ee.assignAspect(c,o),c}},be=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class fe{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ke(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=be.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}fe.empty=new fe(""),ee.define(fe);class ye{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=ve.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new fe(n(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let s,l=t[o];if(r+=n,a(l))l=new re(T(l));else if(l instanceof C)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(I(()=>e))}r+=ke(l,n,i,s)}return new ye(r+e[e.length-1],n,o)}}p(ye);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ye.create(e,t);throw c.error(1206)};xe.partial=e=>new fe(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const Be=e=>new $e(e),we=()=>null;function Pe(e){return void 0===e?we:a(e)?e:()=>e}function Se(e,t,o){const r=a(e)?e:()=>e,n=Pe(t),i=Pe(o);return(e,t)=>r(e,t)?n(e,t):i(e,t)}const Fe=e=>1===e.nodeType,Ce=e=>e?t=>1===t.nodeType&&t.matches(e):Fe;class Ne extends te{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,d),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Te extends Ne{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Ae(e){return n(e)&&(e={property:e}),new Te(e)}ee.define(Te);const Ie=Object.freeze({locate:h()}),ze={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Le(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const He={toView(e){const t=Le(e);return t?t.toString():t},fromView:Le};class Oe{constructor(e,t,o=t.toLowerCase(),r="reflect",a){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=a,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===a&&(this.converter=ze)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return w.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||y.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;k.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":k.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Ie.locate(e));for(let r=0,a=t.length;r<a;++r){const a=t[r];if(void 0!==a)for(let t=0,r=a.length;t<r;++t){const r=a[t];n(r)?o.push(new Oe(e,r)):o.push(new Oe(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function De(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ie.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},Ee={},Re=new Set,je=c.getById(r.elementRegistry,()=>u());class Ve{constructor(e,t=e.definition){var o;this.platformDefined=!1,n(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,a=Oe.collect(e,t.attributes),i=new Array(a.length),s={},l={};for(let e=0,t=a.length;e<t;++e){const t=a[e];i[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,w.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=a,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Me:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Me),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Ee:Object.assign(Object.assign({},Ee),t.elementOptions),this.styles=L.normalize(t.styles),je.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Re.has(e)||je.getByType(e)?new Ve(class extends e{},t):new Ve(e,t)}static registerBaseType(e){Re.add(e)}}Ve.getByType=je.getByType,Ve.getForInstance=je.getForInstance;const Ge={bubbles:!0,composed:!0,cancelable:!0},_e=new WeakMap;function Xe(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:_e.get(e))&&void 0!==o?o:null}let We;class qe extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&_e.set(e,t))}const r=w.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,a=r.length;o<a;++o){const a=r[o].name,n=e[a];void 0!==n&&(delete e[a],t[a]=n)}}}get isConnected(){return w.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:F.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,a=null!==(o=r.get(e))&&void 0!==o?o:0;0===a?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,a+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=Xe(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=Xe(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,a=o.length;r<a;++r){const a=o[r];e[a]=t[a]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,w.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,w.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},Ge),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=Xe(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=B.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Ve.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new We(e,o)}static setStrategy(e){We=e}}function Ye(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=Xe(e))&&void 0!==t?t:e.getRootNode()}p(qe),qe.setStrategy(qe);class Ue{constructor(e){const t=Ue.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Je(Ye(e),this.sheets)}removeStylesFrom(e){et(Ye(e),this.sheets)}}Ue.styleSheetCache=new Map;let Ke=0;function Qe(e){return e===document?document.body:e}class Ze{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ke}addStylesTo(e){e=Qe(Ye(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const a=document.createElement("style");a.innerHTML=t[r],a.className=o,e.append(a)}}removeStylesFrom(e){const t=(e=Qe(Ye(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Je=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},et=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(L.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Je=(e,t)=>{e.adoptedStyleSheets.push(...t)},et=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(pu){}L.setDefaultStrategy(Ue)}else L.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),qe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return Ve.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return a(e)?Ve.compose(e,t).define().type:Ve.compose(this,e).define().type},compose:function(e,t){return a(e)?Ve.compose(e,t):Ve.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function at(...e){return e.every(e=>e instanceof HTMLElement)}const nt={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var it;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(it||(it={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ut(e){return e?"string"==typeof e?new fe(e):"inline"in e?e.inline():e:fe.empty}e([De({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([De({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([De({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([De({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([De({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([De({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([De({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([De({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([De({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([De({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([De({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([De({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([De({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([De({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([De({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([De({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([De({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([De({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([De({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ht{}function pt(e){return xe`<slot name="end" ${Be("end")}>${ut(e.end)}</slot>`.inline()}function gt(e){return xe`<slot name="start" ${Be("start")}>${ut(e.start)}</slot>`.inline()}function vt(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}class bt extends ot{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ct("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}e([De({attribute:"heading-level",mode:"fromView",converter:He})],bt.prototype,"headinglevel",void 0),e([De({mode:"boolean"})],bt.prototype,"expanded",void 0),e([De({mode:"boolean"})],bt.prototype,"disabled",void 0),e([De],bt.prototype,"id",void 0),vt(bt,ht);const mt="single",ft="multi";class kt extends ot{constructor(){super(...arguments),this.expandmode=ft,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>w.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof bt&&(e.addEventListener("click",this.activeItemChange),w.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{w.getNotifier(e).unsubscribe(this,"disabled"),w.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof bt&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==mt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof bt&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===mt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof bt&&e.expandbutton.focus()}}e([De({attribute:"expand-mode"})],kt.prototype,"expandmode",void 0),e([P],kt.prototype,"slottedAccordionItems",void 0);class yt extends kt{}const xt=xe`<template><slot ${Ae({property:"slottedAccordionItems",filter:Ce()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?it.rtl:it.ltr};class Bt extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new Bt(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const wt=Bt.with(window.matchMedia("(forced-colors)"));Bt.with(window.matchMedia("(prefers-color-scheme: dark)")),Bt.with(window.matchMedia("(prefers-color-scheme: light)"));function Pt(e){return`:host([hidden]){display:none}:host{display:${e}}`}const St=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)},Ft=G`
2
- ${Pt("flex")}
3
-
4
- :host{flex-direction:column;width:100%;contain:content}`,Ct=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Nt=yt.compose({name:Ct.prefix+"-accordion",template:xt,styles:Ft});var Tt=Object.defineProperty,At=Object.getOwnPropertyDescriptor,It=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?At(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Tt(t,o,n),n};class zt extends bt{constructor(){super(...arguments),this.block=!1}}It([De],zt.prototype,"size",2),It([De({mode:"boolean"})],zt.prototype,"block",2),It([De({attribute:"expand-icon-position"})],zt.prototype,"expandIconPosition",2);const Lt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ht={start:"start",end:"end"},Ot="--colorNeutralForeground1",Dt="--colorNeutralForeground1Hover",Mt="--colorNeutralForeground1Pressed",Et="--colorNeutralForeground1Selected",Rt="--colorNeutralForeground2",jt="--colorNeutralForeground2Hover",Vt="--colorNeutralForeground2Pressed",Gt="--colorNeutralForeground2Selected",_t="--colorNeutralForeground2BrandHover",Xt="--colorNeutralForeground2BrandPressed",Wt="--colorNeutralForeground2BrandSelected",qt="--colorNeutralForeground3",Yt="--colorNeutralForeground3Hover",Ut="--colorNeutralForeground3Pressed",Kt="--colorNeutralForeground3Selected",Qt="--colorNeutralForeground3BrandHover",Zt="--colorNeutralForeground3BrandPressed",Jt="--colorNeutralForeground3BrandSelected",eo="--colorNeutralForeground4",to="--colorNeutralForegroundDisabled",oo="--colorBrandForegroundLink",ro="--colorBrandForegroundLinkHover",ao="--colorBrandForegroundLinkPressed",no="--colorBrandForegroundLinkSelected",io="--colorNeutralForeground2Link",so="--colorNeutralForeground2LinkHover",lo="--colorNeutralForeground2LinkPressed",co="--colorNeutralForeground2LinkSelected",uo="--colorCompoundBrandForeground1",ho="--colorCompoundBrandForeground1Hover",po="--colorCompoundBrandForeground1Pressed",go="--colorNeutralForegroundOnBrand",vo="--colorNeutralForegroundInverted",bo="--colorNeutralForegroundInvertedHover",mo="--colorNeutralForegroundInvertedPressed",fo="--colorNeutralForegroundInvertedSelected",ko="--colorNeutralForegroundInverted2",yo="--colorNeutralForegroundStaticInverted",xo="--colorNeutralForegroundInvertedLink",$o="--colorNeutralForegroundInvertedLinkHover",Bo="--colorNeutralForegroundInvertedLinkPressed",wo="--colorNeutralForegroundInvertedLinkSelected",Po="--colorNeutralForegroundInvertedDisabled",So="--colorBrandForeground1",Fo="--colorBrandForeground2",Co="--colorNeutralForeground1Static",No="--colorBrandForegroundInverted",To="--colorBrandForegroundInvertedHover",Ao="--colorBrandForegroundInvertedPressed",Io="--colorBrandForegroundOnLight",zo="--colorBrandForegroundOnLightHover",Lo="--colorBrandForegroundOnLightPressed",Ho="--colorBrandForegroundOnLightSelected",Oo="--colorNeutralBackground1",Do="--colorNeutralBackground1Hover",Mo="--colorNeutralBackground1Pressed",Eo="--colorNeutralBackground1Selected",Ro="--colorNeutralBackground2",jo="--colorNeutralBackground2Hover",Vo="--colorNeutralBackground2Pressed",Go="--colorNeutralBackground2Selected",_o="--colorNeutralBackground3",Xo="--colorNeutralBackground3Hover",Wo="--colorNeutralBackground3Pressed",qo="--colorNeutralBackground3Selected",Yo="--colorNeutralBackground4",Uo="--colorNeutralBackground4Hover",Ko="--colorNeutralBackground4Pressed",Qo="--colorNeutralBackground4Selected",Zo="--colorNeutralBackground5",Jo="--colorNeutralBackground5Hover",er="--colorNeutralBackground5Pressed",tr="--colorNeutralBackground5Selected",or="--colorNeutralBackground6",rr="--colorNeutralBackgroundStatic",ar="--colorNeutralBackgroundInverted",nr="--colorSubtleBackground",ir="--colorSubtleBackgroundHover",sr="--colorSubtleBackgroundPressed",lr="--colorSubtleBackgroundSelected",cr="--colorSubtleBackgroundLightAlphaHover",dr="--colorSubtleBackgroundLightAlphaPressed",ur="--colorSubtleBackgroundLightAlphaSelected",hr="--colorSubtleBackgroundInverted",pr="--colorSubtleBackgroundInvertedHover",gr="--colorSubtleBackgroundInvertedPressed",vr="--colorSubtleBackgroundInvertedSelected",br="--colorTransparentBackground",mr="--colorTransparentBackgroundHover",fr="--colorTransparentBackgroundPressed",kr="--colorTransparentBackgroundSelected",yr="--colorNeutralBackgroundDisabled",xr="--colorNeutralBackgroundInvertedDisabled",$r="--colorNeutralStencil1",Br="--colorNeutralStencil2",wr="--colorNeutralStencil1Alpha",Pr="--colorNeutralStencil2Alpha",Sr="--colorBackgroundOverlay",Fr="--colorScrollbarOverlay",Cr="--colorBrandBackground",Nr="--colorBrandBackgroundHover",Tr="--colorBrandBackgroundPressed",Ar="--colorBrandBackgroundSelected",Ir="--colorCompoundBrandBackground",zr="--colorCompoundBrandBackgroundHover",Lr="--colorCompoundBrandBackgroundPressed",Hr="--colorBrandBackgroundStatic",Or="--colorBrandBackground2",Dr="--colorBrandBackgroundInverted",Mr="--colorBrandBackgroundInvertedHover",Er="--colorBrandBackgroundInvertedPressed",Rr="--colorBrandBackgroundInvertedSelected",jr="--colorNeutralStrokeAccessible",Vr="--colorNeutralStrokeAccessibleHover",Gr="--colorNeutralStrokeAccessiblePressed",_r="--colorNeutralStrokeAccessibleSelected",Xr="--colorNeutralStroke1",Wr="--colorNeutralStroke1Hover",qr="--colorNeutralStroke1Pressed",Yr="--colorNeutralStroke1Selected",Ur="--colorNeutralStroke2",Kr="--colorNeutralStroke3",Qr="--colorNeutralStrokeOnBrand",Zr="--colorNeutralStrokeOnBrand2",Jr="--colorNeutralStrokeOnBrand2Hover",ea="--colorNeutralStrokeOnBrand2Pressed",ta="--colorNeutralStrokeOnBrand2Selected",oa="--colorBrandStroke1",ra="--colorBrandStroke2",aa="--colorCompoundBrandStroke",na="--colorCompoundBrandStrokeHover",ia="--colorCompoundBrandStrokePressed",sa="--colorNeutralStrokeDisabled",la="--colorNeutralStrokeInvertedDisabled",ca="--colorTransparentStroke",da="--colorTransparentStrokeInteractive",ua="--colorTransparentStrokeDisabled",ha="--colorStrokeFocus1",pa="--colorStrokeFocus2",ga="--colorNeutralShadowAmbient",va="--colorNeutralShadowKey",ba="--colorNeutralShadowAmbientLighter",ma="--colorNeutralShadowKeyLighter",fa="--colorNeutralShadowAmbientDarker",ka="--colorNeutralShadowKeyDarker",ya="--colorBrandShadowAmbient",xa="--colorBrandShadowKey",$a="--colorPaletteRedBackground1",Ba="--colorPaletteRedBackground2",wa="--colorPaletteRedBackground3",Pa="--colorPaletteRedBorderActive",Sa="--colorPaletteRedBorder1",Fa="--colorPaletteRedBorder2",Ca="--colorPaletteRedForeground1",Na="--colorPaletteRedForeground2",Ta="--colorPaletteRedForeground3",Aa="--colorPaletteRedForegroundInverted",Ia="--colorPaletteGreenBackground1",za="--colorPaletteGreenBackground2",La="--colorPaletteGreenBackground3",Ha="--colorPaletteGreenBorderActive",Oa="--colorPaletteGreenBorder1",Da="--colorPaletteGreenBorder2",Ma="--colorPaletteGreenForeground1",Ea="--colorPaletteGreenForeground2",Ra="--colorPaletteGreenForeground3",ja="--colorPaletteGreenForegroundInverted",Va="--colorPaletteDarkOrangeBackground1",Ga="--colorPaletteDarkOrangeBackground2",_a="--colorPaletteDarkOrangeBackground3",Xa="--colorPaletteDarkOrangeBorderActive",Wa="--colorPaletteDarkOrangeBorder1",qa="--colorPaletteDarkOrangeBorder2",Ya="--colorPaletteDarkOrangeForeground1",Ua="--colorPaletteDarkOrangeForeground2",Ka="--colorPaletteDarkOrangeForeground3",Qa="--colorPaletteYellowBackground1",Za="--colorPaletteYellowBackground2",Ja="--colorPaletteYellowBackground3",en="--colorPaletteYellowBorderActive",tn="--colorPaletteYellowBorder1",on="--colorPaletteYellowBorder2",rn="--colorPaletteYellowForeground1",an="--colorPaletteYellowForeground2",nn="--colorPaletteYellowForeground3",sn="--colorPaletteYellowForegroundInverted",ln="--colorPaletteBerryBackground1",cn="--colorPaletteBerryBackground2",dn="--colorPaletteBerryBackground3",un="--colorPaletteBerryBorderActive",hn="--colorPaletteBerryBorder1",pn="--colorPaletteBerryBorder2",gn="--colorPaletteBerryForeground1",vn="--colorPaletteBerryForeground2",bn="--colorPaletteBerryForeground3",mn="--colorPaletteMarigoldBackground1",fn="--colorPaletteMarigoldBackground2",kn="--colorPaletteMarigoldBackground3",yn="--colorPaletteMarigoldBorderActive",xn="--colorPaletteMarigoldBorder1",$n="--colorPaletteMarigoldBorder2",Bn="--colorPaletteMarigoldForeground1",wn="--colorPaletteMarigoldForeground2",Pn="--colorPaletteMarigoldForeground3",Sn="--colorPaletteLightGreenBackground1",Fn="--colorPaletteLightGreenBackground2",Cn="--colorPaletteLightGreenBackground3",Nn="--colorPaletteLightGreenBorderActive",Tn="--colorPaletteLightGreenBorder1",An="--colorPaletteLightGreenBorder2",In="--colorPaletteLightGreenForeground1",zn="--colorPaletteLightGreenForeground2",Ln="--colorPaletteLightGreenForeground3",Hn="--colorPaletteAnchorBackground2",On="--colorPaletteAnchorBorderActive",Dn="--colorPaletteAnchorForeground2",Mn="--colorPaletteBeigeBackground2",En="--colorPaletteBeigeBorderActive",Rn="--colorPaletteBeigeForeground2",jn="--colorPaletteBlueBackground2",Vn="--colorPaletteBlueBorderActive",Gn="--colorPaletteBlueForeground2",_n="--colorPaletteBrassBackground2",Xn="--colorPaletteBrassBorderActive",Wn="--colorPaletteBrassForeground2",qn="--colorPaletteBrownBackground2",Yn="--colorPaletteBrownBorderActive",Un="--colorPaletteBrownForeground2",Kn="--colorPaletteCornflowerBackground2",Qn="--colorPaletteCornflowerBorderActive",Zn="--colorPaletteCornflowerForeground2",Jn="--colorPaletteCranberryBackground2",ei="--colorPaletteCranberryBorderActive",ti="--colorPaletteCranberryForeground2",oi="--colorPaletteDarkGreenBackground2",ri="--colorPaletteDarkGreenBorderActive",ai="--colorPaletteDarkGreenForeground2",ni="--colorPaletteDarkRedBackground2",ii="--colorPaletteDarkRedBorderActive",si="--colorPaletteDarkRedForeground2",li="--colorPaletteForestBackground2",ci="--colorPaletteForestBorderActive",di="--colorPaletteForestForeground2",ui="--colorPaletteGoldBackground2",hi="--colorPaletteGoldBorderActive",pi="--colorPaletteGoldForeground2",gi="--colorPaletteGrapeBackground2",vi="--colorPaletteGrapeBorderActive",bi="--colorPaletteGrapeForeground2",mi="--colorPaletteLavenderBackground2",fi="--colorPaletteLavenderBorderActive",ki="--colorPaletteLavenderForeground2",yi="--colorPaletteLightTealBackground2",xi="--colorPaletteLightTealBorderActive",$i="--colorPaletteLightTealForeground2",Bi="--colorPaletteLilacBackground2",wi="--colorPaletteLilacBorderActive",Pi="--colorPaletteLilacForeground2",Si="--colorPaletteMagentaBackground2",Fi="--colorPaletteMagentaBorderActive",Ci="--colorPaletteMagentaForeground2",Ni="--colorPaletteMinkBackground2",Ti="--colorPaletteMinkBorderActive",Ai="--colorPaletteMinkForeground2",Ii="--colorPaletteNavyBackground2",zi="--colorPaletteNavyBorderActive",Li="--colorPaletteNavyForeground2",Hi="--colorPalettePeachBackground2",Oi="--colorPalettePeachBorderActive",Di="--colorPalettePeachForeground2",Mi="--colorPalettePinkBackground2",Ei="--colorPalettePinkBorderActive",Ri="--colorPalettePinkForeground2",ji="--colorPalettePlatinumBackground2",Vi="--colorPalettePlatinumBorderActive",Gi="--colorPalettePlatinumForeground2",_i="--colorPalettePlumBackground2",Xi="--colorPalettePlumBorderActive",Wi="--colorPalettePlumForeground2",qi="--colorPalettePumpkinBackground2",Yi="--colorPalettePumpkinBorderActive",Ui="--colorPalettePumpkinForeground2",Ki="--colorPalettePurpleBackground2",Qi="--colorPalettePurpleBorderActive",Zi="--colorPalettePurpleForeground2",Ji="--colorPaletteRoyalBlueBackground2",es="--colorPaletteRoyalBlueBorderActive",ts="--colorPaletteRoyalBlueForeground2",os="--colorPaletteSeafoamBackground2",rs="--colorPaletteSeafoamBorderActive",as="--colorPaletteSeafoamForeground2",ns="--colorPaletteSteelBackground2",is="--colorPaletteSteelBorderActive",ss="--colorPaletteSteelForeground2",ls="--colorPaletteTealBackground2",cs="--colorPaletteTealBorderActive",ds="--colorPaletteTealForeground2",us="--borderRadiusNone",hs="--borderRadiusSmall",ps="--borderRadiusMedium",gs="--borderRadiusLarge",vs="--borderRadiusXLarge",bs="--borderRadiusCircular",ms="--fontFamilyBase",fs="--fontFamilyMonospace",ks="--fontFamilyNumeric",ys="--fontSizeBase100",xs="--fontSizeBase200",$s="--fontSizeBase300",Bs="--fontSizeBase400",ws="--fontSizeBase500",Ps="--fontSizeBase600",Ss="--fontSizeHero700",Fs="--fontSizeHero800",Cs="--fontSizeHero900",Ns="--fontSizeHero1000",Ts="--fontWeightRegular",As="--fontWeightMedium",Is="--fontWeightSemibold",zs="--fontWeightBold",Ls="--lineHeightBase100",Hs="--lineHeightBase200",Os="--lineHeightBase300",Ds="--lineHeightBase400",Ms="--lineHeightBase500",Es="--lineHeightBase600",Rs="--lineHeightHero700",js="--lineHeightHero800",Vs="--lineHeightHero900",Gs="--lineHeightHero1000",_s="--shadow2",Xs="--shadow4",Ws="--shadow8",qs="--shadow16",Ys="--shadow28",Us="--shadow64",Ks="--shadow2Brand",Qs="--shadow4Brand",Zs="--shadow8Brand",Js="--shadow16Brand",el="--shadow28Brand",tl="--shadow64Brand",ol="--strokeWidthThin",rl="--strokeWidthThick",al="--strokeWidthThicker",nl="--strokeWidthThickest",il="--spacingHorizontalNone",sl="--spacingHorizontalXXS",ll="--spacingHorizontalXS",cl="--spacingHorizontalSNudge",dl="--spacingHorizontalS",ul="--spacingHorizontalMNudge",hl="--spacingHorizontalM",pl="--spacingHorizontalL",gl="--spacingHorizontalXL",vl="--spacingHorizontalXXL",bl="--spacingHorizontalXXXL",ml="--spacingVerticalNone",fl="--spacingVerticalXXS",kl="--spacingVerticalXS",yl="--spacingVerticalSNudge",xl="--spacingVerticalS",$l="--spacingVerticalMNudge",Bl="--spacingVerticalM",wl="--spacingVerticalL",Pl="--spacingVerticalXL",Sl="--spacingVerticalXXL",Fl="--spacingVerticalXXXL",Cl="--durationUltraFast",Nl="--durationFaster",Tl="--durationFast",Al="--durationNormal",Il="--durationSlow",zl="--durationSlower",Ll="--durationUltraSlow",Hl="--curveAccelerateMax",Ol="--curveAccelerateMid",Dl="--curveAccelerateMin",Ml="--curveDecelerateMax",El="--curveDecelerateMid",Rl="--curveDecelerateMin",jl="--curveEasyEaseMax",Vl="--curveEasyEase",Gl="--curveLinear";var _l=Object.freeze({__proto__:null,colorNeutralForeground1:Ot,colorNeutralForeground1Hover:"--colorNeutralForeground1Hover",colorNeutralForeground1Pressed:"--colorNeutralForeground1Pressed",colorNeutralForeground1Selected:"--colorNeutralForeground1Selected",colorNeutralForeground2:"--colorNeutralForeground2",colorNeutralForeground2Hover:"--colorNeutralForeground2Hover",colorNeutralForeground2Pressed:"--colorNeutralForeground2Pressed",colorNeutralForeground2Selected:"--colorNeutralForeground2Selected",colorNeutralForeground2BrandHover:"--colorNeutralForeground2BrandHover",colorNeutralForeground2BrandPressed:"--colorNeutralForeground2BrandPressed",colorNeutralForeground2BrandSelected:"--colorNeutralForeground2BrandSelected",colorNeutralForeground3:qt,colorNeutralForeground3Hover:"--colorNeutralForeground3Hover",colorNeutralForeground3Pressed:"--colorNeutralForeground3Pressed",colorNeutralForeground3Selected:"--colorNeutralForeground3Selected",colorNeutralForeground3BrandHover:"--colorNeutralForeground3BrandHover",colorNeutralForeground3BrandPressed:"--colorNeutralForeground3BrandPressed",colorNeutralForeground3BrandSelected:"--colorNeutralForeground3BrandSelected",colorNeutralForeground4:"--colorNeutralForeground4",colorNeutralForegroundDisabled:to,colorBrandForegroundLink:"--colorBrandForegroundLink",colorBrandForegroundLinkHover:"--colorBrandForegroundLinkHover",colorBrandForegroundLinkPressed:"--colorBrandForegroundLinkPressed",colorBrandForegroundLinkSelected:"--colorBrandForegroundLinkSelected",colorNeutralForeground2Link:"--colorNeutralForeground2Link",colorNeutralForeground2LinkHover:"--colorNeutralForeground2LinkHover",colorNeutralForeground2LinkPressed:"--colorNeutralForeground2LinkPressed",colorNeutralForeground2LinkSelected:"--colorNeutralForeground2LinkSelected",colorCompoundBrandForeground1:"--colorCompoundBrandForeground1",colorCompoundBrandForeground1Hover:"--colorCompoundBrandForeground1Hover",colorCompoundBrandForeground1Pressed:"--colorCompoundBrandForeground1Pressed",colorNeutralForegroundOnBrand:"--colorNeutralForegroundOnBrand",colorNeutralForegroundInverted:"--colorNeutralForegroundInverted",colorNeutralForegroundInvertedHover:"--colorNeutralForegroundInvertedHover",colorNeutralForegroundInvertedPressed:"--colorNeutralForegroundInvertedPressed",colorNeutralForegroundInvertedSelected:"--colorNeutralForegroundInvertedSelected",colorNeutralForegroundInverted2:"--colorNeutralForegroundInverted2",colorNeutralForegroundStaticInverted:"--colorNeutralForegroundStaticInverted",colorNeutralForegroundInvertedLink:"--colorNeutralForegroundInvertedLink",colorNeutralForegroundInvertedLinkHover:"--colorNeutralForegroundInvertedLinkHover",colorNeutralForegroundInvertedLinkPressed:"--colorNeutralForegroundInvertedLinkPressed",colorNeutralForegroundInvertedLinkSelected:"--colorNeutralForegroundInvertedLinkSelected",colorNeutralForegroundInvertedDisabled:"--colorNeutralForegroundInvertedDisabled",colorBrandForeground1:"--colorBrandForeground1",colorBrandForeground2:"--colorBrandForeground2",colorNeutralForeground1Static:"--colorNeutralForeground1Static",colorBrandForegroundInverted:"--colorBrandForegroundInverted",colorBrandForegroundInvertedHover:"--colorBrandForegroundInvertedHover",colorBrandForegroundInvertedPressed:"--colorBrandForegroundInvertedPressed",colorBrandForegroundOnLight:"--colorBrandForegroundOnLight",colorBrandForegroundOnLightHover:"--colorBrandForegroundOnLightHover",colorBrandForegroundOnLightPressed:"--colorBrandForegroundOnLightPressed",colorBrandForegroundOnLightSelected:"--colorBrandForegroundOnLightSelected",colorNeutralBackground1:Oo,colorNeutralBackground1Hover:"--colorNeutralBackground1Hover",colorNeutralBackground1Pressed:"--colorNeutralBackground1Pressed",colorNeutralBackground1Selected:"--colorNeutralBackground1Selected",colorNeutralBackground2:"--colorNeutralBackground2",colorNeutralBackground2Hover:"--colorNeutralBackground2Hover",colorNeutralBackground2Pressed:"--colorNeutralBackground2Pressed",colorNeutralBackground2Selected:"--colorNeutralBackground2Selected",colorNeutralBackground3:"--colorNeutralBackground3",colorNeutralBackground3Hover:"--colorNeutralBackground3Hover",colorNeutralBackground3Pressed:"--colorNeutralBackground3Pressed",colorNeutralBackground3Selected:"--colorNeutralBackground3Selected",colorNeutralBackground4:"--colorNeutralBackground4",colorNeutralBackground4Hover:"--colorNeutralBackground4Hover",colorNeutralBackground4Pressed:"--colorNeutralBackground4Pressed",colorNeutralBackground4Selected:"--colorNeutralBackground4Selected",colorNeutralBackground5:"--colorNeutralBackground5",colorNeutralBackground5Hover:"--colorNeutralBackground5Hover",colorNeutralBackground5Pressed:"--colorNeutralBackground5Pressed",colorNeutralBackground5Selected:"--colorNeutralBackground5Selected",colorNeutralBackground6:"--colorNeutralBackground6",colorNeutralBackgroundStatic:"--colorNeutralBackgroundStatic",colorNeutralBackgroundInverted:"--colorNeutralBackgroundInverted",colorSubtleBackground:"--colorSubtleBackground",colorSubtleBackgroundHover:"--colorSubtleBackgroundHover",colorSubtleBackgroundPressed:"--colorSubtleBackgroundPressed",colorSubtleBackgroundSelected:"--colorSubtleBackgroundSelected",colorSubtleBackgroundLightAlphaHover:"--colorSubtleBackgroundLightAlphaHover",colorSubtleBackgroundLightAlphaPressed:"--colorSubtleBackgroundLightAlphaPressed",colorSubtleBackgroundLightAlphaSelected:"--colorSubtleBackgroundLightAlphaSelected",colorSubtleBackgroundInverted:"--colorSubtleBackgroundInverted",colorSubtleBackgroundInvertedHover:"--colorSubtleBackgroundInvertedHover",colorSubtleBackgroundInvertedPressed:"--colorSubtleBackgroundInvertedPressed",colorSubtleBackgroundInvertedSelected:"--colorSubtleBackgroundInvertedSelected",colorTransparentBackground:"--colorTransparentBackground",colorTransparentBackgroundHover:"--colorTransparentBackgroundHover",colorTransparentBackgroundPressed:"--colorTransparentBackgroundPressed",colorTransparentBackgroundSelected:"--colorTransparentBackgroundSelected",colorNeutralBackgroundDisabled:"--colorNeutralBackgroundDisabled",colorNeutralBackgroundInvertedDisabled:"--colorNeutralBackgroundInvertedDisabled",colorNeutralStencil1:"--colorNeutralStencil1",colorNeutralStencil2:"--colorNeutralStencil2",colorNeutralStencil1Alpha:"--colorNeutralStencil1Alpha",colorNeutralStencil2Alpha:"--colorNeutralStencil2Alpha",colorBackgroundOverlay:"--colorBackgroundOverlay",colorScrollbarOverlay:"--colorScrollbarOverlay",colorBrandBackground:"--colorBrandBackground",colorBrandBackgroundHover:"--colorBrandBackgroundHover",colorBrandBackgroundPressed:"--colorBrandBackgroundPressed",colorBrandBackgroundSelected:"--colorBrandBackgroundSelected",colorCompoundBrandBackground:"--colorCompoundBrandBackground",colorCompoundBrandBackgroundHover:"--colorCompoundBrandBackgroundHover",colorCompoundBrandBackgroundPressed:"--colorCompoundBrandBackgroundPressed",colorBrandBackgroundStatic:"--colorBrandBackgroundStatic",colorBrandBackground2:"--colorBrandBackground2",colorBrandBackgroundInverted:"--colorBrandBackgroundInverted",colorBrandBackgroundInvertedHover:"--colorBrandBackgroundInvertedHover",colorBrandBackgroundInvertedPressed:"--colorBrandBackgroundInvertedPressed",colorBrandBackgroundInvertedSelected:"--colorBrandBackgroundInvertedSelected",colorNeutralStrokeAccessible:"--colorNeutralStrokeAccessible",colorNeutralStrokeAccessibleHover:"--colorNeutralStrokeAccessibleHover",colorNeutralStrokeAccessiblePressed:"--colorNeutralStrokeAccessiblePressed",colorNeutralStrokeAccessibleSelected:"--colorNeutralStrokeAccessibleSelected",colorNeutralStroke1:"--colorNeutralStroke1",colorNeutralStroke1Hover:"--colorNeutralStroke1Hover",colorNeutralStroke1Pressed:"--colorNeutralStroke1Pressed",colorNeutralStroke1Selected:"--colorNeutralStroke1Selected",colorNeutralStroke2:"--colorNeutralStroke2",colorNeutralStroke3:"--colorNeutralStroke3",colorNeutralStrokeOnBrand:"--colorNeutralStrokeOnBrand",colorNeutralStrokeOnBrand2:"--colorNeutralStrokeOnBrand2",colorNeutralStrokeOnBrand2Hover:"--colorNeutralStrokeOnBrand2Hover",colorNeutralStrokeOnBrand2Pressed:"--colorNeutralStrokeOnBrand2Pressed",colorNeutralStrokeOnBrand2Selected:"--colorNeutralStrokeOnBrand2Selected",colorBrandStroke1:"--colorBrandStroke1",colorBrandStroke2:"--colorBrandStroke2",colorCompoundBrandStroke:"--colorCompoundBrandStroke",colorCompoundBrandStrokeHover:"--colorCompoundBrandStrokeHover",colorCompoundBrandStrokePressed:"--colorCompoundBrandStrokePressed",colorNeutralStrokeDisabled:"--colorNeutralStrokeDisabled",colorNeutralStrokeInvertedDisabled:"--colorNeutralStrokeInvertedDisabled",colorTransparentStroke:"--colorTransparentStroke",colorTransparentStrokeInteractive:"--colorTransparentStrokeInteractive",colorTransparentStrokeDisabled:"--colorTransparentStrokeDisabled",colorStrokeFocus1:"--colorStrokeFocus1",colorStrokeFocus2:"--colorStrokeFocus2",colorNeutralShadowAmbient:"--colorNeutralShadowAmbient",colorNeutralShadowKey:"--colorNeutralShadowKey",colorNeutralShadowAmbientLighter:"--colorNeutralShadowAmbientLighter",colorNeutralShadowKeyLighter:"--colorNeutralShadowKeyLighter",colorNeutralShadowAmbientDarker:"--colorNeutralShadowAmbientDarker",colorNeutralShadowKeyDarker:"--colorNeutralShadowKeyDarker",colorBrandShadowAmbient:"--colorBrandShadowAmbient",colorBrandShadowKey:"--colorBrandShadowKey",colorPaletteRedBackground1:"--colorPaletteRedBackground1",colorPaletteRedBackground2:"--colorPaletteRedBackground2",colorPaletteRedBackground3:"--colorPaletteRedBackground3",colorPaletteRedBorderActive:"--colorPaletteRedBorderActive",colorPaletteRedBorder1:"--colorPaletteRedBorder1",colorPaletteRedBorder2:"--colorPaletteRedBorder2",colorPaletteRedForeground1:"--colorPaletteRedForeground1",colorPaletteRedForeground2:"--colorPaletteRedForeground2",colorPaletteRedForeground3:"--colorPaletteRedForeground3",colorPaletteRedForegroundInverted:"--colorPaletteRedForegroundInverted",colorPaletteGreenBackground1:"--colorPaletteGreenBackground1",colorPaletteGreenBackground2:"--colorPaletteGreenBackground2",colorPaletteGreenBackground3:"--colorPaletteGreenBackground3",colorPaletteGreenBorderActive:"--colorPaletteGreenBorderActive",colorPaletteGreenBorder1:"--colorPaletteGreenBorder1",colorPaletteGreenBorder2:"--colorPaletteGreenBorder2",colorPaletteGreenForeground1:"--colorPaletteGreenForeground1",colorPaletteGreenForeground2:"--colorPaletteGreenForeground2",colorPaletteGreenForeground3:"--colorPaletteGreenForeground3",colorPaletteGreenForegroundInverted:"--colorPaletteGreenForegroundInverted",colorPaletteDarkOrangeBackground1:"--colorPaletteDarkOrangeBackground1",colorPaletteDarkOrangeBackground2:"--colorPaletteDarkOrangeBackground2",colorPaletteDarkOrangeBackground3:"--colorPaletteDarkOrangeBackground3",colorPaletteDarkOrangeBorderActive:"--colorPaletteDarkOrangeBorderActive",colorPaletteDarkOrangeBorder1:"--colorPaletteDarkOrangeBorder1",colorPaletteDarkOrangeBorder2:"--colorPaletteDarkOrangeBorder2",colorPaletteDarkOrangeForeground1:"--colorPaletteDarkOrangeForeground1",colorPaletteDarkOrangeForeground2:"--colorPaletteDarkOrangeForeground2",colorPaletteDarkOrangeForeground3:"--colorPaletteDarkOrangeForeground3",colorPaletteYellowBackground1:"--colorPaletteYellowBackground1",colorPaletteYellowBackground2:"--colorPaletteYellowBackground2",colorPaletteYellowBackground3:"--colorPaletteYellowBackground3",colorPaletteYellowBorderActive:"--colorPaletteYellowBorderActive",colorPaletteYellowBorder1:"--colorPaletteYellowBorder1",colorPaletteYellowBorder2:"--colorPaletteYellowBorder2",colorPaletteYellowForeground1:"--colorPaletteYellowForeground1",colorPaletteYellowForeground2:"--colorPaletteYellowForeground2",colorPaletteYellowForeground3:"--colorPaletteYellowForeground3",colorPaletteYellowForegroundInverted:"--colorPaletteYellowForegroundInverted",colorPaletteBerryBackground1:"--colorPaletteBerryBackground1",colorPaletteBerryBackground2:"--colorPaletteBerryBackground2",colorPaletteBerryBackground3:"--colorPaletteBerryBackground3",colorPaletteBerryBorderActive:"--colorPaletteBerryBorderActive",colorPaletteBerryBorder1:"--colorPaletteBerryBorder1",colorPaletteBerryBorder2:"--colorPaletteBerryBorder2",colorPaletteBerryForeground1:"--colorPaletteBerryForeground1",colorPaletteBerryForeground2:"--colorPaletteBerryForeground2",colorPaletteBerryForeground3:"--colorPaletteBerryForeground3",colorPaletteMarigoldBackground1:"--colorPaletteMarigoldBackground1",colorPaletteMarigoldBackground2:"--colorPaletteMarigoldBackground2",colorPaletteMarigoldBackground3:"--colorPaletteMarigoldBackground3",colorPaletteMarigoldBorderActive:"--colorPaletteMarigoldBorderActive",colorPaletteMarigoldBorder1:"--colorPaletteMarigoldBorder1",colorPaletteMarigoldBorder2:"--colorPaletteMarigoldBorder2",colorPaletteMarigoldForeground1:"--colorPaletteMarigoldForeground1",colorPaletteMarigoldForeground2:"--colorPaletteMarigoldForeground2",colorPaletteMarigoldForeground3:"--colorPaletteMarigoldForeground3",colorPaletteLightGreenBackground1:"--colorPaletteLightGreenBackground1",colorPaletteLightGreenBackground2:"--colorPaletteLightGreenBackground2",colorPaletteLightGreenBackground3:"--colorPaletteLightGreenBackground3",colorPaletteLightGreenBorderActive:"--colorPaletteLightGreenBorderActive",colorPaletteLightGreenBorder1:"--colorPaletteLightGreenBorder1",colorPaletteLightGreenBorder2:"--colorPaletteLightGreenBorder2",colorPaletteLightGreenForeground1:"--colorPaletteLightGreenForeground1",colorPaletteLightGreenForeground2:"--colorPaletteLightGreenForeground2",colorPaletteLightGreenForeground3:"--colorPaletteLightGreenForeground3",colorPaletteAnchorBackground2:"--colorPaletteAnchorBackground2",colorPaletteAnchorBorderActive:"--colorPaletteAnchorBorderActive",colorPaletteAnchorForeground2:"--colorPaletteAnchorForeground2",colorPaletteBeigeBackground2:"--colorPaletteBeigeBackground2",colorPaletteBeigeBorderActive:"--colorPaletteBeigeBorderActive",colorPaletteBeigeForeground2:"--colorPaletteBeigeForeground2",colorPaletteBlueBackground2:"--colorPaletteBlueBackground2",colorPaletteBlueBorderActive:"--colorPaletteBlueBorderActive",colorPaletteBlueForeground2:"--colorPaletteBlueForeground2",colorPaletteBrassBackground2:"--colorPaletteBrassBackground2",colorPaletteBrassBorderActive:"--colorPaletteBrassBorderActive",colorPaletteBrassForeground2:"--colorPaletteBrassForeground2",colorPaletteBrownBackground2:"--colorPaletteBrownBackground2",colorPaletteBrownBorderActive:"--colorPaletteBrownBorderActive",colorPaletteBrownForeground2:"--colorPaletteBrownForeground2",colorPaletteCornflowerBackground2:"--colorPaletteCornflowerBackground2",colorPaletteCornflowerBorderActive:"--colorPaletteCornflowerBorderActive",colorPaletteCornflowerForeground2:"--colorPaletteCornflowerForeground2",colorPaletteCranberryBackground2:"--colorPaletteCranberryBackground2",colorPaletteCranberryBorderActive:"--colorPaletteCranberryBorderActive",colorPaletteCranberryForeground2:"--colorPaletteCranberryForeground2",colorPaletteDarkGreenBackground2:"--colorPaletteDarkGreenBackground2",colorPaletteDarkGreenBorderActive:"--colorPaletteDarkGreenBorderActive",colorPaletteDarkGreenForeground2:"--colorPaletteDarkGreenForeground2",colorPaletteDarkRedBackground2:"--colorPaletteDarkRedBackground2",colorPaletteDarkRedBorderActive:"--colorPaletteDarkRedBorderActive",colorPaletteDarkRedForeground2:"--colorPaletteDarkRedForeground2",colorPaletteForestBackground2:"--colorPaletteForestBackground2",colorPaletteForestBorderActive:"--colorPaletteForestBorderActive",colorPaletteForestForeground2:"--colorPaletteForestForeground2",colorPaletteGoldBackground2:"--colorPaletteGoldBackground2",colorPaletteGoldBorderActive:"--colorPaletteGoldBorderActive",colorPaletteGoldForeground2:"--colorPaletteGoldForeground2",colorPaletteGrapeBackground2:"--colorPaletteGrapeBackground2",colorPaletteGrapeBorderActive:"--colorPaletteGrapeBorderActive",colorPaletteGrapeForeground2:"--colorPaletteGrapeForeground2",colorPaletteLavenderBackground2:"--colorPaletteLavenderBackground2",colorPaletteLavenderBorderActive:"--colorPaletteLavenderBorderActive",colorPaletteLavenderForeground2:"--colorPaletteLavenderForeground2",colorPaletteLightTealBackground2:"--colorPaletteLightTealBackground2",colorPaletteLightTealBorderActive:"--colorPaletteLightTealBorderActive",colorPaletteLightTealForeground2:"--colorPaletteLightTealForeground2",colorPaletteLilacBackground2:"--colorPaletteLilacBackground2",colorPaletteLilacBorderActive:"--colorPaletteLilacBorderActive",colorPaletteLilacForeground2:"--colorPaletteLilacForeground2",colorPaletteMagentaBackground2:"--colorPaletteMagentaBackground2",colorPaletteMagentaBorderActive:"--colorPaletteMagentaBorderActive",colorPaletteMagentaForeground2:"--colorPaletteMagentaForeground2",colorPaletteMinkBackground2:"--colorPaletteMinkBackground2",colorPaletteMinkBorderActive:"--colorPaletteMinkBorderActive",colorPaletteMinkForeground2:"--colorPaletteMinkForeground2",colorPaletteNavyBackground2:"--colorPaletteNavyBackground2",colorPaletteNavyBorderActive:"--colorPaletteNavyBorderActive",colorPaletteNavyForeground2:"--colorPaletteNavyForeground2",colorPalettePeachBackground2:"--colorPalettePeachBackground2",colorPalettePeachBorderActive:"--colorPalettePeachBorderActive",colorPalettePeachForeground2:"--colorPalettePeachForeground2",colorPalettePinkBackground2:"--colorPalettePinkBackground2",colorPalettePinkBorderActive:"--colorPalettePinkBorderActive",colorPalettePinkForeground2:"--colorPalettePinkForeground2",colorPalettePlatinumBackground2:"--colorPalettePlatinumBackground2",colorPalettePlatinumBorderActive:"--colorPalettePlatinumBorderActive",colorPalettePlatinumForeground2:"--colorPalettePlatinumForeground2",colorPalettePlumBackground2:"--colorPalettePlumBackground2",colorPalettePlumBorderActive:"--colorPalettePlumBorderActive",colorPalettePlumForeground2:"--colorPalettePlumForeground2",colorPalettePumpkinBackground2:"--colorPalettePumpkinBackground2",colorPalettePumpkinBorderActive:"--colorPalettePumpkinBorderActive",colorPalettePumpkinForeground2:"--colorPalettePumpkinForeground2",colorPalettePurpleBackground2:"--colorPalettePurpleBackground2",colorPalettePurpleBorderActive:"--colorPalettePurpleBorderActive",colorPalettePurpleForeground2:"--colorPalettePurpleForeground2",colorPaletteRoyalBlueBackground2:"--colorPaletteRoyalBlueBackground2",colorPaletteRoyalBlueBorderActive:"--colorPaletteRoyalBlueBorderActive",colorPaletteRoyalBlueForeground2:"--colorPaletteRoyalBlueForeground2",colorPaletteSeafoamBackground2:"--colorPaletteSeafoamBackground2",colorPaletteSeafoamBorderActive:"--colorPaletteSeafoamBorderActive",colorPaletteSeafoamForeground2:"--colorPaletteSeafoamForeground2",colorPaletteSteelBackground2:"--colorPaletteSteelBackground2",colorPaletteSteelBorderActive:"--colorPaletteSteelBorderActive",colorPaletteSteelForeground2:"--colorPaletteSteelForeground2",colorPaletteTealBackground2:"--colorPaletteTealBackground2",colorPaletteTealBorderActive:"--colorPaletteTealBorderActive",colorPaletteTealForeground2:"--colorPaletteTealForeground2",borderRadiusNone:"--borderRadiusNone",borderRadiusSmall:hs,borderRadiusMedium:ps,borderRadiusLarge:"--borderRadiusLarge",borderRadiusXLarge:"--borderRadiusXLarge",borderRadiusCircular:bs,fontFamilyBase:ms,fontFamilyMonospace:"--fontFamilyMonospace",fontFamilyNumeric:"--fontFamilyNumeric",fontSizeBase100:"--fontSizeBase100",fontSizeBase200:xs,fontSizeBase300:$s,fontSizeBase400:Bs,fontSizeBase500:"--fontSizeBase500",fontSizeBase600:"--fontSizeBase600",fontSizeHero700:"--fontSizeHero700",fontSizeHero800:"--fontSizeHero800",fontSizeHero900:"--fontSizeHero900",fontSizeHero1000:"--fontSizeHero1000",fontWeightRegular:Ts,fontWeightMedium:"--fontWeightMedium",fontWeightSemibold:Is,fontWeightBold:"--fontWeightBold",lineHeightBase100:"--lineHeightBase100",lineHeightBase200:Hs,lineHeightBase300:Os,lineHeightBase400:"--lineHeightBase400",lineHeightBase500:"--lineHeightBase500",lineHeightBase600:"--lineHeightBase600",lineHeightHero700:"--lineHeightHero700",lineHeightHero800:"--lineHeightHero800",lineHeightHero900:"--lineHeightHero900",lineHeightHero1000:"--lineHeightHero1000",shadow2:"--shadow2",shadow4:Xs,shadow8:"--shadow8",shadow16:"--shadow16",shadow28:"--shadow28",shadow64:"--shadow64",shadow2Brand:"--shadow2Brand",shadow4Brand:"--shadow4Brand",shadow8Brand:"--shadow8Brand",shadow16Brand:"--shadow16Brand",shadow28Brand:"--shadow28Brand",shadow64Brand:"--shadow64Brand",strokeWidthThin:ol,strokeWidthThick:"--strokeWidthThick",strokeWidthThicker:"--strokeWidthThicker",strokeWidthThickest:"--strokeWidthThickest",spacingHorizontalNone:"--spacingHorizontalNone",spacingHorizontalXXS:"--spacingHorizontalXXS",spacingHorizontalXS:ll,spacingHorizontalSNudge:"--spacingHorizontalSNudge",spacingHorizontalS:dl,spacingHorizontalMNudge:"--spacingHorizontalMNudge",spacingHorizontalM:"--spacingHorizontalM",spacingHorizontalL:"--spacingHorizontalL",spacingHorizontalXL:"--spacingHorizontalXL",spacingHorizontalXXL:"--spacingHorizontalXXL",spacingHorizontalXXXL:"--spacingHorizontalXXXL",spacingVerticalNone:"--spacingVerticalNone",spacingVerticalXXS:"--spacingVerticalXXS",spacingVerticalXS:"--spacingVerticalXS",spacingVerticalSNudge:"--spacingVerticalSNudge",spacingVerticalS:xl,spacingVerticalMNudge:"--spacingVerticalMNudge",spacingVerticalM:"--spacingVerticalM",spacingVerticalL:"--spacingVerticalL",spacingVerticalXL:"--spacingVerticalXL",spacingVerticalXXL:"--spacingVerticalXXL",spacingVerticalXXXL:"--spacingVerticalXXXL",durationUltraFast:"--durationUltraFast",durationFaster:"--durationFaster",durationFast:"--durationFast",durationNormal:"--durationNormal",durationSlow:"--durationSlow",durationSlower:"--durationSlower",durationUltraSlow:"--durationUltraSlow",curveAccelerateMax:"--curveAccelerateMax",curveAccelerateMid:"--curveAccelerateMid",curveAccelerateMin:"--curveAccelerateMin",curveDecelerateMax:"--curveDecelerateMax",curveDecelerateMid:"--curveDecelerateMid",curveDecelerateMin:"--curveDecelerateMin",curveEasyEaseMax:"--curveEasyEaseMax",curveEasyEase:"--curveEasyEase",curveLinear:"--curveLinear"});const Xl=G`
5
- ${Pt("block")}
6
-
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:var(${"--spacingHorizontalM"}) var(${"--spacingHorizontalMNudge"});border-radius:var(${ps});font-family:var(${ms});font-size:var(${$s});font-weight:var(${Ts});line-height:var(${Os});grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:var(${Ot});background:var(${"--colorTransparentBackground"});line-height:var(${Os});height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${hs})}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:var(${dl});grid-column:1 / span 1;grid-row:1}.region{margin:0 var(${"--spacingHorizontalM"})}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:var(${dl});grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${hs});outline:none;border:2px solid var(${"--colorStrokeFocus1"});box-shadow:inset 0 0 0 1px var(${"--colorStrokeFocus2"})}:host([disabled]) .button{color:var(${to})}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:var(${$s});line-height:var(${Os})}:host([size='small']) .heading{font-size:var(${xs});line-height:var(${Hs})}:host([size='large']) .heading{font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='extra-large']) .heading{font-size:var(${"--fontSizeBase500"});line-height:var(${"--lineHeightBase500"})}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`,Wl=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${Be("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${gt(e)} ${pt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${ut(e.expandedIcon)}</slot><slot name="collapsed-icon">${ut(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="currentColor"\n />\n</svg>'),expandedIcon:xe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="currentColor"\n />\n</svg>')}),ql=zt.compose({name:Ct.prefix+"-accordion-item",template:Wl,styles:Xl});class Yl extends ot{}e([De],Yl.prototype,"download",void 0),e([De],Yl.prototype,"href",void 0),e([De],Yl.prototype,"hreflang",void 0),e([De],Yl.prototype,"ping",void 0),e([De],Yl.prototype,"referrerpolicy",void 0),e([De],Yl.prototype,"rel",void 0),e([De],Yl.prototype,"target",void 0),e([De],Yl.prototype,"type",void 0),e([P],Yl.prototype,"defaultSlottedContent",void 0);class Ul{}e([De({attribute:"aria-expanded"})],Ul.prototype,"ariaExpanded",void 0),vt(Ul,dt),vt(Yl,ht,Ul);var Kl=Object.defineProperty,Ql=Object.getOwnPropertyDescriptor,Zl=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ql(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Kl(t,o,n),n};class Jl extends Yl{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Zl([De],Jl.prototype,"appearance",2),Zl([De],Jl.prototype,"shape",2),Zl([De],Jl.prototype,"size",2),Zl([De({attribute:"icon-only",mode:"boolean"})],Jl.prototype,"iconOnly",2),Zl([De({mode:"boolean"})],Jl.prototype,"disabled",2),Zl([De({attribute:"disabled-focusable",mode:"boolean"})],Jl.prototype,"disabledFocusable",2);const ec={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},tc={circular:"circular",rounded:"rounded",square:"square"},oc={small:"small",medium:"medium",large:"large"},rc=ec,ac=tc,nc=oc,ic=function(e={}){return xe`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot></span>${pt(e)}</a>`}(),sc=G`
8
- ${Pt("inline-flex")}
9
-
10
- :host{--icon-spacing:var(${"--spacingHorizontalSNudge"});contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:var(${Oo});color:var(${Ot});border:var(${ol}) solid var(${"--colorNeutralStroke1"});padding:0 var(${"--spacingHorizontalM"});min-width:96px;border-radius:var(${ps});font-size:var(${$s});font-family:var(${ms});font-weight:var(${Is});line-height:var(${Os});transition-duration:var(${"--durationFaster"});transition-property:background,border,color;transition-timing-function:var(${"--curveEasyEase"});cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:var(${"--colorNeutralBackground1Hover"});color:var(${"--colorNeutralForeground1Hover"});border-color:var(${"--colorNeutralStroke1Hover"})}:host(:hover:active) .control{background-color:var(${"--colorNeutralBackground1Pressed"});border-color:var(${"--colorNeutralStroke1Pressed"});color:var(${"--colorNeutralForeground1Pressed"});outline-style:none}:host .control:focus-visible{border-color:var(${"--colorTransparentStroke"});outline:var(${"--strokeWidthThick"}) solid var(${"--colorTransparentStroke"});box-shadow:var(${Xs}),0 0 0 2px var(${"--colorStrokeFocus2"})}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:var(${ll})}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 var(${dl});border-radius:var(${hs});font-size:var(${xs});line-height:var(${Hs});font-weight:var(${Ts})}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:var(${"--borderRadiusLarge"});padding:0 var(${"--spacingHorizontalL"});font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:var(${bs})}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:var(${"--borderRadiusNone"})}:host([appearance='primary']) .control{background-color:var(${"--colorBrandBackground"});color:var(${"--colorNeutralForegroundOnBrand"});border-color:transparent}:host([appearance='primary']:hover) .control{background-color:var(${"--colorBrandBackgroundHover"})}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:var(${"--colorNeutralForegroundOnBrand"})}:host([appearance='primary']:hover:active) .control{background-color:var(${"--colorBrandBackgroundPressed"})}:host([appearance='primary']) .control:focus-visible{border-color:var(${"--colorNeutralForegroundOnBrand"});box-shadow:var(${"--shadow2"}),0 0 0 2px var(${"--colorStrokeFocus2"})}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:var(${"--colorTransparentBackground"})}:host([appearance='outline']:hover) .control{background-color:var(${"--colorTransparentBackgroundHover"})}:host([appearance='outline']:hover:active) .control{background-color:var(${"--colorTransparentBackgroundPressed"})}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:var(${"--colorTransparentBackground"})}:host([appearance='subtle']) .control{background-color:var(${"--colorSubtleBackground"});color:var(${"--colorNeutralForeground2"});border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:var(${"--colorSubtleBackgroundHover"});color:var(${"--colorNeutralForeground2Hover"});border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:var(${"--colorSubtleBackgroundPressed"});color:var(${"--colorNeutralForeground2Pressed"});border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:var(${"--colorTransparentBackground"});border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:var(${"--colorNeutralForeground2BrandHover"})}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:var(${"--colorNeutralForeground2BrandPressed"})}:host([appearance='transparent']) .control{background-color:var(${"--colorTransparentBackground"});color:var(${"--colorNeutralForeground2"})}:host([appearance='transparent']:hover) .control{background-color:var(${"--colorTransparentBackgroundHover"});color:var(${"--colorNeutralForeground2BrandHover"})}:host([appearance='transparent']:hover:active) .control{background-color:var(${"--colorTransparentBackgroundPressed"});color:var(${"--colorNeutralForeground2BrandPressed"})}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:var(${"--colorTransparentBackground"})}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
- .control{background-color:var(${"--colorNeutralBackgroundDisabled"});border-color:var(${"--colorNeutralStrokeDisabled"});color:var(${to});cursor:not-allowed}`.withBehaviors(wt(G`
12
- :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),lc=G`
13
- ${sc}
14
-
15
- .content{text-align:center}`,cc=Jl.compose({name:Ct.prefix+"-anchor-button",template:ic,styles:lc,shadowOptions:{delegatesFocus:!0}}),dc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,uc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,hc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,pc=/\s+/g,gc=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function vc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(dc,"")).replace(uc,"")).replace(pc," ")).trim()}(e),gc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&hc.test(e)?"":function(e,t,o){let r="";const a=e.split(" ");return 0!==a.length&&(r+=a[0].charAt(0).toUpperCase()),o||(2===a.length?r+=a[1].charAt(0).toUpperCase():3===a.length&&(r+=a[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const bc={active:"active",inactive:"inactive"},mc={circular:"circular",square:"square"},fc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},kc={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},yc={neutral:"neutral",brand:"brand",colorful:"colorful",...kc},xc={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128};var $c=Object.defineProperty,Bc=Object.getOwnPropertyDescriptor,wc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Bc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&$c(t,o,n),n};const Pc=class extends ot{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===yc.colorful?Pc.colors[Fc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Pc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!=(e=this.size)?e:32;return null!=(t=this.initials)?t:vc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let Sc=Pc;Sc.colors=Object.values(kc),wc([De],Sc.prototype,"name",2),wc([De],Sc.prototype,"initials",2),wc([De({converter:He})],Sc.prototype,"size",2),wc([De],Sc.prototype,"shape",2),wc([De],Sc.prototype,"active",2),wc([De],Sc.prototype,"appearance",2),wc([De],Sc.prototype,"color",2),wc([De({attribute:"color-id"})],Sc.prototype,"colorId",2);const Fc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),a=o%8;t^=(r<<a)+(r>>8-a)}return t},Cc=xe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const Nc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Cc}</slot><slot name="badge"></slot></template>`,Tc="--curveDecelerateMin",Ac="--curveEasyEaseMax",Ic="--curveLinear",zc=G`
16
- ${Pt("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:var(${ms});font-weight:var(${Is});font-size:var(${$s});border-radius:var(${bs});color:var(${qt});background-color:var(${"--colorNeutralBackground6"});contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:var(${bs})}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 var(${ol}) var(${Oo})}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 var(${"--strokeWidthThick"}) var(${Oo})}:host([size='16']),:host([size='20']),:host([size='24']){font-size:var(${"--fontSizeBase100"});font-weight:var(${Ts})}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:var(${xs})}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:var(${Bs})}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:var(${"--fontSizeBase500"})}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:var(${"--fontSizeBase600"})}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:var(${ps})}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:var(${hs})}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:var(${"--borderRadiusLarge"})}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:var(${"--borderRadiusXLarge"})}:host([data-color='brand']){color:var(${"--colorNeutralForegroundStaticInverted"});background-color:var(${"--colorBrandBackgroundStatic"})}:host([data-color='dark-red']){color:var(${"--colorPaletteDarkRedForeground2"});background-color:var(${"--colorPaletteDarkRedBackground2"})}:host([data-color='cranberry']){color:var(${"--colorPaletteCranberryForeground2"});background-color:var(${"--colorPaletteCranberryBackground2"})}:host([data-color='red']){color:var(${"--colorPaletteRedForeground2"});background-color:var(${"--colorPaletteRedBackground2"})}:host([data-color='pumpkin']){color:var(${"--colorPalettePumpkinForeground2"});background-color:var(${"--colorPalettePumpkinBackground2"})}:host([data-color='peach']){color:var(${"--colorPalettePeachForeground2"});background-color:var(${"--colorPalettePeachBackground2"})}:host([data-color='marigold']){color:var(${"--colorPaletteMarigoldForeground2"});background-color:var(${"--colorPaletteMarigoldBackground2"})}:host([data-color='gold']){color:var(${"--colorPaletteGoldForeground2"});background-color:var(${"--colorPaletteGoldBackground2"})}:host([data-color='brass']){color:var(${"--colorPaletteBrassForeground2"});background-color:var(${"--colorPaletteBrassBackground2"})}:host([data-color='brown']){color:var(${"--colorPaletteBrownForeground2"});background-color:var(${"--colorPaletteBrownBackground2"})}:host([data-color='forest']){color:var(${"--colorPaletteForestForeground2"});background-color:var(${"--colorPaletteForestBackground2"})}:host([data-color='seafoam']){color:var(${"--colorPaletteSeafoamForeground2"});background-color:var(${"--colorPaletteSeafoamBackground2"})}:host([data-color='dark-green']){color:var(${"--colorPaletteDarkGreenForeground2"});background-color:var(${"--colorPaletteDarkGreenBackground2"})}:host([data-color='light-teal']){color:var(${"--colorPaletteLightTealForeground2"});background-color:var(${"--colorPaletteLightTealBackground2"})}:host([data-color='teal']){color:var(${"--colorPaletteTealForeground2"});background-color:var(${"--colorPaletteTealBackground2"})}:host([data-color='steel']){color:var(${"--colorPaletteSteelForeground2"});background-color:var(${"--colorPaletteSteelBackground2"})}:host([data-color='blue']){color:var(${"--colorPaletteBlueForeground2"});background-color:var(${"--colorPaletteBlueBackground2"})}:host([data-color='royal-blue']){color:var(${"--colorPaletteRoyalBlueForeground2"});background-color:var(${"--colorPaletteRoyalBlueBackground2"})}:host([data-color='cornflower']){color:var(${"--colorPaletteCornflowerForeground2"});background-color:var(${"--colorPaletteCornflowerBackground2"})}:host([data-color='navy']){color:var(${"--colorPaletteNavyForeground2"});background-color:var(${"--colorPaletteNavyBackground2"})}:host([data-color='lavender']){color:var(${"--colorPaletteLavenderForeground2"});background-color:var(${"--colorPaletteLavenderBackground2"})}:host([data-color='purple']){color:var(${"--colorPalettePurpleForeground2"});background-color:var(${"--colorPalettePurpleBackground2"})}:host([data-color='grape']){color:var(${"--colorPaletteGrapeForeground2"});background-color:var(${"--colorPaletteGrapeBackground2"})}:host([data-color='lilac']){color:var(${"--colorPaletteLilacForeground2"});background-color:var(${"--colorPaletteLilacBackground2"})}:host([data-color='pink']){color:var(${"--colorPalettePinkForeground2"});background-color:var(${"--colorPalettePinkBackground2"})}:host([data-color='magenta']){color:var(${"--colorPaletteMagentaForeground2"});background-color:var(${"--colorPaletteMagentaBackground2"})}:host([data-color='plum']){color:var(${"--colorPalettePlumForeground2"});background-color:var(${"--colorPalettePlumBackground2"})}:host([data-color='beige']){color:var(${"--colorPaletteBeigeForeground2"});background-color:var(${"--colorPaletteBeigeBackground2"})}:host([data-color='mink']){color:var(${"--colorPaletteMinkForeground2"});background-color:var(${"--colorPaletteMinkBackground2"})}:host([data-color='platinum']){color:var(${"--colorPalettePlatinumForeground2"});background-color:var(${"--colorPalettePlatinumBackground2"})}:host([data-color='anchor']){color:var(${"--colorPaletteAnchorForeground2"});background-color:var(${"--colorPaletteAnchorBackground2"})}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationFaster"});transition-delay:var(${Ac}),var(${Ic})}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationSlower"});transition-delay:var(${Ac}),var(${Ic})}:host([active])::before{box-shadow:var(${"--shadow8"});border-style:solid;border-color:var(${"--colorBrandBackgroundStatic"})}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${"--strokeWidthThick"}));border-width:var(${"--strokeWidthThick"})}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${"--strokeWidthThicker"}));border-width:var(${"--strokeWidthThicker"})}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${"--strokeWidthThickest"}));border-width:var(${"--strokeWidthThickest"})}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:var(${Xs})}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:var(${"--shadow16"})}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:var(${"--shadow28"})}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationFaster"});transition-delay:var(${Tc}),var(${Ic})}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:var(${"--durationUltraSlow"}),var(${"--durationSlower"});transition-delay:var(${Tc}),var(${Ic})}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Lc=Sc.compose({name:Ct.prefix+"-avatar",template:Nc,styles:zc});function Hc(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}const Oc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Dc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Mc={circular:"circular",rounded:"rounded",square:"square"},Ec={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var Rc=Object.defineProperty,jc=Object.getOwnPropertyDescriptor,Vc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?jc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Rc(t,o,n),n};class Gc extends ot{constructor(){super(...arguments),this.appearance=Oc.filled,this.color=Dc.brand}}function _c(e={}){return xe` ${gt(e)}<slot>${ut(e.defaultContent)}</slot>${pt(e)} `}Vc([De],Gc.prototype,"appearance",2),Vc([De],Gc.prototype,"color",2),Vc([De],Gc.prototype,"shape",2),Vc([De],Gc.prototype,"size",2),Hc(Gc,ht);const Xc=_c(),Wc="--spacingHorizontalXXS",qc=G.partial`
17
- ${Pt("inline-flex")} :host {
1
+ const g=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements});let Vo;const Qi="fast-kernel";try{if(document.currentScript)Vo=document.currentScript.getAttribute(Qi);else{const o=document.getElementsByTagName("script");Vo=o[o.length-1].getAttribute(Qi)}}catch{Vo="isolate"}let me;switch(Vo){case"share":me=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":me=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const o=`-${Math.random().toString(36).substring(2,8)}`;me=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}const Ne=o=>typeof o=="function",Ft=o=>typeof o=="string",Zi=()=>{};var Gs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof Gs<"u")Gs.globalThis=Gs;else if(typeof self<"u")self.globalThis=self;else if(typeof window<"u")window.globalThis=window;else{const t=new Function("return this")();t.globalThis=t}})();const Ji={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},Ji));const et=globalThis.FAST;if(et.getById===void 0){const o=Object.create(null);Reflect.defineProperty(et,"getById",Object.assign({value(t,e){let s=o[t];return s===void 0&&(s=e?o[t]=e():null),s}},Ji))}et.error===void 0&&Object.assign(et,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const ua=Object.freeze([]);function Ws(){const o=new Map;return Object.freeze({register(t){return o.has(t.type)?!1:(o.set(t.type,t),!0)},getByType(t){return o.get(t)},getForInstance(t){if(t!=null)return o.get(t.constructor)}})}function tr(){const o=new WeakMap;return function(t){let e=o.get(t);if(e===void 0){let s=Reflect.getPrototypeOf(t);for(;e===void 0&&s!==null;)e=o.get(s),s=Reflect.getPrototypeOf(s);e=e===void 0?[]:e.slice(0),o.set(t,e)}return e}}function $e(o){o.prototype.toJSON=Zi}const Y=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),er=o=>o,pa=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:er}):{createHTML:er};let Do=Object.freeze({createHTML(o){return pa.createHTML(o)},protect(o,t,e,s){return s}});const ga=Do,ve=Object.freeze({get policy(){return Do},setPolicy(o){if(Do!==ga)throw et.error(1201);Do=o},setAttribute(o,t,e){e==null?o.removeAttribute(t):o.setAttribute(t,e)},setBooleanAttribute(o,t,e){e?o.setAttribute(t,""):o.removeAttribute(t)}}),Ot=et.getById(me.updateQueue,()=>{const o=[],t=[],e=globalThis.requestAnimationFrame;let s=!0;function i(){if(t.length)throw t.shift()}function r(p){try{p.call()}catch(h){if(s)t.push(h),setTimeout(i,0);else throw o.length=0,h}}function n(){let h=0;for(;h<o.length;)if(r(o[h]),h++,h>1024){for(let d=0,b=o.length-h;d<b;d++)o[d]=o[d+h];o.length-=h,h=0}o.length=0}function u(p){o.push(p),o.length<2&&(s?e(n):n())}return Object.freeze({enqueue:u,next:()=>new Promise(u),process:n,setMode:p=>s=p})});class Xs{constructor(t,e){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=t,this.sub1=e}has(t){return this.spillover===void 0?this.sub1===t||this.sub2===t:this.spillover.indexOf(t)!==-1}subscribe(t){const e=this.spillover;if(e===void 0){if(this.has(t))return;if(this.sub1===void 0){this.sub1=t;return}if(this.sub2===void 0){this.sub2=t;return}this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else e.indexOf(t)===-1&&e.push(t)}unsubscribe(t){const e=this.spillover;if(e===void 0)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{const s=e.indexOf(t);s!==-1&&e.splice(s,1)}}notify(t){const e=this.spillover,s=this.subject;if(e===void 0){const i=this.sub1,r=this.sub2;i!==void 0&&i.handleChange(s,t),r!==void 0&&r.handleChange(s,t)}else for(let i=0,r=e.length;i<r;++i)e[i].handleChange(s,t)}}class or{constructor(t){this.subscribers={},this.subjectSubscribers=null,this.subject=t}notify(t){var e,s;(e=this.subscribers[t])===null||e===void 0||e.notify(t),(s=this.subjectSubscribers)===null||s===void 0||s.notify(t)}subscribe(t,e){var s,i;let r;e?r=(s=this.subscribers[e])!==null&&s!==void 0?s:this.subscribers[e]=new Xs(this.subject):r=(i=this.subjectSubscribers)!==null&&i!==void 0?i:this.subjectSubscribers=new Xs(this.subject),r.subscribe(t)}unsubscribe(t,e){var s,i;e?(s=this.subscribers[e])===null||s===void 0||s.unsubscribe(t):(i=this.subjectSubscribers)===null||i===void 0||i.unsubscribe(t)}}const Lo=Object.freeze({unknown:void 0,coupled:1}),m=et.getById(me.observable,()=>{const o=Ot.enqueue,t=/(:|&&|\|\||if|\?\.)/,e=new WeakMap;let s,i=h=>{throw et.error(1101)};function r(h){var d;let b=(d=h.$fastController)!==null&&d!==void 0?d:e.get(h);return b===void 0&&(Array.isArray(h)?b=i(h):e.set(h,b=new or(h))),b}const n=tr();class u{constructor(d){this.name=d,this.field=`_${d}`,this.callback=`${d}Changed`}getValue(d){return s!==void 0&&s.watch(d,this.name),d[this.field]}setValue(d,b){const k=this.field,ht=d[k];if(ht!==b){d[k]=b;const ae=d[this.callback];Ne(ae)&&ae.call(d,ht,b),r(d).notify(this.name)}}}class p extends Xs{constructor(d,b,k=!1){super(d,b),this.expression=d,this.isVolatileBinding=k,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(d){this.isAsync=this.needsQueue=d}bind(d){this.controller=d;const b=this.observe(d.source,d.context);return!d.isBound&&this.requiresUnbind(d)&&d.onUnbind(this),b}requiresUnbind(d){return d.sourceLifetime!==Lo.coupled||this.first!==this.last||this.first.propertySource!==d.source}unbind(d){this.dispose()}observe(d,b){this.needsRefresh&&this.last!==null&&this.dispose();const k=s;s=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let ht;try{ht=this.expression(d,b)}finally{s=k}return ht}disconnect(){this.dispose()}dispose(){if(this.last!==null){let d=this.first;for(;d!==void 0;)d.notifier.unsubscribe(this,d.propertyName),d=d.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(d,b){const k=this.last,ht=r(d),ae=k===null?this.first:{};if(ae.propertySource=d,ae.propertyName=b,ae.notifier=ht,ht.subscribe(this,b),k!==null){if(!this.needsRefresh){let Yi;s=void 0,Yi=k.propertySource[k.propertyName],s=this,d===Yi&&(this.needsRefresh=!0)}k.next=ae}this.last=ae}handleChange(){this.needsQueue?(this.needsQueue=!1,o(this)):this.isAsync||this.call()}call(){this.last!==null&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let d=this.first;for(;d!==void 0;)yield d,d=d.next}}return $e(p),Object.freeze({setArrayObserverFactory(h){i=h},getNotifier:r,track(h,d){s&&s.watch(h,d)},trackVolatile(){s&&(s.needsRefresh=!0)},notify(h,d){r(h).notify(d)},defineProperty(h,d){Ft(d)&&(d=new u(d)),n(h).push(d),Reflect.defineProperty(h,d.name,{enumerable:!0,get(){return d.getValue(this)},set(b){d.setValue(this,b)}})},getAccessors:n,binding(h,d,b=this.isVolatileBinding(h)){return new p(h,d,b)},isVolatileBinding(h){return t.test(h.toString())}})});function v(o,t){m.defineProperty(o,t)}function ba(o,t,e){return Object.assign({},e,{get(){return m.trackVolatile(),e.get.apply(this)}})}const sr=et.getById(me.contextEvent,()=>{let o=null;return{get(){return o},set(t){o=t}}}),Fe=Object.freeze({default:{index:0,length:0,get event(){return Fe.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return sr.get()},setEvent(o){sr.set(o)}});class Ho{constructor(t,e,s=!1){this.evaluate=t,this.policy=e,this.isVolatile=s}}class fa extends Ho{createObserver(t){return m.binding(this.evaluate,t,this.isVolatile)}}function Ks(o,t,e=m.isVolatileBinding(o)){return new fa(o,t,e)}class ir extends Ho{createObserver(){return this}bind(t){return this.evaluate(t.source,t.context)}}$e(ir);function rr(o,t){return new ir(o,t)}let nr;function ar(o){return o.map(t=>t instanceof mt?ar(t.styles):[t]).reduce((t,e)=>t.concat(e),[])}class mt{constructor(t){this.styles=t,this.targets=new WeakSet,this._strategy=null,this.behaviors=t.map(e=>e instanceof mt?e.behaviors:null).reduce((e,s)=>s===null?e:e===null?s:e.concat(s),null)}get strategy(){return this._strategy===null&&this.withStrategy(nr),this._strategy}addStylesTo(t){this.strategy.addStylesTo(t),this.targets.add(t)}removeStylesFrom(t){this.strategy.removeStylesFrom(t),this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=this.behaviors===null?t:this.behaviors.concat(t),this}withStrategy(t){return this._strategy=new t(ar(this.styles)),this}static setDefaultStrategy(t){nr=t}static normalize(t){return t===void 0?void 0:Array.isArray(t)?new mt(t):t instanceof mt?t:new mt([t])}}mt.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const Ys=Ws(),Qs=Object.freeze({getForInstance:Ys.getForInstance,getByType:Ys.getByType,define(o){return Ys.register({type:o}),o}});function Zs(o,t,e){t.source.style.setProperty(o.targetAspect,e.bind(t))}class Js{constructor(t,e){this.dataBinding=t,this.targetAspect=e}createCSS(t){return t(this),`var(${this.targetAspect})`}addedCallback(t){var e;const s=t.source;if(!s.$cssBindings){s.$cssBindings=new Map;const r=s.setAttribute;s.setAttribute=(n,u)=>{r.call(s,n,u),n==="style"&&s.$cssBindings.forEach((p,h)=>Zs(h,p.controller,p.observer))}}const i=(e=t[this.targetAspect])!==null&&e!==void 0?e:t[this.targetAspect]=this.dataBinding.createObserver(this,this);i.controller=t,t.source.$cssBindings.set(this,{controller:t,observer:i})}connectedCallback(t){Zs(this,t,t[this.targetAspect])}removedCallback(t){t.source.$cssBindings&&t.source.$cssBindings.delete(this)}handleChange(t,e){Zs(this,e.controller,e)}}Qs.define(Js);const ma=`${Math.random().toString(36).substring(2,8)}`;let $a=0;const lr=()=>`--v${ma}${++$a}`;function cr(o,t){const e=[];let s="";const i=[],r=n=>{i.push(n)};for(let n=0,u=o.length-1;n<u;++n){s+=o[n];let p=t[n];Ne(p)?p=new Js(Ks(p),lr()).createCSS(r):p instanceof Ho?p=new Js(p,lr()).createCSS(r):Qs.getForInstance(p)!==void 0&&(p=p.createCSS(r)),p instanceof mt||p instanceof CSSStyleSheet?(s.trim()!==""&&(e.push(s),s=""),e.push(p)):s+=p}return s+=o[o.length-1],s.trim()!==""&&e.push(s),{styles:e,behaviors:i}}const l=(o,...t)=>{const{styles:e,behaviors:s}=cr(o,t),i=new mt(e);return s.length?i.withBehaviors(...s):i};class dr{constructor(t,e){this.behaviors=e,this.css="";const s=t.reduce((i,r)=>(Ft(r)?this.css+=r:i.push(r),i),[]);s.length&&(this.styles=new mt(s))}createCSS(t){return this.behaviors.forEach(t),this.styles&&t(this),this.css}addedCallback(t){t.addStyles(this.styles)}removedCallback(t){t.removeStyles(this.styles)}}Qs.define(dr),l.partial=(o,...t)=>{const{styles:e,behaviors:s}=cr(o,t);return new dr(e,s)};const hr=/fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/,ur=/fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/,pr=/fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/,gr=/fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/,br=/^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/,fr=/fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;function mr(o){return o&&o.nodeType===Node.COMMENT_NODE}const Mt=Object.freeze({attributeMarkerName:"data-fe-b",attributeBindingSeparator:" ",contentBindingStartMarker(o,t){return`fe-b$$start$$${o}$$${t}$$fe-b`},contentBindingEndMarker(o,t){return`fe-b$$end$$${o}$$${t}$$fe-b`},repeatStartMarker(o){return`fe-repeat$$start$$${o}$$fe-repeat`},repeatEndMarker(o){return`fe-repeat$$end$$${o}$$fe-repeat`},isContentBindingStartMarker(o){return hr.test(o)},isContentBindingEndMarker(o){return ur.test(o)},isRepeatViewStartMarker(o){return pr.test(o)},isRepeatViewEndMarker(o){return gr.test(o)},isElementBoundaryStartMarker(o){return mr(o)&&br.test(o.data.trim())},isElementBoundaryEndMarker(o){return mr(o)&&fr.test(o.data)},parseAttributeBinding(o){const t=o.getAttribute(this.attributeMarkerName);return t===null?t:t.split(this.attributeBindingSeparator).map(e=>parseInt(e))},parseContentBindingStartMarker(o){return yr(hr,o)},parseContentBindingEndMarker(o){return yr(ur,o)},parseRepeatStartMarker(o){return $r(pr,o)},parseRepeatEndMarker(o){return $r(gr,o)},parseElementBoundaryStartMarker(o){return vr(br,o.trim())},parseElementBoundaryEndMarker(o){return vr(fr,o)}});function $r(o,t){const e=o.exec(t);return e===null?e:parseInt(e[1])}function vr(o,t){const e=o.exec(t);return e===null?e:e[1]}function yr(o,t){const e=o.exec(t);return e===null?e:[parseInt(e[1]),e[2]]}const Ro=Symbol.for("fe-hydration");function jo(o){return o[Ro]===Ro}const ti=`fast-${Math.random().toString(36).substring(2,8)}`,qo=`${ti}{`,io=`}${ti}`,va=io.length;let ya=0;const ro=()=>`${ti}-${++ya}`,kr=Object.freeze({interpolation:o=>`${qo}${o}${io}`,attribute:o=>`${ro()}="${qo}${o}${io}"`,comment:o=>`<!--${qo}${o}${io}-->`}),Uo=Object.freeze({parse(o,t){const e=o.split(qo);if(e.length===1)return null;const s=[];for(let i=0,r=e.length;i<r;++i){const n=e[i],u=n.indexOf(io);let p;if(u===-1)p=n;else{const h=n.substring(0,u);s.push(t[h]),p=n.substring(u+va)}p!==""&&s.push(p)}return s}}),ei=Ws(),St=Object.freeze({getForInstance:ei.getForInstance,getByType:ei.getByType,define(o,t){return t=t||{},t.type=o,ei.register(t),o},assignAspect(o,t){if(!t){o.aspectType=Y.content;return}switch(o.sourceAspect=t,t[0]){case":":o.targetAspect=t.substring(1),o.aspectType=o.targetAspect==="classList"?Y.tokenList:Y.property;break;case"?":o.targetAspect=t.substring(1),o.aspectType=Y.booleanAttribute;break;case"@":o.targetAspect=t.substring(1),o.aspectType=Y.event;break;default:o.targetAspect=t,o.aspectType=Y.attribute;break}}});class oi{constructor(t){this.options=t}createHTML(t){return kr.attribute(t(this))}createBehavior(){return this}}$e(oi);class xr extends Error{constructor(t,e,s){super(t),this.factories=e,this.node=s}}function si(o){return o.nodeType===Node.COMMENT_NODE}function wr(o){return o.nodeType===Node.TEXT_NODE}function Cr(o,t){const e=document.createRange();return e.setStart(o,0),e.setEnd(t,si(t)||wr(t)?t.data.length:t.childNodes.length),e}function ka(o){return o instanceof DocumentFragment&&"mode"in o}function xa(o,t,e){const s=Cr(o,t),i=s.commonAncestorContainer,r=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_COMMENT+NodeFilter.SHOW_TEXT,{acceptNode(h){return s.comparePoint(h,0)===0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n={},u={};let p=r.currentNode=o;for(;p!==null;){switch(p.nodeType){case Node.ELEMENT_NODE:{wa(p,e,n);break}case Node.COMMENT_NODE:{Ca(p,r,e,n,u);break}}p=r.nextNode()}return s.detach(),{targets:n,boundaries:u}}function wa(o,t,e){const s=Mt.parseAttributeBinding(o);if(s!==null){for(const i of s){if(!t[i])throw new xr(`HydrationView was unable to successfully target factory on ${o.nodeName} inside ${o.getRootNode().host.nodeName}. This likely indicates a template mismatch between SSR rendering and hydration.`,t,o);Go(t[i],o,e)}o.removeAttribute(Mt.attributeMarkerName)}}function Ca(o,t,e,s,i){if(Mt.isElementBoundaryStartMarker(o)){Ia(o,t);return}if(Mt.isContentBindingStartMarker(o.data)){const r=Mt.parseContentBindingStartMarker(o.data);if(r===null)return;const[n,u]=r,p=e[n],h=[];let d=t.nextSibling();o.data="";const b=d;for(;d!==null;){if(si(d)){const k=Mt.parseContentBindingEndMarker(d.data);if(k&&k[1]===u)break}h.push(d),d=t.nextSibling()}if(d===null){const k=o.getRootNode();throw new Error(`Error hydrating Comment node inside "${ka(k)?k.host.nodeName:k.nodeName}".`)}if(d.data="",h.length===1&&wr(h[0]))Go(p,h[0],s);else{d!==b&&d.previousSibling!==null&&(i[p.targetNodeId]={first:b,last:d.previousSibling});const k=d.parentNode.insertBefore(document.createTextNode(""),d);Go(p,k,s)}}}function Ia(o,t){const e=Mt.parseElementBoundaryStartMarker(o.data);let s=t.nextSibling();for(;s!==null;){if(si(s)){const i=Mt.parseElementBoundaryEndMarker(s.data);if(i&&i===e)break}s=t.nextSibling()}}function Go(o,t,e){if(o.targetNodeId===void 0)throw new Error("Factory could not be target to the node");e[o.targetNodeId]=t}var Ir;function ii(o,t){const e=o.parentNode;let s=o,i;for(;s!==t;){if(i=s.nextSibling,!i)throw new Error(`Unmatched first/last child inside "${t.getRootNode().host.nodeName}".`);e.removeChild(s),s=i}e.removeChild(t)}class Sr{constructor(){this.index=0,this.length=0}get event(){return Fe.getEvent()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}}class Wo extends Sr{constructor(t,e,s){super(),this.fragment=t,this.factories=e,this.targets=s,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=Lo.unknown,this.context=this,this.firstChild=t.firstChild,this.lastChild=t.lastChild}appendTo(t){t.appendChild(this.fragment)}insertBefore(t){if(this.fragment.hasChildNodes())t.parentNode.insertBefore(this.fragment,t);else{const e=this.lastChild;if(t.previousSibling===e)return;const s=t.parentNode;let i=this.firstChild,r;for(;i!==e;)r=i.nextSibling,s.insertBefore(i,t),i=r;s.insertBefore(e,t)}}remove(){const t=this.fragment,e=this.lastChild;let s=this.firstChild,i;for(;s!==e;)i=s.nextSibling,t.appendChild(s),s=i;t.appendChild(e)}dispose(){ii(this.firstChild,this.lastChild),this.unbind()}onUnbind(t){this.unbindables.push(t)}bind(t,e=this){if(this.source===t)return;let s=this.behaviors;if(s===null){this.source=t,this.context=e,this.behaviors=s=new Array(this.factories.length);const i=this.factories;for(let r=0,n=i.length;r<n;++r){const u=i[r].createBehavior();u.bind(this),s[r]=u}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=t,this.context=e;for(let i=0,r=s.length;i<r;++i)s[i].bind(this)}this.isBound=!0}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const t=this.unbindables;for(let e=0,s=t.length;e<s;++e)t[e].unbind(this);t.length=0}static disposeContiguousBatch(t){if(t.length!==0){ii(t[0].firstChild,t[t.length-1].lastChild);for(let e=0,s=t.length;e<s;++e)t[e].unbind()}}}$e(Wo),m.defineProperty(Wo.prototype,"index"),m.defineProperty(Wo.prototype,"length");const Oe={unhydrated:"unhydrated",hydrating:"hydrating",hydrated:"hydrated"};class Sa extends Error{constructor(t,e,s,i){super(t),this.factory=e,this.fragment=s,this.templateString=i}}class za extends Sr{constructor(t,e,s,i){super(),this.firstChild=t,this.lastChild=e,this.sourceTemplate=s,this.hostBindingTarget=i,this[Ir]=Ro,this.context=this,this.source=null,this.isBound=!1,this.sourceLifetime=Lo.unknown,this.unbindables=[],this.fragment=null,this.behaviors=null,this._hydrationStage=Oe.unhydrated,this._bindingViewBoundaries={},this._targets={},this.factories=s.compile().factories}get hydrationStage(){return this._hydrationStage}get targets(){return this._targets}get bindingViewBoundaries(){return this._bindingViewBoundaries}insertBefore(t){if(this.fragment!==null)if(this.fragment.hasChildNodes())t.parentNode.insertBefore(this.fragment,t);else{const e=this.lastChild;if(t.previousSibling===e)return;const s=t.parentNode;let i=this.firstChild,r;for(;i!==e;)r=i.nextSibling,s.insertBefore(i,t),i=r;s.insertBefore(e,t)}}appendTo(t){this.fragment!==null&&t.appendChild(this.fragment)}remove(){const t=this.fragment||(this.fragment=document.createDocumentFragment()),e=this.lastChild;let s=this.firstChild,i;for(;s!==e;){if(i=s.nextSibling,!i)throw new Error(`Unmatched first/last child inside "${e.getRootNode().host.nodeName}".`);t.appendChild(s),s=i}t.appendChild(e)}bind(t,e=this){var s,i;if(this.hydrationStage!==Oe.hydrated&&(this._hydrationStage=Oe.hydrating),this.source===t)return;let r=this.behaviors;if(r===null){this.source=t,this.context=e;try{const{targets:u,boundaries:p}=xa(this.firstChild,this.lastChild,this.factories);this._targets=u,this._bindingViewBoundaries=p}catch(u){if(u instanceof xr){let p=this.sourceTemplate.html;typeof p!="string"&&(p=p.innerHTML),u.templateString=p}throw u}this.behaviors=r=new Array(this.factories.length);const n=this.factories;for(let u=0,p=n.length;u<p;++u){const h=n[u];if(h.targetNodeId==="h"&&this.hostBindingTarget&&Go(h,this.hostBindingTarget,this._targets),h.targetNodeId in this.targets){const d=h.createBehavior();d.bind(this),r[u]=d}else{let d=this.sourceTemplate.html;throw typeof d!="string"&&(d=d.innerHTML),new Sa(`HydrationView was unable to successfully target bindings inside "${(i=((s=this.firstChild)===null||s===void 0?void 0:s.getRootNode()).host)===null||i===void 0?void 0:i.nodeName}".`,h,Cr(this.firstChild,this.lastChild).cloneContents(),d)}}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=t,this.context=e;for(let n=0,u=r.length;n<u;++n)r[n].bind(this)}this.isBound=!0,this._hydrationStage=Oe.hydrated}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}dispose(){ii(this.firstChild,this.lastChild),this.unbind()}onUnbind(t){this.unbindables.push(t)}evaluateUnbindables(){const t=this.unbindables;for(let e=0,s=t.length;e<s;++e)t[e].unbind(this);t.length=0}}Ir=Ro,$e(za);function Ta(o){return o.create!==void 0}function Ba(o,t,e,s){if(e==null&&(e=""),Ta(e)){o.textContent="";let i=o.$fastView;if(i===void 0)if(jo(s)&&jo(e)&&s.bindingViewBoundaries[this.targetNodeId]!==void 0&&s.hydrationStage!==Oe.hydrated){const r=s.bindingViewBoundaries[this.targetNodeId];i=e.hydrate(r.first,r.last)}else i=e.create();else o.$fastTemplate!==e&&(i.isComposed&&(i.remove(),i.unbind()),i=e.create());i.isComposed?i.needsBindOnly&&(i.needsBindOnly=!1,i.bind(s.source,s.context)):(i.isComposed=!0,i.bind(s.source,s.context),i.insertBefore(o),o.$fastView=i,o.$fastTemplate=e)}else{const i=o.$fastView;i!==void 0&&i.isComposed&&(i.isComposed=!1,i.remove(),i.needsBindOnly?i.needsBindOnly=!1:i.unbind()),o.textContent=e}}function Pa(o,t,e){var s;const i=`${this.id}-t`,r=(s=o[i])!==null&&s!==void 0?s:o[i]={v:0,cv:Object.create(null)},n=r.cv;let u=r.v;const p=o[t];if(e!=null&&e.length){const h=e.split(/\s+/);for(let d=0,b=h.length;d<b;++d){const k=h[d];k!==""&&(n[k]=u,p.add(k))}}if(r.v=u+1,u!==0){u-=1;for(const h in n)n[h]===u&&p.remove(h)}}const Aa={[Y.attribute]:ve.setAttribute,[Y.booleanAttribute]:ve.setBooleanAttribute,[Y.property]:(o,t,e)=>o[t]=e,[Y.content]:Ba,[Y.tokenList]:Pa,[Y.event]:()=>{}};class Me{constructor(t){this.dataBinding=t,this.updateTarget=null,this.aspectType=Y.content}createHTML(t){return kr.interpolation(t(this))}createBehavior(){var t;if(this.updateTarget===null){const e=Aa[this.aspectType],s=(t=this.dataBinding.policy)!==null&&t!==void 0?t:this.policy;if(!e)throw et.error(1205);this.data=`${this.id}-d`,this.updateTarget=s.protect(this.targetTagName,this.aspectType,this.targetAspect,e)}return this}bind(t){var e;const s=t.targets[this.targetNodeId],i=jo(t)&&t.hydrationStage&&t.hydrationStage!==Oe.hydrated;switch(this.aspectType){case Y.event:s[this.data]=t,s.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case Y.content:t.onUnbind(this);default:const r=(e=s[this.data])!==null&&e!==void 0?e:s[this.data]=this.dataBinding.createObserver(this,this);if(r.target=s,r.controller=t,i&&(this.aspectType===Y.attribute||this.aspectType===Y.booleanAttribute)){r.bind(t);break}this.updateTarget(s,this.targetAspect,r.bind(t),t);break}}unbind(t){const s=t.targets[this.targetNodeId].$fastView;s!==void 0&&s.isComposed&&(s.unbind(),s.needsBindOnly=!0)}handleEvent(t){const e=t.currentTarget[this.data];if(e.isBound){Fe.setEvent(t);const s=this.dataBinding.evaluate(e.source,e.context);Fe.setEvent(null),s!==!0&&t.preventDefault()}}handleChange(t,e){const s=e.target,i=e.controller;this.updateTarget(s,this.targetAspect,e.bind(i),i)}}St.define(Me,{aspected:!0});const zr=(o,t)=>`${o}.${t}`,Tr={},_t={index:0,node:null};function Br(o){o.startsWith("fast-")||et.warn(1204,{name:o})}const Ea=new Proxy(document.createElement("div"),{get(o,t){Br(t);const e=Reflect.get(o,t);return Ne(e)?e.bind(o):e},set(o,t,e){return Br(t),Reflect.set(o,t,e)}});class Na{constructor(t,e,s){this.fragment=t,this.directives=e,this.policy=s,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(t,e,s,i,r){var n,u;this.nodeIds.has(s)||(this.nodeIds.add(s),this.addTargetDescriptor(e,s,i)),t.id=(n=t.id)!==null&&n!==void 0?n:ro(),t.targetNodeId=s,t.targetTagName=r,t.policy=(u=t.policy)!==null&&u!==void 0?u:this.policy,this.factories.push(t)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(t,e,s){const i=this.descriptors;if(e==="r"||e==="h"||i[e])return;if(!i[t]){const n=t.lastIndexOf("."),u=t.substring(0,n),p=parseInt(t.substring(n+1));this.addTargetDescriptor(u,t,p)}let r=Tr[e];if(!r){const n=`_${e}`;Tr[e]=r={get(){var u;return(u=this[n])!==null&&u!==void 0?u:this[n]=this[t].childNodes[s]}}}i[e]=r}createView(t){const e=this.fragment.cloneNode(!0),s=Object.create(this.proto);s.r=e,s.h=t??Ea;for(const i of this.nodeIds)s[i];return new Wo(e,this.factories,s)}}function Pr(o,t,e,s,i,r=!1){const n=e.attributes,u=o.directives;for(let p=0,h=n.length;p<h;++p){const d=n[p],b=d.value,k=Uo.parse(b,u);let ht=null;k===null?r&&(ht=new Me(rr(()=>b,o.policy)),St.assignAspect(ht,d.name)):ht=ri.aggregate(k,o.policy),ht!==null&&(e.removeAttributeNode(d),p--,h--,o.addFactory(ht,t,s,i,e.tagName))}}function Fa(o,t,e,s,i){const r=Uo.parse(t.textContent,o.directives);if(r===null)return _t.node=t.nextSibling,_t.index=i+1,_t;let n,u=n=t;for(let p=0,h=r.length;p<h;++p){const d=r[p];p!==0&&(i++,s=zr(e,i),n=u.parentNode.insertBefore(document.createTextNode(""),u.nextSibling)),Ft(d)?n.textContent=d:(n.textContent=" ",St.assignAspect(d),o.addFactory(d,e,s,i,null)),u=n}return _t.index=i+1,_t.node=u.nextSibling,_t}function Ar(o,t,e){let s=0,i=t.firstChild;for(;i;){const r=Oa(o,e,i,s);i=r.node,s=r.index}}function Oa(o,t,e,s){const i=zr(t,s);switch(e.nodeType){case 1:Pr(o,t,e,i,s),Ar(o,e,i);break;case 3:return Fa(o,e,t,i,s);case 8:const r=Uo.parse(e.data,o.directives);r!==null&&o.addFactory(ri.aggregate(r),t,i,s,null);break}return _t.index=s+1,_t.node=e.nextSibling,_t}function Ma(o,t){return o&&o.nodeType==8&&Uo.parse(o.data,t)!==null}const Er="TEMPLATE",ri={compile(o,t,e=ve.policy){let s;if(Ft(o)){s=document.createElement(Er),s.innerHTML=e.createHTML(o);const n=s.content.firstElementChild;n!==null&&n.tagName===Er&&(s=n)}else s=o;!s.content.firstChild&&!s.content.lastChild&&s.content.appendChild(document.createComment(""));const i=document.adoptNode(s.content),r=new Na(i,t,e);return Pr(r,"",s,"h",0,!0),(Ma(i.firstChild,t)||i.childNodes.length===1&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),Ar(r,i,"r"),_t.node=null,r.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,t=ve.policy){if(o.length===1)return o[0];let e,s=!1,i;const r=o.length,n=o.map(h=>Ft(h)?()=>h:(e=h.sourceAspect||e,s=s||h.dataBinding.isVolatile,i=i||h.dataBinding.policy,h.dataBinding.evaluate)),u=(h,d)=>{let b="";for(let k=0;k<r;++k)b+=n[k](h,d);return b},p=new Me(Ks(u,i??t,s));return St.assignAspect(p,e),p}},_a=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,Va=Object.create(null);class ye{constructor(t,e=Va){this.html=t,this.factories=e}createHTML(t){const e=this.factories;for(const s in e)t(e[s]);return this.html}}ye.empty=new ye(""),St.define(ye);function Da(o,t,e,s=St.getForInstance(o)){if(s.aspected){const i=_a.exec(t);i!==null&&St.assignAspect(o,i[2])}return o.createHTML(e)}class js{constructor(t,e={},s){this.policy=s,this.result=null,this.html=t,this.factories=e}compile(){return this.result===null&&(this.result=ri.compile(this.html,this.factories,this.policy)),this.result}create(t){return this.compile().createView(t)}inline(){return new ye(Ft(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(t){if(this.result)throw et.error(1208);if(this.policy)throw et.error(1207);return this.policy=t,this}render(t,e,s){const i=this.create(s);return i.bind(t),i.appendTo(e),i}static create(t,e,s){let i="";const r=Object.create(null),n=u=>{var p;const h=(p=u.id)!==null&&p!==void 0?p:u.id=ro();return r[h]=u,h};for(let u=0,p=t.length-1;u<p;++u){const h=t[u];let d=e[u],b;if(i+=h,Ne(d))d=new Me(Ks(d));else if(d instanceof Ho)d=new Me(d);else if(!(b=St.getForInstance(d))){const k=d;d=new Me(rr(()=>k))}i+=Da(d,h,n,b)}return new js(i+t[t.length-1],r,s)}}$e(js);const f=(o,...t)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return js.create(o,t);throw et.error(1206)};f.partial=o=>new ye(o);class Nr extends oi{bind(t){t.source[this.options]=t.targets[this.targetNodeId]}}St.define(Nr);const $t=o=>new Nr(o),La=o=>o.nodeType===1,_e=o=>o?t=>t.nodeType===1&&t.matches(o):La;class Fr extends oi{get id(){return this._id}set id(t){this._id=t,this._controllerProperty=`${t}-c`}bind(t){const e=t.targets[this.targetNodeId];e[this._controllerProperty]=t,this.updateTarget(t.source,this.computeNodes(e)),this.observe(e),t.onUnbind(this)}unbind(t){const e=t.targets[this.targetNodeId];this.updateTarget(t.source,ua),this.disconnect(e),e[this._controllerProperty]=null}getSource(t){return t[this._controllerProperty].source}updateTarget(t,e){t[this.options.property]=e}computeNodes(t){let e=this.getNodes(t);return"filter"in this.options&&(e=e.filter(this.options.filter)),e}}const Or="slotchange";class Mr extends Fr{observe(t){t.addEventListener(Or,this)}disconnect(t){t.removeEventListener(Or,this)}getNodes(t){return t.assignedNodes(this.options)}handleEvent(t){const e=t.currentTarget;this.updateTarget(this.getSource(e),this.computeNodes(e))}}St.define(Mr);function ot(o){return Ft(o)&&(o={property:o}),new Mr(o)}class _r extends Fr{constructor(t){super(t),this.observerProperty=Symbol(),this.handleEvent=(e,s)=>{const i=s.target;this.updateTarget(this.getSource(i),this.computeNodes(i))},t.childList=!0}observe(t){let e=t[this.observerProperty];e||(e=new MutationObserver(this.handleEvent),e.toJSON=Zi,t[this.observerProperty]=e),e.target=t,e.observe(t,this.options)}disconnect(t){const e=t[this.observerProperty];e.target=null,e.disconnect()}getNodes(t){return"selector"in this.options?Array.from(t.querySelectorAll(this.options.selector)):Array.from(t.childNodes)}}St.define(_r);function Ha(o){return Ft(o)&&(o={property:o}),new _r(o)}const Vr="boolean",Dr="reflect",Xo=Object.freeze({locate:tr()}),Ra={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function Lr(o){if(o==null)return null;const t=o*1;return isNaN(t)?null:t}const st={toView(o){const t=Lr(o);return t&&t.toString()},fromView:Lr};class qs{constructor(t,e,s=e.toLowerCase(),i=Dr,r){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=s,this.mode=i,this.converter=r,this.fieldName=`_${e}`,this.callbackName=`${e}Changed`,this.hasCallback=this.callbackName in t.prototype,i===Vr&&r===void 0&&(this.converter=Ra)}setValue(t,e){const s=t[this.fieldName],i=this.converter;i!==void 0&&(e=i.fromView(e)),s!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](s,e),t.$fastController.notify(this.name))}getValue(t){return m.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,s=this.guards;s.has(t)||e==="fromView"||Ot.enqueue(()=>{s.add(t);const i=t[this.fieldName];switch(e){case Dr:const r=this.converter;ve.setAttribute(t,this.attribute,r!==void 0?r.toView(i):i);break;case Vr:ve.setBooleanAttribute(t,this.attribute,i);break}s.delete(t)})}static collect(t,...e){const s=[];e.push(Xo.locate(t));for(let i=0,r=e.length;i<r;++i){const n=e[i];if(n!==void 0)for(let u=0,p=n.length;u<p;++u){const h=n[u];Ft(h)?s.push(new qs(t,h)):s.push(new qs(t,h.property,h.attribute,h.mode,h.converter))}}return s}}function a(o,t){let e;function s(i,r){arguments.length>1&&(e.property=r),Xo.locate(i.constructor).push(e)}if(arguments.length>1){e={},s(o,t);return}return e=o===void 0?{}:o,s}const Hr={mode:"open"},Rr={},jr=new Set,Ko=et.getById(me.elementRegistry,()=>Ws());class Nt{constructor(t,e=t.definition){var s;this.platformDefined=!1,Ft(e)&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template,this.registry=(s=e.registry)!==null&&s!==void 0?s:customElements;const i=t.prototype,r=qs.collect(t,e.attributes),n=new Array(r.length),u={},p={};for(let h=0,d=r.length;h<d;++h){const b=r[h];n[h]=b.attribute,u[b.name]=b,p[b.attribute]=b,m.defineProperty(i,b)}Reflect.defineProperty(t,"observedAttributes",{value:n,enumerable:!0}),this.attributes=r,this.propertyLookup=u,this.attributeLookup=p,this.shadowOptions=e.shadowOptions===void 0?Hr:e.shadowOptions===null?void 0:Object.assign(Object.assign({},Hr),e.shadowOptions),this.elementOptions=e.elementOptions===void 0?Rr:Object.assign(Object.assign({},Rr),e.elementOptions),this.styles=mt.normalize(e.styles),Ko.register(this)}get isDefined(){return this.platformDefined}define(t=this.registry){const e=this.type;return t.get(this.name)||(this.platformDefined=!0,t.define(this.name,e,this.elementOptions)),this}static compose(t,e){return jr.has(t)||Ko.getByType(t)?new Nt(class extends t{},e):new Nt(t,e)}static registerBaseType(t){jr.add(t)}}Nt.getByType=Ko.getByType,Nt.getForInstance=Ko.getForInstance;class ja extends MutationObserver{constructor(t){function e(s){this.callback.call(null,s.filter(i=>this.observedNodes.has(i.target)))}super(e),this.callback=t,this.observedNodes=new Set}observe(t,e){this.observedNodes.add(t),super.observe(t,e)}unobserve(t){this.observedNodes.delete(t),this.observedNodes.size<1&&this.disconnect()}}Object.freeze({create(o){const t=[],e={};let s=null,i=!1;return{source:o,context:Fe.default,targets:e,get isBound(){return i},addBehaviorFactory(r,n){var u,p,h,d;const b=r;b.id=(u=b.id)!==null&&u!==void 0?u:ro(),b.targetNodeId=(p=b.targetNodeId)!==null&&p!==void 0?p:ro(),b.targetTagName=(h=n.tagName)!==null&&h!==void 0?h:null,b.policy=(d=b.policy)!==null&&d!==void 0?d:ve.policy,this.addTarget(b.targetNodeId,n),this.addBehavior(b.createBehavior())},addTarget(r,n){e[r]=n},addBehavior(r){t.push(r),i&&r.bind(this)},onUnbind(r){s===null&&(s=[]),s.push(r)},connectedCallback(r){i||(i=!0,t.forEach(n=>n.bind(this)))},disconnectedCallback(r){i&&(i=!1,s!==null&&s.forEach(n=>n.unbind(this)))}}}});const qa={bubbles:!0,composed:!0,cancelable:!0},Yo="isConnected",qr=new WeakMap;function no(o){var t,e;return(e=(t=o.shadowRoot)!==null&&t!==void 0?t:qr.get(o))!==null&&e!==void 0?e:null}let Ur;class Ve extends or{constructor(t,e){super(t),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this.behaviorsConnected=!1,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=t,this.definition=e;const s=e.shadowOptions;if(s!==void 0){let r=t.shadowRoot;r?this.hasExistingShadowRoot=!0:(r=t.attachShadow(s),s.mode==="closed"&&qr.set(t,r))}const i=m.getAccessors(t);if(i.length>0){const r=this.boundObservables=Object.create(null);for(let n=0,u=i.length;n<u;++n){const p=i[n].name,h=t[p];h!==void 0&&(delete t[p],r[p]=h)}}}get isConnected(){return m.track(this,Yo),this.stage===1}get context(){var t,e;return(e=(t=this.view)===null||t===void 0?void 0:t.context)!==null&&e!==void 0?e:Fe.default}get isBound(){var t,e;return(e=(t=this.view)===null||t===void 0?void 0:t.isBound)!==null&&e!==void 0?e:!1}get sourceLifetime(){var t;return(t=this.view)===null||t===void 0?void 0:t.sourceLifetime}get template(){var t;if(this._template===null){const e=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():e.template&&(this._template=(t=e.template)!==null&&t!==void 0?t:null)}return this._template}set template(t){this._template!==t&&(this._template=t,this.needsInitialization||this.renderTemplate(t))}get mainStyles(){var t;if(this._mainStyles===null){const e=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():e.styles&&(this._mainStyles=(t=e.styles)!==null&&t!==void 0?t:null)}return this._mainStyles}set mainStyles(t){this._mainStyles!==t&&(this._mainStyles!==null&&this.removeStyles(this._mainStyles),this._mainStyles=t,this.needsInitialization||this.addStyles(t))}onUnbind(t){var e;(e=this.view)===null||e===void 0||e.onUnbind(t)}addBehavior(t){var e,s;const i=(e=this.behaviors)!==null&&e!==void 0?e:this.behaviors=new Map,r=(s=i.get(t))!==null&&s!==void 0?s:0;r===0?(i.set(t,1),t.addedCallback&&t.addedCallback(this),t.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===1||this.stage===0)&&t.connectedCallback(this)):i.set(t,r+1)}removeBehavior(t,e=!1){const s=this.behaviors;if(s===null)return;const i=s.get(t);i!==void 0&&(i===1||e?(s.delete(t),t.disconnectedCallback&&this.stage!==3&&t.disconnectedCallback(this),t.removedCallback&&t.removedCallback(this)):s.set(t,i-1))}addStyles(t){var e;if(!t)return;const s=this.source;if(t instanceof HTMLElement)((e=no(s))!==null&&e!==void 0?e:this.source).append(t);else if(!t.isAttachedTo(s)){const i=t.behaviors;if(t.addStylesTo(s),i!==null)for(let r=0,n=i.length;r<n;++r)this.addBehavior(i[r])}}removeStyles(t){var e;if(!t)return;const s=this.source;if(t instanceof HTMLElement)((e=no(s))!==null&&e!==void 0?e:s).removeChild(t);else if(t.isAttachedTo(s)){const i=t.behaviors;if(t.removeStylesFrom(s),i!==null)for(let r=0,n=i.length;r<n;++r)this.removeBehavior(i[r])}}connect(){this.stage===3&&(this.stage=0,this.bindObservables(),this.connectBehaviors(),this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=1,m.notify(this,Yo))}bindObservables(){if(this.boundObservables!==null){const t=this.source,e=this.boundObservables,s=Object.keys(e);for(let i=0,r=s.length;i<r;++i){const n=s[i];t[n]=e[n]}this.boundObservables=null}}connectBehaviors(){if(this.behaviorsConnected===!1){const t=this.behaviors;if(t!==null){this.guardBehaviorConnection=!0;for(const e of t.keys())e.connectedCallback&&e.connectedCallback(this);this.guardBehaviorConnection=!1}this.behaviorsConnected=!0}}disconnectBehaviors(){if(this.behaviorsConnected===!0){const t=this.behaviors;if(t!==null)for(const e of t.keys())e.disconnectedCallback&&e.disconnectedCallback(this);this.behaviorsConnected=!1}}disconnect(){this.stage===1&&(this.stage=2,m.notify(this,Yo),this.view!==null&&this.view.unbind(),this.disconnectBehaviors(),this.stage=3)}onAttributeChangedCallback(t,e,s){const i=this.definition.attributeLookup[t];i!==void 0&&i.onAttributeChangedCallback(this.source,s)}emit(t,e,s){return this.stage===1?this.source.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},qa),s))):!1}renderTemplate(t){var e;const s=this.source,i=(e=no(s))!==null&&e!==void 0?e:s;if(this.view!==null)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let r=i.firstChild;r!==null;r=i.firstChild)i.removeChild(r)}t&&(this.view=t.render(s,i,s),this.view.sourceLifetime=Lo.coupled)}static forCustomElement(t){const e=t.$fastController;if(e!==void 0)return e;const s=Nt.getForInstance(t);if(s===void 0)throw et.error(1401);return t.$fastController=new Ur(t,s)}static setStrategy(t){Ur=t}}$e(Ve),Ve.setStrategy(Ve);function Qo(o){var t;return"adoptedStyleSheets"in o?o:(t=no(o))!==null&&t!==void 0?t:o.getRootNode()}class Us{constructor(t){const e=Us.styleSheetCache;this.sheets=t.map(s=>{if(s instanceof CSSStyleSheet)return s;let i=e.get(s);return i===void 0&&(i=new CSSStyleSheet,i.replaceSync(s),e.set(s,i)),i})}addStylesTo(t){Wr(Qo(t),this.sheets)}removeStylesFrom(t){Xr(Qo(t),this.sheets)}}Us.styleSheetCache=new Map;let Ua=0;const Ga=()=>`fast-${++Ua}`;function Gr(o){return o===document?document.body:o}class Wa{constructor(t){this.styles=t,this.styleClass=Ga()}addStylesTo(t){t=Gr(Qo(t));const e=this.styles,s=this.styleClass;for(let i=0;i<e.length;i++){const r=document.createElement("style");r.innerHTML=e[i],r.className=s,t.append(r)}}removeStylesFrom(t){t=Gr(Qo(t));const e=t.querySelectorAll(`.${this.styleClass}`);for(let s=0,i=e.length;s<i;++s)t.removeChild(e[s])}}let Wr=(o,t)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...t]},Xr=(o,t)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(e=>t.indexOf(e)===-1)};if(mt.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Wr=(o,t)=>{o.adoptedStyleSheets.push(...t)},Xr=(o,t)=>{for(const e of t){const s=o.adoptedStyleSheets.indexOf(e);s!==-1&&o.adoptedStyleSheets.splice(s,1)}}}catch{}mt.setDefaultStrategy(Us)}else mt.setDefaultStrategy(Wa);const Kr="defer-hydration",Yr="needs-hydration";class Ee extends Ve{static hydrationObserverHandler(t){for(const e of t)Ee.hydrationObserver.unobserve(e.target),e.target.$fastController.connect()}connect(){var t,e;if(this.needsHydration===void 0&&(this.needsHydration=this.source.getAttribute(Yr)!==null),this.source.hasAttribute(Kr)){Ee.hydrationObserver.observe(this.source,{attributeFilter:[Kr]});return}if(!this.needsHydration){super.connect();return}if(this.stage!==3)return;this.stage=0,this.bindObservables(),this.connectBehaviors();const s=this.source,i=(t=no(s))!==null&&t!==void 0?t:s;if(this.template)if(jo(this.template)){let r=i.firstChild,n=i.lastChild;s.shadowRoot===null&&(Mt.isElementBoundaryStartMarker(r)&&(r.data="",r=r.nextSibling),Mt.isElementBoundaryEndMarker(n)&&(n.data="",n=n.previousSibling)),this.view=this.template.hydrate(r,n,s),(e=this.view)===null||e===void 0||e.bind(this.source)}else this.renderTemplate(this.template);this.addStyles(this.mainStyles),this.stage=1,this.source.removeAttribute(Yr),this.needsInitialization=this.needsHydration=!1,m.notify(this,Yo)}disconnect(){super.disconnect(),Ee.hydrationObserver.unobserve(this.source)}static install(){Ve.setStrategy(Ee)}}Ee.hydrationObserver=new ja(Ee.hydrationObserverHandler);function Qr(o){const t=class extends o{constructor(){super(),Ve.forCustomElement(this)}$emit(e,s,i){return this.$fastController.emit(e,s,i)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,s,i){this.$fastController.onAttributeChangedCallback(e,s,i)}};return Nt.registerBaseType(t),t}function Xa(o,t){return Ne(o)?Nt.compose(o,t):Nt.compose(this,o)}function Ka(o,t){return Ne(o)?Nt.compose(o,t).define().type:Nt.compose(this,o).define().type}function Ya(o){return Qr(o)}const w=Object.assign(Qr(HTMLElement),{from:Ya,define:Ka,compose:Xa}),vt={horizontal:"horizontal",vertical:"vertical"};function Qa(o,t){let e=o.length;for(;e--;)if(t(o[e],e,o))return e;return-1}function Zr(...o){return o.every(t=>t instanceof HTMLElement)}const Zo="ArrowDown",Jo="ArrowLeft",ts="ArrowRight",es="ArrowUp",os="End",ss="Enter",Za="Escape",is="Home",ni=" ",Ja="Tab";var zt;(function(o){o.ltr="ltr",o.rtl="rtl"})(zt||(zt={}));function tl(o,t,e){return e<o?t:e>t?o:e}function ai(o,t,e){return Math.min(Math.max(e,o),t)}let el=0;function ao(o=""){return`${o}${el++}`}var ol=Object.defineProperty,sl=Object.getOwnPropertyDescriptor,R=(o,t,e,s)=>{for(var i=s>1?void 0:s?sl(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&ol(t,e,i),i};class j{}R([a({attribute:"aria-atomic"})],j.prototype,"ariaAtomic",2),R([a({attribute:"aria-busy"})],j.prototype,"ariaBusy",2),R([a({attribute:"aria-controls"})],j.prototype,"ariaControls",2),R([a({attribute:"aria-current"})],j.prototype,"ariaCurrent",2),R([a({attribute:"aria-describedby"})],j.prototype,"ariaDescribedby",2),R([a({attribute:"aria-details"})],j.prototype,"ariaDetails",2),R([a({attribute:"aria-disabled"})],j.prototype,"ariaDisabled",2),R([a({attribute:"aria-errormessage"})],j.prototype,"ariaErrormessage",2),R([a({attribute:"aria-flowto"})],j.prototype,"ariaFlowto",2),R([a({attribute:"aria-haspopup"})],j.prototype,"ariaHaspopup",2),R([a({attribute:"aria-hidden"})],j.prototype,"ariaHidden",2),R([a({attribute:"aria-invalid"})],j.prototype,"ariaInvalid",2),R([a({attribute:"aria-keyshortcuts"})],j.prototype,"ariaKeyshortcuts",2),R([a({attribute:"aria-label"})],j.prototype,"ariaLabel",2),R([a({attribute:"aria-labelledby"})],j.prototype,"ariaLabelledby",2),R([a({attribute:"aria-live"})],j.prototype,"ariaLive",2),R([a({attribute:"aria-owns"})],j.prototype,"ariaOwns",2),R([a({attribute:"aria-relevant"})],j.prototype,"ariaRelevant",2),R([a({attribute:"aria-roledescription"})],j.prototype,"ariaRoledescription",2);const li={fromView(o){const t=parseFloat(o);return Number.isNaN(t)?"":t.toString()},toView(o){const t=parseFloat(o);return Number.isNaN(t)?void 0:t.toString()}},ci=o=>o.closest("[dir]")?.dir==="rtl"?zt.rtl:zt.ltr;function yt(o){return o?typeof o=="string"?new ye(o):"inline"in o?o.inline():o:ye.empty}const di=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length,il=":host([hidden]){display:none}";function S(o){return`${il}:host{display:${o}}`}class rl{constructor(t){this.listenerCache=new WeakMap,this.query=t}connectedCallback(t){const{query:e}=this;let s=this.listenerCache.get(t);s||(s=this.constructListener(t),this.listenerCache.set(t,s)),s.bind(e)(),e.addEventListener("change",s)}disconnectedCallback(t){const e=this.listenerCache.get(t);e&&this.query.removeEventListener("change",e)}}class _o extends rl{constructor(t,e){super(t),this.styles=e}static with(t){return e=>new _o(t,e)}constructListener(t){let e=!1;const s=this.styles;return function(){const{matches:r}=this;r&&!e?(t.addStyles(s),e=r):!r&&e&&(t.removeStyles(s),e=r)}}removedCallback(t){t.removeStyles(this.styles)}}const Q=_o.with(window.matchMedia("(forced-colors)"));_o.with(window.matchMedia("(prefers-color-scheme: dark)")),_o.with(window.matchMedia("(prefers-color-scheme: light)"));class Gt{}function le(o){return f`<slot name="end" ${$t("end")}>${yt(o.end)}</slot>`.inline()}function Wt(o){return f`<slot name="start" ${$t("start")}>${yt(o.start)}</slot>`.inline()}function Xt(o,...t){const e=Xo.locate(o);t.forEach(s=>{Object.getOwnPropertyNames(s.prototype).forEach(r=>{r!=="constructor"&&Object.defineProperty(o.prototype,r,Object.getOwnPropertyDescriptor(s.prototype,r))}),Xo.locate(s).forEach(r=>e.push(r))})}const nl=CSS.supports("selector(:state(g))");function c(o,t,e){if(!nl){o.shadowRoot.host.toggleAttribute(`state--${t}`,e);return}if(e??!o.states.has(t)){o.states.add(t);return}o.states.delete(t)}var al=Object.defineProperty,ll=Object.getOwnPropertyDescriptor,ke=(o,t,e,s)=>{for(var i=s>1?void 0:s?ll(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&al(t,e,i),i};class Kt extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ao("accordion-")}expandedChanged(t,e){c(this.elementInternals,"expanded",e)}disabledChanged(t,e){c(this.elementInternals,"disabled",e)}}ke([a({attribute:"heading-level",mode:"fromView",converter:st})],Kt.prototype,"headinglevel",2),ke([a({mode:"boolean"})],Kt.prototype,"expanded",2),ke([a({mode:"boolean"})],Kt.prototype,"disabled",2),ke([a],Kt.prototype,"id",2);class lo extends Kt{constructor(){super(...arguments),this.block=!1}sizeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}markerPositionChanged(t,e){t&&c(this.elementInternals,`align-${t}`,!1),e&&c(this.elementInternals,`align-${e}`,!0)}blockChanged(t,e){c(this.elementInternals,"block",e)}}ke([a],lo.prototype,"size",2),ke([a({attribute:"marker-position"})],lo.prototype,"markerPosition",2),ke([a({mode:"boolean"})],lo.prototype,"block",2),Xt(lo,Gt);const y=l.partial`:is([state--checked], :state(checked))`,F=l.partial`:is([state--disabled], :state(disabled))`,De=l.partial`:is([state--filled-lighter], :state(filled-lighter))`,Le=l.partial`:is([state--filled-darker], :state(filled-darker))`,Yt=l.partial`:is([state--ghost], :state(ghost))`,Jr=l.partial`:is([state--inverted], :state(inverted))`,lt=l.partial`:is([state--primary], :state(primary))`,W=l.partial`:is([state--outline], :state(outline))`,co=l.partial`:is([state--strong], :state(strong))`,z=l.partial`:is([state--subtle], :state(subtle))`,ce=l.partial`:is([state--tint], :state(tint))`,ho=l.partial`:is([state--underline], :state(underline))`,Z=l.partial`:is([state--transparent], :state(transparent))`,uo=l.partial`:is([state--circular], :state(circular))`,Qt=l.partial`:is([state--rounded], :state(rounded))`,po=l.partial`:is([state--square], :state(square))`,go=l.partial`:is([state--tiny], :state(tiny))`,bo=l.partial`:is([state--extra-small], :state(extra-small))`,T=l.partial`:is([state--small], :state(small))`;l.partial`:is([state--medium], :state(medium))`;const C=l.partial`:is([state--large], :state(large))`,rs=l.partial`:is([state--extra-large], :state(extra-large))`,cl=l.partial`:is([state--huge], :state(huge))`,tn=l.partial`:is([state--align-start], :state(align-start))`,Zt=l.partial`:is([state--align-end], :state(align-end))`,hi=l.partial`:is([state--inset], :state(inset))`,de=l.partial`:is([state--icon], :state(icon))`,N=l.partial`:is([state--pressed], :state(pressed))`,Jt=l.partial`:is([state--brand], :state(brand))`,ui=l.partial`:is([state--error], :state(error))`,ns=l.partial`:is([state--danger], :state(danger))`,as=l.partial`:is([state--important], :state(important))`,ls=l.partial`:is([state--informative], :state(informative))`;l.partial`:is([state--marigold], :state(marigold))`;const cs=l.partial`:is([state--neutral], :state(neutral))`,ds=l.partial`:is([state--severe], :state(severe))`,xe=l.partial`:is([state--success], :state(success))`,we=l.partial`:is([state--warning], :state(warning))`,I=l.partial`:is([state--vertical], :state(vertical))`;l.partial`:is([state--horizontal], :state(horizontal))`,l.partial`:is([state--singleline], :state(singleline))`;const fo=l.partial`:is([state--multiline], :state(multiline))`,Ce=l.partial`:is([state--expanded], :state(expanded))`,pi=l.partial`:is([state--block], :state(block))`;l.partial`:is([state--resize], :state(resize))`;const dl=l.partial`:is([state--resize-horizontal], :state(resize-horizontal))`,hl=l.partial`:is([state--resize-vertical], :state(resize-vertical))`,ul=l.partial`:is([state--resize-both], :state(resize-both))`,en=l.partial`:is([state--auto-resize], :state(auto-resize))`,on=l.partial`:is([state--display-shadow], :state(display-shadow))`,pl=l.partial`:is([state--user-invalid], :state(user-invalid))`;l.partial`:is([state--user-valid], :state(user-valid))`;const A="var(--colorNeutralForeground1)",gi="var(--colorNeutralForeground1Hover)",gl="var(--colorNeutralForeground1Pressed)",Vt="var(--colorNeutralForeground2)",hs="var(--colorNeutralForeground2Hover)",us="var(--colorNeutralForeground2Pressed)",bl="var(--colorNeutralForeground2Selected)",ps="var(--colorNeutralForeground2BrandHover)",gs="var(--colorNeutralForeground2BrandPressed)",fl="var(--colorNeutralForeground2BrandSelected)",ut="var(--colorNeutralForeground3)",ml="var(--colorNeutralForeground3Hover)",$l="var(--colorNeutralForeground3Pressed)",sn="var(--colorNeutralForeground4)",B="var(--colorNeutralForegroundDisabled)",vl="var(--colorBrandForegroundLink)",yl="var(--colorBrandForegroundLinkHover)",kl="var(--colorBrandForegroundLinkPressed)",xl="var(--colorNeutralForeground2Link)",wl="var(--colorNeutralForeground2LinkHover)",Cl="var(--colorNeutralForeground2LinkPressed)",rn="var(--colorCompoundBrandForeground1Hover)",Il="var(--colorCompoundBrandForeground1Pressed)",te="var(--colorNeutralForegroundOnBrand)",He="var(--colorNeutralForegroundInverted)",Sl="var(--colorNeutralForegroundInvertedHover)",zl="var(--colorNeutralForegroundInvertedPressed)",nn="var(--colorNeutralForegroundStaticInverted)",bi="var(--colorBrandForeground1)",Tl="var(--colorBrandForeground2)",Bl="var(--colorNeutralForeground1Static)",O="var(--colorNeutralBackground1)",fi="var(--colorNeutralBackground1Hover)",mi="var(--colorNeutralBackground1Pressed)",an="var(--colorNeutralBackground1Selected)",bs="var(--colorNeutralBackground3)",Pl="var(--colorNeutralBackground4)",Al="var(--colorNeutralBackground5)",fs="var(--colorNeutralBackground6)",ln="var(--colorNeutralBackgroundInverted)",El="var(--colorSubtleBackground)",ms="var(--colorSubtleBackgroundHover)",Re="var(--colorSubtleBackgroundPressed)",Nl="var(--colorSubtleBackgroundSelected)",wt="var(--colorTransparentBackground)",$i="var(--colorTransparentBackgroundHover)",vi="var(--colorTransparentBackgroundPressed)",Fl="var(--colorTransparentBackgroundSelected)",je="var(--colorNeutralBackgroundDisabled)",yi="var(--colorBackgroundOverlay)",ki="var(--colorBrandBackground)",cn="var(--colorBrandBackgroundHover)",dn="var(--colorBrandBackgroundPressed)",Ol="var(--colorBrandBackgroundSelected)",qe="var(--colorCompoundBrandBackground)",mo="var(--colorCompoundBrandBackgroundHover)",$o="var(--colorCompoundBrandBackgroundPressed)",hn="var(--colorBrandBackgroundStatic)",Ml="var(--colorBrandBackground2)",he="var(--colorNeutralStrokeAccessible)",Ue="var(--colorNeutralStrokeAccessibleHover)",Ge="var(--colorNeutralStrokeAccessiblePressed)",ee="var(--colorNeutralStroke1)",vo="var(--colorNeutralStroke1Hover)",$s="var(--colorNeutralStroke1Pressed)",yo="var(--colorNeutralStroke2)",_l="var(--colorNeutralStroke3)",Vl="var(--colorNeutralStrokeOnBrand2)",un="var(--colorBrandStroke1)",xi="var(--colorBrandStroke2)",ko="var(--colorCompoundBrandStroke)",Dl="var(--colorCompoundBrandStrokeHover)",pn="var(--colorCompoundBrandStrokePressed)",Tt="var(--colorNeutralStrokeDisabled)",pt="var(--colorTransparentStroke)",gn="var(--colorTransparentStrokeInteractive)",wi="var(--colorStrokeFocus1)",Dt="var(--colorStrokeFocus2)",bn="var(--colorPaletteRedBackground1)",Ll="var(--colorPaletteRedBackground2)",fn="var(--colorPaletteRedBackground3)",mn="var(--colorPaletteRedBorder1)",Ci="var(--colorPaletteRedBorder2)",$n="var(--colorPaletteRedForeground1)",Hl="var(--colorPaletteRedForeground2)",vn="var(--colorPaletteRedForeground3)",yn="var(--colorPaletteGreenBackground1)",kn="var(--colorPaletteGreenBackground3)",Rl="var(--colorPaletteGreenBorder1)",jl="var(--colorPaletteGreenBorder2)",ql="var(--colorPaletteGreenForeground1)",Ul="var(--colorPaletteGreenForeground2)",Gl="var(--colorPaletteGreenForeground3)",xn="var(--colorPaletteDarkOrangeBackground1)",wn="var(--colorPaletteDarkOrangeBackground3)",Cn="var(--colorPaletteDarkOrangeBorder1)",Wl="var(--colorPaletteDarkOrangeForeground1)",In="var(--colorPaletteDarkOrangeForeground3)",Xl="var(--colorPaletteYellowBackground1)",Kl="var(--colorPaletteYellowBackground3)",Yl="var(--colorPaletteYellowBorder1)",Ii="var(--colorPaletteYellowForeground2)",Sn="var(--colorPaletteMarigoldBackground2)",Ql="var(--colorPaletteMarigoldBackground3)",Zl="var(--colorPaletteMarigoldForeground2)",Jl="var(--colorPaletteAnchorBackground2)",tc="var(--colorPaletteAnchorForeground2)",ec="var(--colorPaletteBeigeBackground2)",oc="var(--colorPaletteBeigeForeground2)",sc="var(--colorPaletteBlueBackground2)",ic="var(--colorPaletteBlueForeground2)",rc="var(--colorPaletteBrassBackground2)",nc="var(--colorPaletteBrassForeground2)",ac="var(--colorPaletteBrownBackground2)",lc="var(--colorPaletteBrownForeground2)",cc="var(--colorPaletteCornflowerBackground2)",dc="var(--colorPaletteCornflowerForeground2)",hc="var(--colorPaletteCranberryBackground2)",uc="var(--colorPaletteCranberryForeground2)",pc="var(--colorPaletteDarkGreenBackground2)",gc="var(--colorPaletteDarkGreenForeground2)",bc="var(--colorPaletteDarkRedBackground2)",fc="var(--colorPaletteDarkRedForeground2)",mc="var(--colorPaletteForestBackground2)",$c="var(--colorPaletteForestForeground2)",vc="var(--colorPaletteGoldBackground2)",yc="var(--colorPaletteGoldForeground2)",kc="var(--colorPaletteGrapeBackground2)",xc="var(--colorPaletteGrapeForeground2)",wc="var(--colorPaletteLavenderBackground2)",Cc="var(--colorPaletteLavenderForeground2)",Ic="var(--colorPaletteLightTealBackground2)",Sc="var(--colorPaletteLightTealForeground2)",zc="var(--colorPaletteLilacBackground2)",Tc="var(--colorPaletteLilacForeground2)",Bc="var(--colorPaletteMagentaBackground2)",Pc="var(--colorPaletteMagentaForeground2)",Ac="var(--colorPaletteMinkBackground2)",Ec="var(--colorPaletteMinkForeground2)",Nc="var(--colorPaletteNavyBackground2)",Fc="var(--colorPaletteNavyForeground2)",Oc="var(--colorPalettePeachBackground2)",Mc="var(--colorPalettePeachForeground2)",_c="var(--colorPalettePinkBackground2)",Vc="var(--colorPalettePinkForeground2)",Dc="var(--colorPalettePlatinumBackground2)",Lc="var(--colorPalettePlatinumForeground2)",Hc="var(--colorPalettePlumBackground2)",Rc="var(--colorPalettePlumForeground2)",jc="var(--colorPalettePumpkinBackground2)",qc="var(--colorPalettePumpkinForeground2)",Uc="var(--colorPalettePurpleBackground2)",Gc="var(--colorPalettePurpleForeground2)",Wc="var(--colorPaletteRoyalBlueBackground2)",Xc="var(--colorPaletteRoyalBlueForeground2)",Kc="var(--colorPaletteSeafoamBackground2)",Yc="var(--colorPaletteSeafoamForeground2)",Qc="var(--colorPaletteSteelBackground2)",Zc="var(--colorPaletteSteelForeground2)",Jc="var(--colorPaletteTealBackground2)",td="var(--colorPaletteTealForeground2)",Si="var(--borderRadiusNone)",Lt="var(--borderRadiusSmall)",P="var(--borderRadiusMedium)",zn="var(--borderRadiusLarge)",Tn="var(--borderRadiusXLarge)",gt="var(--borderRadiusCircular)",$="var(--fontFamilyBase)",ed="var(--fontFamilyMonospace)",od="var(--fontFamilyNumeric)",xo="var(--fontSizeBase100)",q="var(--fontSizeBase200)",E="var(--fontSizeBase300)",ct="var(--fontSizeBase400)",We="var(--fontSizeBase500)",vs="var(--fontSizeBase600)",Bn="var(--fontSizeHero700)",Pn="var(--fontSizeHero800)",An="var(--fontSizeHero900)",En="var(--fontSizeHero1000)",M="var(--fontWeightRegular)",sd="var(--fontWeightMedium)",L="var(--fontWeightSemibold)",ys="var(--fontWeightBold)",ks="var(--lineHeightBase100)",it="var(--lineHeightBase200)",D="var(--lineHeightBase300)",kt="var(--lineHeightBase400)",xs="var(--lineHeightBase500)",Nn="var(--lineHeightBase600)",Fn="var(--lineHeightHero700)",On="var(--lineHeightHero800)",Mn="var(--lineHeightHero900)",_n="var(--lineHeightHero1000)",zi="var(--shadow2)",ws="var(--shadow4)",id="var(--shadow8)",Vn="var(--shadow16)",rd="var(--shadow28)",Dn="var(--shadow64)",H="var(--strokeWidthThin)",Bt="var(--strokeWidthThick)",rt="var(--strokeWidthThicker)",Ti="var(--strokeWidthThickest)",dt="var(--spacingHorizontalXXS)",Ht="var(--spacingHorizontalXS)",xt="var(--spacingHorizontalSNudge)",oe="var(--spacingHorizontalS)",bt="var(--spacingHorizontalMNudge)",ft="var(--spacingHorizontalM)",nd="var(--spacingHorizontalL)",ad="var(--spacingHorizontalXL)",ld="var(--spacingHorizontalXXL)",wo="var(--spacingVerticalXXS)",Bi="var(--spacingVerticalXS)",ue="var(--spacingVerticalSNudge)",nt="var(--spacingVerticalS)",Xe="var(--spacingVerticalMNudge)",cd="var(--spacingVerticalM)",Cs="var(--spacingVerticalL)",Co="var(--spacingVerticalXXL)",Ln="var(--durationUltraFast)",Pi="var(--durationFaster)",Ai="var(--durationNormal)",Ei="var(--durationGentle)",Hn="var(--durationSlow)",Rn="var(--durationSlower)",Is="var(--durationUltraSlow)",dd="var(--curveAccelerateMax)",Ke="var(--curveAccelerateMid)",hd="var(--curveAccelerateMin)",Ni="var(--curveDecelerateMax)",Ye="var(--curveDecelerateMid)",ud="var(--curveDecelerateMin)",pd="var(--curveEasyEaseMax)",Ss="var(--curveEasyEase)",Fi="var(--curveLinear)",gd=l`
2
+ ${S("block")}
3
+
4
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${ft} ${bt};border-radius:${P};font-family:${$};font-size:${E};font-weight:${M};line-height:${D};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${wt};border:none;box-sizing:border-box;color:${A};cursor:pointer;font:inherit;grid-column:auto / span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Lt}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${oe};grid-column:1 / span 1;grid-row:1}.content{margin:0 ${ft}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${oe};grid-column:2 / span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Lt};outline:none;border:2px solid ${wi};box-shadow:inset 0 0 0 1px ${Dt}}:host(${F}) .button{color:${B}}:host(${F}) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host(${Ce}) .content{display:block}:host(${Ce}) .default-marker-collapsed,:host(${Ce}) ::slotted([slot='marker-collapsed']),:host(:not(${Ce})) :is(.default-marker-expanded,.content),:host(:not(${Ce})) ::slotted([slot='marker-expanded']){display:none}:host(${Ce}) ::slotted([slot='marker-expanded']),:host(:not(${Ce})) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${E};line-height:${D}}:host(${T}) .heading{font-size:${q};line-height:${it}}:host(${C}) .heading{font-size:${ct};line-height:${kt}}:host(${rs}) .heading{font-size:${We};line-height:${xs}}:host(${Zt}) :slotted([slot='start']){grid-column:1 / span 1}:host(${Zt}) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4 / span 1;padding-inline-start:${oe};padding-inline-end:0}:host(${Zt}) .button{grid-column:2 / span 3}:host([block]){max-width:100%}:host(${Zt}) .heading{grid-template-columns:auto auto 28px;padding-inline:${ft}}:host(${Zt}:has([slot='start'])) .heading{padding-inline:${bt} ${ft}}:host(${pi}${Zt}) .heading{grid-template-columns:auto 1fr}:host(${Zt}) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5 / span 1}`,bd=f.partial(`<svg
5
+ width="20"
6
+ height="20"
7
+ viewBox="0 0 20 20"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ class="default-marker-collapsed"
11
+ aria-hidden="true"
12
+ >
13
+ <path
14
+ d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"
15
+ fill="currentColor"
16
+ />
17
+ </svg>`),fd=f.partial(`<svg
18
+ width="20"
19
+ height="20"
20
+ viewBox="0 0 20 20"
21
+ fill="none"
22
+ xmlns="http://www.w3.org/2000/svg"
23
+ class="default-marker-expanded"
24
+ aria-hidden="true"
25
+ >
26
+ <path
27
+ d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"
28
+ fill="currentColor"
29
+ />
30
+ </svg>`);function md(o={}){return f`<div class="heading" part="heading" role="heading" aria-level="${t=>t.headinglevel}"><button class="button" part="button" ${$t("expandbutton")} ?disabled="${t=>t.disabled?"true":void 0}" aria-expanded="${t=>t.expanded}" aria-controls="${t=>t.id}-panel" id="${t=>t.id}"><slot name="heading"></slot></button>${Wt(o)}<slot name="marker-expanded">${yt(o.expandedIcon)}</slot><slot name="marker-collapsed">${yt(o.collapsedIcon)}</slot></div><div class="content" part="content" id="${t=>t.id}-panel" role="region" aria-labelledby="${t=>t.id}"><slot></slot></div>`}const $d=md({collapsedIcon:bd,expandedIcon:fd}),vd=lo.compose({name:`${g.prefix}-accordion-item`,template:$d,styles:gd});vd.define(g.registry);const Oi={single:"single",multi:"multi"};var yd=Object.defineProperty,kd=Object.getOwnPropertyDescriptor,jn=(o,t,e,s)=>{for(var i=s>1?void 0:s?kd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&yd(t,e,i),i};class Mi extends w{constructor(){super(...arguments),this.expandmode=Oi.multi,this.activeItemIndex=0,this.setItems=()=>{if(this.slottedAccordionItems.length===0)return;const t=Array.from(this.children);if(this.removeItemListeners(t),t.forEach(e=>m.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=t.filter(e=>!e.hasAttribute("disabled")),this.accordionItems.forEach((e,s)=>{e instanceof Kt&&(e.addEventListener("click",this.expandedChangedHandler),m.getNotifier(e).subscribe(this,"expanded"))}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=t=>{t.forEach((e,s)=>{m.getNotifier(e).unsubscribe(this,"disabled"),m.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.expandedChangedHandler)})},this.expandedChangedHandler=t=>{const e=t.target;e instanceof Kt&&(this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.$emit("change"))}}expandmodeChanged(t,e){if(!this.$fastController.isConnected)return;const s=this.findExpandedItem();if(s){if(e===Oi.single){this.setSingleExpandMode(s);return}s?.expandbutton.removeAttribute("aria-disabled")}}slottedAccordionItemsChanged(t,e){this.$fastController.isConnected&&this.setItems()}handleChange(t,e){e==="disabled"?this.setItems():e==="expanded"&&t.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(t)}findExpandedItem(){return this.accordionItems.length===0?null:this.accordionItems.find(t=>t instanceof Kt&&t.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===Oi.single}setSingleExpandMode(t){if(this.accordionItems.length===0)return;const e=Array.from(this.accordionItems);this.activeItemIndex=e.indexOf(t),e.forEach((s,i)=>{s instanceof Kt&&(this.activeItemIndex===i?(s.expanded=!0,s.expandbutton.setAttribute("aria-disabled","true")):(s.expanded=!1,s.hasAttribute("disabled")||s.expandbutton.removeAttribute("aria-disabled")))})}}jn([a({attribute:"expand-mode"})],Mi.prototype,"expandmode",2),jn([v],Mi.prototype,"slottedAccordionItems",2);const xd=l`
31
+ ${S("flex")}
32
+
33
+ :host{flex-direction:column;width:100%;contain:content}`;function wd(){return f`<template><slot ${ot({property:"slottedAccordionItems",filter:_e()})}></slot></template>`}const Cd=wd(),Id=Mi.compose({name:`${g.prefix}-accordion`,template:Cd,styles:xd});Id.define(g.registry);const zs={submit:"submit",reset:"reset",button:"button"},Sd={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"};var zd=Object.defineProperty,Td=Object.getOwnPropertyDescriptor,Ct=(o,t,e,s)=>{for(var i=s>1?void 0:s?Td(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&zd(t,e,i),i};class Rt extends w{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){if(e in Sd){const s=this.$fastController.definition.attributeLookup[e]?.attribute;s&&this.handleProxyAttributeChange(s,this[e])}}clickHandler(t){if(this.href){const e=this.isMac?t.metaKey:t.ctrlKey;this.handleNavigation(e)}return!0}keydownHandler(t){if(this.href&&t.key===ss){const e=this.isMac&&t.metaKey||t.ctrlKey;this.handleNavigation(e);return}return!0}handleNavigation(t){t?window.open(this.href,"_blank"):this.internalProxyAnchor.click()}handleProxyAttributeChange(t,e){e?this.internalProxyAnchor.setAttribute(t,e):this.internalProxyAnchor.removeAttribute(t)}createProxyElement(){const t=this.internalProxyAnchor??document.createElement("a");return t.ariaHidden="true",t.tabIndex=-1,t}}Ct([a],Rt.prototype,"download",2),Ct([a],Rt.prototype,"href",2),Ct([a],Rt.prototype,"hreflang",2),Ct([a],Rt.prototype,"ping",2),Ct([a],Rt.prototype,"referrerpolicy",2),Ct([a],Rt.prototype,"rel",2),Ct([a],Rt.prototype,"target",2),Ct([a],Rt.prototype,"type",2);class Qe extends Rt{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}iconOnlyChanged(t,e){c(this.elementInternals,"icon",!!e)}}Ct([a],Qe.prototype,"appearance",2),Ct([a],Qe.prototype,"shape",2),Ct([a],Qe.prototype,"size",2),Ct([a({attribute:"icon-only",mode:"boolean"})],Qe.prototype,"iconOnly",2),Xt(Qe,Gt);const qn=l`
34
+ ${S("inline-flex")}
35
+
36
+ :host{--icon-spacing:${xt};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${O};color:${A};border:${H} solid ${ee};padding:0 ${ft};min-width:96px;border-radius:${P};font-size:${E};font-family:${$};font-weight:${L};line-height:${D};transition-duration:${Pi};transition-property:background,border,color;transition-timing-function:${Ss};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${fi};color:${gi};border-color:${vo}}:host(:hover:active){background-color:${mi};border-color:${$s};color:${gl};outline-style:none}:host(:focus-visible){border-color:${pt};outline:${Bt} solid ${pt};box-shadow:${ws},0 0 0 2px ${Dt}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}:is([slot='start'],::slotted([slot='start'])){margin-inline-end:var(--icon-spacing)}:is([slot='end'],::slotted([slot='end'])){flex-shrink:0}:host(:not(${de})) :is([slot='end'],:host(:not(${de}))::slotted([slot='end'])){margin-inline-start:var(--icon-spacing)}:host(${de}){min-width:32px;max-width:32px}:host(${T}){--icon-spacing:${Ht};min-height:24px;min-width:64px;padding:0 ${oe};border-radius:${Lt};font-size:${q};line-height:${it};font-weight:${M}}:host(${T}${de}){min-width:24px;max-width:24px}:host(${C}){min-height:40px;border-radius:${zn};padding:0 ${nd};font-size:${ct};line-height:${kt}}:host(${C}${de}){min-width:40px;max-width:40px}:host(${C}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${uo},${uo}:focus-visible)){border-radius:${gt}}:host(:is(${po},${po}:focus-visible)){border-radius:${Si}}:host(${lt}){background-color:${ki};color:${te};border-color:transparent}:host(${lt}:hover){background-color:${cn}}:host(${lt}:is(:hover,:hover:active)){border-color:transparent;color:${te}}:host(${lt}:hover:active){background-color:${dn}}:host(${lt}:focus-visible){border-color:${te};box-shadow:${zi},0 0 0 2px ${Dt}}:host(${W}){background-color:${wt}}:host(${W}:hover){background-color:${$i}}:host(${W}:hover:active){background-color:${vi}}:host(${z}){background-color:${El};color:${Vt};border-color:transparent}:host(${z}:hover){background-color:${ms};color:${hs};border-color:transparent}:host(${z}:hover:active){background-color:${Re};color:${us};border-color:transparent}:host(${z}:hover) ::slotted(svg){fill:${ps}}:host(${z}:hover:active) ::slotted(svg){fill:${gs}}:host(${Z}){background-color:${wt};color:${Vt}}:host(${Z}:hover){background-color:${$i};color:${ps}}:host(${Z}:hover:active){background-color:${vi};color:${gs}}:host(:is(${Z},${Z}:is(:hover,:active))){border-color:transparent}`,Ts=l`
37
+ ${qn}
38
+
39
+ :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${je};border-color:${Tt};color:${B};cursor:not-allowed}:host(${lt}:is(:disabled,[disabled-focusable])),:host(${lt}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host(${W}:is(:disabled,[disabled-focusable])),:host(${W}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${wt}}:host(${z}:is(:disabled,[disabled-focusable])),:host(${z}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${wt};border-color:transparent}:host(${Z}:is(:disabled,[disabled-focusable])),:host(${Z}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${wt}}`.withBehaviors(Q(l`
40
+ :host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host(${lt}:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])){background-color:ButtonFace;color:GrayText;border-color:ButtonText}`)),Bd=l`
41
+ ${qn}
42
+
43
+ ::slotted(a){position:absolute;inset:0}`.withBehaviors(Q(l`
44
+ :host{border-color:LinkText;color:LinkText}`));function Pd(o={}){return f`<template tabindex="0" @click="${(t,e)=>t.clickHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}">${Wt(o)}<span class="content" part="content"><slot></slot></span>${le(o)}</template>`}const Ad=Pd(),Ed=Qe.compose({name:`${g.prefix}-anchor-button`,template:Ad,styles:Bd});Ed.define(g.registry);const Nd=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Fd=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Od=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Md=/\s+/g,_d=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Vd(o,t,e){let s="";const i=o.split(" ");return i.length!==0&&(s+=i[0].charAt(0).toUpperCase()),e||(i.length===2?s+=i[1].charAt(0).toUpperCase():i.length===3&&(s+=i[2].charAt(0).toUpperCase())),t&&s.length>1?s.charAt(1)+s.charAt(0):s}function Dd(o){return o=o.replace(Nd,""),o=o.replace(Fd,""),o=o.replace(Md," "),o=o.trim(),o}function Ld(o,t,e){return!o||(o=Dd(o),_d.test(o)||!e?.allowPhoneInitials&&Od.test(o))?"":Vd(o,t,e?.firstInitialOnly)}const Un={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},Gn={neutral:"neutral",brand:"brand",colorful:"colorful",...Un};var Hd=Object.defineProperty,Rd=Object.getOwnPropertyDescriptor,pe=(o,t,e,s)=>{for(var i=s>1?void 0:s?Rd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Hd(t,e,i),i};class Bs extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}}pe([a],Bs.prototype,"name",2),pe([a],Bs.prototype,"initials",2),pe([a],Bs.prototype,"active",2);const Ie=class Xi extends Bs{handleChange(t,e){switch(e){case"color":case"colorId":this.generateColor();break}}generateInitials(){if(!this.name&&!this.initials)return;const t=this.size??32;return this.initials??Ld(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:t<=16})}generateColor(){const t=this.color===Gn.colorful,e=this.currentColor;c(this.elementInternals,`${e}`,!1),this.currentColor=t&&this.colorId?this.colorId:t?Xi.colors[qd(this.name??"")%Xi.colors.length]:this.color??Gn.neutral,c(this.elementInternals,`${this.currentColor}`,!0)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}};Ie.colors=Object.values(Un),pe([a],Ie.prototype,"shape",2),pe([a],Ie.prototype,"appearance",2),pe([a({converter:st})],Ie.prototype,"size",2),pe([a],Ie.prototype,"color",2),pe([a({attribute:"color-id"})],Ie.prototype,"colorId",2);let jd=Ie;const qd=o=>{let t=0;for(let e=o.length-1;e>=0;e--){const s=o.charCodeAt(e),i=e%8;t^=(s<<i)+(s>>8-i)}return t},ge={fastOutSlowInMax:Ni,fastOutSlowInMid:Ye,fastOutSlowInMin:ud,slowOutFastInMax:dd,slowOutFastInMid:Ke,slowOutFastInMin:hd,fastEase:pd,normalEase:Ss,nullEasing:Fi},Ud=l`
45
+ ${S("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${$};font-weight:${L};font-size:${E};border-radius:${gt};color:${ut};background-color:${fs};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${gt}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${H}) ${O}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${Bt}) ${O}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${xo};font-weight:${M}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${q}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ct}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${We}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${vs}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${P}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Lt}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${zn}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Tn}}:host(:is([state--brand],:state(brand))){color:${nn};background-color:${hn}}:host(:is([state--dark-red],:state(dark-red))){color:${fc};background-color:${bc}}:host(:is([state--cranberry],:state(cranberry))){color:${uc};background-color:${hc}}:host(:is([state--red],:state(red))){color:${Hl};background-color:${Ll}}:host(:is([state--pumpkin],:state(pumpkin))){color:${qc};background-color:${jc}}:host(:is([state--peach],:state(peach))){color:${Mc};background-color:${Oc}}:host(:is([state--marigold],:state(marigold))){color:${Zl};background-color:${Sn}}:host(:is([state--gold],:state(gold))){color:${yc};background-color:${vc}}:host(:is([state--brass],:state(brass))){color:${nc};background-color:${rc}}:host(:is([state--brown],:state(brown))){color:${lc};background-color:${ac}}:host(:is([state--forest],:state(forest))){color:${$c};background-color:${mc}}:host(:is([state--seafoam],:state(seafoam))){color:${Yc};background-color:${Kc}}:host(:is([state--dark-green],:state(dark-green))){color:${gc};background-color:${pc}}:host(:is([state--light-teal],:state(light-teal))){color:${Sc};background-color:${Ic}}:host(:is([state--teal],:state(teal))){color:${td};background-color:${Jc}}:host(:is([state--steel],:state(steel))){color:${Zc};background-color:${Qc}}:host(:is([state--blue],:state(blue))){color:${ic};background-color:${sc}}:host(:is([state--royal-blue],:state(royal-blue))){color:${Xc};background-color:${Wc}}:host(:is([state--cornflower],:state(cornflower))){color:${dc};background-color:${cc}}:host(:is([state--navy],:state(navy))){color:${Fc};background-color:${Nc}}:host(:is([state--lavender],:state(lavender))){color:${Cc};background-color:${wc}}:host(:is([state--purple],:state(purple))){color:${Gc};background-color:${Uc}}:host(:is([state--grape],:state(grape))){color:${xc};background-color:${kc}}:host(:is([state--lilac],:state(lilac))){color:${Tc};background-color:${zc}}:host(:is([state--pink],:state(pink))){color:${Vc};background-color:${_c}}:host(:is([state--magenta],:state(magenta))){color:${Pc};background-color:${Bc}}:host(:is([state--plum],:state(plum))){color:${Rc};background-color:${Hc}}:host(:is([state--beige],:state(beige))){color:${oc};background-color:${ec}}:host(:is([state--mink],:state(mink))){color:${Ec};background-color:${Ac}}:host(:is([state--platinum],:state(platinum))){color:${Lc};background-color:${Dc}}:host(:is([state--anchor],:state(anchor))){color:${tc};background-color:${Jl}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Is},${Pi};transition-delay:${ge.fastEase},${ge.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Is}),${Rn};transition-delay:${ge.fastEase}),${ge.nullEasing})}:host([active])::before{box-shadow:${id};border-style:solid;border-color:${hn}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Bt});border-width:${Bt}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${rt});border-width:${rt}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Ti});border-width:${Ti}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${ws}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Vn}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${rd}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Is},${Pi};transition-delay:${ge.fastOutSlowInMin},${ge.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Is},${Rn};transition-delay:${ge.fastOutSlowInMin},${ge.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Gd=f`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;function Wd(){return f`<slot>${o=>o.name||o.initials?o.generateInitials():Gd}</slot><slot name="badge"></slot>`}const Xd=Wd(),Kd=jd.compose({name:`${g.prefix}-avatar`,template:Xd,styles:Ud});Kd.define(g.registry);const Yd={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Qd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"};var Zd=Object.defineProperty,Jd=Object.getOwnPropertyDescriptor,Ps=(o,t,e,s)=>{for(var i=s>1?void 0:s?Jd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Zd(t,e,i),i};class Ze extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.appearance=Yd.filled,this.color=Qd.brand}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}colorChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}Ps([a],Ze.prototype,"appearance",2),Ps([a],Ze.prototype,"color",2),Ps([a],Ze.prototype,"shape",2),Ps([a],Ze.prototype,"size",2),Xt(Ze,Gt);const Wn=l.partial`
46
+ ${S("inline-flex")} :host {
18
47
  position: relative;
19
48
  box-sizing: border-box;
20
49
  align-items: center;
21
50
  justify-content: center;
22
- font-family: var(${ms});
23
- font-weight: var(${Is});
24
- font-size: var(${xs});
25
- line-height: var(${Hs});
51
+ font-family: ${$};
52
+ font-weight: ${L};
53
+ font-size: ${q};
54
+ line-height: ${it};
26
55
  min-width: 20px;
27
56
  height: 20px;
28
- padding-inline: calc(var(${ll}) + var(${Wc}));
29
- border-radius: var(${bs});
30
- border-color: var(${"--colorTransparentStroke"});
31
- background-color: var(${"--colorBrandBackground"});
32
- color: var(${"--colorNeutralForegroundOnBrand"});
57
+ padding-inline: calc(${Ht} + ${dt});
58
+ border-radius: ${gt};
59
+ border-color: ${pt};
60
+ background-color: ${ki};
61
+ color: ${te};
33
62
  contain: content;
34
63
  }
35
64
 
@@ -37,7 +66,7 @@ function e(e,t,o,r){var a,n=arguments.length,i=n<3?t:null===r?r=Object.getOwnPro
37
66
  font-size: 12px;
38
67
  }
39
68
 
40
- :host(:not([appearance='ghost']))::after {
69
+ :host(:not(${Yt}))::after {
41
70
  position: absolute;
42
71
  content: '';
43
72
  top: 0;
@@ -45,12 +74,12 @@ function e(e,t,o,r){var a,n=arguments.length,i=n<3?t:null===r?r=Object.getOwnPro
45
74
  bottom: 0;
46
75
  right: 0;
47
76
  border-style: solid;
48
- border-width: var(${ol});
77
+ border-width: ${H};
49
78
  border-color: inherit;
50
79
  border-radius: inherit;
51
80
  }
52
- `,Yc=G.partial`
53
- :host([size='tiny']) {
81
+ `,Xn=l.partial`
82
+ :host(${go}) {
54
83
  width: 6px;
55
84
  height: 6px;
56
85
  font-size: 4px;
@@ -58,10 +87,10 @@ function e(e,t,o,r){var a,n=arguments.length,i=n<3?t:null===r?r=Object.getOwnPro
58
87
  padding-inline: 0;
59
88
  min-width: unset;
60
89
  }
61
- :host([size='tiny']) ::slotted(svg) {
90
+ :host(${go}) ::slotted(svg) {
62
91
  font-size: 6px;
63
92
  }
64
- :host([size='extra-small']) {
93
+ :host(${bo}) {
65
94
  width: 10px;
66
95
  height: 10px;
67
96
  font-size: 6px;
@@ -69,289 +98,429 @@ function e(e,t,o,r){var a,n=arguments.length,i=n<3?t:null===r?r=Object.getOwnPro
69
98
  padding-inline: 0;
70
99
  min-width: unset;
71
100
  }
72
- :host([size='extra-small']) ::slotted(svg) {
101
+ :host(${bo}) ::slotted(svg) {
73
102
  font-size: 10px;
74
103
  }
75
- :host([size='small']) {
104
+ :host(${T}) {
76
105
  min-width: 16px;
77
106
  height: 16px;
78
- font-size: var(${"--fontSizeBase100"});
79
- line-height: var(${"--lineHeightBase100"});
80
- padding-inline: calc(var(${"--spacingHorizontalXXS"}) + var(${Wc}));
107
+ font-size: ${xo};
108
+ line-height: ${ks};
109
+ padding-inline: calc(${dt} + ${dt});
81
110
  }
82
- :host([size='small']) ::slotted(svg) {
111
+ :host(${T}) ::slotted(svg) {
83
112
  font-size: 12px;
84
113
  }
85
- :host([size='large']) {
114
+ :host(${C}) {
86
115
  min-width: 24px;
87
116
  height: 24px;
88
- font-size: var(${xs});
89
- line-height: var(${Hs});
90
- padding-inline: calc(var(${ll}) + var(${Wc}));
117
+ font-size: ${q};
118
+ line-height: ${it};
119
+ padding-inline: calc(${Ht} + ${dt});
91
120
  }
92
- :host([size='large']) ::slotted(svg) {
121
+ :host(${C}) ::slotted(svg) {
93
122
  font-size: 16px;
94
123
  }
95
- :host([size='extra-large']) {
124
+ :host(${rs}) {
96
125
  min-width: 32px;
97
126
  height: 32px;
98
- font-size: var(${xs});
99
- line-height: var(${Hs});
100
- padding-inline: calc(var(${"--spacingHorizontalSNudge"}) + var(${Wc}));
127
+ font-size: ${q};
128
+ line-height: ${it};
129
+ padding-inline: calc(${xt} + ${dt});
101
130
  }
102
- :host([size='extra-large']) ::slotted(svg) {
131
+ :host(${rs}) ::slotted(svg) {
103
132
  font-size: 20px;
104
133
  }
105
- `,Uc=G.partial`
106
- :host([color='danger']) {
107
- background-color: var(${"--colorPaletteRedBackground3"});
108
- color: var(${"--colorNeutralForegroundOnBrand"});
134
+ `,Kn=l.partial`
135
+ :host(${ns}) {
136
+ background-color: ${fn};
137
+ color: ${te};
109
138
  }
110
139
 
111
- :host([color='important']) {
112
- background-color: var(${Ot});
113
- color: var(${Oo});
140
+ :host(${as}) {
141
+ background-color: ${A};
142
+ color: ${O};
114
143
  }
115
144
 
116
- :host([color='informative']) {
117
- background-color: var(${"--colorNeutralBackground5"});
118
- color: var(${qt});
145
+ :host(${ls}) {
146
+ background-color: ${Al};
147
+ color: ${ut};
119
148
  }
120
149
 
121
- :host([color='severe']) {
122
- background-color: var(${"--colorPaletteDarkOrangeBackground3"});
123
- color: var(${"--colorNeutralForegroundOnBrand"});
150
+ :host(${ds}) {
151
+ background-color: ${wn};
152
+ color: ${te};
124
153
  }
125
154
 
126
- :host([color='subtle']) {
127
- background-color: var(${Oo});
128
- color: var(${Ot});
155
+ :host(${z}) {
156
+ background-color: ${O};
157
+ color: ${A};
129
158
  }
130
159
 
131
- :host([color='success']) {
132
- background-color: var(${"--colorPaletteGreenBackground3"});
133
- color: var(${"--colorNeutralForegroundOnBrand"});
160
+ :host(${xe}) {
161
+ background-color: ${kn};
162
+ color: ${te};
134
163
  }
135
164
 
136
- :host([color='warning']) {
137
- background-color: var(${"--colorPaletteYellowBackground3"});
138
- color: var(${"--colorNeutralForeground1Static"});
165
+ :host(${we}) {
166
+ background-color: ${Kl};
167
+ color: ${Bl};
139
168
  }
140
- `,Kc=G.partial`
141
- :host([appearance='ghost']) {
142
- color: var(${"--colorBrandForeground1"});
169
+ `,Yn=l.partial`
170
+ :host(${Yt}) {
171
+ color: ${bi};
143
172
  background-color: initial;
144
173
  }
145
174
 
146
- :host([appearance='ghost'][color='danger']) {
147
- color: var(${"--colorPaletteRedForeground3"});
175
+ :host(${Yt}${ns}) {
176
+ color: ${vn};
148
177
  }
149
178
 
150
- :host([appearance='ghost'][color='important']) {
151
- color: var(${Ot});
179
+ :host(${Yt}${as}) {
180
+ color: ${A};
152
181
  }
153
182
 
154
- :host([appearance='ghost'][color='informative']) {
155
- color: var(${qt});
183
+ :host(${Yt}${ls}) {
184
+ color: ${ut};
156
185
  }
157
186
 
158
- :host([appearance='ghost'][color='severe']) {
159
- color: var(${"--colorPaletteDarkOrangeForeground3"});
187
+ :host(${Yt}${ds}) {
188
+ color: ${In};
160
189
  }
161
190
 
162
- :host([appearance='ghost'][color='subtle']) {
163
- color: var(${"--colorNeutralForegroundInverted"});
191
+ :host(${Yt}${z}) {
192
+ color: ${He};
164
193
  }
165
194
 
166
- :host([appearance='ghost'][color='success']) {
167
- color: var(${"--colorPaletteGreenForeground3"});
195
+ :host(${Yt}${xe}) {
196
+ color: ${Gl};
168
197
  }
169
198
 
170
- :host([appearance='ghost'][color='warning']) {
171
- color: var(${"--colorPaletteYellowForeground2"});
199
+ :host(${Yt}${we}) {
200
+ color: ${Ii};
172
201
  }
173
- `,Qc=G.partial`
174
- :host([appearance='outline']) {
202
+ `,th=l.partial`
203
+ :host(${W}) {
175
204
  border-color: currentColor;
176
- color: var(${"--colorBrandForeground1"});
205
+ color: ${bi};
177
206
  background-color: initial;
178
207
  }
179
208
 
180
- :host([appearance='outline'][color='danger']) {
181
- color: var(${"--colorPaletteRedForeground3"});
182
- }
183
-
184
- :host([appearance='outline'][color='important']) {
185
- color: var(${qt});
186
- border-color: var(${"--colorNeutralStrokeAccessible"});
187
- }
188
-
189
- :host([appearance='outline'][color='informative']) {
190
- color: var(${qt});
191
- border-color: var(${"--colorNeutralStroke2"});
192
- }
193
-
194
- :host([appearance='outline'][color='severe']) {
195
- color: var(${"--colorPaletteDarkOrangeForeground3"});
196
- }
197
-
198
- :host([appearance='outline'][color='subtle']) {
199
- color: var(${"--colorNeutralForegroundStaticInverted"});
200
- }
201
-
202
- :host([appearance='outline'][color='success']) {
203
- color: var(${"--colorPaletteGreenForeground2"});
209
+ :host(${W}${ns}) {
210
+ color: ${vn};
204
211
  }
205
212
 
206
- :host([appearance='outline'][color='warning']) {
207
- color: var(${"--colorPaletteYellowForeground2"});
208
- }
209
- `,Zc=G.partial`
210
- :host([appearance='tint']) {
211
- background-color: var(${"--colorBrandBackground2"});
212
- color: var(${"--colorBrandForeground2"});
213
- border-color: var(${"--colorBrandStroke2"});
214
- }
215
-
216
- :host([appearance='tint'][color='danger']) {
217
- background-color: var(${"--colorPaletteRedBackground1"});
218
- color: var(${"--colorPaletteRedForeground1"});
219
- border-color: var(${"--colorPaletteRedBorder1"});
220
- }
221
-
222
- :host([appearance='tint'][color='important']) {
223
- background-color: var(${qt});
224
- color: var(${Oo});
225
- border-color: var(${"--colorTransparentStroke"});
226
- }
227
-
228
- :host([appearance='tint'][color='informative']) {
229
- background-color: var(${"--colorNeutralBackground4"});
230
- color: var(${qt});
231
- border-color: var(${"--colorNeutralStroke2"});
213
+ :host(${W}${as}) {
214
+ color: ${ut};
215
+ border-color: ${he};
232
216
  }
233
217
 
234
- :host([appearance='tint'][color='severe']) {
235
- background-color: var(${"--colorPaletteDarkOrangeBackground1"});
236
- color: var(${"--colorPaletteDarkOrangeForeground1"});
237
- border-color: var(${"--colorPaletteDarkOrangeBorder1"});
218
+ :host(${W}${ls}) {
219
+ color: ${ut};
220
+ border-color: ${yo};
238
221
  }
239
222
 
240
- :host([appearance='tint'][color='subtle']) {
241
- background-color: var(${Oo});
242
- color: var(${qt});
243
- border-color: var(${"--colorNeutralStroke2"});
223
+ :host(${W}${ds}) {
224
+ color: ${In};
244
225
  }
245
226
 
246
- :host([appearance='tint'][color='success']) {
247
- background-color: var(${"--colorPaletteGreenBackground1"});
248
- color: var(${"--colorPaletteGreenForeground1"});
249
- border-color: var(${"--colorPaletteGreenBorder2"});
227
+ :host(${W}${z}) {
228
+ color: ${nn};
250
229
  }
251
-
252
- :host([appearance='tint'][color='warning']) {
253
- background-color: var(${"--colorPaletteYellowBackground1"});
254
- color: var(${"--colorPaletteYellowForeground2"});
255
- border-color: var(${"--colorPaletteYellowBorder1"});
256
- }
257
- `,Jc=G`
258
- :host([shape='square']){border-radius:var(${"--borderRadiusNone"})}:host([shape='rounded']){border-radius:var(${ps})}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:var(${hs})}${Yc}
259
- ${Uc}
260
- ${Kc}
261
- ${Qc}
262
- ${Zc}
263
- ${qc}
264
- `,ed=Gc.compose({name:Ct.prefix+"-badge",template:Xc,styles:Jc}),td="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,od=new WeakMap;function rd(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return td}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),y.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),y.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!td)return null;let e=od.get(this);return e||(e=this.attachInternals(),od.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return De({mode:"boolean"})(t.prototype,"disabled"),De({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),De({attribute:"current-value"})(t.prototype,"currentValue"),De(t.prototype,"name"),De({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}function ad(e){class t extends(rd(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return De({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),De({attribute:"current-checked",converter:ze})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}class nd extends ot{}class id extends(rd(nd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const sd="submit",ld="reset";class cd extends id{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===sd&&this.addEventListener("click",this.handleSubmission),e===sd&&this.removeEventListener("click",this.handleSubmission),t===ld&&this.addEventListener("click",this.handleFormReset),e===ld&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([De({mode:"boolean"})],cd.prototype,"autofocus",void 0),e([De({attribute:"form"})],cd.prototype,"formId",void 0),e([De],cd.prototype,"formaction",void 0),e([De],cd.prototype,"formenctype",void 0),e([De],cd.prototype,"formmethod",void 0),e([De({mode:"boolean"})],cd.prototype,"formnovalidate",void 0),e([De],cd.prototype,"formtarget",void 0),e([De],cd.prototype,"type",void 0),e([P],cd.prototype,"defaultSlottedContent",void 0);class dd{}function ud(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([De({attribute:"aria-expanded"})],dd.prototype,"ariaExpanded",void 0),e([De({attribute:"aria-pressed"})],dd.prototype,"ariaPressed",void 0),vt(dd,dt),vt(cd,ht,dd);var hd=Object.defineProperty,pd=Object.getOwnPropertyDescriptor,gd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?pd(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&hd(t,o,n),n};class vd extends cd{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}gd([De],vd.prototype,"appearance",2),gd([De],vd.prototype,"shape",2),gd([De],vd.prototype,"size",2),gd([De({attribute:"icon-only",mode:"boolean"})],vd.prototype,"iconOnly",2),gd([De({attribute:"disabled-focusable",mode:"boolean"})],vd.prototype,"disabledFocusable",2);const bd=ud(),md=vd.compose({name:Ct.prefix+"-button",template:bd,styles:sc,shadowOptions:{delegatesFocus:!0}});class fd extends ot{}class kd extends(ad(fd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class yd extends kd{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}e([P],yd.prototype,"defaultSlottedNodes",void 0),e([P],yd.prototype,"indeterminate",void 0);var xd=Object.defineProperty,$d=Object.getOwnPropertyDescriptor,Bd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?$d(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&xd(t,o,n),n};class wd extends yd{}Bd([De],wd.prototype,"shape",2),Bd([De],wd.prototype,"size",2),Bd([De({attribute:"label-position"})],wd.prototype,"labelPosition",2);const Pd={circular:"circular",square:"square"},Sd={medium:"medium",large:"large"},Fd={before:"before",after:"after"},Cd=function(e={}){return xe`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ut(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ut(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:xe.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:xe.partial('\n <div class="indeterminate-indicator"></div>\n')}),Nd=G`
265
- ${Pt("inline-flex")}
266
- :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});color:var(${qt});position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${ps});outline:none;border:2px solid var(${"--colorStrokeFocus1"});box-shadow:inset 0 0 0 1px var(${"--colorStrokeFocus2"})}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:var(${xl}) var(${dl});fill:currentcolor;height:16px;width:16px;border:var(${ol}) solid var(${"--colorNeutralStrokeAccessible"});border-radius:var(${hs});outline:none}.label{align-self:center;cursor:inherit;padding-inline:var(${dl});padding-bottom:var(${xl});padding-top:var(${xl})}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:var(${"--colorNeutralForegroundInverted"});font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:var(${hs});background-color:var(${"--colorCompoundBrandForeground1"});opacity:0}:host(:hover){color:var(${"--colorNeutralForeground2"})}:host(:hover) .control{border-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:hover) .indeterminate-indicator{background-color:var(${"--colorCompoundBrandForeground1Hover"})}:host(:active) .control{border-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host(:active) .indeterminate-indicator{background-color:var(${"--colorCompoundBrandForeground1Pressed"})}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:var(${Ot})}:host([aria-checked='true']) .control{background-color:var(${"--colorCompoundBrandBackground"})}:host([aria-checked='true']:hover) .control{border-color:var(${"--colorCompoundBrandStrokeHover"});background-color:var(${"--colorCompoundBrandBackgroundHover"})}:host([aria-checked='true']:active) .control{background-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([aria-checked='mixed']:hover) .control{border-color:var(${"--colorCompoundBrandStrokeHover"})}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:var(${"--colorCompoundBrandStroke"})}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:var(${"--colorCompoundBrandStrokePressed"})}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:var(${dl}) var(${ll});padding-top:var(${xl});padding-bottom:var(${xl})}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:var(${bs})}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:var(${"--colorTransparentBackgroundHover"});border-color:var(${"--colorNeutralStrokeDisabled"})}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:var(${to})}:host([disabled]) .indeterminate-indicator{background-color:var(${to})}`,Td=wd.compose({name:Ct.prefix+"-checkbox",template:Cd,styles:Nd});class Ad extends vd{}const Id=ec,zd=tc,Ld=oc;const Hd=function(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot><slot name="description"></slot></span>${pt(e)}</button>`}(),Od=G`
267
- ${sc}
268
-
269
- :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:var(${$s});line-height:var(${Os})}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:var(${"--colorNeutralForeground2"});line-height:100%;font-size:var(${xs});font-weight:var(${Ts})}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2Hover"})}:host(:active) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2Pressed"})}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
270
- ::slotted([slot='description']){color:var(${"--colorNeutralForegroundOnBrand"})}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
271
- ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2"})}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2BrandHover"})}:host([appearance='transparent']:active) ::slotted([slot='description']){color:var(${"--colorNeutralForeground2BrandPressed"})}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
272
- ::slotted([slot='description']){color:var(${to})}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:var(${"--spacingHorizontalSNudge"})}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:var(${ll})}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:var(${dl})}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='large']) ::slotted([slot='description']){font-size:var(${$s})}`,Dd=Ad.compose({name:Ct.prefix+"-compound-button",template:Hd,styles:Od,shadowOptions:{delegatesFocus:!0}});var Md=Object.defineProperty,Ed=Object.getOwnPropertyDescriptor,Rd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ed(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Md(t,o,n),n};class jd extends ot{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!=(e=this.count)?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Rd([De],jd.prototype,"appearance",2),Rd([De],jd.prototype,"color",2),Rd([De],jd.prototype,"shape",2),Rd([De],jd.prototype,"size",2),Rd([De({converter:He})],jd.prototype,"count",2),Rd([De({attribute:"overflow-count",converter:He})],jd.prototype,"overflowCount",2),Rd([De({attribute:"show-zero",mode:"boolean"})],jd.prototype,"showZero",2),Rd([De({mode:"boolean"})],jd.prototype,"dot",2),Hc(jd,ht);const Vd={filled:"filled",ghost:"ghost"},Gd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},_d={circular:"circular",rounded:"rounded"},Xd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Wd=_c({defaultContent:xe`${e=>e.setCount()}`}),qd=G`
273
- :host([shape='rounded']){border-radius:var(${ps})}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:var(${hs})}${Yc}
274
- ${Uc}
275
- ${Kc}
276
- ${qc}
277
-
278
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Yd=jd.compose({name:Ct.prefix+"-counter-badge",template:Wd,styles:qd});
279
- /*!
280
- * tabbable 5.2.0
281
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
282
- */
283
- var Ud=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"].join(","),Kd="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Qd=function(e){return"INPUT"===e.tagName},Zd=function(e){return function(e){return Qd(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,o=e.form||e.ownerDocument,r=function(e){return o.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]}(t,e.form);return!a||a===e}(e)},Jd=function(e,t){return!(t.disabled||function(e){return Qd(e)&&"hidden"===e.type}(t)||function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;var o=Kd.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Kd.call(o,"details:not([open]) *"))return!0;if(t&&"full"!==t){if("non-zero-area"===t){var r=e.getBoundingClientRect(),a=r.width,n=r.height;return 0===a&&0===n}}else for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,e.displayCheck)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t))},eu=function(e,t){return!(!Jd(e,t)||Zd(t)||function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t}(t)<0)},tu=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Kd.call(e,Ud)&&eu(t,e)};const ou="modal",ru="non-modal",au="alert";var nu=Object.defineProperty,iu=Object.getOwnPropertyDescriptor,su=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?iu(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&nu(t,o,n),n};const lu=class extends ot{constructor(){super(...arguments),this.isTrappingFocus=!1,this.titleAction=[],this.modalType=ou,this.open=!1,this.noTitleAction=!1,this.trapFocus=!1,this.onOpenChangeEvent=(e=!1)=>{this.$emit("onOpenChange",{open:this.dialog.open,dismissed:e})},this.handleKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case"Escape":this.modalType!==au&&(this.hide(!0),this.$emit("dismiss"));break;default:return!0}},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.dialog.open)switch(e.key){case"Tab":this.handleTabKeyDown(e)}},this.handleTabKeyDown=e=>{if(!this.trapFocus||!this.dialog.open)return;const t=this.getTabQueueBounds();if(1===t.length)return t[0].focus(),void e.preventDefault();e.shiftKey&&e.target===t[0]?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(t[0].focus(),e.preventDefault())},this.getTabQueueBounds=()=>lu.reduceTabbableItems([],this),this.focusFirstElement=()=>{const e=this.getTabQueueBounds();e.length>0?e[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=e=>this.isTrappingFocus&&!this.contains(e),this.shouldTrapFocus=()=>this.trapFocus&&this.dialog.open,this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.updateTrapFocus=e=>{const t=void 0===e?this.shouldTrapFocus():e;t&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),y.enqueue(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!t&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),y.enqueue(()=>{this.updateTrapFocus(),this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1)}openChanged(e,t){t!==e&&(t&&!e?this.show():!t&&e&&this.hide())}modalTypeChanged(e,t){t!==e&&(this.trapFocus=t==au||t==ou)}setComponent(){this.modalType==ou||this.modalType==au?this.trapFocus=!0:this.trapFocus=!1}show(){y.enqueue(()=>{this.modalType===au||this.modalType===ou?(this.dialog.showModal(),this.open=!0,this.updateTrapFocus(!0)):this.modalType===ru&&(this.dialog.show(),this.open=!0),this.onOpenChangeEvent()})}hide(e=!1){this.dialog.close(),this.open=!1,this.onOpenChangeEvent(e)}dismiss(){this.modalType!==au&&this.hide(!0)}handleClick(e){return e.preventDefault(),this.dialog.open&&this.modalType!==au&&e.target===this.dialog&&this.dismiss(),!0}static reduceTabbableItems(e,t){return"-1"===t.getAttribute("tabindex")?e:tu(t)||lu.isFocusableFastElement(t)&&lu.hasTabbableShadow(t)?(e.push(t),e):Array.from(t.children).reduce((e,t)=>lu.reduceTabbableItems(e,t),e)}static isFocusableFastElement(e){var t,o;return!!(null==(o=null==(t=e.$fastController)?void 0:t.definition.shadowOptions)?void 0:o.delegatesFocus)}static hasTabbableShadow(e){var t,o;return Array.from(null!=(o=null==(t=e.shadowRoot)?void 0:t.querySelectorAll("*"))?o:[]).some(e=>tu(e))}};let cu=lu;su([P],cu.prototype,"dialog",2),su([P],cu.prototype,"titleAction",2),su([P],cu.prototype,"defaultTitleAction",2),su([De({attribute:"aria-describedby"})],cu.prototype,"ariaDescribedby",2),su([De({attribute:"aria-labelledby"})],cu.prototype,"ariaLabelledby",2),su([De({attribute:"modal-type"})],cu.prototype,"modalType",2),su([De({mode:"boolean"})],cu.prototype,"open",2),su([De({mode:"boolean",attribute:"no-title-action"})],cu.prototype,"noTitleAction",2);const du=xe.partial('\n <svg\n fill="currentColor"\n aria-hidden="true"\n width="20"\n height="20"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"\n fill="currentColor"\n ></path>\n </svg>'),uu=xe`<template ?open="${e=>e.open}"><dialog role="${e=>e.modalType===au?"alertdialog":"dialog"}" modal-type="${e=>e.modalType}" class="dialog" part="dialog" aria-modal="${e=>e.modalType===ou||e.modalType===au?"true":void 0}" aria-describedby="${e=>e.ariaDescribedby}" aria-labelledby="${e=>e.ariaLabelledby}" aria-label="${e=>e.ariaLabel}" @keydown="${(e,t)=>e.handleKeydown(t.event)}" @click="${(e,t)=>e.handleClick(t.event)}" ${Be("dialog")}><div class="root" part="root"><div class="title" part="title"><slot name="title"></slot><slot ${Ae({property:"titleAction",filter:Ce()})} name="title-action"></slot>${Se(e=>e.modalType===ru&&0===e.titleAction.length&&!e.noTitleAction,xe`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${e=>e.dismiss()} ${Be("defaultTitleAction")}>${du}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`;function hu(e){return e.split("-")[1]}function pu(e){return"y"===e?"height":"width"}function gu(e){return e.split("-")[0]}function vu(e){return["top","bottom"].includes(gu(e))?"x":"y"}function bu(e,t,o){let{reference:r,floating:a}=e;const n=r.x+r.width/2-a.width/2,i=r.y+r.height/2-a.height/2,s=vu(t),l=pu(s),c=r[l]/2-a[l]/2,d="x"===s;let u;switch(gu(t)){case"top":u={x:n,y:r.y-a.height};break;case"bottom":u={x:n,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:i};break;case"left":u={x:r.x-a.width,y:i};break;default:u={x:r.x,y:r.y}}switch(hu(t)){case"start":u[s]-=c*(o&&d?-1:1);break;case"end":u[s]+=c*(o&&d?-1:1)}return u}function mu(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function fu(e,t){var o;void 0===t&&(t={});const{x:r,y:a,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),v=s[h?"floating"===u?"reference":"floating":u],b=mu(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(v)))||o?v:v.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===u?{...i.floating,x:r,y:a}:i.reference,f=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),k=await(null==n.isElement?void 0:n.isElement(f))&&await(null==n.getScale?void 0:n.getScale(f))||{x:1,y:1},y=mu(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:f,strategy:l}):m);return{top:(b.top-y.top+g.top)/k.y,bottom:(y.bottom-b.bottom+g.bottom)/k.y,left:(b.left-y.left+g.left)/k.x,right:(y.right-b.right+g.right)/k.x}}const ku=Math.min,yu=Math.max;function xu(e,t,o){return yu(e,ku(t,o))}const $u=["top","right","bottom","left"];$u.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Bu={left:"right",right:"left",bottom:"top",top:"bottom"};function wu(e){return e.replace(/left|right|bottom|top/g,e=>Bu[e])}function Pu(e,t,o){void 0===o&&(o=!1);const r=hu(e),a=vu(e),n=pu(a);let i="x"===a?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=wu(i)),{main:i,cross:wu(i)}}const Su={start:"end",end:"start"};function Fu(e){return e.replace(/start|end/g,e=>Su[e])}const Cu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:a,rects:n,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...v}=e,b=gu(r),m=gu(i)===i,f=await(null==s.isRTL?void 0:s.isRTL(l.floating)),k=u||(m||!g?[wu(i)]:function(e){const t=wu(e);return[Fu(e),t,Fu(t)]}(i));u||"none"===p||k.push(...function(e,t,o,r){const a=hu(e);let n=function(e,t,o){const r=["left","right"],a=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return o?t?a:r:t?r:a;case"left":case"right":return t?n:i;default:return[]}}(gu(e),"start"===o,r);return a&&(n=n.map(e=>e+"-"+a),t&&(n=n.concat(n.map(Fu)))),n}(i,g,p,f));const y=[i,...k],x=await fu(t,v),$=[];let B=(null==(o=a.flip)?void 0:o.overflows)||[];if(c&&$.push(x[b]),d){const{main:e,cross:t}=Pu(r,n,f);$.push(x[e],x[t])}if(B=[...B,{placement:r,overflows:$}],!$.every(e=>e<=0)){var w,P;const e=((null==(w=a.flip)?void 0:w.index)||0)+1,t=y[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let o=null==(P=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!o)switch(h){case"bestFit":{var S;const e=null==(S=B.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=i}if(r!==o)return{reset:{placement:o}}}return{}}}};function Nu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Tu(e){return $u.some(t=>e[t]>=0)}const Au=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:a}=t;switch(o){case"referenceHidden":{const e=Nu(await fu(t,{...r,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Tu(e)}}}case"escaped":{const e=Nu(await fu(t,{...r,altBoundary:!0}),a.floating);return{data:{escapedOffsets:e,escaped:Tu(e)}}}default:return{}}}}};const Iu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:a}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await fu(t,l),u=vu(gu(a)),h=function(e){return"x"===e?"y":"x"}(u);let p=c[u],g=c[h];if(n){const e="y"===u?"bottom":"right";p=xu(p+d["y"===u?"top":"left"],p,p-d[e])}if(i){const e="y"===h?"bottom":"right";g=xu(g+d["y"===h?"top":"left"],g,g-d[e])}const v=s.fn({...t,[u]:p,[h]:g});return{...v,data:{x:v.x-o,y:v.y-r}}}}},zu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:a,elements:n}=t,{apply:i=(()=>{}),...s}=e,l=await fu(t,s),c=gu(o),d=hu(o),u="x"===vu(o),{width:h,height:p}=r.floating;let g,v;"top"===c||"bottom"===c?(g=c,v=d===(await(null==a.isRTL?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):(v=c,g="end"===d?"top":"bottom");const b=p-l[g],m=h-l[v];let f=b,k=m;if(u?k=ku(h-l.right-l.left,m):f=ku(p-l.bottom-l.top,b),!t.middlewareData.shift&&!d){const e=yu(l.left,0),t=yu(l.right,0),o=yu(l.top,0),r=yu(l.bottom,0);u?k=h-2*(0!==e||0!==t?e+t:yu(l.left,l.right)):f=p-2*(0!==o||0!==r?o+r:yu(l.top,l.bottom))}await i({...t,availableWidth:k,availableHeight:f});const y=await a.getDimensions(n.floating);return h!==y.width||p!==y.height?{reset:{rects:!0}}:{}}}};function Lu(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hu(e){return Lu(e).getComputedStyle(e)}const Ou=Math.min,Du=Math.max,Mu=Math.round;function Eu(e){const t=Hu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const a=e.offsetWidth,n=e.offsetHeight,i=Mu(o)!==a||Mu(r)!==n;return i&&(o=a,r=n),{width:o,height:r,fallback:i}}function Ru(e){return Xu(e)?(e.nodeName||"").toLowerCase():""}let ju;function Vu(){if(ju)return ju;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(ju=e.brands.map(e=>e.brand+"/"+e.version).join(" "),ju):navigator.userAgent}function Gu(e){return e instanceof Lu(e).HTMLElement}function _u(e){return e instanceof Lu(e).Element}function Xu(e){return e instanceof Lu(e).Node}function Wu(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Lu(e).ShadowRoot||e instanceof ShadowRoot)}function qu(e){const{overflow:t,overflowX:o,overflowY:r,display:a}=Hu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(a)}function Yu(e){return["table","td","th"].includes(Ru(e))}function Uu(e){const t=/firefox/i.test(Vu()),o=Hu(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function Ku(){return/^((?!chrome|android).)*safari/i.test(Vu())}function Qu(e){return["html","body","#document"].includes(Ru(e))}function Zu(e){return _u(e)?e:e.contextElement}const Ju={x:1,y:1};function eh(e){const t=Zu(e);if(!Gu(t))return Ju;const o=t.getBoundingClientRect(),{width:r,height:a,fallback:n}=Eu(t);let i=(n?Mu(o.width):o.width)/r,s=(n?Mu(o.height):o.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function th(e,t,o,r){var a,n;void 0===t&&(t=!1),void 0===o&&(o=!1);const i=e.getBoundingClientRect(),s=Zu(e);let l=Ju;t&&(r?_u(r)&&(l=eh(r)):l=eh(e));const c=s?Lu(s):window,d=Ku()&&o;let u=(i.left+(d&&(null==(a=c.visualViewport)?void 0:a.offsetLeft)||0))/l.x,h=(i.top+(d&&(null==(n=c.visualViewport)?void 0:n.offsetTop)||0))/l.y,p=i.width/l.x,g=i.height/l.y;if(s){const e=Lu(s),t=r&&_u(r)?Lu(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=eh(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,u*=e.x,h*=e.y,p*=e.x,g*=e.y,u+=t.x,h+=t.y,o=Lu(o).frameElement}}return{width:p,height:g,top:h,right:u+p,bottom:h+g,left:u,x:u,y:h}}function oh(e){return((Xu(e)?e.ownerDocument:e.document)||window.document).documentElement}function rh(e){return _u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ah(e){return th(oh(e)).left+rh(e).scrollLeft}function nh(e){if("html"===Ru(e))return e;const t=e.assignedSlot||e.parentNode||Wu(e)&&e.host||oh(e);return Wu(t)?t.host:t}function ih(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=nh(t);return Qu(o)?o.ownerDocument.body:Gu(o)&&qu(o)?o:e(o)}(e),a=r===(null==(o=e.ownerDocument)?void 0:o.body),n=Lu(r);return a?t.concat(n,n.visualViewport||[],qu(r)?r:[]):t.concat(r,ih(r))}function sh(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Lu(e),r=oh(e),a=o.visualViewport;let n=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){n=a.width,i=a.height;const e=Ku();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:n,height:i,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=oh(e),o=rh(e),r=e.ownerDocument.body,a=Du(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=Du(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+ah(e);const s=-o.scrollTop;return"rtl"===Hu(r).direction&&(i+=Du(t.clientWidth,r.clientWidth)-a),{width:a,height:n,x:i,y:s}}(oh(e));else if(_u(t))r=function(e,t){const o=th(e,!0,"fixed"===t),r=o.top+e.clientTop,a=o.left+e.clientLeft,n=Gu(e)?eh(e):{x:1,y:1};return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:a*n.x,y:r*n.y}}(t,o);else{const o={...t};if(Ku()){var a,n;const t=Lu(e);o.x-=(null==(a=t.visualViewport)?void 0:a.offsetLeft)||0,o.y-=(null==(n=t.visualViewport)?void 0:n.offsetTop)||0}r=o}return mu(r)}function lh(e,t){return Gu(e)&&"fixed"!==Hu(e).position?t?t(e):e.offsetParent:null}function ch(e,t){const o=Lu(e);let r=lh(e,t);for(;r&&Yu(r)&&"static"===Hu(r).position;)r=lh(r,t);return r&&("html"===Ru(r)||"body"===Ru(r)&&"static"===Hu(r).position&&!Uu(r))?o:r||function(e){let t=nh(e);for(;Gu(t)&&!Qu(t);){if(Uu(t))return t;t=nh(t)}return null}(e)||o}function dh(e,t,o){const r=Gu(t),a=oh(t),n=th(e,!0,"fixed"===o,t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==Ru(t)||qu(a))&&(i=rh(t)),Gu(t)){const e=th(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else a&&(s.x=ah(a));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const uh={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:a}=e;const n=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=ih(e).filter(e=>_u(e)&&"body"!==Ru(e)),a=null;const n="fixed"===Hu(e).position;let i=n?nh(e):e;for(;_u(i)&&!Qu(i);){const e=Hu(i),t=Uu(i);(n?t||a:t||"static"!==e.position||!a||!["absolute","fixed"].includes(a.position))?a=e:r=r.filter(e=>e!==i),i=nh(i)}return t.set(e,r),r}(t,this._c):[].concat(o),r],i=n[0],s=n.reduce((e,o)=>{const r=sh(t,o,a);return e.top=Du(r.top,e.top),e.right=Ou(r.right,e.right),e.bottom=Ou(r.bottom,e.bottom),e.left=Du(r.left,e.left),e},sh(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const a=Gu(o),n=oh(o);if(o===n)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((a||!a&&"fixed"!==r)&&(("body"!==Ru(o)||qu(n))&&(i=rh(o)),Gu(o))){const e=th(o);s=eh(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:_u,getDimensions:function(e){return Gu(e)?Eu(e):e.getBoundingClientRect()},getOffsetParent:ch,getDocumentElement:oh,getScale:eh,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const a=this.getOffsetParent||ch,n=this.getDimensions;return{reference:dh(t,await a(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Hu(e).direction};function hh(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:n=!0,elementResize:i=!0,animationFrame:s=!1}=r,l=a&&!s,c=l||n?[..._u(e)?ih(e):e.contextElement?ih(e.contextElement):[],...ih(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),n&&e.addEventListener("resize",o)});let d,u=null;if(i){let r=!0;u=new ResizeObserver(()=>{r||o(),r=!1}),_u(e)&&!s&&u.observe(e),_u(e)||!e.contextElement||s||u.observe(e.contextElement),u.observe(t)}let h=s?th(e):null;return s&&function t(){const r=th(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||o(),h=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),n&&e.removeEventListener("resize",o)}),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(d)}}const ph=(e,t,o)=>{const r=new Map,a={platform:uh,...o},n={...a.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:a="absolute",middleware:n=[],platform:i}=o,s=n.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=bu(c,r,l),h=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:n,fn:v}=s[o],{x:b,y:m,data:f,reset:k}=await v({x:d,y:u,initialPlacement:r,placement:h,strategy:a,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=b?b:d,u=null!=m?m:u,p={...p,[n]:{...p[n],...f}},k&&g<=50&&(g++,"object"==typeof k&&(k.placement&&(h=k.placement),k.rects&&(c=!0===k.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):k.rects),({x:d,y:u}=bu(c,h,l))),o=-1)}return{x:d,y:u,placement:h,strategy:a,middlewareData:p}})(e,t,{...a,platform:n})},gh={separator:"separator",presentation:"presentation"},vh=rt;class bh extends ot{constructor(){super(...arguments),this.role=gh.separator,this.orientation=vh.horizontal}}e([De],bh.prototype,"role",void 0),e([De],bh.prototype,"orientation",void 0);const mh={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class fh extends ot{constructor(){super(...arguments),this.role=mh.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case mh.menuitemcheckbox:this.checked=!this.checked;break;case mh.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case mh.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&y.enqueue(()=>{this.cleanup=hh(this,this.submenuContainer,()=>t(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield ph(this,this.submenuContainer,{middleware:[Iu(),zu({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),Cu({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}e([De({mode:"boolean"})],fh.prototype,"disabled",void 0),e([De({mode:"boolean"})],fh.prototype,"expanded",void 0),e([De],fh.prototype,"role",void 0),e([De({mode:"boolean"})],fh.prototype,"checked",void 0),e([De({mode:"boolean"})],fh.prototype,"hidden",void 0),e([P],fh.prototype,"slottedSubmenu",void 0),e([P],fh.prototype,"submenu",void 0),vt(fh,ht);class kh extends ot{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&at(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===mh.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===mh.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof fh||at(e)&&e.getAttribute("role")in kh.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),y.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),w.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>w.getNotifier(e).subscribe(this,"hidden"));const t=e.filter(e=>!e.hasAttribute("hidden"));this.menuItems=t;const o=this.menuItems.filter(this.isMenuItemElement);o.length&&(this.focusIndex=0),o.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}}kh.focusableElementRoles=mh,e([P],kh.prototype,"items",void 0);class yh extends ot{}class xh extends(rd(yh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const $h={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class Bh extends xh{constructor(){super(...arguments),this.type=$h.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&y.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}e([De({attribute:"readonly",mode:"boolean"})],Bh.prototype,"readOnly",void 0),e([De({mode:"boolean"})],Bh.prototype,"autofocus",void 0),e([De],Bh.prototype,"placeholder",void 0),e([De],Bh.prototype,"type",void 0),e([De],Bh.prototype,"list",void 0),e([De({converter:He})],Bh.prototype,"maxlength",void 0),e([De({converter:He})],Bh.prototype,"minlength",void 0),e([De],Bh.prototype,"pattern",void 0),e([De({converter:He})],Bh.prototype,"size",void 0),e([De({mode:"boolean"})],Bh.prototype,"spellcheck",void 0),e([P],Bh.prototype,"defaultSlottedNodes",void 0);class wh{}vt(wh,dt),vt(Bh,ht,wh);class Ph extends ot{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}e([De({converter:He})],Ph.prototype,"value",void 0),e([De({converter:He})],Ph.prototype,"min",void 0),e([De({converter:He})],Ph.prototype,"max",void 0),e([P],Ph.prototype,"percentComplete",void 0);class Sh extends Ph{}class Fh extends Ph{}const Ch=rt;class Nh extends ot{}class Th extends(ad(Nh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ah extends Th{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null===(t=this.radioGroup)||void 0===t?void 0:t.readOnly)||(this.checked=!0))}return!0}}e([P],Ah.prototype,"name",void 0),e([P],Ah.prototype,"defaultSlottedNodes",void 0);class Ih extends ot{constructor(){super(...arguments),this.orientation=Ch.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,a=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===a&&r===a||a===t.length-1&&a===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof Ah&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in nt&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===it.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===it.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}disabledChanged(){}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!==(e=this.parentToolbar)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=$t(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}e([De({attribute:"readonly",mode:"boolean"})],Ih.prototype,"readOnly",void 0),e([De({attribute:"disabled",mode:"boolean"})],Ih.prototype,"disabled",void 0),e([De],Ih.prototype,"name",void 0),e([De],Ih.prototype,"value",void 0),e([De],Ih.prototype,"orientation",void 0),e([P],Ih.prototype,"childItems",void 0),e([P],Ih.prototype,"slottedRadioButtons",void 0);const zh=rt,Lh="single-value";function Hh(e,t,o,r){let a=st(0,1,(e-t)/(o-t));return r===it.rtl&&(a=1-a),a}class Oh extends ot{}class Dh extends(rd(Oh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Mh extends Dh{constructor(){super(...arguments),this.direction=it.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=rt.horizontal,this.mode=Lh,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==it.rtl&&this.orientation!==rt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[t]("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===rt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=st(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=$t(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==it.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==it.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-Hh(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=Hh(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}e([De({attribute:"readonly",mode:"boolean"})],Mh.prototype,"readOnly",void 0),e([P],Mh.prototype,"direction",void 0),e([P],Mh.prototype,"isDragging",void 0),e([P],Mh.prototype,"position",void 0),e([P],Mh.prototype,"trackWidth",void 0),e([P],Mh.prototype,"trackMinWidth",void 0),e([P],Mh.prototype,"trackHeight",void 0),e([P],Mh.prototype,"trackLeft",void 0),e([P],Mh.prototype,"trackMinHeight",void 0),e([P],Mh.prototype,"valueTextFormatter",void 0),e([De({converter:He})],Mh.prototype,"min",void 0),e([De({converter:He})],Mh.prototype,"max",void 0),e([De({converter:He})],Mh.prototype,"step",void 0),e([De],Mh.prototype,"orientation",void 0),e([De],Mh.prototype,"mode",void 0);class Eh extends ot{}class Rh extends(ad(Eh)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class jh extends Rh{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}e([De({attribute:"readonly",mode:"boolean"})],jh.prototype,"readOnly",void 0),e([P],jh.prototype,"defaultSlottedNodes",void 0);class Vh extends ot{}class Gh extends ot{}e([De({mode:"boolean"})],Gh.prototype,"disabled",void 0),vt(Gh,ht);const _h=rt;class Xh extends ot{constructor(){super(...arguments),this.orientation=_h.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],a=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",a),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t,this.activeid=r)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}},this.adjustBackward=e=>{const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}},this.moveToTabByIndex=(e,t)=>{const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs(),this.setTabPanels())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-"+ct()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ct()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===_h.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=st(0,t.length-1,o+e),a=this.tabs.indexOf(t[r]);a>-1&&this.moveToTabByIndex(this.tabs,a)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}e([De],Xh.prototype,"orientation",void 0),e([De],Xh.prototype,"activeid",void 0),e([P],Xh.prototype,"tabs",void 0),e([P],Xh.prototype,"tabpanels",void 0),vt(Xh,ht);const Wh=G`
284
- ${Pt("flex")}
285
-
286
- :host{--dialog-backdrop:var(${"--colorBackgroundOverlay"})}dialog{background:var(${Oo});border:var(${ol}) solid var(${"--colorTransparentStroke"});z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:var(${"--borderRadiusXLarge"});box-shadow:var(${"--shadow64"});max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:var(${"--spacingVerticalXXL"}) var(${"--spacingHorizontalXXL"})}.title{font-size:var(${"--fontSizeBase500"});line-height:var(${"--lineHeightBase500"});font-weight:var(${Is});font-family:var(${ms});color:var(${Ot});margin-bottom:var(${xl});display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:var(${Ot});font-size:var(${$s});line-height:var(${Os});font-weight:var(${Ts});font-family:var(${ms});overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:var(${xl});padding-top:var(${"--spacingVerticalXXL"});justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:var(${dl});padding-top:var(${xl});box-sizing:border-box}}`,qh=cu.compose({name:Ct.prefix+"-dialog",template:uu,styles:Wh});var Yh=Object.defineProperty,Uh=Object.getOwnPropertyDescriptor,Kh=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Uh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Yh(t,o,n),n};class Qh extends bh{}Kh([De({attribute:"align-content"})],Qh.prototype,"alignContent",2),Kh([De],Qh.prototype,"appearance",2),Kh([De({mode:"boolean"})],Qh.prototype,"inset",2);const Zh={center:"center",start:"start",end:"end"},Jh={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},ep=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.role!==gh.presentation?e.orientation:void 0}"><slot></slot></template>`,tp=G`
287
- ${Pt("flex")}
288
-
289
- :host{contain:content}:host::after,:host::before{align-self:center;background:var(${"--colorNeutralStroke2"});box-sizing:border-box;content:'';display:flex;flex-grow:1;height:var(${ol})}:host([inset]){padding:0 12px}:host ::slotted(*){color:var(${"--colorNeutralForeground2"});font-family:var(${ms});font-size:var(${xs});font-weight:var(${Ts});margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:var(${ol});min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:var(${"--colorNeutralStroke1"})}:host([appearance='strong']) ::slotted(*){color:var(${Ot})}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:var(${"--colorBrandStroke1"})}:host([appearance='brand']) ::slotted(*){color:var(${"--colorBrandForeground1"})}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:var(${"--colorNeutralStroke3"})}:host([appearance='subtle']) ::slotted(*){color:var(${qt})}`.withBehaviors(wt(G`
290
- :host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),op=Qh.compose({name:Ct.prefix+"-divider",template:ep,styles:tp});var rp=Object.defineProperty,ap=Object.getOwnPropertyDescriptor,np=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ap(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&rp(t,o,n),n};class ip extends ot{}np([De({mode:"boolean"})],ip.prototype,"block",2),np([De({mode:"boolean"})],ip.prototype,"bordered",2),np([De({mode:"boolean"})],ip.prototype,"shadow",2),np([De],ip.prototype,"fit",2),np([De],ip.prototype,"shape",2);const sp={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},lp={circular:"circular",rounded:"rounded",square:"square"},cp=xe`<slot></slot>`,dp=G`
291
- :host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:var(${ol}) solid var(${"--colorNeutralStroke2"})}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:var(${Xs})}:host([shape='circular']) ::slotted(img){border-radius:var(${bs})}:host([shape='rounded']) ::slotted(img){border-radius:var(${ps})}`,up=ip.compose({name:Ct.prefix+"-image",template:cp,styles:dp});var hp=Object.defineProperty,pp=Object.getOwnPropertyDescriptor,gp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?pp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&hp(t,o,n),n};class vp extends ot{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}gp([De],vp.prototype,"size",2),gp([De],vp.prototype,"weight",2),gp([De({mode:"boolean"})],vp.prototype,"disabled",2),gp([De({mode:"boolean"})],vp.prototype,"required",2);const bp=G`
292
- ${Pt("flex")}
293
-
294
- :host{font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});font-weight:var(${Ts});color:var(${Ot})}.asterisk{color:var(${"--colorPaletteRedForeground1"});margin-left:var(${ll})}:host([size='small']){font-size:var(${xs});line-height:var(${Hs})}:host([size='large']){font-size:var(${Bs});line-height:var(${"--lineHeightBase400"});font-weight:var(${Is})}:host([weight='semibold']){font-weight:var(${Is})}:host([disabled]),:host([disabled]) .asterisk{color:var(${to})}`;const mp=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,fp=vp.compose({name:Ct.prefix+"-label",template:mp,styles:bp});var kp=Object.defineProperty,yp=Object.getOwnPropertyDescriptor,xp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?yp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&kp(t,o,n),n};class $p extends ot{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),y.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&y.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&y.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&y.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=hh(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:a}=await ph(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[Cu(),zu({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),Au()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${a}px)`})}))}addListeners(){var e,t,o,r,a;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,a;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}xp([P,De({attribute:"open-on-hover",mode:"boolean"})],$p.prototype,"openOnHover",2),xp([P,De({attribute:"open-on-context",mode:"boolean"})],$p.prototype,"openOnContext",2),xp([P,De({attribute:"close-on-scroll",mode:"boolean"})],$p.prototype,"closeOnScroll",2),xp([P,De({attribute:"persist-on-item-click",mode:"boolean"})],$p.prototype,"persistOnItemClick",2),xp([P,De({mode:"boolean"})],$p.prototype,"open",2),xp([P],$p.prototype,"slottedMenuList",2),xp([P],$p.prototype,"slottedTriggers",2);const Bp=xe`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Ae({property:"slottedTriggers",filter:Ce()})}></slot><span ${Be("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Ae({property:"slottedMenuList",filter:Ce()})}></slot></span></template>`,wp=G`
295
- :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,Pp=$p.compose({name:Ct.prefix+"-menu",template:Bp,styles:wp});class Sp extends vd{}const Fp=ec,Cp=tc,Np=oc,Tp=ud({end:xe.partial('<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>')}),Ap=Sp.compose({name:Ct.prefix+"-menu-button",template:Tp,styles:sc,shadowOptions:{delegatesFocus:!0}});class Ip extends fh{}const zp=xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>'),Lp=function(e={}){return xe`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==mh.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @keydown="${(e,t)=>e.handleMenuItemKeyDown(t.event)}" @click="${(e,t)=>e.handleMenuItemClick(t.event)}" @mouseover="${(e,t)=>e.handleMouseOver(t.event)}" @mouseout="${(e,t)=>e.handleMouseOut(t.event)}">${Se(e=>e.role===mh.menuitemcheckbox,xe`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${ut(e.checkboxIndicator)}</slot></span></div>`)} ${Se(e=>e.role===mh.menuitemradio,xe`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${ut(e.radioIndicator)}</slot></span></div>`)}</div>${gt(e)}<span class="content" part="content"><slot></slot></span>${pt(e)} ${Se(e=>e.hasSubmenu,xe`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${ut(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${Be("submenuContainer")}><slot name="submenu" ${Ae({property:"slottedSubmenu",filter:Ce("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:zp,expandCollapseGlyph:xe.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>'),radioIndicator:zp}),Hp=G`
296
- ${Pt("grid")}
297
-
298
- :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:var(${Oo});font:var(${Ts}) var(${$s}) / var(${Os}) var(${ms});border-radius:var(${ps});color:var(${"--colorNeutralForeground2"});padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:var(${"--colorNeutralBackground1Hover"})}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:var(${"--colorNeutralForeground2"})}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:var(${"--fontSizeBase500"});width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:var(${qt});font:var(${Ts}) var(${xs}) / var(${Hs}) var(${ms});white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:var(${"--colorNeutralForeground2Hover"})}:host([icon]:hover) ::slotted([slot='start']){color:var(${"--colorCompoundBrandForeground1Hover"})}:host(:active){background-color:var(${"--colorNeutralBackground1Selected"})}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:var(${"--colorNeutralForeground2Pressed"})}:host(:active) ::slotted([slot='start']){color:var(${"--colorCompoundBrandForeground1Pressed"})}:host([disabled]){background-color:var(${"--colorNeutralBackgroundDisabled"})}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:var(${to})}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,Op=Ip.compose({name:Ct.prefix+"-menu-item",template:Lp,styles:Hp});class Dp extends kh{setItems(){var e;super.setItems();const t=null==(e=this.menuItems)?void 0:e.filter(this.isMenuItemElement);null==t||t.forEach((e,o)=>{const r=null==t?void 0:t.reduce((e,t)=>{const o=Dp.elementIndent(t);return Math.max(e,o)},0);e instanceof Ip&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==mh.menuitem?o?2:1:o?1:0}}const Mp=xe`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Ae("items")}></slot></template>`,Ep=G`
299
- ${Pt("flex")}
300
-
301
- :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:var(${Oo});border:1px solid var(${"--colorTransparentStroke"});border-radius:var(${ps});box-shadow:var(${"--shadow16"});padding:4px;row-gap:2px}`,Rp=Dp.compose({name:Ct.prefix+"-menu-list",template:Mp,styles:Ep});var jp=Object.defineProperty,Vp=Object.getOwnPropertyDescriptor,Gp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Vp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&jp(t,o,n),n};class _p extends Fh{constructor(){super(...arguments),this.validationState=null}}Gp([De],_p.prototype,"thickness",2),Gp([De],_p.prototype,"shape",2),Gp([De({attribute:"validation-state"})],_p.prototype,"validationState",2);const Xp={medium:"medium",large:"large"},Wp={rounded:"rounded",square:"square"},qp={success:"success",warning:"warning",error:"error"},Yp=G`
302
- ${Pt("flex")}
303
-
304
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:var(${ps});contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:var(${"--colorPaletteRedBackground3"})}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
305
- to right,var(${"--colorPaletteRedBackground2"}) 0%,var(${"--colorPaletteRedBackground3"}) 50%,var(${"--colorPaletteRedBackground2"})
306
- )}:host([validation-state='warning']) .determinate{background-color:var(${"--colorPaletteDarkOrangeBackground3"})}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
307
- to right,var(${"--colorPaletteDarkOrangeBackground2"}) 0%,var(${"--colorPaletteDarkOrangeBackground3"}) 50%,var(${"--colorPaletteDarkOrangeBackground2"})
308
- )}:host([validation-state='success']) .determinate{background-color:var(${"--colorPaletteGreenBackground3"})}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
309
- to right,var(${"--colorPaletteGreenBackground2"}) 0%,var(${"--colorPaletteGreenBackground3"}) 50%,var(${"--colorPaletteGreenBackground2"})
310
- )}.progress{background-color:var(${"--colorNeutralBackground6"});border-radius:var(${ps});width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:var(${"--colorCompoundBrandBackground"});border-radius:var(${ps});height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
311
- to right,var(${"--colorBrandBackground2"}) 0%,var(${"--colorCompoundBrandBackground"}) 50%,var(${"--colorBrandBackground2"})
312
- );border-radius:var(${ps});animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
313
- to right,var(${"--colorBrandBackground2"}) 0%,var(${"--colorCompoundBrandBackground"}) 50%,var(${"--colorBrandBackground2"})
314
- );border-radius:var(${ps});animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`.withBehaviors(wt(G`
315
- .progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`)),Up=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${ut(e.indeterminateIndicator1)} ${ut(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Kp=_p.compose({name:Ct.prefix+"-progress-bar",template:Up,styles:Yp});class Qp extends Ah{}const Zp=G`
316
- ${Pt("inline-grid")}
317
-
318
- :host{grid-auto-flow:column;grid-template-columns:max-content;gap:var(${ll});align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,var(${qt}));padding-inline-end:var(${dl});--control-border-color:var(${"--colorNeutralStrokeAccessible"});--checked-indicator-background-color:var(${"--colorCompoundBrandForeground1"});--state-color:var(${qt})}:host([disabled]){--control-border-color:var(${to});--checked-indicator-background-color:var(${to});--state-color:var(${to})}.label{cursor:pointer;font-family:var(${ms});font-size:var(${$s});font-weight:var(${Ts});line-height:var(${Os})}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,var(${"--colorNeutralStrokeAccessible"}));border-radius:var(${bs});display:flex;height:16px;justify-content:center;margin:var(${xl}) var(${dl});position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:var(${bs});height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:var(${"--colorNeutralForeground2"})}:host(:focus-visible){border-radius:var(${hs});box-shadow:0 0 0 3px var(${"--colorStrokeFocus2"});outline:1px solid var(${"--colorStrokeFocus1"})}:host(:hover) .control{border-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:active) .control{border-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,var(${"--colorNeutralStrokeAccessible"}))}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,var(${"--colorCompoundBrandForeground1"}))}:host([aria-checked='true']:hover) .control{border-color:var(${"--colorCompoundBrandStrokeHover"})}:host([aria-checked='true']:hover) .checked-indicator{background-color:var(${"--colorCompoundBrandStrokeHover"})}:host([aria-checked='true']:active) .control{border-color:var(${"--colorCompoundBrandStrokePressed"})}:host([aria-checked='true']:active) .checked-indicator{background:var(${"--colorCompoundBrandForeground1Pressed"})}:host([disabled]){color:var(${to});pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:var(${to})}:host([disabled]) .checked-indicator{background:var(${to})}`.withBehaviors(wt(G`
319
- :host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`)),Jp=function(e={}){return xe`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ut(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null===(t=e.defaultSlottedNodes)||void 0===t?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ae({property:"defaultSlottedNodes",filter:St})}></slot></label></template>`}({checkedIndicator:xe`<div part="checked-indicator" class="checked-indicator"></div>`}),eg=Qp.compose({name:Ct.prefix+"-radio",template:Jp,styles:Zp});var tg=Object.defineProperty,og=Object.getOwnPropertyDescriptor;class rg extends Ih{constructor(){super(...arguments),this.stacked=!1}}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?og(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&tg(t,o,n)})([De({mode:"boolean"})],rg.prototype,"stacked",2);const ag=G`
320
- ${Pt("flex")}
321
-
322
- :host{align-items:flex-start;flex-direction:column;row-gap:var(${xl})}:host([disabled]) ::slotted([role='radio']){--control-border-color:var(${to});--checked-indicator-background-color:var(${to});--state-color:var(${to})}::slotted([slot='label']){color:var(${Ot});padding:var(${xl}) var(${dl}) var(${xl}) var(${ll});font:var(${Ts}) var(${$s}) / var(${Os}) var(${ms});cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:var(${dl})}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:var(${dl});height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,ng=xe`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===Ch.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ae({property:"slottedRadioButtons",filter:Ce("[role=radio]")})}></slot></div></template>`,ig=rg.compose({name:Ct.prefix+"-radio-group",template:ng,styles:ag});var sg=Object.defineProperty,lg=Object.getOwnPropertyDescriptor;class cg extends Mh{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),w.getNotifier(this).subscribe(this,"max"),w.getNotifier(this).subscribe(this,"min"),w.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),w.getNotifier(this).unsubscribe(this,"max"),w.getNotifier(this).unsubscribe(this,"min"),w.getNotifier(this).unsubscribe(this,"step")}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=G`
323
- :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?lg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&sg(t,o,n)})([De],cg.prototype,"size",2);const dg={small:"small",medium:"medium"},ug=G`
324
- ${Pt("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:var(${hs});touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt var(${"--colorStrokeFocus2"});outline:1px solid var(${"--colorStrokeFocus1"})}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:var(${"--colorBrandBackground"});border-radius:var(${bs});box-shadow:inset 0 0 0 var(--thumb-padding) var(${Oo}),0 0 0 1px var(${"--colorNeutralStroke1"})}.thumb-cursor:hover{background-color:var(${"--colorCompoundBrandBackgroundHover"})}.thumb-cursor:active{background-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([disabled]) .thumb-cursor{background-color:var(${to});box-shadow:inset 0 0 0 var(--thumb-padding) var(${Oo}),0 0 0 1px var(${"--colorNeutralStrokeDisabled"})}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:var(${"--colorNeutralStrokeAccessible"});border-radius:var(${ps});overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:var(${ps});width:100%;inset:0 2px;background-image:repeating-linear-gradient(
325
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),var(${Oo}) calc(var(--step-rate) - 1px),var(${Oo}) var(--step-rate)
326
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:var(${"--colorNeutralBackgroundDisabled"})}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:var(${"--colorCompoundBrandBackground"});position:absolute;height:100%;left:0;border-radius:var(${ps})}:host([disabled]) .track-start{background-color:var(${to})}:host(:hover) .track-start{background-color:var(${"--colorCompoundBrandBackgroundHover"})}:host([disabled]:hover) .track-start{background-color:var(${to})}.track-start:active{background-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(wt(G`
327
- .track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`)),hg=function(e={}){return xe`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${Be("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${Be("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${ut(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),pg=cg.compose({name:Ct.prefix+"-slider",template:hg,styles:ug});var gg=Object.defineProperty,vg=Object.getOwnPropertyDescriptor,bg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?vg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&gg(t,o,n),n};class mg extends Sh{}bg([De],mg.prototype,"size",2),bg([De],mg.prototype,"appearance",2);const fg={primary:"primary",inverted:"inverted"},kg={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},yg=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`,xe`<slot name="indeterminate">${ut(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),xg=G`
328
- ${Pt("flex")}
329
-
330
- :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:var(${"--colorBrandStroke2"});stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:var(${"--colorBrandStroke1"});fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:var(${"--colorNeutralStrokeOnBrand2"})}.indeterminate-indicator-1{stroke:var(${"--colorBrandStroke1"});fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:var(${"--colorNeutralStrokeOnBrand2"})}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,$g=mg.compose({name:Ct.prefix+"-spinner",template:yg,styles:xg});var Bg=Object.defineProperty,wg=Object.getOwnPropertyDescriptor;class Pg extends jh{}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?wg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&Bg(t,o,n)})([De({attribute:"label-position"})],Pg.prototype,"labelPosition",2);const Sg={above:"above",after:"after",before:"before"},Fg=function(e={}){return xe`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${ut(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Cg=G`
331
- ${Pt("inline-flex")}
332
-
333
- :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:var(${Ot});line-height:var(${Os});font-size:var(${$s});font-weight:var(${Ts});font-family:var(${ms});padding:var(${"--spacingVerticalXS"}) var(${ll});cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 var(${"--spacingHorizontalXXS"});box-sizing:border-box;width:40px;height:20px;background-color:var(${"--colorTransparentBackground"});border:1px solid var(${"--colorNeutralStrokeAccessible"});border-radius:var(${bs});outline:none;cursor:pointer;margin:var(${xl}) var(${dl})}:host(:hover) .switch{background:none;border-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:active) .switch{border-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid var(${"--colorNeutralStrokeDisabled"});background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:var(${"--colorCompoundBrandBackground"})}:host([aria-checked='true']:hover) .switch{background:var(${"--colorCompoundBrandBackgroundHover"});border-color:var(${"--colorCompoundBrandBackgroundHover"})}:host([aria-checked='true']:active) .switch{background:var(${"--colorCompoundBrandBackgroundPressed"});border-color:var(${"--colorCompoundBrandBackgroundPressed"})}:host([aria-checked='true'][disabled]) .switch{background:var(${"--colorNeutralBackgroundDisabled"});border-color:var(${"--colorNeutralStrokeDisabled"})}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:var(${qt});transition-duration:var(${"--durationNormal"});transition-timing-function:var(${"--curveEasyEase"});transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:var(${"--colorNeutralForegroundInverted"});margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:var(${"--colorNeutralForegroundInvertedHover"})}:host([aria-checked='true']:active) .checked-indicator{background:var(${"--colorNeutralForegroundInvertedPressed"})}:host(:hover) .checked-indicator{background-color:var(${"--colorNeutralForeground3Hover"})}:host(:active) .checked-indicator{background-color:var(${"--colorNeutralForeground3Pressed"})}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:var(${to})}:host([aria-checked='true'][disabled]) .checked-indicator{background:var(${to})}:host(:focus-visible){border-color:var(${"--colorTransparentStroke"});outline:var(${"--strokeWidthThick"}) solid var(${"--colorTransparentStroke"});box-shadow:var(${Xs}),0 0 0 2px var(${"--colorStrokeFocus2"})}`.withBehaviors(wt(G`
334
- .switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),Ng=Pg.compose({name:Ct.prefix+"-switch",template:Fg,styles:Cg}),Tg={subtle:"subtle",transparent:"transparent"},Ag={small:"small",medium:"medium",large:"large"};var Ig=Object.defineProperty,zg=Object.getOwnPropertyDescriptor,Lg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?zg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Ig(t,o,n),n};class Hg extends Xh{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=Tg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===_h.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===_h.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const a=this.tabs,n=this.activetab||a[0],i=null==n?void 0:n.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:i.x-s.x,y:i.y-s.y,height:i.height,width:i.width},(null==(e=this.previousActiveTabData)?void 0:e.x)!==(null==(t=this.activeTabData)?void 0:t.x)&&(null==(o=this.previousActiveTabData)?void 0:o.y)!==(null==(r=this.activeTabData)?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=G`
335
- :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=G`
336
- :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Lg([De],Hg.prototype,"appearance",2),Lg([De({mode:"boolean"})],Hg.prototype,"disabled",2),Lg([De],Hg.prototype,"size",2);const Og=function(e={}){return xe` ${gt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ae("tabs")}></slot></div>${pt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ae("tabpanels")}></slot></div>`}({}),Dg=G`
337
- ${Pt("grid")}
338
-
339
- :host{box-sizing:border-box;font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});color:var(${"--colorNeutralForeground2"});grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:var(${to})}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:var(${to})}:host([disabled]) ::slotted(fluent-tab:after){background-color:var(${to})}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:var(${to})}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:var(${ps})}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:var(${to})}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:var(${"--colorSubtleBackgroundHover"});color:var(${"--colorNeutralForeground1Hover"});fill:var(${"--colorCompoundBrandForeground1Hover"})}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:var(${"--colorSubtleBackgroundPressed"});fill:var(${"--colorSubtleBackgroundPressed"});color:var(${Ot})}:host([size='small']) ::slotted(fluent-tab){font-size:var(${$s});line-height:var(${Os});padding:var(${"--spacingVerticalSNudge"}) var(${"--spacingHorizontalSNudge"})}:host([size='large']) ::slotted(fluent-tab){font-size:var(${Bs});line-height:var(${"--lineHeightBase400"});padding:var(${"--spacingVerticalL"}) var(${"--spacingHorizontalMNudge"})}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:var(${"--durationSlow"});transition-timing-function:var(${"--curveDecelerateMax"})}:host ::slotted(fluent-tab)::after{height:var(${"--strokeWidthThicker"});margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:var(${"--strokeWidthThicker"});height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:var(${"--strokeWidthThicker"});border-radius:var(${bs});content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:var(${"--strokeWidthThicker"});margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:var(${"--strokeWidthThicker"});margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:var(${"--strokeWidthThicker"})}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:var(${"--spacingVerticalSNudge"});padding-bottom:var(${"--spacingVerticalSNudge"})}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:var(${"--spacingVerticalXXS"});padding-bottom:var(${"--spacingVerticalXXS"})}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:var(${xl});padding-bottom:var(${xl})}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:var(${"--spacingHorizontalSNudge"});left:var(${"--spacingHorizontalSNudge"})}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:var(${"--spacingHorizontalMNudge"});left:var(${"--spacingHorizontalMNudge"})}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:var(${"--spacingHorizontalMNudge"});left:var(${"--spacingHorizontalMNudge"})}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${"--spacingVerticalSNudge"});bottom:var(${"--spacingVerticalSNudge"})}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${xl});bottom:var(${xl})}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${"--spacingVerticalMNudge"});bottom:var(${"--spacingVerticalMNudge"})}`,Mg=Hg.compose({name:Ct.prefix+"-tabs",template:Og,styles:Dg});class Eg extends Gh{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=G`
340
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Rg=function(e={}){return xe`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${gt(e)}<span class="tab-content"><slot></slot></span>${pt(e)}</template>`}({}),jg=G`
341
- ${Pt("inline-flex")}
342
-
343
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:var(${Os});font-family:var(${ms});font-size:var(${$s});color:var(${"--colorNeutralForeground2"});fill:currentcolor;grid-row:1;padding:var(${"--spacingHorizontalM"}) var(${"--spacingHorizontalMNudge"});border-radius:var(${ps})}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:var(${Ot});font-weight:var(${Is})}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:var(${Os});font-weight:var(${Is})}:host([aria-selected='true'])::after{background-color:var(${"--colorCompoundBrandStroke"});border-radius:var(${bs});content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:var(${"--colorNeutralStroke1Hover"});border-radius:var(${bs});content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:var(${to})}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:var(${to});color:var(${to})}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:var(${hs});box-shadow:0 0 0 3px var(${"--colorStrokeFocus2"});outline:1px solid var(${"--colorStrokeFocus1"})}`.withBehaviors(wt(G`
344
- :host([aria-selected='true'])::after{background-color:Highlight}`)),Vg=Eg.compose({name:Ct.prefix+"-tab",template:Rg,styles:jg});class Gg extends Vh{}const _g=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Xg=G`
345
- ${Pt("block")}
346
-
347
- :host{box-sizing:border-box;padding:var(${"--spacingHorizontalM"}) var(${"--spacingHorizontalMNudge"})}`,Wg=Gg.compose({name:Ct.prefix+"-tab-panel",template:_g,styles:Xg});var qg=Object.defineProperty,Yg=Object.getOwnPropertyDescriptor,Ug=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Yg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&qg(t,o,n),n};class Kg extends ot{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Ug([De({mode:"boolean"})],Kg.prototype,"nowrap",2),Ug([De({mode:"boolean"})],Kg.prototype,"truncate",2),Ug([De({mode:"boolean"})],Kg.prototype,"italic",2),Ug([De({mode:"boolean"})],Kg.prototype,"underline",2),Ug([De({mode:"boolean"})],Kg.prototype,"strikethrough",2),Ug([De({mode:"boolean"})],Kg.prototype,"block",2),Ug([De],Kg.prototype,"size",2),Ug([De],Kg.prototype,"font",2),Ug([De],Kg.prototype,"weight",2),Ug([De],Kg.prototype,"align",2);const Qg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Zg={base:"base",numeric:"numeric",monospace:"monospace"},Jg={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},ev={start:"start",end:"end",center:"center",justify:"justify"},tv=xe`<slot></slot>`,ov=G`
348
- ${Pt("inline")}
349
-
350
- :host{contain:content}::slotted(*){font-family:var(${ms});font-size:var(${$s});line-height:var(${Os});font-weight:var(${Ts});text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:var(${"--fontSizeBase100"});line-height:var(${"--lineHeightBase100"})}:host([size='200']) ::slotted(*){font-size:var(${xs});line-height:var(${Hs})}:host([size='400']) ::slotted(*){font-size:var(${Bs});line-height:var(${"--lineHeightBase400"})}:host([size='500']) ::slotted(*){font-size:var(${"--fontSizeBase500"});line-height:var(${"--lineHeightBase500"})}:host([size='600']) ::slotted(*){font-size:var(${"--fontSizeBase600"});line-height:var(${"--lineHeightBase600"})}:host([size='700']) ::slotted(*){font-size:var(${"--fontSizeHero700"});line-height:var(${"--lineHeightHero700"})}:host([size='800']) ::slotted(*){font-size:var(${"--fontSizeHero800"});line-height:var(${"--lineHeightHero800"})}:host([size='900']) ::slotted(*){font-size:var(${"--fontSizeHero900"});line-height:var(${"--lineHeightHero900"})}:host([size='1000']) ::slotted(*){font-size:var(${"--fontSizeHero1000"});line-height:var(${"--lineHeightHero1000"})}:host([font='monospace']) ::slotted(*){font-family:var(${"--fontFamilyMonospace"})}:host([font='numeric']) ::slotted(*){font-family:var(${"--fontFamilyNumeric"})}:host([weight='medium']) ::slotted(*){font-weight:var(${"--fontWeightMedium"})}:host([weight='semibold']) ::slotted(*){font-weight:var(${Is})}:host([weight='bold']) ::slotted(*){font-weight:var(${"--fontWeightBold"})}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,rv=Kg.compose({name:Ct.prefix+"-text",template:tv,styles:ov});var av=Object.defineProperty,nv=Object.getOwnPropertyDescriptor,iv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?nv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&av(t,o,n),n};class sv extends Bh{}iv([De({attribute:"control-size"})],sv.prototype,"controlSize",2),iv([De],sv.prototype,"appearance",2);const lv={small:"small",medium:"medium",large:"large"},cv={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},dv=function(e={}){return xe`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae({property:"defaultSlottedNodes",filter:St})}></slot></label><div class="root" part="root">${gt(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${Be("control")} />${pt(e)}</div>`}(),uv=G`
351
- ${Pt("block")}
352
-
353
- :host{font-family:var(${ms});font-size:var(${$s});font-weight:var(${Ts});line-height:var(${Os});max-width:400px}.label{display:flex;color:var(${Ot});padding-bottom:var(${"--spacingVerticalXS"});flex-shrink:0;padding-inline-end:var(${ll})}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 var(${"--spacingHorizontalMNudge"});border:var(${ol}) solid var(${"--colorNeutralStroke1"});border-bottom-color:var(${"--colorNeutralStrokeAccessible"});border-radius:var(${ps});gap:var(${"--spacingHorizontalXXS"})}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,var(${ps}));border-radius:0 0 var(${ps}) var(${ps});border-bottom:2px solid var(${"--colorCompoundBrandStroke"});clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:var(${"--durationUltraFast"});transition-delay:var(${"--curveAccelerateMid"})}.control{width:100%;height:100%;box-sizing:border-box;color:var(${Ot});border-radius:var(${ps});background:var(${"--colorTransparentBackground"});font-family:var(${ms});font-weight:var(${Ts});font-size:var(${$s});border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:var(${"--colorNeutralForeground4"})}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:var(${qt});font-size:var(${"--fontSizeBase500"})}:host ::slotted([slot='start']){padding-right:var(${"--spacingHorizontalXXS"})}:host ::slotted([slot='end']){padding-left:var(${"--spacingHorizontalXXS"});gap:var(${ll})}:host(:hover) .root{border-color:var(${"--colorNeutralStroke1Hover"});border-bottom-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host(:active) .root{border-color:var(${"--colorNeutralStroke1Pressed"})}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:var(${"--durationNormal"});transition-delay:var(${"--curveDecelerateMid"})}:host(:focus-within:active) .root:after{border-bottom-color:var(${"--colorCompoundBrandStrokePressed"})}:host([appearance='outline']:focus-within) .root{border:var(${ol}) solid var(${"--colorNeutralStroke1"})}:host(:focus-within) .control{color:var(${Ot})}:host([disabled]) .root{background:var(${"--colorTransparentBackground"});border:var(${ol}) solid var(${"--colorNeutralStrokeDisabled"})}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:var(${to})}::selection{color:var(${"--colorNeutralForegroundInverted"});background-color:var(${"--colorNeutralBackgroundInverted"})}:host([control-size='small']) .control{font-size:var(${xs});font-weight:var(${Ts});line-height:var(${Hs})}:host([control-size='small']) .root{height:24px;gap:var(${"--spacingHorizontalXXS"});padding:0 var(${"--spacingHorizontalSNudge"})}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:var(${Bs})}:host([control-size='large']) .control{font-size:var(${Bs});font-weight:var(${Ts});line-height:var(${"--lineHeightBase400"})}:host([control-size='large']) .root{height:40px;gap:var(${dl});padding:0 var(${"--spacingHorizontalM"})}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:var(${"--fontSizeBase600"})}:host([appearance='underline']) .root{background:var(${"--colorTransparentBackground"});border:0;border-radius:0;border-bottom:var(${ol}) solid var(${"--colorNeutralStrokeAccessible"})}:host([appearance='underline']:hover) .root{border-bottom-color:var(${"--colorNeutralStrokeAccessibleHover"})}:host([appearance='underline']:active) .root{border-bottom-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:var(${"--colorNeutralStrokeAccessiblePressed"})}:host([appearance='underline'][disabled]) .root{border-bottom-color:var(${"--colorNeutralStrokeDisabled"})}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:var(${ol}) solid var(${"--colorTransparentStroke"});box-shadow:var(${"--shadow2"})}:host([appearance='filled-lighter']) .root{background:var(${Oo})}:host([appearance='filled-darker']) .root{background:var(${"--colorNeutralBackground3"})}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:var(${"--colorTransparentStrokeInteractive"})}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:var(${"--colorTransparentStrokeInteractive"});background:var(${"--colorNeutralBackground3"})}`,hv=sv.compose({name:Ct.prefix+"-text-input",template:dv,styles:uv});var pv=Object.defineProperty,gv=Object.getOwnPropertyDescriptor,vv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?gv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&pv(t,o,n),n};class bv extends vd{constructor(){super(),this.dirtyChecked=!1,this.checkedAttribute=!1,this.defaultChecked=!1,this.checked=!1,this.currentChecked=!1,this.handleToggleButtonClick=e=>{this.disabled||this.disabledFocusable||(this.checked=!this.checked)},this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.setAttribute("aria-pressed",""+this.currentChecked),void 0!==e&&this.$emit("change"))}currentCheckedChanged(e,t){this.checked=this.currentChecked}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleToggleButtonClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleToggleButtonClick)}}vv([De({attribute:"checked",mode:"boolean"})],bv.prototype,"checkedAttribute",2),vv([P],bv.prototype,"defaultChecked",2),vv([P],bv.prototype,"checked",2),vv([De({attribute:"current-checked",mode:"boolean"})],bv.prototype,"currentChecked",2);const mv=ec,fv=tc,kv=oc,yv=ud(),xv=G`
354
- ${sc}
355
-
356
- :host([aria-pressed="true"]) .control{border-color:var(${"--colorNeutralStroke1"});background-color:var(${"--colorNeutralBackground1Selected"});color:var(${Ot});border-width:var(${ol})}:host([aria-pressed='true']:hover) .control{border-color:var(${"--colorNeutralStroke1Hover"});background-color:var(${"--colorNeutralBackground1Hover"})}:host([aria-pressed='true']:active) .control{border-color:var(${"--colorNeutralStroke1Pressed"});background-color:var(${"--colorNeutralBackground1Pressed"})}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:var(${"--colorBrandBackgroundSelected"});color:var(${"--colorNeutralForegroundOnBrand"})}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:var(${"--colorBrandBackgroundHover"})}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:var(${"--colorBrandBackgroundPressed"})}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:var(${"--colorSubtleBackgroundSelected"});color:var(${"--colorNeutralForeground2Selected"})}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:var(${"--colorSubtleBackgroundHover"});color:var(${"--colorNeutralForeground2Hover"})}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:var(${"--colorSubtleBackgroundPressed"});color:var(${"--colorNeutralForeground2Pressed"})}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:var(${"--colorTransparentBackgroundSelected"})}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:var(${"--colorTransparentBackgroundHover"})}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:var(${"--colorTransparentBackgroundPressed"})}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:var(${"--colorNeutralForeground2BrandSelected"})}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:var(${"--colorNeutralForeground2BrandHover"})}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:var(${"--colorNeutralForeground2BrandPressed"})}`.withBehaviors(wt(G`
357
- :host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),$v=bv.compose({name:Ct.prefix+"-toggle-button",template:yv,styles:xv,shadowOptions:{delegatesFocus:!0}}),Bv=Object.keys(_l),wv=e=>{for(const t of Bv)document.body.style.setProperty(_l[t],e[t])},Pv=(e,t)=>{for(const o of Bv)e.style.setProperty(_l[o],t[o])};export{yt as Accordion,zt as AccordionItem,Ht as AccordionItemExpandIconPosition,Lt as AccordionItemSize,Jl as AnchorButton,rc as AnchorButtonAppearance,cc as AnchorButtonDefinition,ac as AnchorButtonShape,nc as AnchorButtonSize,ic as AnchorButtonTemplate,Sc as Avatar,bc as AvatarActive,fc as AvatarAppearance,yc as AvatarColor,Lc as AvatarDefinition,kc as AvatarNamedColor,mc as AvatarShape,xc as AvatarSize,zc as AvatarStyles,Nc as AvatarTemplate,Gc as Badge,Oc as BadgeAppearance,Dc as BadgeColor,ed as BadgeDefinition,Mc as BadgeShape,Ec as BadgeSize,Jc as BadgeStyles,Xc as BadgeTemplate,vd as Button,ec as ButtonAppearance,md as ButtonDefinition,tc as ButtonShape,oc as ButtonSize,sc as ButtonStyles,bd as ButtonTemplate,wd as Checkbox,Td as CheckboxDefinition,Fd as CheckboxLabelPosition,Pd as CheckboxShape,Sd as CheckboxSize,Nd as CheckboxStyles,Cd as CheckboxTemplate,Ad as CompoundButton,Id as CompoundButtonAppearance,Dd as CompoundButtonDefinition,zd as CompoundButtonShape,Ld as CompoundButtonSize,Od as CompoundButtonStyles,Hd as CompoundButtonTemplate,jd as CounterBadge,Vd as CounterBadgeAppearance,Gd as CounterBadgeColor,Yd as CounterBadgeDefinition,_d as CounterBadgeShape,Xd as CounterBadgeSize,qd as CounterBadgeStyles,Wd as CounterBadgeTemplate,cu as Dialog,qh as DialogDefinition,Wh as DialogStyles,uu as DialogTemplate,Qh as Divider,Zh as DividerAlignContent,Jh as DividerAppearance,op as DividerDefinition,vh as DividerOrientation,gh as DividerRole,tp as DividerStyles,ep as DividerTemplate,Ct as FluentDesignSystem,ip as Image,up as ImageDefinition,sp as ImageFit,lp as ImageShape,dp as ImageStyles,cp as ImageTemplate,vp as Label,fp as LabelDefinition,bp as LabelStyles,mp as LabelTemplate,$p as Menu,Sp as MenuButton,Fp as MenuButtonAppearance,Ap as MenuButtonDefinition,Cp as MenuButtonShape,Np as MenuButtonSize,sc as MenuButtonStyles,Tp as MenuButtonTemplate,Pp as MenuDefinition,Ip as MenuItem,Op as MenuItemDefinition,mh as MenuItemRole,Hp as MenuItemStyles,Lp as MenuItemTemplate,Dp as MenuList,Rp as MenuListDefinition,Ep as MenuListStyles,Mp as MenuListTemplate,wp as MenuStyles,Bp as MenuTemplate,_p as ProgressBar,Kp as ProgressBarDefinition,Wp as ProgressBarShape,Yp as ProgressBarStyles,Up as ProgressBarTemplate,Xp as ProgressBarThickness,qp as ProgressBarValidationState,Qp as Radio,eg as RadioDefinition,rg as RadioGroup,ig as RadioGroupDefinition,Ch as RadioGroupOrientation,ag as RadioGroupStyles,ng as RadioGroupTemplate,Zp as RadioStyles,Jp as RadioTemplate,cg as Slider,pg as SliderDefinition,zh as SliderOrientation,dg as SliderSize,ug as SliderStyles,hg as SliderTemplate,mg as Spinner,fg as SpinnerAppearance,$g as SpinnerDefinition,kg as SpinnerSize,xg as SpinnerStyles,yg as SpinnerTemplate,Pg as Switch,Ng as SwitchDefinition,Sg as SwitchLabelPosition,Cg as SwitchStyles,Fg as SwitchTemplate,Eg as Tab,Vg as TabDefinition,Gg as TabPanel,Wg as TabPanelDefinition,Xg as TabPanelStyles,_g as TabPanelTemplate,jg as TabStyles,Rg as TabTemplate,Hg as Tabs,Tg as TabsAppearance,Mg as TabsDefinition,_h as TabsOrientation,Ag as TabsSize,Dg as TabsStyles,Og as TabsTemplate,Kg as Text,ev as TextAlign,rv as TextDefinition,Zg as TextFont,sv as TextInput,cv as TextInputAppearance,lv as TextInputControlSize,hv as TextInputDefinition,uv as TextInputStyles,dv as TextInputTemplate,$h as TextInputType,Qg as TextSize,ov as TextStyles,tv as TextTemplate,Jg as TextWeight,bv as ToggleButton,mv as ToggleButtonAppearance,$v as ToggleButtonDefinition,fv as ToggleButtonShape,kv as ToggleButtonSize,xv as ToggleButtonStyles,yv as ToggleButtonTemplate,Nt as accordionDefinition,ql as accordionItemDefinition,Xl as accordionItemStyles,Wl as accordionItemTemplate,Ft as accordionStyles,xt as accordionTemplate,bs as borderRadiusCircular,gs as borderRadiusLarge,ps as borderRadiusMedium,us as borderRadiusNone,hs as borderRadiusSmall,vs as borderRadiusXLarge,Sr as colorBackgroundOverlay,Cr as colorBrandBackground,Or as colorBrandBackground2,Nr as colorBrandBackgroundHover,Dr as colorBrandBackgroundInverted,Mr as colorBrandBackgroundInvertedHover,Er as colorBrandBackgroundInvertedPressed,Rr as colorBrandBackgroundInvertedSelected,Tr as colorBrandBackgroundPressed,Ar as colorBrandBackgroundSelected,Hr as colorBrandBackgroundStatic,So as colorBrandForeground1,Fo as colorBrandForeground2,No as colorBrandForegroundInverted,To as colorBrandForegroundInvertedHover,Ao as colorBrandForegroundInvertedPressed,oo as colorBrandForegroundLink,ro as colorBrandForegroundLinkHover,ao as colorBrandForegroundLinkPressed,no as colorBrandForegroundLinkSelected,Io as colorBrandForegroundOnLight,zo as colorBrandForegroundOnLightHover,Lo as colorBrandForegroundOnLightPressed,Ho as colorBrandForegroundOnLightSelected,ya as colorBrandShadowAmbient,xa as colorBrandShadowKey,oa as colorBrandStroke1,ra as colorBrandStroke2,Ir as colorCompoundBrandBackground,zr as colorCompoundBrandBackgroundHover,Lr as colorCompoundBrandBackgroundPressed,uo as colorCompoundBrandForeground1,ho as colorCompoundBrandForeground1Hover,po as colorCompoundBrandForeground1Pressed,aa as colorCompoundBrandStroke,na as colorCompoundBrandStrokeHover,ia as colorCompoundBrandStrokePressed,Oo as colorNeutralBackground1,Do as colorNeutralBackground1Hover,Mo as colorNeutralBackground1Pressed,Eo as colorNeutralBackground1Selected,Ro as colorNeutralBackground2,jo as colorNeutralBackground2Hover,Vo as colorNeutralBackground2Pressed,Go as colorNeutralBackground2Selected,_o as colorNeutralBackground3,Xo as colorNeutralBackground3Hover,Wo as colorNeutralBackground3Pressed,qo as colorNeutralBackground3Selected,Yo as colorNeutralBackground4,Uo as colorNeutralBackground4Hover,Ko as colorNeutralBackground4Pressed,Qo as colorNeutralBackground4Selected,Zo as colorNeutralBackground5,Jo as colorNeutralBackground5Hover,er as colorNeutralBackground5Pressed,tr as colorNeutralBackground5Selected,or as colorNeutralBackground6,yr as colorNeutralBackgroundDisabled,ar as colorNeutralBackgroundInverted,xr as colorNeutralBackgroundInvertedDisabled,rr as colorNeutralBackgroundStatic,Ot as colorNeutralForeground1,Dt as colorNeutralForeground1Hover,Mt as colorNeutralForeground1Pressed,Et as colorNeutralForeground1Selected,Co as colorNeutralForeground1Static,Rt as colorNeutralForeground2,_t as colorNeutralForeground2BrandHover,Xt as colorNeutralForeground2BrandPressed,Wt as colorNeutralForeground2BrandSelected,jt as colorNeutralForeground2Hover,io as colorNeutralForeground2Link,so as colorNeutralForeground2LinkHover,lo as colorNeutralForeground2LinkPressed,co as colorNeutralForeground2LinkSelected,Vt as colorNeutralForeground2Pressed,Gt as colorNeutralForeground2Selected,qt as colorNeutralForeground3,Qt as colorNeutralForeground3BrandHover,Zt as colorNeutralForeground3BrandPressed,Jt as colorNeutralForeground3BrandSelected,Yt as colorNeutralForeground3Hover,Ut as colorNeutralForeground3Pressed,Kt as colorNeutralForeground3Selected,eo as colorNeutralForeground4,to as colorNeutralForegroundDisabled,vo as colorNeutralForegroundInverted,ko as colorNeutralForegroundInverted2,Po as colorNeutralForegroundInvertedDisabled,bo as colorNeutralForegroundInvertedHover,xo as colorNeutralForegroundInvertedLink,$o as colorNeutralForegroundInvertedLinkHover,Bo as colorNeutralForegroundInvertedLinkPressed,wo as colorNeutralForegroundInvertedLinkSelected,mo as colorNeutralForegroundInvertedPressed,fo as colorNeutralForegroundInvertedSelected,go as colorNeutralForegroundOnBrand,yo as colorNeutralForegroundStaticInverted,ga as colorNeutralShadowAmbient,fa as colorNeutralShadowAmbientDarker,ba as colorNeutralShadowAmbientLighter,va as colorNeutralShadowKey,ka as colorNeutralShadowKeyDarker,ma as colorNeutralShadowKeyLighter,$r as colorNeutralStencil1,wr as colorNeutralStencil1Alpha,Br as colorNeutralStencil2,Pr as colorNeutralStencil2Alpha,Xr as colorNeutralStroke1,Wr as colorNeutralStroke1Hover,qr as colorNeutralStroke1Pressed,Yr as colorNeutralStroke1Selected,Ur as colorNeutralStroke2,Kr as colorNeutralStroke3,jr as colorNeutralStrokeAccessible,Vr as colorNeutralStrokeAccessibleHover,Gr as colorNeutralStrokeAccessiblePressed,_r as colorNeutralStrokeAccessibleSelected,sa as colorNeutralStrokeDisabled,la as colorNeutralStrokeInvertedDisabled,Qr as colorNeutralStrokeOnBrand,Zr as colorNeutralStrokeOnBrand2,Jr as colorNeutralStrokeOnBrand2Hover,ea as colorNeutralStrokeOnBrand2Pressed,ta as colorNeutralStrokeOnBrand2Selected,Hn as colorPaletteAnchorBackground2,On as colorPaletteAnchorBorderActive,Dn as colorPaletteAnchorForeground2,Mn as colorPaletteBeigeBackground2,En as colorPaletteBeigeBorderActive,Rn as colorPaletteBeigeForeground2,ln as colorPaletteBerryBackground1,cn as colorPaletteBerryBackground2,dn as colorPaletteBerryBackground3,hn as colorPaletteBerryBorder1,pn as colorPaletteBerryBorder2,un as colorPaletteBerryBorderActive,gn as colorPaletteBerryForeground1,vn as colorPaletteBerryForeground2,bn as colorPaletteBerryForeground3,jn as colorPaletteBlueBackground2,Vn as colorPaletteBlueBorderActive,Gn as colorPaletteBlueForeground2,_n as colorPaletteBrassBackground2,Xn as colorPaletteBrassBorderActive,Wn as colorPaletteBrassForeground2,qn as colorPaletteBrownBackground2,Yn as colorPaletteBrownBorderActive,Un as colorPaletteBrownForeground2,Kn as colorPaletteCornflowerBackground2,Qn as colorPaletteCornflowerBorderActive,Zn as colorPaletteCornflowerForeground2,Jn as colorPaletteCranberryBackground2,ei as colorPaletteCranberryBorderActive,ti as colorPaletteCranberryForeground2,oi as colorPaletteDarkGreenBackground2,ri as colorPaletteDarkGreenBorderActive,ai as colorPaletteDarkGreenForeground2,Va as colorPaletteDarkOrangeBackground1,Ga as colorPaletteDarkOrangeBackground2,_a as colorPaletteDarkOrangeBackground3,Wa as colorPaletteDarkOrangeBorder1,qa as colorPaletteDarkOrangeBorder2,Xa as colorPaletteDarkOrangeBorderActive,Ya as colorPaletteDarkOrangeForeground1,Ua as colorPaletteDarkOrangeForeground2,Ka as colorPaletteDarkOrangeForeground3,ni as colorPaletteDarkRedBackground2,ii as colorPaletteDarkRedBorderActive,si as colorPaletteDarkRedForeground2,li as colorPaletteForestBackground2,ci as colorPaletteForestBorderActive,di as colorPaletteForestForeground2,ui as colorPaletteGoldBackground2,hi as colorPaletteGoldBorderActive,pi as colorPaletteGoldForeground2,gi as colorPaletteGrapeBackground2,vi as colorPaletteGrapeBorderActive,bi as colorPaletteGrapeForeground2,Ia as colorPaletteGreenBackground1,za as colorPaletteGreenBackground2,La as colorPaletteGreenBackground3,Oa as colorPaletteGreenBorder1,Da as colorPaletteGreenBorder2,Ha as colorPaletteGreenBorderActive,Ma as colorPaletteGreenForeground1,Ea as colorPaletteGreenForeground2,Ra as colorPaletteGreenForeground3,ja as colorPaletteGreenForegroundInverted,mi as colorPaletteLavenderBackground2,fi as colorPaletteLavenderBorderActive,ki as colorPaletteLavenderForeground2,Sn as colorPaletteLightGreenBackground1,Fn as colorPaletteLightGreenBackground2,Cn as colorPaletteLightGreenBackground3,Tn as colorPaletteLightGreenBorder1,An as colorPaletteLightGreenBorder2,Nn as colorPaletteLightGreenBorderActive,In as colorPaletteLightGreenForeground1,zn as colorPaletteLightGreenForeground2,Ln as colorPaletteLightGreenForeground3,yi as colorPaletteLightTealBackground2,xi as colorPaletteLightTealBorderActive,$i as colorPaletteLightTealForeground2,Bi as colorPaletteLilacBackground2,wi as colorPaletteLilacBorderActive,Pi as colorPaletteLilacForeground2,Si as colorPaletteMagentaBackground2,Fi as colorPaletteMagentaBorderActive,Ci as colorPaletteMagentaForeground2,mn as colorPaletteMarigoldBackground1,fn as colorPaletteMarigoldBackground2,kn as colorPaletteMarigoldBackground3,xn as colorPaletteMarigoldBorder1,$n as colorPaletteMarigoldBorder2,yn as colorPaletteMarigoldBorderActive,Bn as colorPaletteMarigoldForeground1,wn as colorPaletteMarigoldForeground2,Pn as colorPaletteMarigoldForeground3,Ni as colorPaletteMinkBackground2,Ti as colorPaletteMinkBorderActive,Ai as colorPaletteMinkForeground2,Ii as colorPaletteNavyBackground2,zi as colorPaletteNavyBorderActive,Li as colorPaletteNavyForeground2,Hi as colorPalettePeachBackground2,Oi as colorPalettePeachBorderActive,Di as colorPalettePeachForeground2,Mi as colorPalettePinkBackground2,Ei as colorPalettePinkBorderActive,Ri as colorPalettePinkForeground2,ji as colorPalettePlatinumBackground2,Vi as colorPalettePlatinumBorderActive,Gi as colorPalettePlatinumForeground2,_i as colorPalettePlumBackground2,Xi as colorPalettePlumBorderActive,Wi as colorPalettePlumForeground2,qi as colorPalettePumpkinBackground2,Yi as colorPalettePumpkinBorderActive,Ui as colorPalettePumpkinForeground2,Ki as colorPalettePurpleBackground2,Qi as colorPalettePurpleBorderActive,Zi as colorPalettePurpleForeground2,$a as colorPaletteRedBackground1,Ba as colorPaletteRedBackground2,wa as colorPaletteRedBackground3,Sa as colorPaletteRedBorder1,Fa as colorPaletteRedBorder2,Pa as colorPaletteRedBorderActive,Ca as colorPaletteRedForeground1,Na as colorPaletteRedForeground2,Ta as colorPaletteRedForeground3,Aa as colorPaletteRedForegroundInverted,Ji as colorPaletteRoyalBlueBackground2,es as colorPaletteRoyalBlueBorderActive,ts as colorPaletteRoyalBlueForeground2,os as colorPaletteSeafoamBackground2,rs as colorPaletteSeafoamBorderActive,as as colorPaletteSeafoamForeground2,ns as colorPaletteSteelBackground2,is as colorPaletteSteelBorderActive,ss as colorPaletteSteelForeground2,ls as colorPaletteTealBackground2,cs as colorPaletteTealBorderActive,ds as colorPaletteTealForeground2,Qa as colorPaletteYellowBackground1,Za as colorPaletteYellowBackground2,Ja as colorPaletteYellowBackground3,tn as colorPaletteYellowBorder1,on as colorPaletteYellowBorder2,en as colorPaletteYellowBorderActive,rn as colorPaletteYellowForeground1,an as colorPaletteYellowForeground2,nn as colorPaletteYellowForeground3,sn as colorPaletteYellowForegroundInverted,Fr as colorScrollbarOverlay,ha as colorStrokeFocus1,pa as colorStrokeFocus2,nr as colorSubtleBackground,ir as colorSubtleBackgroundHover,hr as colorSubtleBackgroundInverted,pr as colorSubtleBackgroundInvertedHover,gr as colorSubtleBackgroundInvertedPressed,vr as colorSubtleBackgroundInvertedSelected,cr as colorSubtleBackgroundLightAlphaHover,dr as colorSubtleBackgroundLightAlphaPressed,ur as colorSubtleBackgroundLightAlphaSelected,sr as colorSubtleBackgroundPressed,lr as colorSubtleBackgroundSelected,br as colorTransparentBackground,mr as colorTransparentBackgroundHover,fr as colorTransparentBackgroundPressed,kr as colorTransparentBackgroundSelected,ca as colorTransparentStroke,ua as colorTransparentStrokeDisabled,da as colorTransparentStrokeInteractive,Hl as curveAccelerateMax,Ol as curveAccelerateMid,Dl as curveAccelerateMin,Ml as curveDecelerateMax,El as curveDecelerateMid,Rl as curveDecelerateMin,Vl as curveEasyEase,jl as curveEasyEaseMax,Gl as curveLinear,Tl as durationFast,Nl as durationFaster,Al as durationNormal,Il as durationSlow,zl as durationSlower,Cl as durationUltraFast,Ll as durationUltraSlow,ms as fontFamilyBase,fs as fontFamilyMonospace,ks as fontFamilyNumeric,ys as fontSizeBase100,xs as fontSizeBase200,$s as fontSizeBase300,Bs as fontSizeBase400,ws as fontSizeBase500,Ps as fontSizeBase600,Ns as fontSizeHero1000,Ss as fontSizeHero700,Fs as fontSizeHero800,Cs as fontSizeHero900,zs as fontWeightBold,As as fontWeightMedium,Ts as fontWeightRegular,Is as fontWeightSemibold,Ls as lineHeightBase100,Hs as lineHeightBase200,Os as lineHeightBase300,Ds as lineHeightBase400,Ms as lineHeightBase500,Es as lineHeightBase600,Gs as lineHeightHero1000,Rs as lineHeightHero700,js as lineHeightHero800,Vs as lineHeightHero900,wv as setTheme,Pv as setThemeFor,qs as shadow16,Js as shadow16Brand,_s as shadow2,Ys as shadow28,el as shadow28Brand,Ks as shadow2Brand,Xs as shadow4,Qs as shadow4Brand,Us as shadow64,tl as shadow64Brand,Ws as shadow8,Zs as shadow8Brand,pl as spacingHorizontalL,hl as spacingHorizontalM,ul as spacingHorizontalMNudge,il as spacingHorizontalNone,dl as spacingHorizontalS,cl as spacingHorizontalSNudge,gl as spacingHorizontalXL,ll as spacingHorizontalXS,vl as spacingHorizontalXXL,sl as spacingHorizontalXXS,bl as spacingHorizontalXXXL,wl as spacingVerticalL,Bl as spacingVerticalM,$l as spacingVerticalMNudge,ml as spacingVerticalNone,xl as spacingVerticalS,yl as spacingVerticalSNudge,Pl as spacingVerticalXL,kl as spacingVerticalXS,Sl as spacingVerticalXXL,fl as spacingVerticalXXS,Fl as spacingVerticalXXXL,rl as strokeWidthThick,al as strokeWidthThicker,nl as strokeWidthThickest,ol as strokeWidthThin};
230
+
231
+ :host(${W}${xe}) {
232
+ color: ${Ul};
233
+ }
234
+
235
+ :host(${W}${we}) {
236
+ color: ${Ii};
237
+ }
238
+ `,eh=l.partial`
239
+ :host(${ce}) {
240
+ background-color: ${Ml};
241
+ color: ${Tl};
242
+ border-color: ${xi};
243
+ }
244
+
245
+ :host(${ce}${ns}) {
246
+ background-color: ${bn};
247
+ color: ${$n};
248
+ border-color: ${mn};
249
+ }
250
+
251
+ :host(${ce}${as}) {
252
+ background-color: ${ut};
253
+ color: ${O};
254
+ border-color: ${pt};
255
+ }
256
+
257
+ :host(${ce}${ls}) {
258
+ background-color: ${Pl};
259
+ color: ${ut};
260
+ border-color: ${yo};
261
+ }
262
+
263
+ :host(${ce}${ds}) {
264
+ background-color: ${xn};
265
+ color: ${Wl};
266
+ border-color: ${Cn};
267
+ }
268
+
269
+ :host(${ce}${z}) {
270
+ background-color: ${O};
271
+ color: ${ut};
272
+ border-color: ${yo};
273
+ }
274
+
275
+ :host(${ce}${xe}) {
276
+ background-color: ${yn};
277
+ color: ${ql};
278
+ border-color: ${jl};
279
+ }
280
+
281
+ :host(${ce}${we}) {
282
+ background-color: ${Xl};
283
+ color: ${Ii};
284
+ border-color: ${Yl};
285
+ }
286
+ `;l.partial`
287
+ font-family: ${$};
288
+ font-size: ${E};
289
+ line-height: ${D};
290
+ font-weight: ${M};
291
+ `,l.partial`
292
+ font-family: ${$};
293
+ font-size: ${E};
294
+ line-height: ${D};
295
+ font-weight: ${L};
296
+ `,l.partial`
297
+ font-family: ${$};
298
+ font-size: ${E};
299
+ line-height: ${D};
300
+ font-weight: ${ys};
301
+ `,l.partial`
302
+ font-family: ${$};
303
+ font-size: ${ct};
304
+ line-height: ${kt};
305
+ font-weight: ${M};
306
+ `,l.partial`
307
+ font-family: ${$};
308
+ font-size: ${q};
309
+ line-height: ${it};
310
+ font-weight: ${M};
311
+ `,l.partial`
312
+ font-family: ${$};
313
+ font-size: ${q};
314
+ line-height: ${it};
315
+ font-weight: ${L};
316
+ `,l.partial`
317
+ font-family: ${$};
318
+ font-size: ${q};
319
+ line-height: ${it};
320
+ font-weight: ${ys};
321
+ `,l.partial`
322
+ font-family: ${$};
323
+ font-size: ${xo};
324
+ line-height: ${ks};
325
+ font-weight: ${M};
326
+ `,l.partial`
327
+ font-family: ${$};
328
+ font-size: ${xo};
329
+ line-height: ${ks};
330
+ font-weight: ${L};
331
+ `;const oh=l.partial`
332
+ font-family: ${$};
333
+ font-size: ${We};
334
+ line-height: ${xs};
335
+ font-weight: ${L};
336
+ `;l.partial`
337
+ font-family: ${$};
338
+ font-size: ${ct};
339
+ line-height: ${kt};
340
+ font-weight: ${L};
341
+ `,l.partial`
342
+ font-family: ${$};
343
+ font-size: ${ct};
344
+ line-height: ${kt};
345
+ font-weight: ${ys};
346
+ `,l.partial`
347
+ font-family: ${$};
348
+ font-size: ${Pn};
349
+ line-height: ${On};
350
+ font-weight: ${L};
351
+ `,l.partial`
352
+ font-family: ${$};
353
+ font-size: ${Bn};
354
+ line-height: ${Fn};
355
+ font-weight: ${L};
356
+ `,l.partial`
357
+ font-family: ${$};
358
+ font-size: ${vs};
359
+ line-height: ${Nn};
360
+ font-weight: ${L};
361
+ `,l.partial`
362
+ font-family: ${$};
363
+ font-size: ${An};
364
+ line-height: ${Mn};
365
+ font-weight: ${L};
366
+ `,l.partial`
367
+ font-family: ${$};
368
+ font-size: ${En};
369
+ line-height: ${_n};
370
+ font-weight: ${L};
371
+ `;const sh=l`
372
+ :host(${po}){border-radius:${Si}}:host(${Qt}){border-radius:${P}}:host(${Qt}${go}),:host(${Qt}${bo}),:host(${Qt}${T}){border-radius:${Lt}}${Xn}
373
+ ${Kn}
374
+ ${Yn}
375
+ ${th}
376
+ ${eh}
377
+ ${Wn}
378
+ `.withBehaviors(Q(l`
379
+ :host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}`));function Qn(o={}){return f` ${Wt(o)}<slot>${yt(o.defaultContent)}</slot>${le(o)} `}const ih=Qn(),rh=Ze.compose({name:`${g.prefix}-badge`,template:ih,styles:sh});rh.define(g.registry);var nh=Object.defineProperty,ah=Object.getOwnPropertyDescriptor,X=(o,t,e,s)=>{for(var i=s>1?void 0:s?ah(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&nh(t,e,i),i};class at extends w{constructor(){super(),this.disabledFocusable=!1,this.tabIndex=0,this.elementInternals=this.attachInternals(),this.elementInternals.role="button"}disabledFocusableChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=`${!!e}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(t,e){e!==zs.submit&&(this.formSubmissionFallbackControl?.remove(),this.shadowRoot?.querySelector('slot[name="internal"]')?.remove())}clickHandler(t){if(t&&this.disabledFocusable){t.stopImmediatePropagation();return}return this.press(),!0}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=`${!!this.disabledFocusable}`}createAndInsertFormSubmissionFallbackControl(){const t=this.formSubmissionFallbackControlSlot??document.createElement("slot");t.setAttribute("name","internal"),this.shadowRoot?.appendChild(t),this.formSubmissionFallbackControlSlot=t;const e=this.formSubmissionFallbackControl??document.createElement("button");e.style.display="none",e.setAttribute("type","submit"),e.setAttribute("slot","internal"),this.formNoValidate&&e.toggleAttribute("formnovalidate",!0),this.elementInternals.form?.id&&e.setAttribute("form",this.elementInternals.form.id),this.name&&e.setAttribute("name",this.name),this.value&&e.setAttribute("value",this.value),this.formAction&&e.setAttribute("formaction",this.formAction??""),this.formEnctype&&e.setAttribute("formenctype",this.formEnctype??""),this.formMethod&&e.setAttribute("formmethod",this.formMethod??""),this.formTarget&&e.setAttribute("formtarget",this.formTarget??""),this.append(e),this.formSubmissionFallbackControl=e}formDisabledCallback(t){this.disabled=t}keypressHandler(t){if(t&&this.disabledFocusable){t.stopImmediatePropagation();return}if(t.key===ss||t.key===ni){this.click();return}return!0}press(){switch(this.type){case zs.reset:{this.resetForm();break}case zs.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==zs.submit)){if(!this.name&&!this.formAction&&!this.formEnctype&&!this.form&&!this.formMethod&&!this.formNoValidate&&!this.formTarget){this.elementInternals.form.requestSubmit();return}try{this.elementInternals.setFormValue(this.value??""),this.elementInternals.form.requestSubmit(this)}catch{this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}}}}at.formAssociated=!0,X([a({mode:"boolean"})],at.prototype,"autofocus",2),X([v],at.prototype,"defaultSlottedContent",2),X([a({mode:"boolean"})],at.prototype,"disabled",2),X([a({attribute:"disabled-focusable",mode:"boolean"})],at.prototype,"disabledFocusable",2),X([a({attribute:"tabindex",mode:"fromView",converter:st})],at.prototype,"tabIndex",2),X([a({attribute:"formaction"})],at.prototype,"formAction",2),X([a({attribute:"form"})],at.prototype,"formAttribute",2),X([a({attribute:"formenctype"})],at.prototype,"formEnctype",2),X([a({attribute:"formmethod"})],at.prototype,"formMethod",2),X([a({attribute:"formnovalidate",mode:"boolean"})],at.prototype,"formNoValidate",2),X([a({attribute:"formtarget"})],at.prototype,"formTarget",2),X([a],at.prototype,"name",2),X([a],at.prototype,"type",2),X([a],at.prototype,"value",2);class se extends at{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}iconOnlyChanged(t,e){c(this.elementInternals,"icon",e)}}X([a],se.prototype,"appearance",2),X([a],se.prototype,"shape",2),X([a],se.prototype,"size",2),X([a({attribute:"icon-only",mode:"boolean"})],se.prototype,"iconOnly",2),Xt(se,Gt);function _i(o={}){return f`<template tabindex="${t=>t.disabled?null:t.tabIndex??0}" @click="${(t,e)=>t.clickHandler(e.event)}" @keypress="${(t,e)=>t.keypressHandler(e.event)}">${Wt(o)}<span class="content" part="content"><slot ${ot("defaultSlottedContent")}></slot></span>${le(o)}</template>`}const lh=_i(),ch=se.compose({name:`${g.prefix}-button`,template:lh,styles:Ts});ch.define(g.registry);var dh=Object.defineProperty,hh=Object.getOwnPropertyDescriptor,Pt=(o,t,e,s)=>{for(var i=s>1?void 0:s?hh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&dh(t,e,i),i};class It extends w{constructor(){super(...arguments),this.initialValue="on",this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue}get checked(){return m.track(this,"checked"),!!this._checked}set checked(t){this._checked=t,this.setFormValue(t?this.value:null),this.setValidity(),this.setAriaChecked(),c(this.elementInternals,"checked",t),m.notify(this,"checked")}disabledChanged(t,e){this.elementInternals.ariaDisabled=this.disabled?"true":"false",c(this.elementInternals,"disabled",this.disabled)}disabledAttributeChanged(t,e){this.disabled=!!e}initialCheckedChanged(t,e){this.dirtyChecked||(this.checked=!!e)}initialValueChanged(t,e){this._value=e}requiredChanged(t,e){this.$fastController.isConnected&&(this.setValidity(),this.elementInternals.ariaRequired=this.required?"true":"false")}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const t=document.createElement("input");t.type="checkbox",t.required=!0,t.checked=!1,this._validationFallbackMessage=t.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.setFormValue(t),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){if(this.disabled)return;this.dirtyChecked=!0;const e=this.checked;return this.toggleChecked(),e!==this.checked&&(this.$emit("change"),this.$emit("input")),!0}connectedCallback(){super.connectedCallback(),this.setAriaChecked(),this.setValidity()}inputHandler(t){return this.setFormValue(this.value),this.setValidity(),!0}keydownHandler(t){if(t.key!==" ")return!0}keyupHandler(t){if(t.key!==" ")return!0;this.click()}formResetCallback(){this.checked=this.initialChecked??!1,this.dirtyChecked=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setAriaChecked(t=this.checked){this.elementInternals.ariaChecked=t?"true":"false"}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setCustomValidity(t){this.elementInternals.setValidity({customError:!0},t),this.setValidity()}setValidity(t,e,s){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:!!this.required&&!this.checked,...t},e??this.validationMessage,s)}}toggleChecked(t=!this.checked){this.checked=t}}It.formAssociated=!0,Pt([a({mode:"boolean"})],It.prototype,"autofocus",2),Pt([v],It.prototype,"disabled",2),Pt([a({attribute:"disabled",mode:"boolean"})],It.prototype,"disabledAttribute",2),Pt([a({attribute:"form"})],It.prototype,"formAttribute",2),Pt([a({attribute:"checked",mode:"boolean"})],It.prototype,"initialChecked",2),Pt([a({attribute:"value",mode:"fromView"})],It.prototype,"initialValue",2),Pt([a],It.prototype,"name",2),Pt([a({mode:"boolean"})],It.prototype,"required",2);class As extends It{indeterminateChanged(t,e){this.setAriaChecked(),c(this.elementInternals,"indeterminate",e)}shapeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}sizeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}constructor(){super(),this.elementInternals.role="checkbox"}setAriaChecked(t=this.checked){if(this.indeterminate){this.elementInternals.ariaChecked="mixed";return}super.setAriaChecked(t)}toggleChecked(t=!this.checked){this.indeterminate=!1,super.toggleChecked(t)}}Pt([v],As.prototype,"indeterminate",2),Pt([a],As.prototype,"shape",2),Pt([a],As.prototype,"size",2);const Se=l.partial`:is([state--indeterminate], :state(indeterminate))`,uh=l`
380
+ ${S("inline-flex")}
381
+
382
+ :host{--size:16px;background-color:${O};border-radius:${Lt};border:${H} solid ${he};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${Ue}}:host(:active){border-color:${Ge}}:host(${y}:hover){background-color:${mo};border-color:${Dl}}:host(${y}:active){background-color:${$o};border-color:${pn}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${Bt} solid ${pt};border-radius:${P}}:host(:not([slot='input']):focus-visible)::after{border-color:${Dt}}.indeterminate-indicator,.checked-indicator{color:${He};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${y})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${y}),:host(${Se}){border-color:${ko}}:host(${y}),:host(${Se}) .indeterminate-indicator{background-color:${qe}}:host(${Se}) .indeterminate-indicator{border-radius:${Lt};position:absolute;width:calc(var(--size) / 2);inset:0}:host(${C}){--size:20px}:host(${C}) ::slotted([slot='checked-indicator']),:host(${C}) .checked-indicator{width:16px}:host(${uo}),:host(${uo}) .indeterminate-indicator{border-radius:${gt}}:host([disabled]),:host([disabled]${y}){background-color:${je};border-color:${Tt}}:host([disabled]){cursor:unset}:host([disabled]${Se}) .indeterminate-indicator{background-color:${Tt}}:host([disabled]${y}) .checked-indicator{color:${Tt}}`.withBehaviors(Q(l`
383
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${y}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${y}),:host(${Se}) .indeterminate-indicator{background-color:FieldText}:host(${y}:not([disabled]):hover),:host(${Se}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${Se}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${y}) .checked-indicator{color:GrayText}`)),ph=f.partial(`
384
+ <svg
385
+ fill="currentColor"
386
+ aria-hidden="true"
387
+ class="checked-indicator"
388
+ width="1em"
389
+ height="1em"
390
+ viewBox="0 0 12 12"
391
+ xmlns="http://www.w3.org/2000/svg">
392
+ <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor"></path>
393
+ </svg>
394
+ `),gh=f.partial(`
395
+ <span class="indeterminate-indicator"></span>
396
+ `);function bh(o={}){return f`<template tabindex="${t=>t.disabled?void 0:0}" @click="${(t,e)=>t.clickHandler(e.event)}" @input="${(t,e)=>t.inputHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @keyup="${(t,e)=>t.keyupHandler(e.event)}"><slot name="checked-indicator">${yt(o.checkedIndicator)}</slot><slot name="indeterminate-indicator">${yt(o.indeterminateIndicator)}</slot></template>`}const fh=bh({checkedIndicator:ph,indeterminateIndicator:gh}),mh=As.compose({name:`${g.prefix}-checkbox`,template:fh,styles:uh});mh.define(g.registry);class $h extends se{}const vh=l`
397
+ ${Ts}
398
+
399
+ :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${E};line-height:${D}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Vt};line-height:100%;font-size:${q};font-weight:${M}}::slotted(svg),:host(${C}) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${hs}}:host(:active) ::slotted([slot='description']){color:${us}}:host(:is(${lt},${lt}:hover,${lt}:active)) ::slotted([slot='description']){color:${te}}:host(:is(${z},${z}:hover,${z}:active)) ::slotted([slot='description']),:host(${Z}) ::slotted([slot='description']){color:${Vt}}:host(${Z}:hover) ::slotted([slot='description']){color:${ps}}:host(${Z}:active) ::slotted([slot='description']){color:${gs}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance]))
400
+ ::slotted([slot='description']){color:${B}}:host(${T}){padding:8px;padding-bottom:10px}:host(${de}){min-width:52px;max-width:52px;padding:${xt}}:host(${de}${T}){min-width:48px;max-width:48px;padding:${Ht}}:host(${de}${C}){min-width:56px;max-width:56px;padding:${oe}}:host(${C}){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${ct};line-height:${kt}}:host(${C}) ::slotted([slot='description']){font-size:${E}}`;function yh(o={}){return f`<template ?disabled="${t=>t.disabled}" tabindex="${t=>t.disabled?null:t.tabIndex??0}">${Wt(o)}<span class="content" part="content"><slot ${ot("defaultSlottedContent")}></slot><slot name="description"></slot></span>${le(o)}</template>`}const kh=yh(),xh=$h.compose({name:`${g.prefix}-compound-button`,template:kh,styles:vh});xh.define(g.registry);var wh=Object.defineProperty,Ch=Object.getOwnPropertyDescriptor,be=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ch(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&wh(t,e,i),i};class jt extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}colorChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}dotChanged(t,e){c(this.elementInternals,"dot",!!e)}setCount(){const t=this.count??0;if((t!==0||this.showZero)&&!this.dot)return t>this.overflowCount?`${this.overflowCount}+`:`${t}`}}be([a],jt.prototype,"appearance",2),be([a],jt.prototype,"color",2),be([a],jt.prototype,"shape",2),be([a],jt.prototype,"size",2),be([a({converter:st})],jt.prototype,"count",2),be([a({attribute:"overflow-count",converter:st})],jt.prototype,"overflowCount",2),be([a({attribute:"show-zero",mode:"boolean"})],jt.prototype,"showZero",2),be([a({mode:"boolean"})],jt.prototype,"dot",2),Xt(jt,Gt);const Zn=l.partial`:is([state--dot], :state(dot))`,Ih=l`
401
+ :host(${Qt}){border-radius:${P}}:host(${Qt}${go}),:host(${Qt}${bo}),:host(${Qt}${T}){border-radius:${Lt}}${Xn}
402
+ ${Kn}
403
+ ${Yn}
404
+ ${Wn}
405
+
406
+ :host(${Zn}),:host(${Zn}[appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`;function Sh(o={}){return Qn({defaultContent:f`${t=>t.setCount()}`})}const zh=Sh(),Th=jt.compose({name:`${g.prefix}-counter-badge`,template:zh,styles:Ih});Th.define(g.registry);const qt={modal:"modal",nonModal:"non-modal",alert:"alert"};var Bh=Object.defineProperty,Ph=Object.getOwnPropertyDescriptor,Es=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ph(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Bh(t,e,i),i};class Io extends w{constructor(){super(...arguments),this.type=qt.modal,this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})},this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})}}show(){Ot.enqueue(()=>{this.emitBeforeToggle(),this.type===qt.alert||this.type===qt.modal?this.dialog.showModal():this.type===qt.nonModal&&this.dialog.show(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(t){return t.preventDefault(),this.dialog.open&&this.type!==qt.alert&&t.target===this.dialog&&this.hide(),!0}}Es([v],Io.prototype,"dialog",2),Es([a({attribute:"aria-describedby"})],Io.prototype,"ariaDescribedby",2),Es([a({attribute:"aria-labelledby"})],Io.prototype,"ariaLabelledby",2),Es([a],Io.prototype,"type",2);const Ah=f`<dialog role="${o=>o.type===qt.alert?"alertdialog":"dialog"}" type="${o=>o.type}" class="dialog" part="dialog" aria-modal="${o=>o.type===qt.modal||o.type===qt.alert?"true":void 0}" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" @click="${(o,t)=>o.clickHandler(t.event)}" @cancel="${(o,t)=>o.type===qt.alert?t.event.preventDefault():o.hide()}" ${$t("dialog")}><slot></slot></dialog>`,Eh=l`
407
+ @layer base{:host{--dialog-backdrop:${yi};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${O};border-radius:${Tn};border:none;box-shadow:${Dn};color:${A};max-height:calc(-48px + 100vh);padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;position:fixed;z-index:2;overflow:auto}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Ei};transition-timing-function:${Ye};opacity:0}::backdrop{transition-timing-function:${Fi}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${Ke}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}`.withBehaviors(Q(l`
408
+ @layer base{dialog{border:${H} solid ${pt}}}`)),Nh=Io.compose({name:`${g.prefix}-dialog`,template:Ah,styles:Eh});Nh.define(g.registry);var Fh=Object.defineProperty,Oh=Object.getOwnPropertyDescriptor,Mh=(o,t,e,s)=>{for(var i=s>1?void 0:s?Oh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Fh(t,e,i),i};class Jn extends w{constructor(){super(...arguments),this.noTitleAction=!1}}Mh([a({mode:"boolean",attribute:"no-title-action"})],Jn.prototype,"noTitleAction",2);const _h=f.partial(`
409
+ <svg
410
+ fill="currentColor"
411
+ aria-hidden="true"
412
+ width="20"
413
+ height="20"
414
+ viewBox="0 0 20 20"
415
+ xmlns="http://www.w3.org/2000/svg"
416
+ >
417
+ <path
418
+ d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"
419
+ fill="currentColor"
420
+ ></path>
421
+ </svg>`),Vh=f`<div class="title" part="title"><slot name="title"></slot><slot name="title-action"><fluent-button ?hidden=${o=>o.noTitleAction||o.parentNode?.type===qt.alert} tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${o=>o.parentNode?.hide()} ${$t("defaultTitleAction")}>${_h}</fluent-button></slot></div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div>`,Dh=l`
422
+ ${S("grid")}
423
+
424
+ :host{background:${O};box-sizing:border-box;gap:${nt};padding:${Co} ${ld};container:dialog-body / inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${O};color:${A};column-gap:8px;display:flex;font-family:${$};font-size:${We};font-weight:${L};inset-block-start:0;justify-content:space-between;line-height:${xs};margin-block-end:calc(${nt} * -1);margin-block-start:calc(${Co} * -1);padding-block-end:${nt};padding-block-start:${Co};position:sticky;z-index:1}.content{box-sizing:border-box;color:${A};font-family:${$};font-size:${E};font-weight:${M};line-height:${D};min-height:32px}.actions{box-sizing:border-box;background:${O};display:flex;flex-direction:column;gap:${nt};inset-block-end:0;margin-block-end:calc(${Co} * -1);padding-block-end:${Co};padding-block-start:${Cs};position:sticky;z-index:2}:not(:has(:is([slot='title'],[slot='title-action']))) .title:not(:has(.title-action)),:not(:has([slot='action'])) .actions{display:none}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${nt} * -1);padding-block-start:${nt}}}`,Lh=Jn.compose({name:`${g.prefix}-dialog-body`,template:Vh,styles:Dh});Lh.define(g.registry);const So={separator:"separator",presentation:"presentation"},Hh=vt;var Rh=Object.defineProperty,jh=Object.getOwnPropertyDescriptor,zo=(o,t,e,s)=>{for(var i=s>1?void 0:s?jh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Rh(t,e,i),i};class Vi extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??So.separator,this.role!==So.presentation&&(this.elementInternals.ariaOrientation=this.orientation??Hh.horizontal)}roleChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.role=`${e??So.separator}`),e===So.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(t,e){this.elementInternals.ariaOrientation=this.role!==So.presentation?e:null,t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}zo([a],Vi.prototype,"role",2),zo([a],Vi.prototype,"orientation",2);class Ns extends Vi{alignContentChanged(t,e){t&&c(this.elementInternals,`align-${t}`,!1),e&&c(this.elementInternals,`align-${e}`,!0)}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}insetChanged(t,e){c(this.elementInternals,"inset",e)}}zo([a({attribute:"align-content"})],Ns.prototype,"alignContent",2),zo([a],Ns.prototype,"appearance",2),zo([a({mode:"boolean"})],Ns.prototype,"inset",2);function qh(){return f`<slot></slot>`}const Uh=qh(),Gh=l`
425
+ ${S("flex")}
426
+
427
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${yo};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${H}}:host(${hi}){padding:0 12px}:host ::slotted(*){color:${Vt};font-family:${$};font-size:${q};font-weight:${M};margin:0;padding:0 12px}:host(${tn})::before,:host(${Zt})::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host(${I}){height:100%;min-height:84px}:host(${I}):empty{min-height:20px}:host(${I}){flex-direction:column;align-items:center}:host(${I}${hi})::before{margin-top:12px}:host(${I}${hi})::after{margin-bottom:12px}:host(${I}):empty::before,:host(${I}):empty::after{height:10px;min-height:10px;flex-grow:0}:host(${I})::before,:host(${I})::after{width:${H};min-height:20px;height:100%}:host(${I}) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host(${I}${tn})::before{min-height:8px}:host(${I}${Zt})::after{min-height:8px}:host(${co})::before,:host(${co})::after{background:${ee}}:host(${co}) ::slotted(*){color:${A}}:host(${Jt})::before,:host(${Jt})::after{background:${un}}:host(${Jt}) ::slotted(*){color:${bi}}:host(${z})::before,:host(${z})::after{background:${_l}}:host(${z}) ::slotted(*){color:${ut}}`.withBehaviors(Q(l`
428
+ :host(${co})::before,:host(${co})::after,:host(${Jt})::before,:host(${Jt})::after,:host(${z})::before,:host(${z})::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),Wh=Ns.compose({name:`${g.prefix}-divider`,template:Uh,styles:Gh});Wh.define(g.registry);const Xh={start:"start",end:"end"},Kh={small:"small",medium:"medium",large:"large",full:"full"},Di={nonModal:"non-modal",modal:"modal",inline:"inline"};var Yh=Object.defineProperty,Qh=Object.getOwnPropertyDescriptor,Je=(o,t,e,s)=>{for(var i=s>1?void 0:s?Qh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Yh(t,e,i),i};class ze extends w{constructor(){super(...arguments),this.type=Di.modal,this.position=Xh.start,this.size=Kh.medium,this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})},this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}}show(){Ot.enqueue(()=>{this.emitBeforeToggle(),this.type===Di.inline||this.type===Di.nonModal?this.dialog.show():this.dialog.showModal(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(t){return t.preventDefault(),this.dialog.open&&t.target===this.dialog&&this.hide(),!0}}Je([a],ze.prototype,"type",2),Je([a({attribute:"aria-labelledby"})],ze.prototype,"ariaLabelledby",2),Je([a({attribute:"aria-describedby"})],ze.prototype,"ariaDescribedby",2),Je([a],ze.prototype,"position",2),Je([a({attribute:"size"})],ze.prototype,"size",2),Je([v],ze.prototype,"dialog",2);const Zh=l`
429
+ ${S("block")}
430
+
431
+ :host{--dialog-backdrop:${yi}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{box-sizing:border-box;z-index:var(--drawer-elevation,1000);font-size:${E};line-height:${D};font-family:${$};font-weight:${M};color:${A};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${pt};border-inline-start-color:var(--drawer-separator,${pt});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${Dn};border:${H} solid ${pt};background:${O}}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${Ei};transition-timing-function:${Ye}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${Ke}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${Ke}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Ei};transition-timing-function:${Ye};background:var(--dialog-backdrop,${yi});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${Fi}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function Jh(){return f`<dialog class="dialog" part="dialog" role="${o=>o.type==="modal"?"dialog":o.role}" aria-modal="${o=>o.type==="modal"?"true":void 0}" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" size="${o=>o.size}" position="${o=>o.position}" type="${o=>o.type}" @click="${(o,t)=>o.clickHandler(t.event)}" @cancel="${(o,t)=>o.hide()}" ${$t("dialog")}><slot></slot></dialog>`}const tu=Jh(),eu=ze.compose({name:`${g.prefix}-drawer`,template:tu,styles:Zh});eu.define(g.registry);class ou extends w{}const su=l`
432
+ ${S("grid")}
433
+ :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${ad};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${oh}}.footer{display:flex;justify-content:flex-start;gap:${ft}}`;function iu(){return f`<div class="header" part="header"><slot name="title"></slot><slot name="close"></slot></div><div class="content" part="content"><slot></slot></div><div class="footer" part="footer"><slot name="footer"></slot></div>`}const ru=iu(),nu=ou.compose({name:`${g.prefix}-drawer-body`,template:ru,styles:su});nu.define(g.registry);const au={above:"above",after:"after",before:"before"},x={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"};var lu=Object.defineProperty,cu=Object.getOwnPropertyDescriptor,To=(o,t,e,s)=>{for(var i=s>1?void 0:s?cu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&lu(t,e,i),i};class Bo extends w{constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}labelSlotChanged(t,e){e&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(t,e){if(c(this.elementInternals,"has-message",!!e.length),!e.length){this.removeEventListener("invalid",this.invalidHandler,{capture:!0});return}this.addEventListener("invalid",this.invalidHandler,{capture:!0})}slottedInputsChanged(t,e){e?.length&&(this.input=e?.[0],this.setStates())}inputChanged(t,e){e&&(this.setStates(),this.setLabelProperties())}changeHandler(t){return this.setStates(),this.setValidationStates(),!0}clickHandler(t){return this===t.target&&this.input.click(),!0}focusinHandler(t){return this.matches(":focus-within:has(> :focus-visible)")&&c(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(t){return c(this.elementInternals,"focus-visible",!1),!0}invalidHandler(t){this.messageSlot.length&&t.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||ao("input"),this.labelSlot?.forEach(t=>{t instanceof HTMLLabelElement&&(t.htmlFor=t.htmlFor||this.input.id,t.id=t.id||`${this.input.id}--label`,t.setAttribute("aria-hidden","true"),this.input.setAttribute("aria-labelledby",t.id))}))}setStates(){this.$fastController.isConnected&&(c(this.elementInternals,"disabled",!!this.input.disabled),c(this.elementInternals,"readonly",!!this.input.readOnly),c(this.elementInternals,"required",!!this.input.required),c(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input.validity)for(const[t,e]of Object.entries(x))c(this.elementInternals,e,this.input.validity[t])}}To([v],Bo.prototype,"labelSlot",2),To([v],Bo.prototype,"messageSlot",2),To([v],Bo.prototype,"slottedInputs",2),To([v],Bo.prototype,"input",2);class ta extends Bo{constructor(){super(...arguments),this.labelPosition=au.above}}To([a({attribute:"label-position"})],ta.prototype,"labelPosition",2);const du=l.partial`:is([state--focus-visible], :state(focus-visible))`,hu=l.partial`:is([state--${x.badInput}], :state(${x.badInput}))`,uu=l.partial`:is([state--${x.customError}], :state(${x.customError}))`,pu=l.partial`:is([state--${x.patternMismatch}], :state(${x.patternMismatch}))`,gu=l.partial`:is([state--${x.rangeOverflow}], :state(${x.rangeOverflow}))`,bu=l.partial`:is([state--${x.rangeUnderflow}], :state(${x.rangeUnderflow}))`,fu=l.partial`:is([state--${x.stepMismatch}], :state(${x.stepMismatch}))`,mu=l.partial`:is([state--${x.tooLong}], :state(${x.tooLong}))`,$u=l.partial`:is([state--${x.tooShort}], :state(${x.tooShort}))`,vu=l.partial`:is([state--${x.typeMismatch}], :state(${x.typeMismatch}))`,yu=l.partial`:is([state-${x.valid}], :state(${x.valid}))`,ku=l.partial`:is([state--${x.valueMissing}], :state(${x.valueMissing}))`,xu=l.partial`:is([state--has-message], :state(has-message))`,wu=l`
434
+ ${S("inline-grid")}
435
+
436
+ :host{color:${A};align-items:center;gap:0 ${ft};justify-items:start;position:relative}:has([slot='message']){color:${A};row-gap:${nt}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${ft}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${wo}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${cd}}:host([label-position='below']:not(${xu})){grid-template-areas:'input' 'label'}::slotted([slot='label'])::after{content:'';display:block;position:absolute;inset:0}::slotted([slot='input']){grid-area:input;position:relative;z-index:1}::slotted([slot='message']){margin-block-start:${wo};grid-area:message}:host(${du}:focus-within){border-radius:${P};outline:${Bt} solid ${Dt}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${$};font-size:${E};font-weight:${M};grid-area:label;line-height:${D};user-select:none}:host([size='small']) ::slotted(label){font-size:${q};line-height:${it}}:host([size='large']) ::slotted(label){font-size:${ct};line-height:${kt}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${L}}:host(${F}){cursor:default}::slotted([flag]){display:none}:host(${hu}) ::slotted([flag='${x.badInput}']),:host(${uu}) ::slotted([flag='${x.customError}']),:host(${pu}) ::slotted([flag='${x.patternMismatch}']),:host(${gu}) ::slotted([flag='${x.rangeOverflow}']),:host(${bu}) ::slotted([flag='${x.rangeUnderflow}']),:host(${fu}) ::slotted([flag='${x.stepMismatch}']),:host(${mu}) ::slotted([flag='${x.tooLong}']),:host(${$u}) ::slotted([flag='${x.tooShort}']),:host(${vu}) ::slotted([flag='${x.typeMismatch}']),:host(${ku}) ::slotted([flag='${x.valueMissing}']),:host(${yu}) ::slotted([flag='${x.valid}']){display:block}`,Cu=f`<template @click="${(o,t)=>o.clickHandler(t.event)}" @change="${(o,t)=>o.changeHandler(t.event)}" @focusin="${(o,t)=>o.focusinHandler(t.event)}" @focusout="${(o,t)=>o.focusoutHandler(t.event)}" ${Ha({property:"slottedInputs",attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0,selector:'[slot="input"]',filter:_e()})}><slot name="label" part="label" ${ot("labelSlot")}></slot><slot name="input" part="input"></slot><slot name="message" part="message" ${ot({property:"messageSlot",filter:_e("[flag]")})}></slot></template>`,Iu=ta.compose({name:`${g.prefix}-field`,template:Cu,styles:wu,shadowOptions:{delegatesFocus:!0}});Iu.define(g.registry);var Su=Object.defineProperty,zu=Object.getOwnPropertyDescriptor,Po=(o,t,e,s)=>{for(var i=s>1?void 0:s?zu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Su(t,e,i),i};class to extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}blockChanged(t,e){c(this.elementInternals,"block",e)}borderedChanged(t,e){c(this.elementInternals,"bordered",e)}shadowChanged(t,e){c(this.elementInternals,"shadow",e)}fitChanged(t,e){t&&c(this.elementInternals,`fit-${t}`,!1),e&&c(this.elementInternals,`fit-${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}Po([a({mode:"boolean"})],to.prototype,"block",2),Po([a({mode:"boolean"})],to.prototype,"bordered",2),Po([a({mode:"boolean"})],to.prototype,"shadow",2),Po([a],to.prototype,"fit",2),Po([a],to.prototype,"shape",2);const Tu=f`<slot></slot>`,Bu=l`
437
+ :host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host(:is([state--block],:state(block))) ::slotted(img){width:100%;height:auto}:host(:is([state--bordered],:state(bordered))) ::slotted(img){border:${H} solid ${yo}}:host(:is([state--fit-none],:state(fit-none))) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host(:is([state--fit-center],:state(fit-center))) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host(:is([state--fit-contain],:state(fit-contain))) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host(:is([state--fit-cover],:state(fit-cover))) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host(:is([state--shadowed],:state(shadowed))) ::slotted(img){box-shadow:${ws}}:host(${uo}) ::slotted(img){border-radius:${gt}}:host(${Qt}) ::slotted(img){border-radius:${P}}`,Pu=to.compose({name:`${g.prefix}-image`,template:Tu,styles:Bu});Pu.define(g.registry);var Au=Object.defineProperty,Eu=Object.getOwnPropertyDescriptor,Fs=(o,t,e,s)=>{for(var i=s>1?void 0:s?Eu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Au(t,e,i),i};class Ao extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.disabled=!1,this.required=!1}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}weightChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}disabledChanged(t,e){c(this.elementInternals,"disabled",e)}}Fs([a],Ao.prototype,"size",2),Fs([a],Ao.prototype,"weight",2),Fs([a({mode:"boolean"})],Ao.prototype,"disabled",2),Fs([a({mode:"boolean"})],Ao.prototype,"required",2);const Nu=l`
438
+ ${S("inline-flex")}
439
+
440
+ :host{color:${A};cursor:pointer;font-family:${$};font-size:${E};font-weight:${M};line-height:${D};user-select:none}.asterisk{color:${$n};margin-inline-start:${Ht}}:host(${T}){font-size:${q};line-height:${it}}:host(${C}){font-size:${ct};line-height:${kt}}:host(${C}),:host(:is([state--semibold],:state(semibold))){font-weight:${L}}:host(:is([state--disabled],:state(disabled))),:host(:is([state--disabled],:state(disabled))) .asterisk{color:${B}}`;function Fu(){return f`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${o=>!o.required}">*</span>`}const Ou=Fu(),Mu=Ao.compose({name:`${g.prefix}-label`,template:Ou,styles:Nu});Mu.define(g.registry);var _u=Object.defineProperty,Vu=Object.getOwnPropertyDescriptor,ea=(o,t,e,s)=>{for(var i=s>1?void 0:s?Vu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&_u(t,e,i),i};class Li extends Rt{constructor(){super(...arguments),this.inline=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}inlineChanged(t,e){c(this.elementInternals,"inline",e)}}ea([a],Li.prototype,"appearance",2),ea([a({mode:"boolean"})],Li.prototype,"inline",2);const Du=l`
441
+ ${S("inline")}
442
+
443
+ :host{position:relative;box-sizing:border-box;background-color:transparent;color:${vl};cursor:pointer;font-family:${$};font-size:${E};font-weight:${M};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thinkness:${H};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${yl}}:host(:active){color:${kl}}:host(${z}:hover){color:${wl}}:host(${z}:active){color:${Cl}}}:host(${z}){color:${xl}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host(:is([state--inline],:state(inline))){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}`.withBehaviors(Q(l`
444
+ :host{color:LinkText}`));function Lu(){return f`<template tabindex="0" @click="${(o,t)=>o.clickHandler(t.event)}" @keydown="${(o,t)=>o.keydownHandler(t.event)}"><slot></slot></template>`}const Hu=Lu(),Ru=Li.compose({name:`${g.prefix}-link`,template:Hu,styles:Du});Ru.define(g.registry);class ju extends se{}const qu=_i({end:f.partial(`
445
+ <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
446
+ <path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path>
447
+ </svg>
448
+ `)}),Uu=ju.compose({name:`${g.prefix}-menu-button`,template:qu,styles:Ts});Uu.define(g.registry);const J={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};J.menuitem+"",J.menuitemcheckbox+"",J.menuitemradio+"";var Gu=Object.defineProperty,Wu=Object.getOwnPropertyDescriptor,eo=(o,t,e,s)=>{for(var i=s>1?void 0:s?Wu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Gu(t,e,i),i};const Xu=()=>o=>o.nodeType===1&&o.elementInternals.role==="menu";class At extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=J.menuitem,this.checked=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case ss:case ni:return this.invoke(),!1;case ts:return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case Jo:return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=t=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=t=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.toggleHandler=t=>{t instanceof ToggleEvent&&t.newState==="open"&&(this.setAttribute("tabindex","-1"),this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),t instanceof ToggleEvent&&t.newState==="closed"&&(this.elementInternals.ariaExpanded="false",this.setAttribute("tabindex","0"))},this.invoke=()=>{if(!this.disabled)switch(this.role){case J.menuitemcheckbox:this.checked=!this.checked;break;case J.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case J.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const t=this.getBoundingClientRect(),e=this.submenu.getBoundingClientRect(),s=getComputedStyle(this).direction==="ltr"?"right":"left";if(t.width+e.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(t[s]+e.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${t.width-8}px 0`}}}disabledChanged(t,e){this.elementInternals.ariaDisabled=e?`${e}`:null,c(this.elementInternals,"disabled",e)}roleChanged(t,e){this.elementInternals.role=e??J.menuitem}checkedChanged(t,e){const s=this.role!==J.menuitem;this.elementInternals.ariaChecked=s?`${!!e}`:null,c(this.elementInternals,"checked",s?e:!1),this.$fastController.isConnected&&this.$emit("change",e,{bubbles:!0})}slottedSubmenuChanged(t,e){this.submenu?.removeEventListener("toggle",this.toggleHandler),e.length?(this.submenu=e[0],this.submenu.toggleAttribute("popover",!0),this.submenu.addEventListener("toggle",this.toggleHandler),this.elementInternals.ariaHasPopup="menu",c(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,c(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??J.menuitem,this.elementInternals.ariaChecked=this.role!==J.menuitem?`${!!this.checked}`:null}}eo([a({mode:"boolean"})],At.prototype,"disabled",2),eo([a],At.prototype,"role",2),eo([a({mode:"boolean"})],At.prototype,"checked",2),eo([a({mode:"boolean"})],At.prototype,"hidden",2),eo([v],At.prototype,"slottedSubmenu",2),eo([v],At.prototype,"submenu",2),Xt(At,Gt);const Os=l.partial`:is([state--submenu], :state(submenu))`,Ku=l`
449
+ ${S("grid")}
450
+
451
+ :host{--indent:0;align-items:center;background:${O};border-radius:${P};color:${Vt};contain:layout;cursor:pointer;flex-shrink:0;font:${M} ${E} / ${D} ${$};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${fi};color:${hs}}:host(:active){background-color:${an};color:${us}}:host(:active) ::slotted([slot='start']){color:${Il}}:host(${F}){background-color:${je};color:${B}}:host(${F}) ::slotted([slot='start']),:host(${F}) ::slotted([slot='end']){color:${B}}:host(:focus-visible){border-radius:${P};outline:2px solid ${Dt}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}:host(:not(${y})) .indicator,:host(:not(${y})) ::slotted([slot='indicator']),:host(:not(${Os})) .submenu-glyph,:host(:not(${Os})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${ut};font:${M} ${q} / ${it} ${$};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${Os}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${Os}){grid-template-columns:20px 20px auto auto 20px}.indicator,::slotted([slot='indicator']){grid-column:1 / span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:calc(var(--indent)) / span 1}.content{grid-column:calc(var(--indent) + 1) / span 1}::slotted([slot='end']){grid-column:calc(var(--indent) + 2) / span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:-2 / span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position:absolute;position-anchor:--menu-trigger;position-area:inline-end span-block-end;position-try-fallbacks:flip-inline;z-index:1}::slotted([popover]:not(:popover-open)){display:none}::slotted([popover]:popover-open){inset:unset}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}`.withBehaviors(Q(l`
452
+ :host(${F}),:host(${F}) ::slotted([slot='start']),:host(${F}) ::slotted([slot='end']){color:GrayText}`)),Yu=f.partial('<svg class="indicator" fill="currentColor" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>'),Qu=f.partial('<svg class="submenu-glyph" fill="currentColor" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>');function Zu(o={}){return f`<template @keydown="${(t,e)=>t.handleMenuItemKeyDown(e.event)}" @click="${(t,e)=>t.handleMenuItemClick(e.event)}" @mouseover="${(t,e)=>t.handleMouseOver(e.event)}" @mouseout="${(t,e)=>t.handleMouseOut(e.event)}" @toggle="${(t,e)=>t.toggleHandler(e.event)}"><slot name="indicator">${yt(o.indicator)}</slot>${Wt(o)}<div part="content" class="content"><slot></slot></div>${le(o)}<slot name="submenu-glyph">${yt(o.submenuGlyph)}</slot><slot name="submenu" ${ot({property:"slottedSubmenu",filter:Xu()})}></slot></template>`}const Ju=Zu({indicator:Yu,submenuGlyph:Qu}),tp=At.compose({name:`${g.prefix}-menu-item`,template:Ju,styles:Ku});tp.define(g.registry);var ep=Object.defineProperty,op=Object.getOwnPropertyDescriptor,sp=(o,t,e,s)=>{for(var i=s>1?void 0:s?op(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&ep(t,e,i),i};const Hi=class Ki extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.focusIndex=-1,this.isNestedMenu=()=>this.parentElement!==null&&Zr(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&this.menuItems!==void 0){const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=t=>{const e=t.target;this.menuItems!==void 0&&e!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.changedMenuItemHandler=t=>{if(this.menuItems===void 0)return;const e=t.target,s=this.menuItems.indexOf(e);if(s!==-1&&e.role==="menuitemradio"&&e.checked===!0){for(let r=s-1;r>=0;--r){const n=this.menuItems[r],u=n.getAttribute("role");if(u===J.menuitemradio&&(n.checked=!1),u==="separator")break}const i=this.menuItems.length-1;for(let r=s+1;r<=i;++r){const n=this.menuItems[r],u=n.getAttribute("role");if(u===J.menuitemradio&&(n.checked=!1),u==="separator")break}}},this.isMenuItemElement=t=>t instanceof At||Zr(t)&&t.getAttribute("role")in Ki.focusableElementRoles,this.isFocusableElement=t=>this.isMenuItemElement(t),this.elementInternals.role="menu"}itemsChanged(t,e){this.$fastController.isConnected&&this.menuItems!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),Ot.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changedMenuItemHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changedMenuItemHandler)}focus(){this.setFocus(0,1)}handleMenuKeyDown(t){if(!(t.defaultPrevented||this.menuItems===void 0))switch(t.key){case Zo:this.setFocus(this.focusIndex+1,1);return;case es:this.setFocus(this.focusIndex-1,-1);return;case os:this.setFocus(this.menuItems.length-1,-1);return;case is:this.setFocus(0,1);return;default:return!0}}removeItemListeners(t=this.items){t.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),m.getNotifier(e).unsubscribe(this,"hidden")})}static elementIndent(t){const e=t.getAttribute("role"),s=t.querySelector("[slot=start]");return e&&e!==J.menuitem?s?2:1:s?1:0}setItems(){const t=Array.from(this.children);this.removeItemListeners(t),t.forEach(n=>m.getNotifier(n).subscribe(this,"hidden"));const e=t.filter(n=>!n.hasAttribute("hidden"));this.menuItems=e;const s=this.menuItems.filter(this.isMenuItemElement);s.length&&(this.focusIndex=0),s.forEach((n,u)=>{n.setAttribute("tabindex",u===0?"0":"-1"),n.addEventListener("focus",this.handleItemFocus)});const i=this.menuItems?.filter(this.isMenuItemElement),r=i?.reduce((n,u)=>{const p=Ki.elementIndent(u);return Math.max(n,p)},0);i?.forEach(n=>{n instanceof At&&n.setAttribute("data-indent",`${r}`)})}handleChange(t,e){e==="hidden"&&this.setItems()}setFocus(t,e){if(this.menuItems!==void 0)for(;t>=0&&t<this.menuItems.length;){const s=this.menuItems[t];if(this.isFocusableElement(s)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,s.setAttribute("tabindex","0"),s.focus();break}t+=e}}};Hi.focusableElementRoles=J,sp([v],Hi.prototype,"items",2);let ip=Hi;const rp=l`
453
+ ${S("flex")}
454
+
455
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${O};border:1px solid ${pt};border-radius:${P};box-shadow:${Vn};padding:4px;row-gap:2px}`;function np(){return f`<template slot="${o=>o.slot?o.slot:o.isNestedMenu()?"submenu":void 0}" @keydown="${(o,t)=>o.handleMenuKeyDown(t.event)}" @focusout="${(o,t)=>o.handleFocusOut(t.event)}"><slot ${ot("items")}></slot></template>`}const ap=np(),lp=ip.compose({name:`${g.prefix}-menu-list`,template:ap,styles:rp});lp.define(g.registry);var cp=Object.defineProperty,dp=Object.getOwnPropertyDescriptor,fe=(o,t,e,s)=>{for(var i=s>1?void 0:s?dp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&cp(t,e,i),i};class ie extends w{constructor(){super(...arguments),this.slottedMenuList=[],this.slottedTriggers=[],this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=t=>{t?.target instanceof At&&(t.target.getAttribute("role")===J.menuitemcheckbox||t.target.getAttribute("role")===J.menuitemradio)||(this._menuList?.togglePopover(!1),this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu))},this.openMenu=t=>{this._menuList?.togglePopover(!0),t&&this.openOnContext&&t.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.toggleHandler=t=>{if(t.type==="toggle"&&t.newState){const e=t.newState==="open";this._trigger?.setAttribute("aria-expanded",`${e}`),this._open=e,this.focusMenuList()}},this.triggerKeydownHandler=t=>{if(t.defaultPrevented)return;switch(t.key){case ni:case ss:t.preventDefault(),this.toggleMenu();break;default:return!0}},this.documentClickHandler=t=>{t.composedPath().some(e=>e===this._trigger||e===this._menuList)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),Ot.enqueue(()=>this.setComponent())}disconnectedCallback(){super.disconnectedCallback(),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this._open}`),this._menuList.setAttribute("popover",this.openOnContext?"manual":""),this.addListeners())}focusMenuList(){Ot.enqueue(()=>{this._menuList.focus()})}focusTrigger(){Ot.enqueue(()=>{this._trigger.focus()})}openOnHoverChanged(t,e){e?this._trigger?.addEventListener("mouseover",this.openMenu):this._trigger?.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(t,e){e?this._menuList?.removeEventListener("change",this.closeMenu):this._menuList?.addEventListener("change",this.closeMenu)}openOnContextChanged(t,e){e?this._trigger?.addEventListener("contextmenu",this.openMenu):this._trigger?.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(t,e){e?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}addListeners(){this._menuList?.addEventListener("toggle",this.toggleHandler),this._trigger?.addEventListener("keydown",this.triggerKeydownHandler),this.persistOnItemClick||this._menuList?.addEventListener("change",this.closeMenu),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu):this.openOnContext?(this._trigger?.addEventListener("contextmenu",this.openMenu),document.addEventListener("click",this.documentClickHandler)):this._trigger?.addEventListener("click",this.toggleMenu)}removeListeners(){this._menuList?.removeEventListener("toggle",this.toggleHandler),this._trigger?.removeEventListener("keydown",this.triggerKeydownHandler),this.persistOnItemClick||this._menuList?.removeEventListener("change",this.closeMenu),this.openOnHover&&this._trigger?.removeEventListener("mouseover",this.openMenu),this.openOnContext?(this._trigger?.removeEventListener("contextmenu",this.openMenu),document.removeEventListener("click",this.documentClickHandler)):this._trigger?.removeEventListener("click",this.toggleMenu)}menuKeydownHandler(t){if(t.defaultPrevented)return;switch(t.key){case Za:t.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case Ja:if(this._open&&this.closeMenu(),t.shiftKey&&t.composedPath()[0]!==this._trigger&&t.composedPath()[0].assignedSlot!==this.primaryAction)this.focusTrigger();else if(t.shiftKey)return!0;default:return!0}}}fe([a({attribute:"open-on-hover",mode:"boolean"})],ie.prototype,"openOnHover",2),fe([a({attribute:"open-on-context",mode:"boolean"})],ie.prototype,"openOnContext",2),fe([a({attribute:"close-on-scroll",mode:"boolean"})],ie.prototype,"closeOnScroll",2),fe([a({attribute:"persist-on-item-click",mode:"boolean"})],ie.prototype,"persistOnItemClick",2),fe([a({mode:"boolean"})],ie.prototype,"split",2),fe([v],ie.prototype,"slottedMenuList",2),fe([v],ie.prototype,"slottedTriggers",2),fe([v],ie.prototype,"primaryAction",2);const hp=l`
456
+ ${S("inline-block")}
457
+
458
+ ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;position-area:block-end span-inline-end;position-try-fallbacks:flip-block;position:absolute;z-index:1}:host([split]) ::slotted([popover]){position-area:block-end span-inline-start}::slotted([popover]:popover-open){inset:unset}::slotted([popover]:not(:popover-open)){display:none}:host([split]){display:inline-flex}:host([split]) ::slotted([slot='primary-action']){border-inline-end:${H} solid ${ee};border-start-end-radius:0;border-end-end-radius:0}:host([split]) ::slotted([slot='primary-action']:focus-visible){z-index:1}:host([split]) ::slotted([slot='primary-action'][appearance='primary']){border-inline-end:${H} solid white}:host([split]) ::slotted([slot='trigger']){border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}`;function up(){return f`<template ?open-on-hover="${o=>o.openOnHover}" ?open-on-context="${o=>o.openOnContext}" ?close-on-scroll="${o=>o.closeOnScroll}" ?persist-on-item-click="${o=>o.persistOnItemClick}" @keydown="${(o,t)=>o.menuKeydownHandler(t.event)}"><slot name="primary-action" ${$t("primaryAction")}></slot><slot name="trigger" ${ot({property:"slottedTriggers",filter:_e()})}></slot><slot ${ot({property:"slottedMenuList",filter:_e()})}></slot></template>`}const pp=up(),gp=ie.compose({name:`${g.prefix}-menu`,template:pp,styles:hp});gp.define(g.registry);var bp=Object.defineProperty,fp=Object.getOwnPropertyDescriptor,Ri=(o,t,e,s)=>{for(var i=s>1?void 0:s?fp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&bp(t,e,i),i};class Ms extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.dismissMessageBar=()=>{this.$emit("dismiss",{})},this.elementInternals.role="status"}shapeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}layoutChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}intentChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}}Ri([a],Ms.prototype,"shape",2),Ri([a],Ms.prototype,"layout",2),Ri([a],Ms.prototype,"intent",2);const mp=l`
459
+ :host{display:grid;box-sizing:border-box;font-family:${$};font-size:${q};line-height:${it};width:100%;background:${bs};border:1px solid ${ee};padding-inline:${ft};border-radius:${P};min-height:36px;align-items:center;grid-template:'icon body actions dismiss' / auto 1fr auto auto;contain:layout style paint}:host(${po}){border-radius:0}:host(${xe}){background-color:${yn};border-color:${Rl}}:host(${we}){background-color:${xn};border-color:${Cn}}:host(${ui}){background-color:${bn};border-color:${mn}}:host(${fo}){grid-template-areas:'icon body dismiss'
460
+ 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${Xe};padding-inline:${ft}}.content{grid-area:body;max-width:520px;padding-block:${Xe};padding-inline:0}:host(${fo}) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${ut};margin-inline-end:${oe}}:host(${fo}) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${oe};gap:${oe}}:host(${fo}) .actions{margin-block-start:${Xe};margin-inline-end:0}:host(${fo}) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${nt}}::slotted(*){font-size:inherit}`;function $p(){return f`<slot name="icon"></slot><div class="content"><slot></slot></div><div class="actions"><slot name="actions"></slot></div><slot name="dismiss"></slot>`}const vp=$p(),yp=Ms.compose({name:`${g.prefix}-message-bar`,template:vp,styles:mp,shadowOptions:{mode:g.shadowRootMode}});yp.define(g.registry);var kp=Object.defineProperty,xp=Object.getOwnPropertyDescriptor,Te=(o,t,e,s)=>{for(var i=s>1?void 0:s?xp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&kp(t,e,i),i};class oo extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}validationStateChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}valueChanged(t,e){this.elementInternals.ariaValueNow=typeof e=="number"?`${e}`:null}minChanged(t,e){this.elementInternals.ariaValueMin=typeof e=="number"?`${e}`:null}maxChanged(t,e){this.elementInternals.ariaValueMax=typeof e=="number"?`${e}`:null}get percentComplete(){const t=this.min??0,e=this.max??100,s=this.value??0,i=e-t;return i===0?0:Math.fround((s-t)/i*100)}}Te([a({attribute:"validation-state"})],oo.prototype,"validationState",2),Te([a({converter:st})],oo.prototype,"value",2),Te([a({converter:st})],oo.prototype,"min",2),Te([a({converter:st})],oo.prototype,"max",2),Te([ba],oo.prototype,"percentComplete",1);class ji extends oo{thicknessChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}Te([a],ji.prototype,"thickness",2),Te([a],ji.prototype,"shape",2);const wp=l`
461
+ ${S("block")}
462
+
463
+ :host{width:100%;height:2px;overflow-x:hidden;background-color:${fs};border-radius:${P};contain:content}:host(${C}){height:4px}:host(${po}){border-radius:${Si}}.indicator{background-color:${qe};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient(
464
+ to right,${fs} 0%,${wt} 50%,${fs} 100%
465
+ );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host(${ui}) .indicator{background-color:${fn}}:host(${we}) .indicator{background-color:${wn}}:host(${xe}) .indicator{background-color:${kn}}@layer animations{@media (prefers-reduced-motion:no-preference){:host([value]){transition:none}:host(:not([value])) .indicator{animation-duration:0.01ms;animation-iteration-count:1}}}@keyframes indeterminate{0%{inset-inline-start:-33%}100%{inset-inline-start:100%}}`.withBehaviors(Q(l`
466
+ :host{background-color:CanvasText}.indicator,:host(:is(${xe},${we},${ui})) .indicator{background-color:Highlight}`));function Cp(){return f`<div class="indicator" part="indicator" style="${o=>typeof o.value=="number"?`width: ${o.percentComplete}%`:void 0}"></div>`}const Ip=Cp(),Sp=ji.compose({name:`${g.prefix}-progress-bar`,template:Ip,styles:wp});Sp.define(g.registry);class oa extends It{connectedCallback(){super.connectedCallback(),this.tabIndex=this.disabled?-1:0}constructor(){super(),this.elementInternals.role="radio"}disabledChanged(t,e){super.disabledChanged(t,e),e&&(this.checked=!1,this.tabIndex=-1),this.$emit("disabled",e,{bubbles:!0})}requiredChanged(){}setFormValue(){}setValidity(){this.elementInternals.setValidity({})}toggleChecked(t=!0){super.toggleChecked(t)}}function sa(o){const t=o.getRootNode();return t instanceof ShadowRoot?t.activeElement:document.activeElement}const ia=vt;var zp=Object.defineProperty,Tp=Object.getOwnPropertyDescriptor,Be=(o,t,e,s)=>{for(var i=s>1?void 0:s?Tp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&zp(t,e,i),i};class re extends w{constructor(){super(),this.dirtyState=!1,this.disabled=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??ia.horizontal}checkedIndexChanged(t,e){this.enabledRadios&&this.checkRadio(e)}disabledChanged(t,e){this.$fastController.isConnected&&(this.checkedIndex=-1,this.radios?.forEach(s=>{s.disabled=s.disabledAttribute||this.disabled}),this.restrictFocus())}initialValueChanged(t,e){this.value=e??""}nameChanged(t,e){this.isConnected&&e&&this.radios?.forEach(s=>{s.name=this.name})}orientationChanged(t,e){this.elementInternals.ariaOrientation=this.orientation??ia.horizontal}radiosChanged(t,e){const s=e?.length;if(!s)return;!this.name&&e.every(n=>n.name===e[0].name)&&(this.name=e[0].name);const i=Qa(this.enabledRadios,n=>n.initialChecked);e.forEach((n,u)=>{n.ariaPosInSet=`${u+1}`,n.ariaSetSize=`${s}`,this.initialValue&&!this.dirtyState?n.checked=n.value===this.initialValue:n.checked=u===i,n.name=this.name??n.name,n.disabled=this.disabled||n.disabledAttribute}),!this.dirtyState&&this.initialValue&&(this.value=this.initialValue),this.value||(this.checkedIndex=i);const r=e.map(n=>n.id).join(" ").trim();r&&this.setAttribute("aria-owns",r),Ot.enqueue(()=>{this.restrictFocus()})}requiredChanged(t,e){this.elementInternals.ariaRequired=e?"true":null,this.setValidity()}get enabledRadios(){return this.disabled?[]:this.radios?.filter(t=>!t.disabled)??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(this.enabledRadios?.[0]?.validationMessage)return this.enabledRadios[0].validationMessage;if(!this._validationFallbackMessage){const t=document.createElement("input");t.type="radio",t.required=!0,t.checked=!1,this._validationFallbackMessage=t.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledRadios.find(t=>t.checked)?.value??null}set value(t){const e=this.enabledRadios.findIndex(s=>s.value===t);this.checkedIndex=e,this.$fastController.isConnected&&(this.setFormValue(t),this.setValidity()),m.track(this,"value")}changeHandler(t){if(this===t.target)return!0;this.dirtyState=!0;const e=this.enabledRadios.indexOf(t.target);return this.checkRadio(e),!0}checkRadio(t=this.checkedIndex){let e=this.checkedIndex;this.enabledRadios.forEach((s,i)=>{const r=i===t;s.checked=r,r&&(e=i)}),this.checkedIndex=e,this.setFormValue(this.value),this.setValidity()}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){return this===t.target&&this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus(),!0}focus(){this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus()}focusinHandler(t){return this.disabled||this.enabledRadios.forEach(e=>{e.tabIndex=0}),!0}focusoutHandler(t){return this.radios?.includes(t.relatedTarget)&&this.radios?.some(e=>e.checked)&&this.restrictFocus(),!0}formResetCallback(){this.dirtyState=!1,this.checkedIndex=-1,this.setFormValue(this.value),this.setValidity()}getEnabledIndexInBounds(t,e=this.enabledRadios.length){return e===0?-1:(t+e)%e}keydownHandler(t){const e=ci(this)==="rtl",s=this.enabledRadios.findIndex(n=>n===sa(this))??this.checkedIndex;let i=0;switch(t.key){case"ArrowLeft":{i=e?1:-1;break}case"ArrowUp":{i=-1;break}case"ArrowRight":{i=e?-1:1;break}case"ArrowDown":{i=1;break}case"Tab":{this.restrictFocus();break}case" ":{this.checkRadio();break}}if(!i)return!0;const r=s+i;this.checkedIndex=this.getEnabledIndexInBounds(r),this.enabledRadios[this.checkedIndex]?.focus()}disabledRadioHandler(t){t.detail===!0&&t.target.checked&&(this.checkedIndex=-1)}reportValidity(){return this.elementInternals.reportValidity()}restrictFocus(){let t=Math.max(this.checkedIndex,0);const e=this.enabledRadios.indexOf(sa(this));e!==-1&&(t=e),t=this.getEnabledIndexInBounds(t),this.enabledRadios.forEach((s,i)=>{s.tabIndex=i===t?0:-1})}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setValidity(t,e,s){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:this.required&&!this.value,...t},e??this.validationMessage,s??this.enabledRadios[0])}}slotchangeHandler(t){Ot.enqueue(()=>{this.radios=[...this.querySelectorAll("*")].filter(e=>e instanceof oa)})}}re.formAssociated=!0,Be([v],re.prototype,"checkedIndex",2),Be([a({attribute:"disabled",mode:"boolean"})],re.prototype,"disabled",2),Be([a({attribute:"value",mode:"fromView"})],re.prototype,"initialValue",2),Be([a],re.prototype,"name",2),Be([a],re.prototype,"orientation",2),Be([v],re.prototype,"radios",2),Be([a({mode:"boolean"})],re.prototype,"required",2);const Bp=l`
467
+ ${S("flex")}
468
+
469
+ :host{-webkit-tap-highlight-color:transparent;cursor:pointer;gap:${Cs}}:host(${F}),:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${ut}}::slotted(:hover){color:${Vt}}::slotted(:active){color:${A}}::slotted(${F}){color:${B}}::slotted(${y}){color:${A}}`;function Pp(){return f`<template @disabled="${(o,t)=>o.disabledRadioHandler(t.event)}" @change="${(o,t)=>o.changeHandler(t.event)}" @click="${(o,t)=>o.clickHandler(t.event)}" @focusin="${(o,t)=>o.focusinHandler(t.event)}" @focusout="${(o,t)=>o.focusoutHandler(t.event)}" @keydown="${(o,t)=>o.keydownHandler(t.event)}"><slot @slotchange="${(o,t)=>o.slotchangeHandler(t.event)}"></slot></template>`}const Ap=Pp(),Ep=re.compose({name:`${g.prefix}-radio-group`,template:Ap,styles:Bp});Ep.define(g.registry);const Np=l`
470
+ ${S("inline-flex")}
471
+
472
+ :host{--size:16px;aspect-ratio:1;background-color:${O};border:${H} solid ${he};border-radius:${gt};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${gt};color:${He};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:'' / '';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${Bt} solid ${pt};border-radius:${P}}:host(:not([slot='input']):focus-visible)::after{border-color:${Dt}}:host(:hover){border-color:${Ue}}:host(${y}){border-color:${ko}}:host(${y}) .checked-indicator{background-color:${qe}}:host(${y}:hover) .checked-indicator{background-color:${mo}}:host(:active){border-color:${Ge}}:host(${y}:active) .checked-indicator{background-color:${$o}}:host(:focus-visible){outline:none}:host(${F}){background-color:${je};border-color:${Tt}}:host(${y}${F}) .checked-indicator{background-color:${Tt}}`.withBehaviors(Q(l`
473
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${F}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${y}) .checked-indicator{background-color:FieldText}:host(${y}:not(${F}):hover) .checked-indicator{background-color:Highlight}:host(${F}){border-color:GrayText;color:GrayText}:host(${F}${y}) .checked-indicator{background-color:GrayText}`)),Fp=f.partial(`
474
+ <span part="checked-indicator" class="checked-indicator" role="presentation"></span>
475
+ `);function Op(o={}){return f`<template @click="${(t,e)=>t.clickHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @keyup="${(t,e)=>t.keyupHandler(e.event)}"><slot name="checked-indicator">${yt(o.checkedIndicator)}</slot></template>`}const Mp=Op({checkedIndicator:Fp}),_p=oa.compose({name:`${g.prefix}-radio`,template:Mp,styles:Np});_p.define(g.registry);var Vp=Object.defineProperty,Dp=Object.getOwnPropertyDescriptor,ne=(o,t,e,s)=>{for(var i=s>1?void 0:s?Dp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Vp(t,e,i),i};class Pe extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.intlNumberFormatter=new Intl.NumberFormat,this.elementInternals.role="img"}slottedIconChanged(){this.$fastController.isConnected&&(this.customIcon=this.slottedIcon[0]?.outerHTML)}get formattedCount(){return this.count?this.intlNumberFormatter.format(this.count):""}getSelectedValue(){return Math.round((this.value??0)*2)/2}getMaxIcons(){return(this.max??5)*2}generateIcons(){let t="",e;this.customIcon&&(e=/<svg[^>]*>([\s\S]*?)<\/svg>/.exec(this.customIcon)?.[1]??"");const s=this.getSelectedValue();for(let i=0;i<this.getMaxIcons();i++){const r=(i+1)/2;t+=`<svg aria-hidden="true" viewBox="${this.iconViewBox??"0 0 20 20"}" ${r===s?"selected":""}>${e??'<use href="#star"></use>'}</svg>`}return t}}ne([a({converter:st})],Pe.prototype,"count",2),ne([a({attribute:"icon-view-box"})],Pe.prototype,"iconViewBox",2),ne([a({converter:st})],Pe.prototype,"max",2),ne([a({converter:st})],Pe.prototype,"value",2),ne([v],Pe.prototype,"slottedIcon",2),ne([v],Pe.prototype,"customIcon",2);class _s extends Pe{constructor(){super(...arguments),this.compact=!1}colorChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}sizeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}getSelectedValue(){return Math.round((this.compact?1:this.value??0)*2)/2}getMaxIcons(){return(this.compact?1:this.max??5)*2}}ne([a],_s.prototype,"color",2),ne([a],_s.prototype,"size",2),ne([a({mode:"boolean"})],_s.prototype,"compact",2);const Lp=l`
476
+ ${S("inline-flex")}
477
+
478
+ :host{--icon-size:16px;--icon-color-filled:${Ql};--icon-color-empty:${Sn};align-items:center;color:${A};font-family:${$};font-size:${q};line-height:${it};contain:layout style;user-select:none}:host(${T}){--icon-size:12px}:host(${C}){--icon-size:20px;font-size:${E};line-height:${D}}::slotted([slot='icon']){display:none}svg{width:var(--icon-size);height:var(--icon-size);fill:var(--icon-color-filled);margin-inline-end:${dt}}svg:nth-child(odd){clip-path:inset(0 50% 0 0);margin-inline-end:calc(0px - var(--icon-size))}:host(${cs}) svg{--icon-color-filled:${A}}:host(${Jt}) svg{--icon-color-filled:${ki}}:host(:is([value^='-'],[value='0'])) svg,:host(:not([value])) svg,svg[selected] ~ svg{fill:var(--icon-color-empty)}:host(${cs}:is([value^='-'],[value='0'])) svg,:host(${cs}:not([value])) svg,:host(${cs}) svg[selected] ~ svg{--icon-color-empty:${mi}}:host(${Jt}:is([value^='-'],[value='0'])) svg,:host(${Jt}:not([value])) svg,:host(${Jt}) svg[selected] ~ svg{--icon-color-empty:${xi}}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${Ht};font-weight:${L}}:host(${T}) .value-label,:host(${T}) ::slotted([slot='value']){margin-inline-start:${dt}}:host(${C}) .value-label,:host(${C}) ::slotted([slot='value']){margin-inline-start:${xt}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${Ht}}:host(${T}) .count-label::before,:host(${T}) ::slotted([slot='count'])::before{margin-inline:${dt}}:host(${C}) .count-label::before,:host(${C}) ::slotted([slot='count'])::before{margin-inline:${xt}}`.withBehaviors(Q(l`
479
+ :host([color]) svg{fill:CanvasText}:host([color]:is([value^='-'],[value='0'])) svg,:host(:not([value])) svg,:host([color]) svg[selected] ~ svg{fill:Canvas;stroke:CanvasText}`)),Hp=f`<svg xmlns="http://www.w3.org/2000/svg" style="display: none"><symbol id="star"><path d="M9.10433 2.89874C9.47114 2.15549 10.531 2.1555 10.8978 2.89874L12.8282 6.81024L17.1448 7.43748C17.9651 7.55666 18.2926 8.56464 17.699 9.14317L14.5755 12.1878L15.3129 16.487C15.453 17.3039 14.5956 17.9269 13.8619 17.5412L10.0011 15.5114L6.14018 17.5412C5.40655 17.9269 4.54913 17.3039 4.68924 16.487L5.4266 12.1878L2.30308 9.14317C1.70956 8.56463 2.03708 7.55666 2.8573 7.43748L7.17389 6.81024L9.10433 2.89874Z" /></symbol></svg>`;function Rp(){return f` ${o=>f`${yt(o.generateIcons())}`}<slot name="icon" ${ot({property:"slottedIcon",filter:_e("svg")})}>${Hp}</slot><slot name="value"><span class="value-label" aria-hidden="true">${o=>o.value}</span></slot><slot name="count"><span class="count-label" aria-hidden="true">${o=>o.formattedCount}</span></slot>`}const jp=Rp(),qp=_s.compose({name:`${g.prefix}-rating-display`,template:jp,styles:Lp});qp.define(g.registry);const Up=vt,Gp={singleValue:"single-value"};function ra(o,t,e,s){let i=ai(0,1,(o-t)/(e-t));return s===zt.rtl&&(i=1-i),i}var Wp=Object.defineProperty,Xp=Object.getOwnPropertyDescriptor,tt=(o,t,e,s)=>{for(var i=s>1?void 0:s?Xp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Wp(t,e,i),i};class U extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.direction=zt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>"",this.disabled=!1,this.min="",this.max="",this.step="",this.mode=Gp.singleValue,this.keypressHandler=t=>{if(!this.disabled)switch(t.key){case is:t.preventDefault(),this.value=this.direction!==zt.rtl&&this.orientation!==vt.vertical?`${this.minAsNumber}`:`${this.maxAsNumber}`;break;case os:t.preventDefault(),this.value=this.direction!==zt.rtl&&this.orientation!==vt.vertical?`${this.maxAsNumber}`:`${this.minAsNumber}`;break;case ts:case es:t.shiftKey||(t.preventDefault(),this.increment());break;case Jo:case Zo:t.shiftKey||(t.preventDefault(),this.decrement());break}},this.setupTrackConstraints=()=>{const t=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=t.top,this.trackMinHeight=t.bottom,this.trackLeft=this.getBoundingClientRect().left,this.trackWidth===0&&(this.trackWidth=1)},this.setupListeners=(t=!1)=>{this.addEventListener("keydown",this.keypressHandler),t&&this.removeEventListener("keydown",this.keypressHandler)},this.handleThumbPointerDown=t=>{const e=t!==null?window.addEventListener:window.removeEventListener;e("pointerup",this.handleWindowPointerUp),e("pointermove",this.handlePointerMove,{passive:!0}),e("touchmove",this.handlePointerMove,{passive:!0}),e("touchend",this.handleWindowPointerUp),this.isDragging=t!==null},this.handlePointerMove=t=>{if(this.disabled||t.defaultPrevented)return;const e=window.TouchEvent&&t instanceof TouchEvent?t.touches[0]:t,s=this.orientation===vt.vertical?e.pageY-document.documentElement.scrollTop:e.pageX-document.documentElement.scrollLeft-this.trackLeft;this.value=`${this.calculateNewValue(s)}`},this.handleWindowPointerUp=()=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handlePointerDown(null),this.handleThumbPointerDown(null)},this.handlePointerDown=t=>{if(t===null||!this.disabled){const e=t!==null?window.addEventListener:window.removeEventListener,s=t!==null?document.addEventListener:document.removeEventListener;if(e("pointerup",this.handleWindowPointerUp),s("mouseleave",this.handleWindowPointerUp),e("pointermove",this.handlePointerMove),t){this.setupTrackConstraints();const i=this.orientation===vt.vertical?t.pageY-document.documentElement.scrollTop:t.pageX-document.documentElement.scrollLeft-this.trackLeft;this.value=`${this.calculateNewValue(i)}`}}},this.elementInternals.role="slider",this.elementInternals.ariaOrientation=this.orientation??Up.horizontal}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}handleChange(t,e){switch(e){case"min":case"max":this.setSliderPosition(this.direction);case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const t=100/Math.floor((this.maxAsNumber-this.minAsNumber)/this.stepAsNumber);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=l`
480
+ :host{--step-rate:${t}%}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}initialValueChanged(t,e){this.$fastController.isConnected?this.value=e:this._value=e}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(t){this.setValidity({customError:!!t},t)}setValidity(t,e,s){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({customError:!!e,...t},e??this.validationMessage,s)}}get value(){return m.track(this,"value"),this._value.toString()}set value(t){if(!this.$fastController.isConnected){this._value=t.toString();return}const e=parseFloat(t),s=ai(this.minAsNumber,this.maxAsNumber,this.convertToConstrainedValue(e)).toString();if(s!==t){this.value=s;return}this._value=t.toString(),this.elementInternals.ariaValueNow=this._value,this.elementInternals.ariaValueText=this.valueTextFormatter(this._value),this.setSliderPosition(this.direction),this.$emit("change"),this.setFormValue(t),m.notify(this,"value")}formResetCallback(){this.value=this.initialValue??this.midpoint}formDisabledCallback(t){this.setDisabledSideEffect(t)}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(t){this.value=t.toString()}valueTextFormatterChanged(){typeof this.valueTextFormatter=="function"?this.elementInternals.ariaValueText=this.valueTextFormatter(this._value):this.elementInternals.ariaValueText=""}disabledChanged(){this.setDisabledSideEffect(this.disabled)}minChanged(){this.elementInternals.ariaValueMin=`${this.minAsNumber}`,this.$fastController.isConnected&&this.minAsNumber>this.valueAsNumber&&(this.value=this.min)}get minAsNumber(){if(this.min!==void 0){const t=parseFloat(this.min);if(!Number.isNaN(t))return t}return 0}maxChanged(){this.elementInternals.ariaValueMax=`${this.maxAsNumber}`,this.$fastController.isConnected&&this.maxAsNumber<this.valueAsNumber&&(this.value=this.max)}get maxAsNumber(){if(this.max!==void 0){const t=parseFloat(this.max);if(!Number.isNaN(t))return t}return 100}stepChanged(){this.updateStepMultiplier(),this.$fastController.isConnected&&(this.value=this._value)}get stepAsNumber(){if(this.step!==void 0){const t=parseFloat(this.step);if(!Number.isNaN(t)&&t>0)return t}return 1}orientationChanged(t,e){this.elementInternals.ariaOrientation=e??vt.horizontal,t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0),this.$fastController.isConnected&&this.setSliderPosition(this.direction)}connectedCallback(){super.connectedCallback(),this.direction=ci(this),this.setDisabledSideEffect(this.disabled),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setSliderPosition(this.direction),m.getNotifier(this).subscribe(this,"max"),m.getNotifier(this).subscribe(this,"min"),m.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),this.setupListeners(!0),m.getNotifier(this).unsubscribe(this,"max"),m.getNotifier(this).unsubscribe(this,"min"),m.getNotifier(this).unsubscribe(this,"step")}increment(){const t=this.direction!==zt.rtl?Number(this.value)+this.stepAsNumber:Number(this.value)-this.stepAsNumber,e=this.convertToConstrainedValue(t),s=e<this.maxAsNumber?`${e}`:`${this.maxAsNumber}`;this.value=s}decrement(){const t=this.direction!==zt.rtl?Number(this.value)-Number(this.stepAsNumber):Number(this.value)+Number(this.stepAsNumber),e=this.convertToConstrainedValue(t),s=e>this.minAsNumber?`${e}`:`${this.minAsNumber}`;this.value=s}setSliderPosition(t){const s=(1-ra(parseFloat(this.value),this.minAsNumber,this.maxAsNumber,t))*100,i=`calc(100% - ${s}%)`,r=this.orientation!==vt.vertical&&t===zt.rtl?`${s}%`:`calc(100% - ${s}%)`;this.position=`--slider-thumb: ${i}; --slider-progress: ${r}`}updateStepMultiplier(){const t=this.stepAsNumber+"",e=this.stepAsNumber%1?t.length-t.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,e)}get midpoint(){return`${this.convertToConstrainedValue((this.maxAsNumber+this.minAsNumber)/2)}`}setupDefaultValue(){this._value||(this.value=this.initialValue??this.midpoint),!Number.isNaN(this.valueAsNumber)&&(this.valueAsNumber<this.minAsNumber||this.valueAsNumber>this.maxAsNumber)&&(this.value=this.midpoint),this.elementInternals.ariaValueNow=this.value}calculateNewValue(t){this.setupTrackConstraints();const e=ra(t,this.orientation===vt.vertical?this.trackMinHeight:this.trackMinWidth,this.orientation===vt.vertical?this.trackHeight:this.trackWidth,this.direction),s=(this.maxAsNumber-this.minAsNumber)*e+this.minAsNumber;return this.convertToConstrainedValue(s)}convertToConstrainedValue(t){isNaN(t)&&(t=this.minAsNumber);let e=t-this.minAsNumber;const s=Math.round(e/this.stepAsNumber),i=e-s*(this.stepMultiplier*this.stepAsNumber)/this.stepMultiplier;return e=i>=Number(this.stepAsNumber)/2?e-i+Number(this.stepAsNumber):e-i,e+this.minAsNumber}setDisabledSideEffect(t){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=t.toString(),this.tabIndex=t?-1:0)}}U.formAssociated=!0,tt([a],U.prototype,"size",2),tt([a({attribute:"value",mode:"fromView"})],U.prototype,"initialValue",2),tt([v],U.prototype,"direction",2),tt([v],U.prototype,"isDragging",2),tt([v],U.prototype,"position",2),tt([v],U.prototype,"trackWidth",2),tt([v],U.prototype,"trackMinWidth",2),tt([v],U.prototype,"trackHeight",2),tt([v],U.prototype,"trackLeft",2),tt([v],U.prototype,"trackMinHeight",2),tt([v],U.prototype,"valueTextFormatter",2),tt([a({mode:"boolean"})],U.prototype,"disabled",2),tt([a({converter:li})],U.prototype,"min",2),tt([a({converter:li})],U.prototype,"max",2),tt([a({converter:li})],U.prototype,"step",2),tt([a],U.prototype,"orientation",2),tt([a],U.prototype,"mode",2);const Kp=l`
481
+ ${S("inline-grid")}
482
+
483
+ :host{--thumb-size:20px;--track-margin-inline:calc(var(--thumb-size) / 2);--track-size:4px;--track-overhang:calc(var(--track-size) / -2);--rail-color:${qe};--track-color:${he};--slider-direction:90deg;--border-radius:${P};--step-marker-inset:var(--track-overhang) -1px;position:relative;align-items:center;justify-content:center;box-sizing:border-box;outline:none;user-select:none;touch-action:none;min-width:120px;min-height:32px;grid-template-rows:1fr var(--thumb-size) 1fr;grid-template-columns:var(--track-margin-inline) 1fr var(--track-margin-inline)}:host(:hover){--rail-color:${mo}}:host(:active){--rail-color:${$o}}:host(:disabled){--rail-color:${B};--track-color:${je}}:host(:not(:disabled)){cursor:pointer}:host(:dir(rtl)){--slider-direction:-90deg}:host(${T}){--thumb-size:16px;--track-overhang:-1px;--track-size:2px;--border-radius:${Lt}}:host(${I}){--slider-direction:0deg;--step-marker-inset:-1px var(--track-overhang);min-height:120px;grid-template-rows:var(--track-margin-inline) 1fr var(--track-margin-inline);grid-template-columns:1fr var(--thumb-size) 1fr;width:unset;min-width:32px;justify-items:center}:host(:not([slot='input']):focus-visible){box-shadow:0 0 0 2pt ${Dt};outline:1px solid ${wi}}:host:after,.track{height:var(--track-size);width:100%}:host:after{background-image:linear-gradient(
484
+ var(--slider-direction),var(--rail-color) 0%,var(--rail-color) 50%,var(--track-color) 50.1%,var(--track-color) 100%
485
+ );border-radius:var(--border-radius);content:'';grid-row:1 / -1;grid-column:1 / -1}.track{position:relative;background-color:var(--track-color);grid-row:2 / 2;grid-column:2 / 2;forced-color-adjust:none;overflow:hidden}:host(${I})::after,:host(${I}) .track{height:100%;width:var(--track-size)}:host(${I}) .track{top:var(--track-overhang);bottom:var(--track-overhang)}.track::before{content:'';position:absolute;height:100%;border-radius:inherit;inset-inline-start:0;width:var(--slider-progress)}:host(${I}) .track::before{width:100%;bottom:0;height:var(--slider-progress)}:host([step]) .track::after{content:'';position:absolute;border-radius:inherit;inset:var(--step-marker-inset);background-image:repeating-linear-gradient(
486
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${O} calc(var(--step-rate) - 1px),${O} var(--step-rate)
487
+ )}.thumb-container{position:absolute;grid-row:2 / 2;grid-column:2 / 2;transform:translateX(-50%);left:var(--slider-thumb)}:host(${I}) .thumb-container{transform:translateY(50%);left:unset;bottom:var(--slider-thumb)}:host(:not(:active)) :is(.thumb-container,.track::before){transition:all 0.2s ease}.thumb{width:var(--thumb-size);height:var(--thumb-size);border-radius:${gt};box-shadow:0 0 0 calc(var(--thumb-size) * 0.2) ${O} inset;border:calc(var(--thumb-size) * 0.05) solid ${ee};box-sizing:border-box}.thumb,.track::before{background-color:var(--rail-color)}`.withBehaviors(Q(l`
488
+ .track:hover,.track:active,.track{background:WindowText}.thumb:hover,.thumb:active,.thumb{background:ButtonText}:host(:hover) .track::before,:host(:active) .track::before,.track::before{background:Highlight}`));function Yp(o={}){return f`<template tabindex="${t=>t.disabled?null:0}" @pointerdown="${(t,e)=>t.handlePointerDown(e.event)}"><div ${$t("track")} part="track-container" class="track" style="${t=>t.position}"></div><div ${$t("thumb")} part="thumb-container" class="thumb-container" style="${t=>t.position}" @pointerdown="${(t,e)=>t.handleThumbPointerDown(e.event)}"><slot name="thumb">${yt(o.thumb)}</slot></div></template>`}const Qp=Yp({thumb:'<div class="thumb"></div>'}),Zp=U.compose({name:`${g.prefix}-slider`,template:Qp,styles:Kp});Zp.define(g.registry);var Jp=Object.defineProperty,tg=Object.getOwnPropertyDescriptor,na=(o,t,e,s)=>{for(var i=s>1?void 0:s?tg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Jp(t,e,i),i};class eg extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}class qi extends eg{sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}na([a],qi.prototype,"size",2),na([a],qi.prototype,"appearance",2);const og=l`
489
+ ${S("inline-flex")}
490
+
491
+ :host{--duration:1.5s;--indicatorSize:${rt};--size:32px;height:var(--size);width:var(--size);contain:strict;content-visibility:auto}:host(${go}){--indicatorSize:${Bt};--size:20px}:host(${bo}){--indicatorSize:${Bt};--size:24px}:host(${T}){--indicatorSize:${Bt};--size:28px}:host(${C}){--indicatorSize:${rt};--size:36px}:host(${rs}){--indicatorSize:${rt};--size:40px}:host(${cl}){--indicatorSize:${Ti};--size:44px}.progress,.background,.spinner,.start,.end,.indicator{position:absolute;inset:0}.progress,.spinner,.indicator{animation:none var(--duration) infinite ${Ss}}.progress{animation-timing-function:linear;animation-name:spin-linear}.background{border:var(--indicatorSize) solid ${xi};border-radius:50%}:host(${Jr}) .background{border-color:rgba(255,255,255,0.2)}.spinner{animation-name:spin-swing}.start{overflow:hidden;inset-inline-end:50%}.end{overflow:hidden;inset-inline-start:50%}.indicator{color:${un};box-sizing:border-box;border-radius:50%;border:var(--indicatorSize) solid transparent;border-block-start-color:currentcolor;border-inline-end-color:currentcolor}:host(${Jr}) .indicator{color:${Vl}}.start .indicator{rotate:135deg;inset:0 -100% 0 0;animation-name:spin-start}.end .indicator{rotate:135deg;inset:0 0 0 -100%;animation-name:spin-end}@keyframes spin-linear{100%{transform:rotate(360deg)}}@keyframes spin-swing{0%{transform:rotate(-135deg)}50%{transform:rotate(0deg)}100%{transform:rotate(225deg)}}@keyframes spin-start{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-80deg)}}@keyframes spin-end{0%,100%{transform:rotate(0deg)}50%{transform:rotate(70deg)}}`.withBehaviors(Q(l`
492
+ .background{display:none}.indicator{border-color:Canvas;border-block-start-color:Highlight;border-inline-end-color:Highlight}`)),sg=f`<slot name="indicator"><div class="background"></div><div class="progress"><div class="spinner"><div class="start"><div class="indicator"></div></div><div class="end"><div class="indicator"></div></div></div></div></slot>`,ig=qi.compose({name:`${g.prefix}-spinner`,template:sg,styles:og});ig.define(g.registry);class rg extends It{constructor(){super(),this.elementInternals.role="switch"}}function ng(o={}){return f`<template tabindex="${t=>t.disabled?void 0:0}" @click="${(t,e)=>t.clickHandler(e.event)}" @input="${(t,e)=>t.inputHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @keyup="${(t,e)=>t.keyupHandler(e.event)}"><slot name="switch">${yt(o.switch)}</slot></template>`}const ag=ng({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),lg=l`
493
+ ${S("inline-flex")}
494
+
495
+ :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${dt};width:40px;height:20px;background-color:${wt};border:1px solid ${he};border-radius:${gt};cursor:pointer}:host(:hover){background:none;border-color:${Ue}}:host(:active){border-color:${Ge}}:host(:disabled),:host([readonly]){border:1px solid ${Tt};background-color:none;pointer:default}:host(${y}){background:${qe};border-color:${qe}}:host(${y}:hover){background:${mo};border-color:${mo}}:host(${y}:active){background:${$o};border-color:${$o}}:host(${y}:disabled){background:${je};border-color:${Tt}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${ut};transition-duration:${Ai};transition-timing-function:${Ss};transition-property:margin-inline-start}:host(${y}) .checked-indicator{background-color:${He};margin-inline-start:calc(100% - 14px)}:host(${y}:hover) .checked-indicator{background:${Sl}}:host(${y}:active) .checked-indicator{background:${zl}}:host(:hover) .checked-indicator{background-color:${ml}}:host(:active) .checked-indicator{background-color:${$l}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${B}}:host(${y}:disabled) .checked-indicator{background:${B}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${pt};outline:${Bt} solid ${pt};box-shadow:${ws},0 0 0 2px ${Dt}}`.withBehaviors(Q(l`
496
+ :host{border-color:InactiveBorder}:host(${y}),:host(${y}:active),:host(${y}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${y}) .checked-indicator,:host(${y}:hover) .checked-indicator,:host(${y}:active) .checked-indicator{background-color:ButtonFace}`)),cg=rg.compose({name:`${g.prefix}-switch`,template:ag,styles:lg});cg.define(g.registry);class dg extends w{}function hg(){return f`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`}const ug=hg(),pg=l`
497
+ ${S("block")}
498
+
499
+ :host{box-sizing:border-box;padding:${ft} ${bt}}`,gg=dg.compose({name:`${g.prefix}-tab-panel`,template:ug,styles:pg});gg.define(g.registry);var bg=Object.defineProperty,fg=Object.getOwnPropertyDescriptor,mg=(o,t,e,s)=>{for(var i=s>1?void 0:s?fg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&bg(t,e,i),i};class Ui extends w{connectedCallback(){super.connectedCallback(),this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=l`
500
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}mg([a({mode:"boolean"})],Ui.prototype,"disabled",2),Xt(Ui,Gt);function $g(o={}){return f`<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">${Wt(o)}<span class="tab-content"><slot></slot></span>${le(o)}</template>`}const vg=$g({}),yg=l`
501
+ ${S("inline-flex")}
502
+
503
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${D};font-family:${$};font-size:${E};color:${Vt};fill:currentcolor;grid-row:1;padding:${ft} ${bt};border-radius:${P}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${A};font-weight:${L}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${D};font-weight:${L}}:host([aria-selected='true'])::after{background-color:${ko};border-radius:${gt};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${vo};border-radius:${gt};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${B}}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:${B};color:${B}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Lt};box-shadow:0 0 0 3px ${Dt};outline:1px solid ${wi}}`.withBehaviors(Q(l`
504
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),kg=Ui.compose({name:`${g.prefix}-tab`,template:vg,styles:yg});kg.define(g.registry);const xg={subtle:"subtle",transparent:"transparent"},Vs=vt;var wg=Object.defineProperty,Cg=Object.getOwnPropertyDescriptor,Ae=(o,t,e,s)=>{for(var i=s>1?void 0:s?Cg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&wg(t,e,i),i};class Eo extends w{constructor(){super(...arguments),this.orientation=Vs.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=t=>t.getAttribute("aria-disabled")==="true",this.isHiddenElement=t=>t.hasAttribute("hidden"),this.isFocusableElement=t=>!this.isDisabledElement(t)&&!this.isHiddenElement(t),this.handleTabClick=t=>{const e=t.currentTarget;e.nodeType===1&&this.isFocusableElement(e)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(e),this.setComponent())},this.handleTabKeyDown=t=>{if(this.isHorizontal())switch(t.key){case Jo:t.preventDefault(),this.adjustBackward(t);break;case ts:t.preventDefault(),this.adjustForward(t);break}else switch(t.key){case es:t.preventDefault(),this.adjustBackward(t);break;case Zo:t.preventDefault(),this.adjustForward(t);break}switch(t.key){case is:t.preventDefault(),this.adjust(-this.activeTabIndex);break;case os:t.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1);break}}}orientationChanged(){this.$fastController.isConnected&&this.setTabs()}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(s=>s.id===t),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}getActiveIndex(){return this.activeid!==void 0?this.tabIds.indexOf(this.activeid)===-1?0:this.tabIds.indexOf(this.activeid):0}setTabs(){const t="gridColumn",e="gridRow",s=this.isHorizontal()?t:e;this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((i,r)=>{if(i.slot==="tab"){const n=this.activeTabIndex===r&&this.isFocusableElement(i),u=this.tabIds[r],p=this.tabpanelIds[r];i.setAttribute("id",u),i.setAttribute("aria-selected",n?"true":"false"),i.setAttribute("aria-controls",p),i.addEventListener("click",this.handleTabClick),i.addEventListener("keydown",this.handleTabKeyDown),i.setAttribute("tabindex",n?"0":"-1"),n&&(this.activetab=i,this.activeid=u)}i.style[t]="",i.style[e]="",i.style[s]=`${r+1}`,this.isHorizontal()?i.classList.remove("vertical"):i.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((t,e)=>{const s=this.tabIds[e],i=this.tabpanelIds[e];t.setAttribute("id",i),t.setAttribute("aria-labelledby",s),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(t=>t.getAttribute("id")??`tab-${ao()}`)}getTabPanelIds(){return this.tabpanels.map(t=>t.getAttribute("id")??`panel-${ao()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Vs.horizontal}adjust(t){const e=this.tabs.filter(n=>this.isFocusableElement(n)),s=e.indexOf(this.activetab),i=ai(0,e.length-1,s+t),r=this.tabs.indexOf(e[i]);r>-1&&this.moveToTabByIndex(this.tabs,r)}adjustForward(t){const e=this.tabs;let s=0;for(s=this.activetab?e.indexOf(this.activetab)+1:1,s===e.length&&(s=0);s<e.length&&e.length>1;)if(this.isFocusableElement(e[s])){this.moveToTabByIndex(e,s);break}else{if(this.activetab&&s===e.indexOf(this.activetab))break;s+1>=e.length?s=0:s+=1}}adjustBackward(t){const e=this.tabs;let s=0;for(s=this.activetab?e.indexOf(this.activetab)-1:0,s=s<0?e.length-1:s;s>=0&&e.length>1;)if(this.isFocusableElement(e[s])){this.moveToTabByIndex(e,s);break}else s-1<0?s=e.length-1:s-=1}moveToTabByIndex(t,e){const s=t[e];this.activetab=s,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,s.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Ae([a],Eo.prototype,"orientation",2),Ae([a],Eo.prototype,"activeid",2),Ae([v],Eo.prototype,"tabs",2),Ae([v],Eo.prototype,"tabpanels",2);class No extends Eo{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=xg.transparent}calculateAnimationProperties(t){this.activeTabOffset=this.getTabPosition(t),this.activeTabScale=this.getTabScale(t)}getTabPosition(t){return this.orientation===Vs.horizontal?this.previousActiveTabData.x-(t.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(t.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(t){return this.orientation===Vs.horizontal?this.previousActiveTabData.width/t.getBoundingClientRect().width:this.previousActiveTabData.height/t.getBoundingClientRect().height}applyUpdatedCSSValues(t){this.calculateAnimationProperties(t),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(t){t.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(t),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(t),t.setAttribute("data-animate","true")}setTabData(){if(this.tabs&&this.tabs.length>0){const t=this.tabs,s=(this.activetab||t[0])?.getBoundingClientRect(),i=this.getBoundingClientRect();this.activeTabData={x:s.x-i.x,y:s.y-i.y,height:s.height,width:s.width},this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=l`
505
+ :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=l`
506
+ :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(t,e){super.activeidChanged(t,e),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Ae([a],No.prototype,"appearance",2),Ae([a({mode:"boolean"})],No.prototype,"disabled",2),Ae([a],No.prototype,"size",2),Xt(No,Gt);function Ig(o={}){return f` ${Wt(o)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${ot("tabs")}></slot></div>${le(o)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${ot("tabpanels")}></slot></div>`}const Sg=Ig({}),zg=l`
507
+ ${S("grid")}
508
+
509
+ :host{box-sizing:border-box;font-family:${$};font-size:${E};line-height:${D};color:${Vt};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${B}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${B}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${B}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${B}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${P}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${B}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${ms};color:${gi};fill:${rn}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Re};fill:${Re};color:${A}}:host([size='small']) ::slotted(fluent-tab){font-size:${E};line-height:${D};padding:${ue} ${xt}}:host([size='large']) ::slotted(fluent-tab){font-size:${ct};line-height:${kt};padding:${Cs} ${bt}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Hn};transition-timing-function:${Ni}}:host ::slotted(fluent-tab)::after{height:${rt};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${rt};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${rt};border-radius:${gt};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${rt};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${rt};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${rt}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${ue};padding-bottom:${ue}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${wo};padding-bottom:${wo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${nt};padding-bottom:${nt}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${xt};left:${xt}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${bt};left:${bt}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${bt};left:${bt}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${ue};bottom:${ue}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${nt};bottom:${nt}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Xe};bottom:${Xe}}`,Tg=No.compose({name:`${g.prefix}-tabs`,template:Sg,styles:zg});Tg.define(g.registry);const Bg=o=>o.getAttribute("aria-disabled")==="true",Pg=o=>o.hasAttribute("hidden"),Ds=o=>!Bg(o)&&!Pg(o),Ag={subtle:"subtle",transparent:"transparent"},Fo=vt;var Eg=Object.defineProperty,Ng=Object.getOwnPropertyDescriptor,so=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ng(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Eg(t,e,i),i};class Oo extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.disabled=!1,this.orientation=Fo.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.handleTabClick=t=>{const e=t.currentTarget;e.nodeType===Node.ELEMENT_NODE&&Ds(e)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(e),this.setComponent())},this.handleTabKeyDown=t=>{const e=ci(this);switch(t.key){case Jo:if(!this.isHorizontal())return;t.preventDefault(),this.adjust(e==="ltr"?-1:1);break;case ts:if(!this.isHorizontal())return;t.preventDefault(),this.adjust(e==="ltr"?1:-1);break;case es:if(this.isHorizontal())return;t.preventDefault(),this.adjust(-1);break;case Zo:if(this.isHorizontal())return;t.preventDefault(),this.adjust(1);break;case is:t.preventDefault(),this.adjust(-this.activeTabIndex);break;case os:t.preventDefault(),this.adjust(this.tabs.filter(s=>Ds(s)).length-this.activeTabIndex-1);break}}}disabledChanged(t,e){c(this.elementInternals,"disabled",e)}orientationChanged(t,e){this.elementInternals.ariaOrientation=e??Fo.horizontal,t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0),this.$fastController.isConnected&&this.setTabs()}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length>0&&(this.prevActiveTabIndex=this.tabs.findIndex(s=>s.id===t),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length>0&&(this.tabIds=this.getTabIds(),this.setTabs())}getActiveIndex(){return this.activeid!==void 0?this.tabIds.indexOf(this.activeid)===-1?0:this.tabIds.indexOf(this.activeid):0}setTabs(){this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,e)=>{if(t.slot==="tab"){const s=this.activeTabIndex===e&&Ds(t),i=this.tabIds[e];t.setAttribute("id",i),t.setAttribute("aria-selected",s?"true":"false"),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",s&&!this.disabled?"0":"-1"),s&&(this.activetab=t,this.activeid=i),this.change()}})}getTabIds(){return this.tabs.map(t=>t.getAttribute("id")??`tab-${ao()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Fo.horizontal}adjust(t){const e=this.tabs.filter(n=>Ds(n)),s=e.indexOf(this.activetab),i=tl(0,e.length-1,s+t),r=this.tabs.indexOf(e[i]);r>-1&&this.activateTabByIndex(this.tabs,r)}activateTabByIndex(t,e){const s=t[e];this.activetab=s,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,s.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.activeTabIndex=this.getActiveIndex()}}so([a({mode:"boolean"})],Oo.prototype,"disabled",2),so([a],Oo.prototype,"orientation",2),so([a],Oo.prototype,"activeid",2),so([v],Oo.prototype,"tabs",2);class Gi extends Oo{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=Ag.transparent}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}calculateAnimationProperties(t){this.activeTabOffset=this.getTabPosition(t),this.activeTabScale=this.getTabScale(t)}getTabPosition(t){return this.orientation===Fo.horizontal?this.previousActiveTabData.x-(t.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(t.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(t){return this.orientation===Fo.horizontal?this.previousActiveTabData.width/t.getBoundingClientRect().width:this.previousActiveTabData.height/t.getBoundingClientRect().height}applyUpdatedCSSValues(t){this.calculateAnimationProperties(t),this.setAnimationVars()}animationLoop(t){t.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(t),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(t),t.setAttribute("data-animate","true")}setTabData(){if(this.tabs&&this.tabs.length>0){const t=this.tabs,s=(this.activetab||t[0])?.getBoundingClientRect(),i=this.getBoundingClientRect();this.activeTabData={x:s.x-i.x,y:s.y-i.y,height:s.height,width:s.width},this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setAnimationVars(){this.style.setProperty("--tabIndicatorOffset",`${this.activeTabOffset}px`),this.style.setProperty("--tabIndicatorScale",`${this.activeTabScale}`)}activeidChanged(t,e){super.activeidChanged(t,e),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}}so([a],Gi.prototype,"appearance",2),so([a],Gi.prototype,"size",2);const Fg=f`<template role="tablist"><slot name="tab" ${ot("tabs")}></slot></template>`,Og=l`
510
+ ${S("flex")}
511
+
512
+ :host{--tabPaddingInline:inherit;--tabPaddingBlock:inherit;--tabIndicatorInsetInline:0;--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Vt};flex-direction:row}:host(${I}){flex-direction:column}:host ::slotted([role='tab']){align-items:flex-start}:host ::slotted([slot='tab'][data-animate='true'])::after{transition-property:transform;transition-duration:${Hn};transition-timing-function:${Ni}}:host ::slotted([slot='tab'])::after{height:${rt};margin-block-start:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host(${I}) ::slotted([slot='tab'])::after{width:${rt};height:unset;margin-block-start:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted([slot='tab'])::before{height:${rt};border-radius:${gt};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${B}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${rt};margin-block-start:auto;transform-origin:left}:host(${I}) ::slotted([slot='tab'])::before,:host(${I}) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${rt};margin-inline-end:auto;transform-origin:top}:host(:where(${T},${C})) ::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host(${T}) ::slotted([slot='tab']){--tabPaddingBlock:${ue};--tabPaddingInline:${xt};font-size:${E};line-height:${D}}:host(${C}) ::slotted([slot='tab']){--tabPaddingBlock:${Cs};--tabPaddingInline:${bt};font-size:${ct};line-height:${kt}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host ::slotted([slot='tab']){--tabIndicatorInsetInline:${bt}}:host(${T}) ::slotted([slot='tab']){--tabIndicatorInsetInline:${xt}}:host(${C}) ::slotted([slot='tab']){--tabIndicatorInsetInline:${bt}}:host(${I}) ::slotted([slot='tab']){padding-block:var(--tabPaddingBlock)}:host(${I}) ::slotted([slot='tab']){--tabPaddingBlock:${nt}}:host(${I}${T}) ::slotted([slot='tab']){--tabPaddingBlock:${wo}}:host(${I}${C}) ::slotted([slot='tab']){--tabPaddingBlock:${nt}}:host(${I}) ::slotted([slot='tab'])::after,:host(${I}) ::slotted([slot='tab'])::before,:host(${I}) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host(${I}){--tabIndicatorInsetBlock:${nt}}:host(${I}${T}){--tabIndicatorInsetBlock:${ue}}:host(${I}${C}){--tabIndicatorInsetBlock:${Xe}}:host(${F}){cursor:not-allowed;color:${B}}:host(${F}) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${B}}:host(${F}) ::slotted([slot='tab']:after){background-color:${B}}:host(${F}) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${B}}:host(${F}) ::slotted([slot='tab']:hover):before{content:unset}:host(${z}) ::slotted([slot='tab']:hover){background-color:${ms};color:${gi};fill:${rn}}:host(${z}) ::slotted([slot='tab']:active){background-color:${Re};fill:${Re};color:${A}}`,Mg=Gi.compose({name:`${g.prefix}-tablist`,template:Fg,styles:Og});Mg.define(g.registry);const Mo={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},_g=[Mo.filledLighter,Mo.filledDarker],Ls={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"};var Vg=Object.defineProperty,Dg=Object.getOwnPropertyDescriptor,G=(o,t,e,s)=>{for(var i=s>1?void 0:s?Dg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Vg(t,e,i),i};class K extends w{constructor(){super(),this.elementInternals=this.attachInternals(),this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=Ls.none,this.spellcheck=!1}defaultSlottedNodesChanged(){const t=this.getContent();this.defaultValue=t,this.value=t}labelSlottedNodesChanged(){this.labelEl&&(this.labelEl.hidden=!this.labelSlottedNodes.length),this.labelSlottedNodes.forEach(t=>{t.disabled=this.disabled,t.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),c(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals.ariaReadOnly=`${!!this.readOnly}`}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.labelSlottedNodes?.length&&this.labelSlottedNodes.forEach(t=>t.required=this.required)}resizeChanged(t,e){t&&c(this.elementInternals,`resize-${t}`,!1),e&&c(this.elementInternals,`resize-${e}`,!0),c(this.elementInternals,"resize",[Ls.both,Ls.horizontal,Ls.vertical].includes(this.resize))}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(t){const e=this.controlEl??this.preConnectControlEl;e.defaultValue=t,this.controlEl&&!this.userInteracted&&(this.controlEl.value=t)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(t){const e=this.controlEl??this.preConnectControlEl;e.value=t,this.setFormValue(t),this.setValidity()}connectedCallback(){super.connectedCallback(),this.setDefaultValue(),this.maybeCreateAutoSizerEl(),this.bindEvents(),this.observeControlElAttrs()}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(t){this.setDisabledSideEffect(t),this.setValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(t){this.elementInternals.setValidity({customError:!!t},t?t.toString():void 0),this.reportValidity()}setValidity(t,e,s){this.$fastController.isConnected&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(t??this.controlEl.validity,e??this.controlEl.validationMessage,s??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}setDefaultValue(){this.defaultValue=this.innerHTML.trim()||this.preConnectControlEl.defaultValue||"",this.value=this.preConnectControlEl.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null}bindEvents(){this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}getContent(){return this.defaultSlottedNodes.map(t=>{switch(t.nodeType){case Node.ELEMENT_NODE:return t.outerHTML;case Node.TEXT_NODE:return t.textContent.trim();default:return""}}).join("")||""}observeControlElAttrs(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]})}setDisabledSideEffect(t){this.elementInternals.ariaDisabled=`${t}`,this.controlEl&&(this.controlEl.disabled=t),this.labelSlottedNodes?.length&&this.labelSlottedNodes.forEach(e=>e.disabled=this.disabled)}toggleUserValidityState(){c(this.elementInternals,"user-invalid",!this.validity.valid),c(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.shadowRoot.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((t,e)=>{const s=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(s)!==""&&(this.autoSizerEl?.remove(),e.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}K.formAssociated=!0,G([v],K.prototype,"defaultSlottedNodes",2),G([v],K.prototype,"labelSlottedNodes",2),G([a],K.prototype,"autocomplete",2),G([a({attribute:"auto-resize",mode:"boolean"})],K.prototype,"autoResize",2),G([a({attribute:"dirname"})],K.prototype,"dirName",2),G([a({mode:"boolean"})],K.prototype,"disabled",2),G([a({attribute:"display-shadow",mode:"boolean"})],K.prototype,"displayShadow",2),G([a({attribute:"form"})],K.prototype,"initialForm",2),G([a({attribute:"maxlength",converter:st})],K.prototype,"maxLength",2),G([a({attribute:"minlength",converter:st})],K.prototype,"minLength",2),G([a],K.prototype,"name",2),G([a],K.prototype,"placeholder",2),G([a({attribute:"readonly",mode:"boolean"})],K.prototype,"readOnly",2),G([a({mode:"boolean"})],K.prototype,"required",2),G([a({mode:"fromView"})],K.prototype,"resize",2),G([a({mode:"boolean"})],K.prototype,"spellcheck",2);class Hs extends K{constructor(){super(...arguments),this.appearance=Mo.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(t=>{t.size=this.size})}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),!e||!Array.from(Object.values(Mo)).includes(e)?c(this.elementInternals,Mo.outline,!0):c(this.elementInternals,`${e}`,!0)}blockChanged(){c(this.elementInternals,"block",this.block)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}handleChange(t,e){switch(e){case"size":this.labelSlottedNodes.forEach(s=>{s.size=this.size});break;case"appearance":case"displayShadow":this.maybeDisplayShadow();break}}connectedCallback(){super.connectedCallback(),this.maybeDisplayShadow(),m.getNotifier(this).subscribe(this,"appearance"),m.getNotifier(this).subscribe(this,"displayShadow"),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"appearance"),m.getNotifier(this).unsubscribe(this,"displayShadow"),m.getNotifier(this).unsubscribe(this,"size")}maybeDisplayShadow(){c(this.elementInternals,"display-shadow",this.displayShadow&&_g.includes(this.appearance))}}G([a({mode:"fromView"})],Hs.prototype,"appearance",2),G([a({mode:"boolean"})],Hs.prototype,"block",2),G([a],Hs.prototype,"size",2);const Lg=l`
513
+ ${S("inline-block")}
514
+
515
+ :host{--font-size:${E};--line-height:${D};--padding-inline:${bt};--padding-block:${ue};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${H};--control-padding-inline:${dt};--color:${A};--background-color:${O};--border-color:${ee};--border-block-end-color:${he};--placeholder-color:${sn};--focus-indicator-color:${ko};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${$};font-size:var(--font-size);font-weight:${M};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${vo};--border-block-end-color:${Ue}}:host(:active){--border-color:${$s};--border-block-end-color:${Ge}}:host(:focus-within){outline:none}:host(${pi}:not([hidden])){display:block}:host(${T}){--font-size:${q};--line-height:${it};--min-block-size:40px;--padding-block:${Bi};--padding-inline:${xt};--control-padding-inline:${dt}}:host(${C}){--font-size:${ct};--line-height:${kt};--min-block-size:64px;--padding-block:${nt};--padding-inline:${ft};--control-padding-inline:${xt}}:host(${ul}:not(:disabled)){--resize:both}:host(${dl}:not(:disabled)){--resize:horizontal}:host(${hl}:not(:disabled)){--resize:vertical}:host(${en}){--block-size:auto;--contain-size:inline-size}:host(${Le}){--background-color:${bs};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host(${De}){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host(${Le}${on}),:host(${De}${on}){--box-shadow:${zi}}:host(${pl}){--border-color:${Ci};--border-block-end-color:${Ci}}:host(:disabled){--color:${B};--background-color:${wt};--border-color:${Tt};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${B};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${P};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr / 1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host(${pi}) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${P} ${P};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${P});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${Ke};transition-duration:${Ln};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Ai};transition-delay:${Ye}}:host([readonly]) .root::after,:host(:disabled) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${Bi};padding-inline-end:${Ht}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1 / -1;grid-row:1 / -1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host(${en}) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${He};background-color:${ln}}`.withBehaviors(Q(l`
516
+ :host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(:disabled){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}`));function Hg(){return f`<template><label ${$t("labelEl")} for="control" part="label"><slot name="label" ${ot({property:"labelSlottedNodes",filter:di})}></slot></label><div class="root" part="root"><textarea ${$t("controlEl")} id="control" class="control" part="control" ?required="${o=>o.required}" ?disabled="${o=>o.disabled}" ?readonly="${o=>o.readOnly}" ?spellcheck="${o=>o.spellcheck}" autocomplete="${o=>o.autocomplete}" maxlength="${o=>o.maxLength}" minlength="${o=>o.minLength}" placeholder="${o=>o.placeholder}" @change="${o=>o.handleControlChange()}" @select="${o=>o.handleControlSelect()}" @input="${o=>o.handleControlInput()}"></textarea></div><div hidden><slot ${ot({property:"defaultSlottedNodes",filter:di})}></slot></div></template>`}const Rg=Hg(),jg=Hs.compose({name:`${g.prefix}-textarea`,template:Rg,styles:Lg,shadowOptions:{delegatesFocus:!0}});jg.define(g.registry);const qg={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Ug=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var Gg=Object.defineProperty,Wg=Object.getOwnPropertyDescriptor,_=(o,t,e,s)=>{for(var i=s>1?void 0:s?Wg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Gg(t,e,i),i};class V extends w{constructor(){super(...arguments),this.type=qg.text,this._value=this.initialValue,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}defaultSlottedNodesChanged(t,e){this.$fastController.isConnected&&(this.controlLabel.hidden=!e?.length)}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!e}`)}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.control.value=t,this.setFormValue(t),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}beforeinputHandler(t){return t.inputType==="insertLineBreak"&&this.implicitSubmit(),!0}changeHandler(t){return this.setValidity(),this.$emit("change",t,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){return t.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity()}focusinHandler(t){return t.target===this&&this.control?.focus(),!0}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const t=[...this.elementInternals.form.elements],e=t.find(i=>i.getAttribute("type")==="submit");if(e){e.click();return}t.filter(i=>Ug.includes(i.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(t){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(t){return t.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(t){this.elementInternals.setValidity({customError:!0},t),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setValidity(t=this.control.validity,e=this.validationMessage,s=this.control){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(t,e,s)}}}V.formAssociated=!0,_([a],V.prototype,"autocomplete",2),_([a({mode:"boolean"})],V.prototype,"autofocus",2),_([v],V.prototype,"defaultSlottedNodes",2),_([a],V.prototype,"dirname",2),_([a({mode:"boolean"})],V.prototype,"disabled",2),_([a({attribute:"form"})],V.prototype,"formAttribute",2),_([a({attribute:"value",mode:"fromView"})],V.prototype,"initialValue",2),_([a],V.prototype,"list",2),_([a({converter:st})],V.prototype,"maxlength",2),_([a({converter:st})],V.prototype,"minlength",2),_([a({mode:"boolean"})],V.prototype,"multiple",2),_([a],V.prototype,"name",2),_([a],V.prototype,"pattern",2),_([a],V.prototype,"placeholder",2),_([a({attribute:"readonly",mode:"boolean"})],V.prototype,"readOnly",2),_([a({mode:"boolean"})],V.prototype,"required",2),_([a({converter:st})],V.prototype,"size",2),_([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],V.prototype,"spellcheck",2),_([a],V.prototype,"type",2),_([v],V.prototype,"controlLabel",2);class Rs extends V{appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}controlSizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}_([a],Rs.prototype,"appearance",2),_([a({attribute:"control-size"})],Rs.prototype,"controlSize",2),Xt(Rs,Gt);const Xg=l`
517
+ ${S("block")}
518
+
519
+ :host{font-family:${$};font-size:${E};font-weight:${M};line-height:${D};max-width:400px}.label{display:flex;color:${A};padding-bottom:${Bi};flex-shrink:0;padding-inline-end:${Ht}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${O};border:${H} solid ${ee};border-bottom-color:${he};border-radius:${P};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${dt};padding:0 ${bt};position:relative;width:100%}:has(.control:user-invalid){border-color:${Ci}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${P});border-radius:0 0 ${P} ${P};border-bottom:2px solid ${ko};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Ln};transition-delay:${Ke}}.control{width:100%;height:100%;box-sizing:border-box;color:${A};border-radius:${P};background:${wt};font-family:${$};font-weight:${M};font-size:${E};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${sn}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${ut};font-size:${We}}:host ::slotted([slot='start']){padding-right:${dt}}:host ::slotted([slot='end']){padding-left:${dt};gap:${Ht}}:host(:hover) .root{border-color:${vo};border-bottom-color:${Ue}}:host(:active) .root{border-color:${$s}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Ai};transition-delay:${Ye}}:host(:focus-within:active) .root:after{border-bottom-color:${pn}}:host(${W}:focus-within) .root{border:${H} solid ${ee}}:host(:focus-within) .control{color:${A}}:host([disabled]) .root{background:${wt};border:${H} solid ${Tt}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${B}}::selection{color:${He};background-color:${ln}}:host(${T}) .control{font-size:${q};font-weight:${M};line-height:${it}}:host(${T}) .root{height:24px;gap:${dt};padding:0 ${xt}}:host(${T}) ::slotted([slot='start']),:host(${T}) ::slotted([slot='end']){font-size:${ct}}:host(${C}) .control{font-size:${ct};font-weight:${M};line-height:${kt}}:host(${C}) .root{height:40px;gap:${oe};padding:0 ${ft}}:host(${C}) ::slotted([slot='start']),:host(${C}) ::slotted([slot='end']){font-size:${vs}}:host(${ho}) .root{background:${wt};border:0;border-radius:0;border-bottom:${H} solid ${he}}:host(${ho}:hover) .root{border-bottom-color:${Ue}}:host(${ho}:active) .root{border-bottom-color:${Ge}}:host(${ho}:focus-within) .root{border:0;border-bottom-color:${Ge}}:host(${ho}[disabled]) .root{border-bottom-color:${Tt}}:host(${De}) .root,:host(${Le}) .root{border:${H} solid ${pt};box-shadow:${zi}}:host(${De}) .root{background:${O}}:host(${Le}) .root{background:${bs}}:host(${De}:hover) .root,:host(${Le}:hover) .root{border-color:${gn}}:host(${De}:active) .root,:host(${Le}:active) .root{border-color:${gn};background:${bs}}`;function Kg(o={}){return f`<template @beforeinput="${(t,e)=>t.beforeinputHandler(e.event)}" @focusin="${(t,e)=>t.focusinHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}"><label part="label" for="control" class="label" ${$t("controlLabel")}><slot ${ot({property:"defaultSlottedNodes",filter:di})}></slot></label><div class="root" part="root">${Wt(o)}<input class="control" part="control" id="control" @change="${(t,e)=>t.changeHandler(e.event)}" @input="${(t,e)=>t.inputHandler(e.event)}" ?autofocus="${t=>t.autofocus}" autocomplete="${t=>t.autocomplete}" ?disabled="${t=>t.disabled}" list="${t=>t.list}" maxlength="${t=>t.maxlength}" minlength="${t=>t.minlength}" ?multiple="${t=>t.multiple}" name="${t=>t.name}" pattern="${t=>t.pattern}" placeholder="${t=>t.placeholder}" ?readonly="${t=>t.readOnly}" ?required="${t=>t.required}" size="${t=>t.size}" spellcheck="${t=>t.spellcheck}" type="${t=>t.type}" value="${t=>t.initialValue}" ${$t("control")} />${le(o)}</div></template>`}const Yg=Kg(),Qg=Rs.compose({name:`${g.prefix}-text-input`,template:Yg,styles:Xg,shadowOptions:{delegatesFocus:!0}});Qg.define(g.registry);var Zg=Object.defineProperty,Jg=Object.getOwnPropertyDescriptor,Ut=(o,t,e,s)=>{for(var i=s>1?void 0:s?Jg(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Zg(t,e,i),i};class Et extends w{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}sizeChanged(t,e){t&&c(this.elementInternals,`size-${t}`,!1),e&&c(this.elementInternals,`size-${e}`,!0)}fontChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}weightChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}alignChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)})}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){switch(e){case"nowrap":case"truncate":case"italic":case"underline":case"strikethrough":case"block":c(this.elementInternals,e,!!this[e]);break}}}Ut([a({mode:"boolean"})],Et.prototype,"nowrap",2),Ut([a({mode:"boolean"})],Et.prototype,"truncate",2),Ut([a({mode:"boolean"})],Et.prototype,"italic",2),Ut([a({mode:"boolean"})],Et.prototype,"underline",2),Ut([a({mode:"boolean"})],Et.prototype,"strikethrough",2),Ut([a({mode:"boolean"})],Et.prototype,"block",2),Ut([a],Et.prototype,"size",2),Ut([a],Et.prototype,"font",2),Ut([a],Et.prototype,"weight",2),Ut([a],Et.prototype,"align",2);const aa=l.partial`:is([state--nowrap], :state(nowrap))`,la=l.partial`:is([state--truncate], :state(truncate))`,ca=l.partial`:is([state--underline], :state(underline))`,da=l.partial`:is([state--strikethrough], :state(strikethrough))`,tb=l`
520
+ ${S("inline")}
521
+
522
+ :host{contain:content;font-family:${$};font-size:${E};line-height:${D};font-weight:${M};text-align:start}:host(${aa}),:host(${aa}) ::slotted(*){white-space:nowrap;overflow:hidden}:host(${la}),:host(${la}) ::slotted(*){text-overflow:ellipsis}:host(:is([state--block],:state(block))){display:block}:host(:is([state--italic],:state(italic))){font-style:italic}:host(${ca}){text-decoration-line:underline}:host(${da}){text-decoration-line:line-through}:host(${ca}${da}){text-decoration-line:line-through underline}:host(:is([state--size-100],:state(size-100))){font-size:${xo};line-height:${ks}}:host(:is([state--size-200],:state(size-200))){font-size:${q};line-height:${it}}:host(:is([state--size-400],:state(size-400))){font-size:${ct};line-height:${kt}}:host(:is([state--size-500],:state(size-500))){font-size:${We};line-height:${xs}}:host(:is([state--size-600],:state(size-600))){font-size:${vs};line-height:${Nn}}:host(:is([state--size-700],:state(size-700))){font-size:${Bn};line-height:${Fn}}:host(:is([state--size-800],:state(size-800))){font-size:${Pn};line-height:${On}}:host(:is([state--size-900],:state(size-900))){font-size:${An};line-height:${Mn}}:host(:is([state--size-1000],:state(size-1000))){font-size:${En};line-height:${_n}}:host(:is([state--monospace],:state(monospace))){font-family:${ed}}:host(:is([state--numeric],:state(numeric))){font-family:${od}}:host(:is([state--medium],:state(medium))){font-weight:${sd}}:host(:is([state--semibold],:state(semibold))){font-weight:${L}}:host(:is([state--bold],:state(bold))){font-weight:${ys}}:host(:is([state--center],:state(center))){text-align:center}:host(:is([state--end],:state(end))){text-align:end}:host(:is([state--justify],:state(justify))){text-align:justify}::slotted(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,eb=f`<slot></slot>`,ob=Et.compose({name:`${g.prefix}-text`,template:eb,styles:tb});ob.define(g.registry);var sb=Object.defineProperty,ib=Object.getOwnPropertyDescriptor,ha=(o,t,e,s)=>{for(var i=s>1?void 0:s?ib(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&sb(t,e,i),i};class Wi extends se{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const t=`${this.mixed?"mixed":!!this.pressed}`;this.elementInternals.ariaPressed=t,c(this.elementInternals,"pressed",!!this.pressed||!!this.mixed)}}}ha([a({mode:"boolean"})],Wi.prototype,"pressed",2),ha([a({mode:"boolean"})],Wi.prototype,"mixed",2);const rb=l`
523
+ ${Ts}
524
+
525
+ :host(${N}){border-color:${ee};background-color:${an};color:${A};border-width:${H}}:host(${N}:hover){border-color:${vo};background-color:${fi}}:host(${N}:active){border-color:${$s};background-color:${mi}}:host(${N}${lt}){border-color:transparent;background-color:${Ol};color:${te}}:host(${N}${lt}:hover){background-color:${cn}}:host(${N}${lt}:active){background-color:${dn}}:host(${N}${z}){border-color:transparent;background-color:${Nl};color:${bl}}:host(${N}${z}:hover){background-color:${ms};color:${hs}}:host(${N}${z}:active){background-color:${Re};color:${us}}:host(${N}${W}),:host(${N}${Z}){background-color:${Fl}}:host(${N}${W}:hover),:host(${N}${Z}:hover){background-color:${$i}}:host(${N}${W}:active),:host(${N}${Z}:active){background-color:${vi}}:host(${N}${Z}){border-color:transparent;color:${fl}}:host(${N}${Z}:hover){color:${ps}}:host(${N}${Z}:active){color:${gs}}`.withBehaviors(Q(l`
526
+ :host(${N}),:host(${N}${lt}),:host(${N}${z}),:host(${N}${W}),:host(${N}${Z}){background:SelectedItem;color:SelectedItemText}`)),nb=_i(),ab=Wi.compose({name:`${g.prefix}-toggle-button`,template:nb,styles:rb});ab.define(g.registry);