@fluentui/web-components 3.0.0-beta.4 → 3.0.0-beta.41

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 (771) hide show
  1. package/CHANGELOG.md +528 -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 +108 -8
  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 +179 -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 +22 -2
  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 +267 -22
  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/define.d.ts +1 -0
  52. package/dist/dts/dialog/dialog.bench.d.ts +3 -0
  53. package/dist/dts/dialog/dialog.d.ts +58 -0
  54. package/dist/dts/dialog/dialog.definition.d.ts +9 -0
  55. package/dist/dts/dialog/dialog.options.d.ts +11 -0
  56. package/dist/dts/dialog/dialog.styles.d.ts +4 -0
  57. package/dist/dts/dialog/dialog.template.d.ts +7 -0
  58. package/dist/dts/dialog/index.d.ts +5 -0
  59. package/dist/dts/dialog-body/define.d.ts +1 -0
  60. package/dist/dts/dialog-body/dialog-body.bench.d.ts +3 -0
  61. package/dist/dts/dialog-body/dialog-body.d.ts +14 -0
  62. package/dist/dts/dialog-body/dialog-body.definition.d.ts +9 -0
  63. package/dist/dts/dialog-body/dialog-body.styles.d.ts +4 -0
  64. package/dist/dts/dialog-body/dialog-body.template.d.ts +6 -0
  65. package/dist/dts/dialog-body/index.d.ts +4 -0
  66. package/dist/dts/divider/divider.bench.d.ts +3 -0
  67. package/dist/dts/divider/divider.d.ts +65 -11
  68. package/dist/dts/divider/divider.options.d.ts +32 -8
  69. package/dist/dts/divider/divider.template.d.ts +1 -0
  70. package/dist/dts/divider/index.d.ts +2 -2
  71. package/dist/dts/drawer/define.d.ts +1 -0
  72. package/dist/dts/drawer/drawer.d.ts +93 -0
  73. package/dist/dts/drawer/drawer.definition.d.ts +8 -0
  74. package/dist/dts/drawer/drawer.options.d.ts +40 -0
  75. package/dist/dts/drawer/drawer.styles.d.ts +4 -0
  76. package/dist/dts/drawer/drawer.template.d.ts +8 -0
  77. package/dist/dts/drawer/index.d.ts +5 -0
  78. package/dist/dts/drawer-body/define.d.ts +1 -0
  79. package/dist/dts/drawer-body/drawer-body.d.ts +3 -0
  80. package/dist/dts/drawer-body/drawer-body.definition.d.ts +8 -0
  81. package/dist/dts/drawer-body/drawer-body.styles.d.ts +4 -0
  82. package/dist/dts/drawer-body/drawer-body.template.d.ts +8 -0
  83. package/dist/dts/drawer-body/index.d.ts +4 -0
  84. package/dist/dts/field/define.d.ts +1 -0
  85. package/dist/dts/field/field.bench.d.ts +3 -0
  86. package/dist/dts/field/field.d.ts +128 -0
  87. package/dist/dts/field/field.definition.d.ts +9 -0
  88. package/dist/dts/field/field.options.d.ts +43 -0
  89. package/dist/dts/field/field.styles.d.ts +6 -0
  90. package/dist/dts/field/field.template.d.ts +6 -0
  91. package/dist/dts/field/index.d.ts +6 -0
  92. package/dist/dts/form-associated/form-associated.d.ts +104 -0
  93. package/dist/dts/image/image.bench.d.ts +3 -0
  94. package/dist/dts/image/image.d.ts +36 -0
  95. package/dist/dts/image/image.options.d.ts +3 -3
  96. package/dist/dts/image/index.d.ts +2 -2
  97. package/dist/dts/index-rollup.d.ts +36 -1
  98. package/dist/dts/index.d.ts +56 -30
  99. package/dist/dts/label/index.d.ts +2 -1
  100. package/dist/dts/label/label.bench.d.ts +3 -0
  101. package/dist/dts/label/label.d.ts +24 -2
  102. package/dist/dts/label/label.options.d.ts +3 -3
  103. package/dist/dts/link/define.d.ts +1 -0
  104. package/dist/dts/link/index.d.ts +4 -0
  105. package/dist/dts/link/link.bench.d.ts +3 -0
  106. package/dist/dts/link/link.d.ts +45 -0
  107. package/dist/dts/link/link.definition.d.ts +7 -0
  108. package/dist/dts/link/link.options.d.ts +52 -0
  109. package/dist/dts/link/link.styles.d.ts +1 -0
  110. package/dist/dts/link/link.template.d.ts +12 -0
  111. package/dist/dts/menu/index.d.ts +1 -1
  112. package/dist/dts/menu/menu.bench.d.ts +3 -0
  113. package/dist/dts/menu/menu.d.ts +78 -60
  114. package/dist/dts/menu-button/index.d.ts +4 -3
  115. package/dist/dts/menu-button/menu-button.bench.d.ts +3 -0
  116. package/dist/dts/menu-button/menu-button.definition.d.ts +0 -3
  117. package/dist/dts/menu-button/menu-button.options.d.ts +6 -7
  118. package/dist/dts/menu-item/index.d.ts +5 -3
  119. package/dist/dts/menu-item/menu-item.bench.d.ts +3 -0
  120. package/dist/dts/menu-item/menu-item.d.ts +145 -5
  121. package/dist/dts/menu-item/menu-item.definition.d.ts +0 -4
  122. package/dist/dts/menu-item/menu-item.options.d.ts +30 -0
  123. package/dist/dts/menu-item/menu-item.styles.d.ts +5 -0
  124. package/dist/dts/menu-item/menu-item.template.d.ts +2 -1
  125. package/dist/dts/menu-list/index.d.ts +1 -1
  126. package/dist/dts/menu-list/menu-list.bench.d.ts +3 -0
  127. package/dist/dts/menu-list/menu-list.d.ts +73 -4
  128. package/dist/dts/menu-list/menu-list.definition.d.ts +0 -4
  129. package/dist/dts/menu-list/menu-list.template.d.ts +1 -0
  130. package/dist/dts/message-bar/define.d.ts +1 -0
  131. package/dist/dts/message-bar/index.d.ts +5 -0
  132. package/dist/dts/message-bar/message-bar.bench.d.ts +3 -0
  133. package/dist/dts/message-bar/message-bar.d.ts +66 -0
  134. package/dist/dts/message-bar/message-bar.definition.d.ts +9 -0
  135. package/dist/dts/message-bar/message-bar.options.d.ts +30 -0
  136. package/dist/dts/message-bar/message-bar.styles.d.ts +7 -0
  137. package/dist/dts/message-bar/message-bar.template.d.ts +14 -0
  138. package/dist/dts/patterns/aria-globals.d.ts +189 -0
  139. package/dist/dts/patterns/index.d.ts +2 -0
  140. package/dist/dts/patterns/start-end.d.ts +44 -0
  141. package/dist/dts/progress-bar/index.d.ts +2 -2
  142. package/dist/dts/progress-bar/progress-bar.bench.d.ts +3 -0
  143. package/dist/dts/progress-bar/progress-bar.d.ts +78 -10
  144. package/dist/dts/progress-bar/progress-bar.options.d.ts +4 -4
  145. package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -0
  146. package/dist/dts/radio/index.d.ts +2 -1
  147. package/dist/dts/radio/radio.bench.d.ts +3 -0
  148. package/dist/dts/radio/radio.d.ts +57 -3
  149. package/dist/dts/radio/radio.options.d.ts +14 -0
  150. package/dist/dts/radio/radio.styles.d.ts +3 -1
  151. package/dist/dts/radio/radio.template.d.ts +13 -0
  152. package/dist/dts/radio-group/index.d.ts +2 -2
  153. package/dist/dts/radio-group/radio-group.bench.d.ts +3 -0
  154. package/dist/dts/radio-group/radio-group.d.ts +257 -6
  155. package/dist/dts/radio-group/radio-group.options.d.ts +17 -0
  156. package/dist/dts/radio-group/radio-group.template.d.ts +2 -1
  157. package/dist/dts/rating-display/define.d.ts +1 -0
  158. package/dist/dts/rating-display/index.d.ts +5 -0
  159. package/dist/dts/rating-display/rating-display.d.ts +94 -0
  160. package/dist/dts/rating-display/rating-display.definition.d.ts +9 -0
  161. package/dist/dts/rating-display/rating-display.options.d.ts +29 -0
  162. package/dist/dts/rating-display/rating-display.styles.d.ts +6 -0
  163. package/dist/dts/rating-display/rating-display.template.d.ts +14 -0
  164. package/dist/dts/slider/index.d.ts +3 -2
  165. package/dist/dts/slider/slider-utilities.d.ts +5 -0
  166. package/dist/dts/slider/slider.bench.d.ts +3 -0
  167. package/dist/dts/slider/slider.d.ts +195 -5
  168. package/dist/dts/slider/slider.form-associated.d.ts +14 -0
  169. package/dist/dts/slider/slider.options.d.ts +44 -3
  170. package/dist/dts/slider/slider.template.d.ts +4 -2
  171. package/dist/dts/spinner/index.d.ts +2 -2
  172. package/dist/dts/spinner/spinner.bench.d.ts +3 -0
  173. package/dist/dts/spinner/spinner.d.ts +21 -4
  174. package/dist/dts/spinner/spinner.definition.d.ts +0 -4
  175. package/dist/dts/spinner/spinner.options.d.ts +3 -3
  176. package/dist/dts/spinner/spinner.template.d.ts +1 -2
  177. package/dist/dts/styles/partials/index.d.ts +1 -0
  178. package/dist/dts/styles/partials/typography.partials.d.ts +18 -0
  179. package/dist/dts/styles/states/index.d.ts +215 -0
  180. package/dist/dts/switch/index.d.ts +3 -2
  181. package/dist/dts/switch/switch.bench.d.ts +3 -0
  182. package/dist/dts/switch/switch.d.ts +7 -12
  183. package/dist/dts/switch/switch.form-associated.d.ts +14 -0
  184. package/dist/dts/switch/switch.options.d.ts +2 -2
  185. package/dist/dts/switch/switch.template.d.ts +2 -1
  186. package/dist/dts/tab/index.d.ts +4 -3
  187. package/dist/dts/tab/tab.bench.d.ts +3 -0
  188. package/dist/dts/tab/tab.d.ts +17 -2
  189. package/dist/dts/tab/tab.template.d.ts +3 -3
  190. package/dist/dts/tab-panel/index.d.ts +1 -1
  191. package/dist/dts/tab-panel/tab-panel.bench.d.ts +3 -0
  192. package/dist/dts/tab-panel/tab-panel.d.ts +2 -2
  193. package/dist/dts/tab-panel/tab-panel.template.d.ts +4 -1
  194. package/dist/dts/tabs/index.d.ts +5 -4
  195. package/dist/dts/tabs/tabs.bench.d.ts +3 -0
  196. package/dist/dts/tabs/tabs.d.ts +102 -13
  197. package/dist/dts/tabs/tabs.options.d.ts +23 -5
  198. package/dist/dts/tabs/tabs.template.d.ts +5 -1
  199. package/dist/dts/text/index.d.ts +2 -2
  200. package/dist/dts/text/text.bench.d.ts +3 -0
  201. package/dist/dts/text/text.d.ts +40 -1
  202. package/dist/dts/text/text.options.d.ts +5 -5
  203. package/dist/dts/text-input/index.d.ts +5 -5
  204. package/dist/dts/text-input/text-input.bench.d.ts +3 -0
  205. package/dist/dts/text-input/text-input.d.ts +407 -11
  206. package/dist/dts/text-input/text-input.definition.d.ts +2 -3
  207. package/dist/dts/text-input/text-input.options.d.ts +31 -10
  208. package/dist/dts/text-input/text-input.styles.d.ts +5 -2
  209. package/dist/dts/text-input/text-input.template.d.ts +8 -1
  210. package/dist/dts/theme/design-tokens.d.ts +2180 -384
  211. package/dist/dts/theme/set-theme.bench.d.ts +3 -0
  212. package/dist/dts/theme/set-theme.d.ts +6 -3
  213. package/dist/dts/toggle-button/index.d.ts +5 -4
  214. package/dist/dts/toggle-button/toggle-button.bench.d.ts +3 -0
  215. package/dist/dts/toggle-button/toggle-button.d.ts +29 -26
  216. package/dist/dts/toggle-button/toggle-button.definition.d.ts +0 -2
  217. package/dist/dts/toggle-button/toggle-button.options.d.ts +6 -7
  218. package/dist/dts/toggle-button/toggle-button.styles.d.ts +7 -0
  219. package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
  220. package/dist/dts/utils/benchmark-dependencies/tokens.d.ts +1 -0
  221. package/dist/dts/utils/benchmark-wrapper.d.ts +2 -0
  222. package/dist/dts/utils/direction.d.ts +10 -0
  223. package/dist/dts/utils/display.d.ts +17 -0
  224. package/dist/dts/utils/element-internals.d.ts +20 -0
  225. package/dist/dts/utils/index.d.ts +6 -0
  226. package/dist/dts/utils/root-active-element.d.ts +1 -0
  227. package/dist/dts/utils/template-helpers.d.ts +16 -0
  228. package/dist/dts/utils/typings.d.ts +6 -0
  229. package/dist/dts/utils/whitespace-filter.d.ts +12 -0
  230. package/dist/esm/accordion/accordion.bench.js +30 -0
  231. package/dist/esm/accordion/accordion.bench.js.map +1 -0
  232. package/dist/esm/accordion/accordion.definition.js +0 -4
  233. package/dist/esm/accordion/accordion.definition.js.map +1 -1
  234. package/dist/esm/accordion/accordion.js +172 -3
  235. package/dist/esm/accordion/accordion.js.map +1 -1
  236. package/dist/esm/accordion/accordion.options.js +9 -0
  237. package/dist/esm/accordion/accordion.options.js.map +1 -0
  238. package/dist/esm/accordion/accordion.styles.js +1 -1
  239. package/dist/esm/accordion/accordion.styles.js.map +1 -1
  240. package/dist/esm/accordion/accordion.template.js +11 -1
  241. package/dist/esm/accordion/accordion.template.js.map +1 -1
  242. package/dist/esm/accordion/index.js +2 -1
  243. package/dist/esm/accordion/index.js.map +1 -1
  244. package/dist/esm/accordion-item/accordion-item.bench.js +14 -0
  245. package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -0
  246. package/dist/esm/accordion-item/accordion-item.definition.js +0 -3
  247. package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
  248. package/dist/esm/accordion-item/accordion-item.js +126 -12
  249. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  250. package/dist/esm/accordion-item/accordion-item.options.js +1 -1
  251. package/dist/esm/accordion-item/accordion-item.options.js.map +1 -1
  252. package/dist/esm/accordion-item/accordion-item.styles.js +42 -64
  253. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  254. package/dist/esm/accordion-item/accordion-item.template.js +30 -4
  255. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  256. package/dist/esm/accordion-item/index.js +2 -2
  257. package/dist/esm/accordion-item/index.js.map +1 -1
  258. package/dist/esm/anchor-button/anchor-button.bench.js +11 -0
  259. package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -0
  260. package/dist/esm/anchor-button/anchor-button.definition.js +0 -6
  261. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  262. package/dist/esm/anchor-button/anchor-button.js +187 -60
  263. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  264. package/dist/esm/anchor-button/anchor-button.options.js +26 -0
  265. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  266. package/dist/esm/anchor-button/anchor-button.styles.js +12 -5
  267. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  268. package/dist/esm/anchor-button/anchor-button.template.js +21 -1
  269. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  270. package/dist/esm/anchor-button/index.js +3 -3
  271. package/dist/esm/anchor-button/index.js.map +1 -1
  272. package/dist/esm/avatar/avatar.bench.js +10 -0
  273. package/dist/esm/avatar/avatar.bench.js.map +1 -0
  274. package/dist/esm/avatar/avatar.js +43 -23
  275. package/dist/esm/avatar/avatar.js.map +1 -1
  276. package/dist/esm/avatar/avatar.styles.js +36 -36
  277. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  278. package/dist/esm/avatar/avatar.template.js +2 -4
  279. package/dist/esm/avatar/avatar.template.js.map +1 -1
  280. package/dist/esm/avatar/index.js +2 -2
  281. package/dist/esm/avatar/index.js.map +1 -1
  282. package/dist/esm/badge/badge.bench.js +11 -0
  283. package/dist/esm/badge/badge.bench.js.map +1 -0
  284. package/dist/esm/badge/badge.definition.js +0 -3
  285. package/dist/esm/badge/badge.definition.js.map +1 -1
  286. package/dist/esm/badge/badge.js +61 -7
  287. package/dist/esm/badge/badge.js.map +1 -1
  288. package/dist/esm/badge/badge.styles.js +14 -6
  289. package/dist/esm/badge/badge.styles.js.map +1 -1
  290. package/dist/esm/badge/badge.template.js +2 -2
  291. package/dist/esm/badge/badge.template.js.map +1 -1
  292. package/dist/esm/badge/index.js +2 -2
  293. package/dist/esm/badge/index.js.map +1 -1
  294. package/dist/esm/button/button.bench.js +11 -0
  295. package/dist/esm/button/button.bench.js.map +1 -0
  296. package/dist/esm/button/button.definition.js +2 -6
  297. package/dist/esm/button/button.definition.js.map +1 -1
  298. package/dist/esm/button/button.js +312 -42
  299. package/dist/esm/button/button.js.map +1 -1
  300. package/dist/esm/button/button.options.js +20 -1
  301. package/dist/esm/button/button.options.js.map +1 -1
  302. package/dist/esm/button/button.styles.js +78 -78
  303. package/dist/esm/button/button.styles.js.map +1 -1
  304. package/dist/esm/button/button.template.js +23 -1
  305. package/dist/esm/button/button.template.js.map +1 -1
  306. package/dist/esm/button/index.js +4 -4
  307. package/dist/esm/button/index.js.map +1 -1
  308. package/dist/esm/checkbox/checkbox.bench.js +11 -0
  309. package/dist/esm/checkbox/checkbox.bench.js.map +1 -0
  310. package/dist/esm/checkbox/checkbox.definition.js +1 -1
  311. package/dist/esm/checkbox/checkbox.definition.js.map +1 -1
  312. package/dist/esm/checkbox/checkbox.js +446 -13
  313. package/dist/esm/checkbox/checkbox.js.map +1 -1
  314. package/dist/esm/checkbox/checkbox.options.js +0 -8
  315. package/dist/esm/checkbox/checkbox.options.js.map +1 -1
  316. package/dist/esm/checkbox/checkbox.styles.js +143 -125
  317. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  318. package/dist/esm/checkbox/checkbox.template.js +34 -17
  319. package/dist/esm/checkbox/checkbox.template.js.map +1 -1
  320. package/dist/esm/checkbox/index.js +3 -3
  321. package/dist/esm/checkbox/index.js.map +1 -1
  322. package/dist/esm/compound-button/compound-button.bench.js +15 -0
  323. package/dist/esm/compound-button/compound-button.bench.js.map +1 -0
  324. package/dist/esm/compound-button/compound-button.definition.js +0 -6
  325. package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
  326. package/dist/esm/compound-button/compound-button.options.js.map +1 -1
  327. package/dist/esm/compound-button/compound-button.styles.js +16 -17
  328. package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
  329. package/dist/esm/compound-button/compound-button.template.js +4 -40
  330. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  331. package/dist/esm/compound-button/index.js +2 -2
  332. package/dist/esm/compound-button/index.js.map +1 -1
  333. package/dist/esm/counter-badge/counter-badge.bench.js +11 -0
  334. package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -0
  335. package/dist/esm/counter-badge/counter-badge.definition.js +0 -4
  336. package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
  337. package/dist/esm/counter-badge/counter-badge.js +69 -7
  338. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  339. package/dist/esm/counter-badge/counter-badge.styles.js +12 -6
  340. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  341. package/dist/esm/counter-badge/index.js +2 -2
  342. package/dist/esm/counter-badge/index.js.map +1 -1
  343. package/dist/esm/dialog/define.js +4 -0
  344. package/dist/esm/dialog/define.js.map +1 -0
  345. package/dist/esm/dialog/dialog.bench.js +11 -0
  346. package/dist/esm/dialog/dialog.bench.js.map +1 -0
  347. package/dist/esm/dialog/dialog.definition.js +17 -0
  348. package/dist/esm/dialog/dialog.definition.js.map +1 -0
  349. package/dist/esm/dialog/dialog.js +91 -0
  350. package/dist/esm/dialog/dialog.js.map +1 -0
  351. package/dist/esm/dialog/dialog.options.js +10 -0
  352. package/dist/esm/dialog/dialog.options.js.map +1 -0
  353. package/dist/esm/dialog/dialog.styles.js +86 -0
  354. package/dist/esm/dialog/dialog.styles.js.map +1 -0
  355. package/dist/esm/dialog/dialog.template.js +24 -0
  356. package/dist/esm/dialog/dialog.template.js.map +1 -0
  357. package/dist/esm/dialog/index.js +6 -0
  358. package/dist/esm/dialog/index.js.map +1 -0
  359. package/dist/esm/dialog-body/define.js +4 -0
  360. package/dist/esm/dialog-body/define.js.map +1 -0
  361. package/dist/esm/dialog-body/dialog-body.bench.js +11 -0
  362. package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -0
  363. package/dist/esm/dialog-body/dialog-body.definition.js +17 -0
  364. package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -0
  365. package/dist/esm/dialog-body/dialog-body.js +22 -0
  366. package/dist/esm/dialog-body/dialog-body.js.map +1 -0
  367. package/dist/esm/dialog-body/dialog-body.styles.js +79 -0
  368. package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -0
  369. package/dist/esm/dialog-body/dialog-body.template.js +42 -0
  370. package/dist/esm/dialog-body/dialog-body.template.js.map +1 -0
  371. package/dist/esm/dialog-body/index.js +5 -0
  372. package/dist/esm/dialog-body/index.js.map +1 -0
  373. package/dist/esm/divider/divider.bench.js +10 -0
  374. package/dist/esm/divider/divider.bench.js.map +1 -0
  375. package/dist/esm/divider/divider.js +101 -11
  376. package/dist/esm/divider/divider.js.map +1 -1
  377. package/dist/esm/divider/divider.options.js +14 -5
  378. package/dist/esm/divider/divider.options.js.map +1 -1
  379. package/dist/esm/divider/divider.styles.js +32 -31
  380. package/dist/esm/divider/divider.styles.js.map +1 -1
  381. package/dist/esm/divider/divider.template.js +4 -1
  382. package/dist/esm/divider/divider.template.js.map +1 -1
  383. package/dist/esm/divider/index.js +2 -2
  384. package/dist/esm/divider/index.js.map +1 -1
  385. package/dist/esm/drawer/define.js +4 -0
  386. package/dist/esm/drawer/define.js.map +1 -0
  387. package/dist/esm/drawer/drawer.definition.js +16 -0
  388. package/dist/esm/drawer/drawer.definition.js.map +1 -0
  389. package/dist/esm/drawer/drawer.js +132 -0
  390. package/dist/esm/drawer/drawer.js.map +1 -0
  391. package/dist/esm/drawer/drawer.options.js +25 -0
  392. package/dist/esm/drawer/drawer.options.js.map +1 -0
  393. package/dist/esm/drawer/drawer.styles.js +138 -0
  394. package/dist/esm/drawer/drawer.styles.js.map +1 -0
  395. package/dist/esm/drawer/drawer.template.js +28 -0
  396. package/dist/esm/drawer/drawer.template.js.map +1 -0
  397. package/dist/esm/drawer/index.js +6 -0
  398. package/dist/esm/drawer/index.js.map +1 -0
  399. package/dist/esm/drawer-body/define.js +4 -0
  400. package/dist/esm/drawer-body/define.js.map +1 -0
  401. package/dist/esm/drawer-body/drawer-body.definition.js +16 -0
  402. package/dist/esm/drawer-body/drawer-body.definition.js.map +1 -0
  403. package/dist/esm/drawer-body/drawer-body.js +4 -0
  404. package/dist/esm/drawer-body/drawer-body.js.map +1 -0
  405. package/dist/esm/drawer-body/drawer-body.styles.js +31 -0
  406. package/dist/esm/drawer-body/drawer-body.styles.js.map +1 -0
  407. package/dist/esm/drawer-body/drawer-body.template.js +21 -0
  408. package/dist/esm/drawer-body/drawer-body.template.js.map +1 -0
  409. package/dist/esm/drawer-body/index.js +5 -0
  410. package/dist/esm/drawer-body/index.js.map +1 -0
  411. package/dist/esm/field/define.js +4 -0
  412. package/dist/esm/field/define.js.map +1 -0
  413. package/dist/esm/field/field.bench.js +10 -0
  414. package/dist/esm/field/field.bench.js.map +1 -0
  415. package/dist/esm/field/field.definition.js +20 -0
  416. package/dist/esm/field/field.definition.js.map +1 -0
  417. package/dist/esm/field/field.js +201 -0
  418. package/dist/esm/field/field.js.map +1 -0
  419. package/dist/esm/field/field.options.js +27 -0
  420. package/dist/esm/field/field.options.js.map +1 -0
  421. package/dist/esm/field/field.styles.js +201 -0
  422. package/dist/esm/field/field.styles.js.map +1 -0
  423. package/dist/esm/field/field.template.js +26 -0
  424. package/dist/esm/field/field.template.js.map +1 -0
  425. package/dist/esm/field/index.js +6 -0
  426. package/dist/esm/field/index.js.map +1 -0
  427. package/dist/esm/form-associated/form-associated.js +458 -0
  428. package/dist/esm/form-associated/form-associated.js.map +1 -0
  429. package/dist/esm/image/image.bench.js +14 -0
  430. package/dist/esm/image/image.bench.js.map +1 -0
  431. package/dist/esm/image/image.js +69 -6
  432. package/dist/esm/image/image.js.map +1 -1
  433. package/dist/esm/image/image.styles.js +10 -9
  434. package/dist/esm/image/image.styles.js.map +1 -1
  435. package/dist/esm/image/index.js +2 -2
  436. package/dist/esm/image/index.js.map +1 -1
  437. package/dist/esm/index-rollup.js +36 -1
  438. package/dist/esm/index-rollup.js.map +1 -1
  439. package/dist/esm/index.js +42 -30
  440. package/dist/esm/index.js.map +1 -1
  441. package/dist/esm/label/index.js +2 -1
  442. package/dist/esm/label/index.js.map +1 -1
  443. package/dist/esm/label/label.bench.js +11 -0
  444. package/dist/esm/label/label.bench.js.map +1 -0
  445. package/dist/esm/label/label.js +42 -6
  446. package/dist/esm/label/label.js.map +1 -1
  447. package/dist/esm/label/label.styles.js +19 -11
  448. package/dist/esm/label/label.styles.js.map +1 -1
  449. package/dist/esm/link/define.js +4 -0
  450. package/dist/esm/link/define.js.map +1 -0
  451. package/dist/esm/link/index.js +5 -0
  452. package/dist/esm/link/index.js.map +1 -0
  453. package/dist/esm/link/link.bench.js +11 -0
  454. package/dist/esm/link/link.bench.js.map +1 -0
  455. package/dist/esm/link/link.definition.js +15 -0
  456. package/dist/esm/link/link.definition.js.map +1 -0
  457. package/dist/esm/link/link.js +58 -0
  458. package/dist/esm/link/link.js.map +1 -0
  459. package/dist/esm/link/link.options.js +21 -0
  460. package/dist/esm/link/link.options.js.map +1 -0
  461. package/dist/esm/link/link.styles.js +74 -0
  462. package/dist/esm/link/link.styles.js.map +1 -0
  463. package/dist/esm/link/link.template.js +22 -0
  464. package/dist/esm/link/link.template.js.map +1 -0
  465. package/dist/esm/menu/index.js +1 -1
  466. package/dist/esm/menu/index.js.map +1 -1
  467. package/dist/esm/menu/menu.bench.js +31 -0
  468. package/dist/esm/menu/menu.bench.js.map +1 -0
  469. package/dist/esm/menu/menu.js +133 -157
  470. package/dist/esm/menu/menu.js.map +1 -1
  471. package/dist/esm/menu/menu.styles.js +22 -8
  472. package/dist/esm/menu/menu.styles.js.map +1 -1
  473. package/dist/esm/menu/menu.template.js +3 -10
  474. package/dist/esm/menu/menu.template.js.map +1 -1
  475. package/dist/esm/menu-button/index.js +3 -3
  476. package/dist/esm/menu-button/index.js.map +1 -1
  477. package/dist/esm/menu-button/menu-button.bench.js +11 -0
  478. package/dist/esm/menu-button/menu-button.bench.js.map +1 -0
  479. package/dist/esm/menu-button/menu-button.definition.js +0 -6
  480. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  481. package/dist/esm/menu-button/menu-button.options.js.map +1 -1
  482. package/dist/esm/menu-button/menu-button.template.js +6 -2
  483. package/dist/esm/menu-button/menu-button.template.js.map +1 -1
  484. package/dist/esm/menu-item/index.js +4 -3
  485. package/dist/esm/menu-item/index.js.map +1 -1
  486. package/dist/esm/menu-item/menu-item.bench.js +11 -0
  487. package/dist/esm/menu-item/menu-item.bench.js.map +1 -0
  488. package/dist/esm/menu-item/menu-item.definition.js +0 -4
  489. package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
  490. package/dist/esm/menu-item/menu-item.js +254 -4
  491. package/dist/esm/menu-item/menu-item.js.map +1 -1
  492. package/dist/esm/menu-item/menu-item.options.js +27 -0
  493. package/dist/esm/menu-item/menu-item.options.js.map +1 -0
  494. package/dist/esm/menu-item/menu-item.styles.js +97 -122
  495. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  496. package/dist/esm/menu-item/menu-item.template.js +28 -7
  497. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  498. package/dist/esm/menu-list/index.js +1 -1
  499. package/dist/esm/menu-list/index.js.map +1 -1
  500. package/dist/esm/menu-list/menu-list.bench.js +21 -0
  501. package/dist/esm/menu-list/menu-list.bench.js.map +1 -0
  502. package/dist/esm/menu-list/menu-list.definition.js +0 -4
  503. package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
  504. package/dist/esm/menu-list/menu-list.js +238 -16
  505. package/dist/esm/menu-list/menu-list.js.map +1 -1
  506. package/dist/esm/menu-list/menu-list.styles.js +1 -1
  507. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  508. package/dist/esm/menu-list/menu-list.template.js +12 -1
  509. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  510. package/dist/esm/message-bar/define.js +4 -0
  511. package/dist/esm/message-bar/define.js.map +1 -0
  512. package/dist/esm/message-bar/index.js +6 -0
  513. package/dist/esm/message-bar/index.js.map +1 -0
  514. package/dist/esm/message-bar/message-bar.bench.js +56 -0
  515. package/dist/esm/message-bar/message-bar.bench.js.map +1 -0
  516. package/dist/esm/message-bar/message-bar.definition.js +20 -0
  517. package/dist/esm/message-bar/message-bar.definition.js.map +1 -0
  518. package/dist/esm/message-bar/message-bar.js +79 -0
  519. package/dist/esm/message-bar/message-bar.js.map +1 -0
  520. package/dist/esm/message-bar/message-bar.options.js +27 -0
  521. package/dist/esm/message-bar/message-bar.options.js.map +1 -0
  522. package/dist/esm/message-bar/message-bar.styles.js +108 -0
  523. package/dist/esm/message-bar/message-bar.styles.js.map +1 -0
  524. package/dist/esm/message-bar/message-bar.template.js +25 -0
  525. package/dist/esm/message-bar/message-bar.template.js.map +1 -0
  526. package/dist/esm/patterns/aria-globals.js +72 -0
  527. package/dist/esm/patterns/aria-globals.js.map +1 -0
  528. package/dist/esm/patterns/index.js +3 -0
  529. package/dist/esm/patterns/index.js.map +1 -0
  530. package/dist/esm/patterns/start-end.js +29 -0
  531. package/dist/esm/patterns/start-end.js.map +1 -0
  532. package/dist/esm/progress-bar/index.js +2 -2
  533. package/dist/esm/progress-bar/index.js.map +1 -1
  534. package/dist/esm/progress-bar/progress-bar.bench.js +10 -0
  535. package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -0
  536. package/dist/esm/progress-bar/progress-bar.js +106 -13
  537. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  538. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  539. package/dist/esm/progress-bar/progress-bar.styles.js +50 -128
  540. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  541. package/dist/esm/progress-bar/progress-bar.template.js +11 -5
  542. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  543. package/dist/esm/radio/index.js +1 -1
  544. package/dist/esm/radio/index.js.map +1 -1
  545. package/dist/esm/radio/radio.bench.js +11 -0
  546. package/dist/esm/radio/radio.bench.js.map +1 -0
  547. package/dist/esm/radio/radio.js +78 -3
  548. package/dist/esm/radio/radio.js.map +1 -1
  549. package/dist/esm/radio/radio.options.js +2 -0
  550. package/dist/esm/radio/radio.options.js.map +1 -0
  551. package/dist/esm/radio/radio.styles.js +95 -88
  552. package/dist/esm/radio/radio.styles.js.map +1 -1
  553. package/dist/esm/radio/radio.template.js +27 -4
  554. package/dist/esm/radio/radio.template.js.map +1 -1
  555. package/dist/esm/radio-group/index.js +2 -2
  556. package/dist/esm/radio-group/index.js.map +1 -1
  557. package/dist/esm/radio-group/radio-group.bench.js +21 -0
  558. package/dist/esm/radio-group/radio-group.bench.js.map +1 -0
  559. package/dist/esm/radio-group/radio-group.js +456 -15
  560. package/dist/esm/radio-group/radio-group.js.map +1 -1
  561. package/dist/esm/radio-group/radio-group.options.js +7 -0
  562. package/dist/esm/radio-group/radio-group.options.js.map +1 -0
  563. package/dist/esm/radio-group/radio-group.styles.js +27 -33
  564. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  565. package/dist/esm/radio-group/radio-group.template.js +15 -1
  566. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  567. package/dist/esm/rating-display/define.js +4 -0
  568. package/dist/esm/rating-display/define.js.map +1 -0
  569. package/dist/esm/rating-display/index.js +6 -0
  570. package/dist/esm/rating-display/index.js.map +1 -0
  571. package/dist/esm/rating-display/rating-display.definition.js +17 -0
  572. package/dist/esm/rating-display/rating-display.definition.js.map +1 -0
  573. package/dist/esm/rating-display/rating-display.js +97 -0
  574. package/dist/esm/rating-display/rating-display.js.map +1 -0
  575. package/dist/esm/rating-display/rating-display.options.js +19 -0
  576. package/dist/esm/rating-display/rating-display.options.js.map +1 -0
  577. package/dist/esm/rating-display/rating-display.styles.js +120 -0
  578. package/dist/esm/rating-display/rating-display.styles.js.map +1 -0
  579. package/dist/esm/rating-display/rating-display.template.js +32 -0
  580. package/dist/esm/rating-display/rating-display.template.js.map +1 -0
  581. package/dist/esm/slider/index.js +2 -2
  582. package/dist/esm/slider/index.js.map +1 -1
  583. package/dist/esm/slider/slider-utilities.js +12 -0
  584. package/dist/esm/slider/slider-utilities.js.map +1 -0
  585. package/dist/esm/slider/slider.bench.js +10 -0
  586. package/dist/esm/slider/slider.bench.js.map +1 -0
  587. package/dist/esm/slider/slider.form-associated.js +14 -0
  588. package/dist/esm/slider/slider.form-associated.js.map +1 -0
  589. package/dist/esm/slider/slider.js +433 -22
  590. package/dist/esm/slider/slider.js.map +1 -1
  591. package/dist/esm/slider/slider.options.js +11 -1
  592. package/dist/esm/slider/slider.options.js.map +1 -1
  593. package/dist/esm/slider/slider.styles.js +1 -1
  594. package/dist/esm/slider/slider.styles.js.map +1 -1
  595. package/dist/esm/slider/slider.template.js +39 -2
  596. package/dist/esm/slider/slider.template.js.map +1 -1
  597. package/dist/esm/spinner/index.js +2 -2
  598. package/dist/esm/spinner/index.js.map +1 -1
  599. package/dist/esm/spinner/spinner.bench.js +10 -0
  600. package/dist/esm/spinner/spinner.bench.js.map +1 -0
  601. package/dist/esm/spinner/spinner.definition.js +0 -4
  602. package/dist/esm/spinner/spinner.definition.js.map +1 -1
  603. package/dist/esm/spinner/spinner.js +40 -9
  604. package/dist/esm/spinner/spinner.js.map +1 -1
  605. package/dist/esm/spinner/spinner.styles.js +11 -24
  606. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  607. package/dist/esm/spinner/spinner.template.js +8 -21
  608. package/dist/esm/spinner/spinner.template.js.map +1 -1
  609. package/dist/esm/styles/partials/badge.partials.js +48 -48
  610. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  611. package/dist/esm/styles/partials/index.js +1 -0
  612. package/dist/esm/styles/partials/index.js.map +1 -1
  613. package/dist/esm/styles/partials/typography.partials.js +105 -0
  614. package/dist/esm/styles/partials/typography.partials.js.map +1 -0
  615. package/dist/esm/styles/states/index.js +217 -0
  616. package/dist/esm/styles/states/index.js.map +1 -0
  617. package/dist/esm/switch/index.js +2 -2
  618. package/dist/esm/switch/index.js.map +1 -1
  619. package/dist/esm/switch/switch.bench.js +11 -0
  620. package/dist/esm/switch/switch.bench.js.map +1 -0
  621. package/dist/esm/switch/switch.form-associated.js +14 -0
  622. package/dist/esm/switch/switch.form-associated.js.map +1 -0
  623. package/dist/esm/switch/switch.js +6 -12
  624. package/dist/esm/switch/switch.js.map +1 -1
  625. package/dist/esm/switch/switch.styles.js +32 -56
  626. package/dist/esm/switch/switch.styles.js.map +1 -1
  627. package/dist/esm/switch/switch.template.js +15 -1
  628. package/dist/esm/switch/switch.template.js.map +1 -1
  629. package/dist/esm/tab/index.js +3 -3
  630. package/dist/esm/tab/index.js.map +1 -1
  631. package/dist/esm/tab/tab.bench.js +11 -0
  632. package/dist/esm/tab/tab.bench.js.map +1 -0
  633. package/dist/esm/tab/tab.js +9 -3
  634. package/dist/esm/tab/tab.js.map +1 -1
  635. package/dist/esm/tab/tab.styles.js +1 -1
  636. package/dist/esm/tab/tab.styles.js.map +1 -1
  637. package/dist/esm/tab/tab.template.js +1 -1
  638. package/dist/esm/tab/tab.template.js.map +1 -1
  639. package/dist/esm/tab-panel/index.js +1 -1
  640. package/dist/esm/tab-panel/index.js.map +1 -1
  641. package/dist/esm/tab-panel/tab-panel.bench.js +13 -0
  642. package/dist/esm/tab-panel/tab-panel.bench.js.map +1 -0
  643. package/dist/esm/tab-panel/tab-panel.js +2 -2
  644. package/dist/esm/tab-panel/tab-panel.js.map +1 -1
  645. package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
  646. package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
  647. package/dist/esm/tab-panel/tab-panel.template.js +8 -1
  648. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
  649. package/dist/esm/tabs/index.js +4 -4
  650. package/dist/esm/tabs/index.js.map +1 -1
  651. package/dist/esm/tabs/tabs.bench.js +32 -0
  652. package/dist/esm/tabs/tabs.bench.js.map +1 -0
  653. package/dist/esm/tabs/tabs.js +292 -20
  654. package/dist/esm/tabs/tabs.js.map +1 -1
  655. package/dist/esm/tabs/tabs.options.js +6 -2
  656. package/dist/esm/tabs/tabs.options.js.map +1 -1
  657. package/dist/esm/tabs/tabs.styles.js +1 -1
  658. package/dist/esm/tabs/tabs.styles.js.map +1 -1
  659. package/dist/esm/tabs/tabs.template.js +14 -1
  660. package/dist/esm/tabs/tabs.template.js.map +1 -1
  661. package/dist/esm/text/index.js +2 -2
  662. package/dist/esm/text/index.js.map +1 -1
  663. package/dist/esm/text/text.bench.js +13 -0
  664. package/dist/esm/text/text.bench.js.map +1 -0
  665. package/dist/esm/text/text.js +92 -7
  666. package/dist/esm/text/text.js.map +1 -1
  667. package/dist/esm/text/text.styles.js +57 -34
  668. package/dist/esm/text/text.styles.js.map +1 -1
  669. package/dist/esm/text-input/index.js +4 -5
  670. package/dist/esm/text-input/index.js.map +1 -1
  671. package/dist/esm/text-input/text-input.bench.js +10 -0
  672. package/dist/esm/text-input/text-input.bench.js.map +1 -0
  673. package/dist/esm/text-input/text-input.definition.js +5 -3
  674. package/dist/esm/text-input/text-input.definition.js.map +1 -1
  675. package/dist/esm/text-input/text-input.js +429 -11
  676. package/dist/esm/text-input/text-input.js.map +1 -1
  677. package/dist/esm/text-input/text-input.options.js +35 -2
  678. package/dist/esm/text-input/text-input.options.js.map +1 -1
  679. package/dist/esm/text-input/text-input.styles.js +45 -34
  680. package/dist/esm/text-input/text-input.styles.js.map +1 -1
  681. package/dist/esm/text-input/text-input.template.js +55 -2
  682. package/dist/esm/text-input/text-input.template.js.map +1 -1
  683. package/dist/esm/theme/design-tokens.js +2181 -386
  684. package/dist/esm/theme/design-tokens.js.map +1 -1
  685. package/dist/esm/theme/set-theme.bench.js +23 -0
  686. package/dist/esm/theme/set-theme.bench.js.map +1 -0
  687. package/dist/esm/theme/set-theme.js +40 -4
  688. package/dist/esm/theme/set-theme.js.map +1 -1
  689. package/dist/esm/toggle-button/index.js +4 -4
  690. package/dist/esm/toggle-button/index.js.map +1 -1
  691. package/dist/esm/toggle-button/toggle-button.bench.js +11 -0
  692. package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -0
  693. package/dist/esm/toggle-button/toggle-button.definition.js +0 -5
  694. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
  695. package/dist/esm/toggle-button/toggle-button.js +44 -91
  696. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  697. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
  698. package/dist/esm/toggle-button/toggle-button.styles.js +32 -26
  699. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  700. package/dist/esm/toggle-button/toggle-button.template.js +1 -1
  701. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -1
  702. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +142 -0
  703. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -0
  704. package/dist/esm/utils/benchmark-dependencies/tokens.js +2 -0
  705. package/dist/esm/utils/benchmark-dependencies/tokens.js.map +1 -0
  706. package/dist/esm/utils/benchmark-wrapper.js +18 -0
  707. package/dist/esm/utils/benchmark-wrapper.js.map +1 -0
  708. package/dist/esm/utils/direction.js +15 -0
  709. package/dist/esm/utils/direction.js.map +1 -0
  710. package/dist/esm/utils/display.js +15 -0
  711. package/dist/esm/utils/display.js.map +1 -0
  712. package/dist/esm/utils/element-internals.js +32 -0
  713. package/dist/esm/utils/element-internals.js.map +1 -0
  714. package/dist/esm/utils/get-initials.js.map +1 -1
  715. package/dist/esm/utils/index.js +7 -0
  716. package/dist/esm/utils/index.js.map +1 -0
  717. package/dist/esm/utils/root-active-element.js +9 -0
  718. package/dist/esm/utils/root-active-element.js.map +1 -0
  719. package/dist/esm/utils/template-helpers.js +19 -0
  720. package/dist/esm/utils/template-helpers.js.map +1 -0
  721. package/dist/esm/utils/typings.js +3 -0
  722. package/dist/esm/utils/typings.js.map +1 -0
  723. package/dist/esm/utils/whitespace-filter.js +13 -0
  724. package/dist/esm/utils/whitespace-filter.js.map +1 -0
  725. package/dist/web-components.d.ts +7004 -1526
  726. package/dist/web-components.js +5917 -7022
  727. package/dist/web-components.min.js +416 -251
  728. package/package.json +73 -15
  729. package/dist/fluent-web-components.api.json +0 -19686
  730. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +0 -1
  731. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +0 -1
  732. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +0 -2
  733. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +0 -17
  734. package/dist/storybook/401.7edec720.iframe.bundle.js +0 -2
  735. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +0 -12
  736. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +0 -2
  737. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +0 -12
  738. package/dist/storybook/491.77b24750.iframe.bundle.js +0 -1
  739. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +0 -2
  740. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +0 -94
  741. package/dist/storybook/677.939f187f.iframe.bundle.js +0 -462
  742. package/dist/storybook/677.939f187f.iframe.bundle.js.LICENSE.txt +0 -46
  743. package/dist/storybook/677.939f187f.iframe.bundle.js.map +0 -1
  744. package/dist/storybook/709.22096ad4.iframe.bundle.js +0 -2
  745. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +0 -8
  746. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +0 -2
  747. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +0 -8
  748. package/dist/storybook/721.46fa9f53.iframe.bundle.js +0 -2
  749. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +0 -31
  750. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +0 -2
  751. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +0 -31
  752. package/dist/storybook/858.da40ed98.iframe.bundle.js +0 -1
  753. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +0 -1
  754. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +0 -1
  755. package/dist/storybook/954.630c5748.iframe.bundle.js +0 -1
  756. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +0 -1
  757. package/dist/storybook/SegoeUI-VF.ttf +0 -0
  758. package/dist/storybook/favicon.ico +0 -0
  759. package/dist/storybook/favicon.png +0 -0
  760. package/dist/storybook/iframe.html +0 -364
  761. package/dist/storybook/index.html +0 -165
  762. package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +0 -1
  763. package/dist/storybook/main.c98b42a5.iframe.bundle.js +0 -2
  764. package/dist/storybook/main.c98b42a5.iframe.bundle.js.LICENSE.txt +0 -1
  765. package/dist/storybook/project.json +0 -1
  766. package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +0 -1
  767. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +0 -1
  768. package/dist/storybook/shell.css +0 -83
  769. package/dist/storybook/theme-switch.ts +0 -13
  770. package/docs/api-report.md +0 -2427
  771. package/playwright.config.ts +0 -25
@@ -1,35 +1,64 @@
1
- function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}function t(e,t,o,r){return new(o||(o=Promise))((function(i,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(n,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(jh){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 i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};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 h(){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 u(){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=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)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)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(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(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,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,i=t.length;r<i;++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 i;i=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),i.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 w=Object.freeze({unknown:void 0,coupled:1}),B=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,n=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=n(e):o.set(e,r=new $(e))),r}const l=u();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 a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h 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!==w.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 i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}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,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.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=a}this.last=a}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(h),Object.freeze({setArrayObserverFactory(e){n=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){a(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 h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class I extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function A(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class F extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new F(e,t)}let L;p(F);class N{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof N?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(L),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 N?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){L=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new N(e):e instanceof N?e:new N([e])}}N.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const O=h(),D=Object.freeze({getForInstance:O.getForInstance,getByType:O.getByType,define:e=>(O.register({type:e}),e)});function E(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)=>E(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){E(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){E(this,t.controller,t)}}D.define(M);const R=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${R}${++H}`;function _(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new M(A(s),V()).createCSS(n):s instanceof T?s=new M(s,V()).createCSS(n):void 0!==D.getForInstance(s)&&(s=s.createCSS(n)),s instanceof N||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:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new N(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new N(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)}}D.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),W=q+"{",X="}"+q,U=X.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${W}${e}${X}`,attribute:e=>`${K()}="${W}${e}${X}"`,comment:e=>`\x3c!--${W}${e}${X}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(W);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(X);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+U)}""!==n&&r.push(n)}return r}}),J=h(),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]:y.setAttribute,[g.booleanAttribute]:y.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 i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.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&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[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){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.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 ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{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=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.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,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=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(){ie(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){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),B.defineProperty(ae.prototype,"index"),B.defineProperty(ae.prototype,"length");const ne=(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 i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{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,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n: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 i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}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 ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(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 i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||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=i,r.policy=null!=n?n:t;const c=new re(r);return ee.assignAspect(c,o),c}},fe=/([ \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 ve{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 ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(a(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 a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(A(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e),Be=()=>null;function Ce(e){return void 0===e?Be:i(e)?e:()=>e}function Se(e,t,o){const r=i(e)?e:()=>e,a=Ce(t),n=Ce(o);return(e,t)=>r(e,t)?a(e,t):n(e,t)}const Pe=e=>1===e.nodeType,Te=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Ie 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 Ae extends Ie{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 Fe(e){return a(e)&&(e={property:e}),new Ae(e)}ee.define(Ae);const ze=Object.freeze({locate:u()}),Le={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ne(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Oe={toView(e){const t=Ne(e);return t?t.toString():t},fromView:Ne};class De{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Le)}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 B.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||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(ze.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new De(e,r)):o.push(new De(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ee(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),ze.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},Re={},He=new Set,Ve=c.getById(r.elementRegistry,()=>h());class _e{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(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,i=De.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,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?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=N.normalize(t.styles),Ve.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 He.has(e)||Ve.getByType(e)?new _e(class extends e{},t):new _e(e,t)}static registerBaseType(e){He.add(e)}}_e.getByType=Ve.getByType,_e.getForInstance=Ve.getForInstance;const je={bubbles:!0,composed:!0,cancelable:!0},Ge=new WeakMap;function qe(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ge.get(e))&&void 0!==o?o:null}let We;class Xe 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&&Ge.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return B.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:P.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,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(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,i+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=qe(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=qe(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,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}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,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.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},je),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=qe(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=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=_e.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new We(e,o)}static setStrategy(e){We=e}}function Ue(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=qe(e))&&void 0!==t?t:e.getRootNode()}p(Xe),Xe.setStrategy(Xe);class Ye{constructor(e){const t=Ye.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(Ue(e),this.sheets)}removeStylesFrom(e){et(Ue(e),this.sheets)}}Ye.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(Ue(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Qe(Ue(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(N.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(jh){}N.setDefaultStrategy(Ye)}else N.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),Xe.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 _e.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return i(e)?_e.compose(e,t).define().type:_e.compose(this,e).define().type},compose:function(e,t){return i(e)?_e.compose(e,t):_e.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function it(...e){return e.every(e=>e instanceof HTMLElement)}const at={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var nt;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(nt||(nt={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ht(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}e([Ee({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([Ee({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([Ee({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([Ee({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([Ee({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([Ee({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([Ee({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([Ee({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([Ee({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([Ee({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([Ee({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([Ee({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([Ee({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([Ee({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([Ee({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([Ee({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([Ee({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([Ee({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([Ee({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ut{}function pt(e){return xe`<slot name="end" ${we("end")}>${ht(e.end)}</slot>`.inline()}function gt(e){return xe`<slot name="start" ${we("start")}>${ht(e.start)}</slot>`.inline()}function bt(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}class ft 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([Ee({attribute:"heading-level",mode:"fromView",converter:Oe})],ft.prototype,"headinglevel",void 0),e([Ee({mode:"boolean"})],ft.prototype,"expanded",void 0),e([Ee({mode:"boolean"})],ft.prototype,"disabled",void 0),e([Ee],ft.prototype,"id",void 0),bt(ft,ut);const mt="single",vt="multi";class yt extends ot{constructor(){super(...arguments),this.expandmode=vt,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=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof ft&&(e.addEventListener("click",this.activeItemChange),B.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)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.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 ft&&(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 ft&&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 ft&&e.expandbutton.focus()}}e([Ee({attribute:"expand-mode"})],yt.prototype,"expandmode",void 0),e([C],yt.prototype,"slottedAccordionItems",void 0);class kt extends yt{}const xt=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:Te()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?nt.rtl:nt.ltr};class wt 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 wt(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 Bt=wt.with(window.matchMedia("(forced-colors)"));wt.with(window.matchMedia("(prefers-color-scheme: dark)")),wt.with(window.matchMedia("(prefers-color-scheme: light)"));function Ct(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)},Pt=j`
2
- ${Ct("flex")}
3
-
4
- :host{flex-direction:column;width:100%;contain:content}`,Tt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),It=kt.compose({name:Tt.prefix+"-accordion",template:xt,styles:Pt});var At=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,zt=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ft(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&At(t,o,a),a};class Lt extends ft{constructor(){super(...arguments),this.block=!1}}zt([Ee],Lt.prototype,"size",2),zt([Ee({mode:"boolean"})],Lt.prototype,"block",2),zt([Ee({attribute:"expand-icon-position"})],Lt.prototype,"expandIconPosition",2);const Nt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ot={start:"start",end:"end"};function Dt(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}Object.freeze({create(e){const t=[],o={};let r=null,i=!1;return{source:e,context:P.default,targets:o,get isBound(){return i},addBehaviorFactory(e,t){var o,r,i,a;const n=e;n.id=null!==(o=n.id)&&void 0!==o?o:K(),n.targetNodeId=null!==(r=n.targetNodeId)&&void 0!==r?r:K(),n.targetTagName=null!==(i=t.tagName)&&void 0!==i?i:null,n.policy=null!==(a=n.policy)&&void 0!==a?a:y.policy,this.addTarget(n.targetNodeId,t),this.addBehavior(n.createBehavior())},addTarget(e,t){o[e]=t},addBehavior(e){t.push(e),i&&e.bind(this)},onUnbind(e){null===r&&(r=[]),r.push(e)},connectedCallback(e){i||(i=!0,t.forEach(e=>e.bind(this)))},disconnectedCallback(e){i&&(i=!1,null!==r&&r.forEach(e=>e.unbind(this)))}}}});class Et{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Et.cache.get(e);return t||(t=new Et(e),Et.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}Et.cache=new WeakMap;class Mt{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Rt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Ht{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=Ht.getAssignedTokensForNode(e),r=e.parent;do{const e=Ht.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ht.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Ht.isAssigned(e,t)?Ht.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(Ht.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ht.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=Ht.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ht.composeAssignedTokensForNode(this),a=Ht.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new Rt(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Rt(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ht.notify()}removeChild(e){if(e.parent===this){const t=Ht.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Rt(this,2,o));Ht.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=Ht.isAssigned(this,e)||Ht.isDerivedFor(this,e)?1:0,r=Ht.getLocalTokenValue(this,e);this._values.set(e,t),Ht.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ht.isDerivedTokenValue(t),a=Ht.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ht.queueNotification(new Rt(this,o,e,t)),this.dispatch(new Rt(this,o,e,t)),a.forEach((e,t)=>{if(!Ht.isDerivedFor(this,t)){Ht.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ht.queueNotification(new Rt(this,1,t,e.evaluator.value)),this.dispatch(new Rt(this,0,t,e.evaluator.value))}}),Ht.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ht.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ht.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(Ht.isAssigned(this,e)){const t=Ht.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ht.queueNotification(new Rt(this,2,e)),t!==o&&this.dispatch(new Rt(this,2,e)),Ht.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ht.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&Ht.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ht.queueNotification(new Rt(this,2,i))),n&&(e=new Rt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ht.isDerivedTokenValue(s)){const t=Et.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ht.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new Rt(this,void 0===t?0:1,i,o.evaluator.value);Ht.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ht.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ht.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Rt(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(Ht.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ht.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Mt(e,Et.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Rt(this,1,r.token,r.evaluator.value);Ht.queueNotification(e),this.dispatch(e),Ht.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ht.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ht._notifications=[];class Vt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class _t extends Vt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class jt extends Vt{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class Gt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}e([C],Gt.prototype,"target",void 0);class qt{setProperty(e,t){qt.properties[e]=t;for(const o of qt.roots.values())o.setProperty(e,t)}removeProperty(e){delete qt.properties[e];for(const t of qt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=qt;if(!t.has(e)){t.add(e);for(const t in qt.properties)e.setProperty(t,qt.properties[t])}}static unregisterRoot(e){const{roots:t}=qt;if(t.has(e)){t.delete(e);for(const t in qt.properties)e.removeProperty(t)}}}qt.roots=new Set,qt.properties={};const Wt=new WeakMap,Xt=N.supportsAdoptedStyleSheets?class extends Vt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new N([t]))}}:Gt,Ut=Object.freeze({getOrCreate(e){if(Wt.has(e))return Wt.get(e);let t;return t=e instanceof Document?N.supportsAdoptedStyleSheets?new _t:new jt:new Xt(e),Wt.set(e,t),t}});class Yt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Jt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Jt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Kt({name:e,cssCustomPropertyName:e}):Yt.isCSSDesignTokenConfiguration(e)?new Kt(e):new Yt(e)}static withStrategy(e){Jt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.unregisterRoot(e)}getValueFor(e){return Jt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Jt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Jt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Jt.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof Yt&&(e=this.alias(e)),e}}let Kt=class extends Yt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Jt.defaultNode?Jt.rootStyleSheetTarget:t.target instanceof Jt?Ut.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,B.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var Qt;Kt=e([function(e){D.define(e)},function(e){ee.define(e,Qt)}],Kt);const Zt={contains:function(e,t){let o=t;for(;null!==o;){if(o===e)return!0;o=Dt(o)}return!1},parent(e){let t=Dt(e);for(;null!==t;){if(t instanceof ot)return t;t=Dt(t)}return null}};class Jt extends Ht{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Jt.withStrategy(Zt),this._strategy}connectedCallback(e){let t=Jt.findParent(e.source);if(null===t&&(t=Jt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Jt&&Jt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Jt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Jt.cache.get(e);return t||(t=new Jt(e),Jt.cache.set(e,t),e.$fastController.addBehavior(Jt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Jt.strategy.parent(e);for(;null!==t;){const e=Jt.cache.get(t);if(e)return e;t=Jt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Jt.defaultNode.appendChild(this),e.apply(this,t))}}Jt.defaultNode=new Ht,Jt.rootStyleSheetTarget=new qt,Jt.cache=new WeakMap;const{create:eo}=Yt,to=eo("borderRadiusNone"),oo=eo("borderRadiusSmall"),ro=eo("borderRadiusMedium"),io=eo("borderRadiusLarge"),ao=eo("borderRadiusXLarge"),no=eo("borderRadiusCircular"),so=eo("fontSizeBase100"),lo=eo("fontSizeBase200"),co=eo("fontSizeBase300"),ho=eo("fontSizeBase400"),uo=eo("fontSizeBase500"),po=eo("fontSizeBase600"),go=eo("fontSizeHero700"),bo=eo("fontSizeHero800"),fo=eo("fontSizeHero900"),mo=eo("fontSizeHero1000"),vo=eo("lineHeightBase100"),yo=eo("lineHeightBase200"),ko=eo("lineHeightBase300"),xo=eo("lineHeightBase400"),$o=eo("lineHeightBase500"),wo=eo("lineHeightBase600"),Bo=eo("lineHeightHero700"),Co=eo("lineHeightHero800"),So=eo("lineHeightHero900"),Po=eo("lineHeightHero1000"),To=eo("fontFamilyBase"),Io=eo("fontFamilyMonospace"),Ao=eo("fontFamilyNumeric"),Fo=eo("fontWeightRegular"),zo=eo("fontWeightMedium"),Lo=eo("fontWeightSemibold"),No=eo("fontWeightBold"),Oo=eo("strokeWidthThin"),Do=eo("strokeWidthThick"),Eo=eo("strokeWidthThicker"),Mo=eo("strokeWidthThickest"),Ro=eo("spacingHorizontalNone"),Ho=eo("spacingHorizontalXXS"),Vo=eo("spacingHorizontalXS"),_o=eo("spacingHorizontalSNudge"),jo=eo("spacingHorizontalS"),Go=eo("spacingHorizontalMNudge"),qo=eo("spacingHorizontalM"),Wo=eo("spacingHorizontalL"),Xo=eo("spacingHorizontalXL"),Uo=eo("spacingHorizontalXXL"),Yo=eo("spacingHorizontalXXXL"),Ko=eo("spacingVerticalNone"),Qo=eo("spacingVerticalXXS"),Zo=eo("spacingVerticalXS"),Jo=eo("spacingVerticalSNudge"),er=eo("spacingVerticalS"),tr=eo("spacingVerticalMNudge"),or=eo("spacingVerticalM"),rr=eo("spacingVerticalL"),ir=eo("spacingVerticalXL"),ar=eo("spacingVerticalXXL"),nr=eo("spacingVerticalXXXL"),sr=eo("durationUltraFast"),lr=eo("durationFaster"),cr=eo("durationFast"),dr=eo("durationNormal"),hr=eo("durationSlow"),ur=eo("durationSlower"),pr=eo("durationUltraSlow"),gr=eo("curveAccelerateMax"),br=eo("curveAccelerateMid"),fr=eo("curveAccelerateMin"),mr=eo("curveDecelerateMax"),vr=eo("curveDecelerateMid"),yr=eo("curveDecelerateMin"),kr=eo("curveEasyEaseMax"),xr=eo("curveEasyEase"),$r=eo("curveLinear"),wr=eo("colorNeutralForeground1"),Br=eo("colorNeutralForeground1Hover"),Cr=eo("colorNeutralForeground1Pressed"),Sr=eo("colorNeutralForeground1Selected"),Pr=eo("colorNeutralForeground2"),Tr=eo("colorNeutralForeground2Hover"),Ir=eo("colorNeutralForeground2Pressed"),Ar=eo("colorNeutralForeground2Selected"),Fr=eo("colorNeutralForeground2BrandHover"),zr=eo("colorNeutralForeground2BrandPressed"),Lr=eo("colorNeutralForeground2BrandSelected"),Nr=eo("colorNeutralForeground3"),Or=eo("colorNeutralForeground3Hover"),Dr=eo("colorNeutralForeground3Pressed"),Er=eo("colorNeutralForeground3Selected"),Mr=eo("colorNeutralForeground3BrandHover"),Rr=eo("colorNeutralForeground3BrandPressed"),Hr=eo("colorNeutralForeground3BrandSelected"),Vr=eo("colorNeutralForeground4"),_r=eo("colorNeutralForegroundDisabled"),jr=eo("colorNeutralForegroundInvertedDisabled"),Gr=eo("colorBrandForegroundLink"),qr=eo("colorBrandForegroundLinkHover"),Wr=eo("colorBrandForegroundLinkPressed"),Xr=eo("colorBrandForegroundLinkSelected"),Ur=eo("colorNeutralForeground2Link"),Yr=eo("colorNeutralForeground2LinkHover"),Kr=eo("colorNeutralForeground2LinkPressed"),Qr=eo("colorNeutralForeground2LinkSelected"),Zr=eo("colorCompoundBrandForeground1"),Jr=eo("colorCompoundBrandForeground1Hover"),ei=eo("colorCompoundBrandForeground1Pressed"),ti=eo("colorBrandForeground1"),oi=eo("colorBrandForeground2"),ri=eo("colorNeutralForeground1Static"),ii=eo("colorNeutralForegroundStaticInverted"),ai=eo("colorNeutralForegroundInverted"),ni=eo("colorNeutralForegroundInvertedHover"),si=eo("colorNeutralForegroundInvertedPressed"),li=eo("colorNeutralForegroundInvertedSelected"),ci=eo("colorNeutralForegroundInverted2"),di=eo("colorNeutralForegroundOnBrand"),hi=eo("colorNeutralForegroundInvertedLink"),ui=eo("colorNeutralForegroundInvertedLinkHover"),pi=eo("colorNeutralForegroundInvertedLinkPressed"),gi=eo("colorNeutralForegroundInvertedLinkSelected"),bi=eo("colorBrandForegroundInverted"),fi=eo("colorBrandForegroundInvertedHover"),mi=eo("colorBrandForegroundInvertedPressed"),vi=eo("colorBrandForegroundOnLight"),yi=eo("colorBrandForegroundOnLightHover"),ki=eo("colorBrandForegroundOnLightPressed"),xi=eo("colorBrandForegroundOnLightSelected"),$i=eo("colorNeutralBackground1"),wi=eo("colorNeutralBackground1Hover"),Bi=eo("colorNeutralBackground1Pressed"),Ci=eo("colorNeutralBackground1Selected"),Si=eo("colorNeutralBackground2"),Pi=eo("colorNeutralBackground2Hover"),Ti=eo("colorNeutralBackground2Pressed"),Ii=eo("colorNeutralBackground2Selected"),Ai=eo("colorNeutralBackground3"),Fi=eo("colorNeutralBackground3Hover"),zi=eo("colorNeutralBackground3Pressed"),Li=eo("colorNeutralBackground3Selected"),Ni=eo("colorNeutralBackground4"),Oi=eo("colorNeutralBackground4Hover"),Di=eo("colorNeutralBackground4Pressed"),Ei=eo("colorNeutralBackground4Selected"),Mi=eo("colorNeutralBackground5"),Ri=eo("colorNeutralBackground5Hover"),Hi=eo("colorNeutralBackground5Pressed"),Vi=eo("colorNeutralBackground5Selected"),_i=eo("colorNeutralBackground6"),ji=eo("colorNeutralBackgroundInverted"),Gi=eo("colorNeutralBackgroundStatic"),qi=eo("colorSubtleBackground"),Wi=eo("colorSubtleBackgroundHover"),Xi=eo("colorSubtleBackgroundPressed"),Ui=eo("colorSubtleBackgroundSelected"),Yi=eo("colorSubtleBackgroundLightAlphaHover"),Ki=eo("colorSubtleBackgroundLightAlphaPressed"),Qi=eo("colorSubtleBackgroundLightAlphaSelected"),Zi=eo("colorSubtleBackgroundInverted"),Ji=eo("colorSubtleBackgroundInvertedHover"),ea=eo("colorSubtleBackgroundInvertedPressed"),ta=eo("colorSubtleBackgroundInvertedSelected"),oa=eo("colorTransparentBackground"),ra=eo("colorTransparentBackgroundHover"),ia=eo("colorTransparentBackgroundPressed"),aa=eo("colorTransparentBackgroundSelected"),na=eo("colorNeutralBackgroundDisabled"),sa=eo("colorNeutralBackgroundInvertedDisabled"),la=eo("colorNeutralStencil1"),ca=eo("colorNeutralStencil2"),da=eo("colorNeutralStencil1Alpha"),ha=eo("colorNeutralStencil2Alpha"),ua=eo("colorBackgroundOverlay"),pa=eo("colorScrollbarOverlay"),ga=eo("colorBrandBackground"),ba=eo("colorBrandBackgroundHover"),fa=eo("colorBrandBackgroundPressed"),ma=eo("colorBrandBackgroundSelected"),va=eo("colorCompoundBrandBackground"),ya=eo("colorCompoundBrandBackgroundHover"),ka=eo("colorCompoundBrandBackgroundPressed"),xa=eo("colorBrandBackgroundStatic"),$a=eo("colorBrandBackground2"),wa=eo("colorBrandBackgroundInverted"),Ba=eo("colorBrandBackgroundInvertedHover"),Ca=eo("colorBrandBackgroundInvertedPressed"),Sa=eo("colorBrandBackgroundInvertedSelected"),Pa=eo("colorNeutralStrokeAccessible"),Ta=eo("colorNeutralStrokeAccessibleHover"),Ia=eo("colorNeutralStrokeAccessiblePressed"),Aa=eo("colorNeutralStrokeAccessibleSelected"),Fa=eo("colorNeutralStroke1"),za=eo("colorNeutralStroke1Hover"),La=eo("colorNeutralStroke1Pressed"),Na=eo("colorNeutralStroke1Selected"),Oa=eo("colorNeutralStroke2"),Da=eo("colorNeutralStroke3"),Ea=eo("colorNeutralStrokeOnBrand"),Ma=eo("colorNeutralStrokeOnBrand2"),Ra=eo("colorNeutralStrokeOnBrand2Hover"),Ha=eo("colorNeutralStrokeOnBrand2Pressed"),Va=eo("colorNeutralStrokeOnBrand2Selected"),_a=eo("colorBrandStroke1"),ja=eo("colorBrandStroke2"),Ga=eo("colorCompoundBrandStroke"),qa=eo("colorCompoundBrandStrokeHover"),Wa=eo("colorCompoundBrandStrokePressed"),Xa=eo("colorNeutralStrokeDisabled"),Ua=eo("colorNeutralStrokeInvertedDisabled"),Ya=eo("colorTransparentStroke"),Ka=eo("colorTransparentStrokeInteractive"),Qa=eo("colorTransparentStrokeDisabled"),Za=eo("colorStrokeFocus1"),Ja=eo("colorStrokeFocus2"),en=eo("colorNeutralShadowAmbient"),tn=eo("colorNeutralShadowKey"),on=eo("colorNeutralShadowAmbientLighter"),rn=eo("colorNeutralShadowKeyLighter"),an=eo("colorNeutralShadowAmbientDarker"),nn=eo("colorNeutralShadowKeyDarker"),sn=eo("colorBrandShadowAmbient"),ln=eo("colorBrandShadowKey"),cn=eo("colorPaletteRedBackground1"),dn=eo("colorPaletteRedBackground2"),hn=eo("colorPaletteRedBackground3"),un=eo("colorPaletteRedForeground1"),pn=eo("colorPaletteRedForeground2"),gn=eo("colorPaletteRedForeground3"),bn=eo("colorPaletteRedBorderActive"),fn=eo("colorPaletteRedBorder1"),mn=eo("colorPaletteRedBorder2"),vn=eo("colorPaletteGreenBackground1"),yn=eo("colorPaletteGreenBackground2"),kn=eo("colorPaletteGreenBackground3"),xn=eo("colorPaletteGreenForeground1"),$n=eo("colorPaletteGreenForeground2"),wn=eo("colorPaletteGreenForeground3"),Bn=eo("colorPaletteGreenBorderActive"),Cn=eo("colorPaletteGreenBorder1"),Sn=eo("colorPaletteGreenBorder2"),Pn=eo("colorPaletteDarkOrangeBackground1"),Tn=eo("colorPaletteDarkOrangeBackground2"),In=eo("colorPaletteDarkOrangeBackground3"),An=eo("colorPaletteDarkOrangeForeground1"),Fn=eo("colorPaletteDarkOrangeForeground2"),zn=eo("colorPaletteDarkOrangeForeground3"),Ln=eo("colorPaletteDarkOrangeBorderActive"),Nn=eo("colorPaletteDarkOrangeBorder1"),On=eo("colorPaletteDarkOrangeBorder2"),Dn=eo("colorPaletteYellowBackground1"),En=eo("colorPaletteYellowBackground2"),Mn=eo("colorPaletteYellowBackground3"),Rn=eo("colorPaletteYellowForeground1"),Hn=eo("colorPaletteYellowForeground2"),Vn=eo("colorPaletteYellowForeground3"),_n=eo("colorPaletteYellowBorderActive"),jn=eo("colorPaletteYellowBorder1"),Gn=eo("colorPaletteYellowBorder2"),qn=eo("colorPaletteBerryBackground1"),Wn=eo("colorPaletteBerryBackground2"),Xn=eo("colorPaletteBerryBackground3"),Un=eo("colorPaletteBerryForeground1"),Yn=eo("colorPaletteBerryForeground2"),Kn=eo("colorPaletteBerryForeground3"),Qn=eo("colorPaletteBerryBorderActive"),Zn=eo("colorPaletteBerryBorder1"),Jn=eo("colorPaletteBerryBorder2"),es=eo("colorPaletteLightGreenBackground1"),ts=eo("colorPaletteLightGreenBackground2"),os=eo("colorPaletteLightGreenBackground3"),rs=eo("colorPaletteLightGreenForeground1"),is=eo("colorPaletteLightGreenForeground2"),as=eo("colorPaletteLightGreenForeground3"),ns=eo("colorPaletteLightGreenBorderActive"),ss=eo("colorPaletteLightGreenBorder1"),ls=eo("colorPaletteLightGreenBorder2"),cs=eo("colorPaletteMarigoldBackground1"),ds=eo("colorPaletteMarigoldBackground2"),hs=eo("colorPaletteMarigoldBackground3"),us=eo("colorPaletteMarigoldForeground1"),ps=eo("colorPaletteMarigoldForeground2"),gs=eo("colorPaletteMarigoldForeground3"),bs=eo("colorPaletteMarigoldBorderActive"),fs=eo("colorPaletteMarigoldBorder1"),ms=eo("colorPaletteMarigoldBorder2"),vs=eo("colorPaletteDarkRedBackground2"),ys=eo("colorPaletteDarkRedForeground2"),ks=eo("colorPaletteDarkRedBorderActive"),xs=eo("colorPaletteCranberryBackground2"),$s=eo("colorPaletteCranberryForeground2"),ws=eo("colorPaletteCranberryBorderActive"),Bs=eo("colorPalettePumpkinBackground2"),Cs=eo("colorPalettePumpkinForeground2"),Ss=eo("colorPalettePumpkinBorderActive"),Ps=eo("colorPalettePeachBackground2"),Ts=eo("colorPalettePeachForeground2"),Is=eo("colorPalettePeachBorderActive"),As=eo("colorPaletteGoldBackground2"),Fs=eo("colorPaletteGoldForeground2"),zs=eo("colorPaletteGoldBorderActive"),Ls=eo("colorPaletteBrassBackground2"),Ns=eo("colorPaletteBrassForeground2"),Os=eo("colorPaletteBrassBorderActive"),Ds=eo("colorPaletteBrownBackground2"),Es=eo("colorPaletteBrownForeground2"),Ms=eo("colorPaletteBrownBorderActive"),Rs=eo("colorPaletteForestBackground2"),Hs=eo("colorPaletteForestForeground2"),Vs=eo("colorPaletteForestBorderActive"),_s=eo("colorPaletteSeafoamBackground2"),js=eo("colorPaletteSeafoamForeground2"),Gs=eo("colorPaletteSeafoamBorderActive"),qs=eo("colorPaletteDarkGreenBackground2"),Ws=eo("colorPaletteDarkGreenForeground2"),Xs=eo("colorPaletteDarkGreenBorderActive"),Us=eo("colorPaletteLightTealBackground2"),Ys=eo("colorPaletteLightTealForeground2"),Ks=eo("colorPaletteLightTealBorderActive"),Qs=eo("colorPaletteTealBackground2"),Zs=eo("colorPaletteTealForeground2"),Js=eo("colorPaletteTealBorderActive"),el=eo("colorPaletteSteelBackground2"),tl=eo("colorPaletteSteelForeground2"),ol=eo("colorPaletteSteelBorderActive"),rl=eo("colorPaletteBlueBackground2"),il=eo("colorPaletteBlueForeground2"),al=eo("colorPaletteBlueBorderActive"),nl=eo("colorPaletteRoyalBlueBackground2"),sl=eo("colorPaletteRoyalBlueForeground2"),ll=eo("colorPaletteRoyalBlueBorderActive"),cl=eo("colorPaletteCornflowerBackground2"),dl=eo("colorPaletteCornflowerForeground2"),hl=eo("colorPaletteCornflowerBorderActive"),ul=eo("colorPaletteNavyBackground2"),pl=eo("colorPaletteNavyForeground2"),gl=eo("colorPaletteNavyBorderActive"),bl=eo("colorPaletteLavenderBackground2"),fl=eo("colorPaletteLavenderForeground2"),ml=eo("colorPaletteLavenderBorderActive"),vl=eo("colorPalettePurpleBackground2"),yl=eo("colorPalettePurpleForeground2"),kl=eo("colorPalettePurpleBorderActive"),xl=eo("colorPaletteGrapeBackground2"),$l=eo("colorPaletteGrapeForeground2"),wl=eo("colorPaletteGrapeBorderActive"),Bl=eo("colorPaletteLilacBackground2"),Cl=eo("colorPaletteLilacForeground2"),Sl=eo("colorPaletteLilacBorderActive"),Pl=eo("colorPalettePinkBackground2"),Tl=eo("colorPalettePinkForeground2"),Il=eo("colorPalettePinkBorderActive"),Al=eo("colorPaletteMagentaBackground2"),Fl=eo("colorPaletteMagentaForeground2"),zl=eo("colorPaletteMagentaBorderActive"),Ll=eo("colorPalettePlumBackground2"),Nl=eo("colorPalettePlumForeground2"),Ol=eo("colorPalettePlumBorderActive"),Dl=eo("colorPaletteBeigeBackground2"),El=eo("colorPaletteBeigeForeground2"),Ml=eo("colorPaletteBeigeBorderActive"),Rl=eo("colorPaletteMinkBackground2"),Hl=eo("colorPaletteMinkForeground2"),Vl=eo("colorPaletteMinkBorderActive"),_l=eo("colorPalettePlatinumBackground2"),jl=eo("colorPalettePlatinumForeground2"),Gl=eo("colorPalettePlatinumBorderActive"),ql=eo("colorPaletteAnchorBackground2"),Wl=eo("colorPaletteAnchorForeground2"),Xl=eo("colorPaletteAnchorBorderActive"),Ul=eo("colorPaletteRedForegroundInverted"),Yl=eo("colorPaletteGreenForegroundInverted"),Kl=eo("colorPaletteYellowForegroundInverted"),Ql=eo("shadow2"),Zl=eo("shadow4"),Jl=eo("shadow8"),ec=eo("shadow16"),tc=eo("shadow28"),oc=eo("shadow64"),rc=eo("shadow2Brand"),ic=eo("shadow4Brand"),ac=eo("shadow8Brand"),nc=eo("shadow16Brand"),sc=eo("shadow28Brand"),lc=eo("shadow64Brand");var cc=Object.freeze({__proto__:null,borderRadiusNone:to,borderRadiusSmall:oo,borderRadiusMedium:ro,borderRadiusLarge:io,borderRadiusXLarge:ao,borderRadiusCircular:no,fontSizeBase100:so,fontSizeBase200:lo,fontSizeBase300:co,fontSizeBase400:ho,fontSizeBase500:uo,fontSizeBase600:po,fontSizeHero700:go,fontSizeHero800:bo,fontSizeHero900:fo,fontSizeHero1000:mo,lineHeightBase100:vo,lineHeightBase200:yo,lineHeightBase300:ko,lineHeightBase400:xo,lineHeightBase500:$o,lineHeightBase600:wo,lineHeightHero700:Bo,lineHeightHero800:Co,lineHeightHero900:So,lineHeightHero1000:Po,fontFamilyBase:To,fontFamilyMonospace:Io,fontFamilyNumeric:Ao,fontWeightRegular:Fo,fontWeightMedium:zo,fontWeightSemibold:Lo,fontWeightBold:No,strokeWidthThin:Oo,strokeWidthThick:Do,strokeWidthThicker:Eo,strokeWidthThickest:Mo,spacingHorizontalNone:Ro,spacingHorizontalXXS:Ho,spacingHorizontalXS:Vo,spacingHorizontalSNudge:_o,spacingHorizontalS:jo,spacingHorizontalMNudge:Go,spacingHorizontalM:qo,spacingHorizontalL:Wo,spacingHorizontalXL:Xo,spacingHorizontalXXL:Uo,spacingHorizontalXXXL:Yo,spacingVerticalNone:Ko,spacingVerticalXXS:Qo,spacingVerticalXS:Zo,spacingVerticalSNudge:Jo,spacingVerticalS:er,spacingVerticalMNudge:tr,spacingVerticalM:or,spacingVerticalL:rr,spacingVerticalXL:ir,spacingVerticalXXL:ar,spacingVerticalXXXL:nr,durationUltraFast:sr,durationFaster:lr,durationFast:cr,durationNormal:dr,durationSlow:hr,durationSlower:ur,durationUltraSlow:pr,curveAccelerateMax:gr,curveAccelerateMid:br,curveAccelerateMin:fr,curveDecelerateMax:mr,curveDecelerateMid:vr,curveDecelerateMin:yr,curveEasyEaseMax:kr,curveEasyEase:xr,curveLinear:$r,colorNeutralForeground1:wr,colorNeutralForeground1Hover:Br,colorNeutralForeground1Pressed:Cr,colorNeutralForeground1Selected:Sr,colorNeutralForeground2:Pr,colorNeutralForeground2Hover:Tr,colorNeutralForeground2Pressed:Ir,colorNeutralForeground2Selected:Ar,colorNeutralForeground2BrandHover:Fr,colorNeutralForeground2BrandPressed:zr,colorNeutralForeground2BrandSelected:Lr,colorNeutralForeground3:Nr,colorNeutralForeground3Hover:Or,colorNeutralForeground3Pressed:Dr,colorNeutralForeground3Selected:Er,colorNeutralForeground3BrandHover:Mr,colorNeutralForeground3BrandPressed:Rr,colorNeutralForeground3BrandSelected:Hr,colorNeutralForeground4:Vr,colorNeutralForegroundDisabled:_r,colorNeutralForegroundInvertedDisabled:jr,colorBrandForegroundLink:Gr,colorBrandForegroundLinkHover:qr,colorBrandForegroundLinkPressed:Wr,colorBrandForegroundLinkSelected:Xr,colorNeutralForeground2Link:Ur,colorNeutralForeground2LinkHover:Yr,colorNeutralForeground2LinkPressed:Kr,colorNeutralForeground2LinkSelected:Qr,colorCompoundBrandForeground1:Zr,colorCompoundBrandForeground1Hover:Jr,colorCompoundBrandForeground1Pressed:ei,colorBrandForeground1:ti,colorBrandForeground2:oi,colorNeutralForeground1Static:ri,colorNeutralForegroundStaticInverted:ii,colorNeutralForegroundInverted:ai,colorNeutralForegroundInvertedHover:ni,colorNeutralForegroundInvertedPressed:si,colorNeutralForegroundInvertedSelected:li,colorNeutralForegroundInverted2:ci,colorNeutralForegroundOnBrand:di,colorNeutralForegroundInvertedLink:hi,colorNeutralForegroundInvertedLinkHover:ui,colorNeutralForegroundInvertedLinkPressed:pi,colorNeutralForegroundInvertedLinkSelected:gi,colorBrandForegroundInverted:bi,colorBrandForegroundInvertedHover:fi,colorBrandForegroundInvertedPressed:mi,colorBrandForegroundOnLight:vi,colorBrandForegroundOnLightHover:yi,colorBrandForegroundOnLightPressed:ki,colorBrandForegroundOnLightSelected:xi,colorNeutralBackground1:$i,colorNeutralBackground1Hover:wi,colorNeutralBackground1Pressed:Bi,colorNeutralBackground1Selected:Ci,colorNeutralBackground2:Si,colorNeutralBackground2Hover:Pi,colorNeutralBackground2Pressed:Ti,colorNeutralBackground2Selected:Ii,colorNeutralBackground3:Ai,colorNeutralBackground3Hover:Fi,colorNeutralBackground3Pressed:zi,colorNeutralBackground3Selected:Li,colorNeutralBackground4:Ni,colorNeutralBackground4Hover:Oi,colorNeutralBackground4Pressed:Di,colorNeutralBackground4Selected:Ei,colorNeutralBackground5:Mi,colorNeutralBackground5Hover:Ri,colorNeutralBackground5Pressed:Hi,colorNeutralBackground5Selected:Vi,colorNeutralBackground6:_i,colorNeutralBackgroundInverted:ji,colorNeutralBackgroundStatic:Gi,colorSubtleBackground:qi,colorSubtleBackgroundHover:Wi,colorSubtleBackgroundPressed:Xi,colorSubtleBackgroundSelected:Ui,colorSubtleBackgroundLightAlphaHover:Yi,colorSubtleBackgroundLightAlphaPressed:Ki,colorSubtleBackgroundLightAlphaSelected:Qi,colorSubtleBackgroundInverted:Zi,colorSubtleBackgroundInvertedHover:Ji,colorSubtleBackgroundInvertedPressed:ea,colorSubtleBackgroundInvertedSelected:ta,colorTransparentBackground:oa,colorTransparentBackgroundHover:ra,colorTransparentBackgroundPressed:ia,colorTransparentBackgroundSelected:aa,colorNeutralBackgroundDisabled:na,colorNeutralBackgroundInvertedDisabled:sa,colorNeutralStencil1:la,colorNeutralStencil2:ca,colorNeutralStencil1Alpha:da,colorNeutralStencil2Alpha:ha,colorBackgroundOverlay:ua,colorScrollbarOverlay:pa,colorBrandBackground:ga,colorBrandBackgroundHover:ba,colorBrandBackgroundPressed:fa,colorBrandBackgroundSelected:ma,colorCompoundBrandBackground:va,colorCompoundBrandBackgroundHover:ya,colorCompoundBrandBackgroundPressed:ka,colorBrandBackgroundStatic:xa,colorBrandBackground2:$a,colorBrandBackgroundInverted:wa,colorBrandBackgroundInvertedHover:Ba,colorBrandBackgroundInvertedPressed:Ca,colorBrandBackgroundInvertedSelected:Sa,colorNeutralStrokeAccessible:Pa,colorNeutralStrokeAccessibleHover:Ta,colorNeutralStrokeAccessiblePressed:Ia,colorNeutralStrokeAccessibleSelected:Aa,colorNeutralStroke1:Fa,colorNeutralStroke1Hover:za,colorNeutralStroke1Pressed:La,colorNeutralStroke1Selected:Na,colorNeutralStroke2:Oa,colorNeutralStroke3:Da,colorNeutralStrokeOnBrand:Ea,colorNeutralStrokeOnBrand2:Ma,colorNeutralStrokeOnBrand2Hover:Ra,colorNeutralStrokeOnBrand2Pressed:Ha,colorNeutralStrokeOnBrand2Selected:Va,colorBrandStroke1:_a,colorBrandStroke2:ja,colorCompoundBrandStroke:Ga,colorCompoundBrandStrokeHover:qa,colorCompoundBrandStrokePressed:Wa,colorNeutralStrokeDisabled:Xa,colorNeutralStrokeInvertedDisabled:Ua,colorTransparentStroke:Ya,colorTransparentStrokeInteractive:Ka,colorTransparentStrokeDisabled:Qa,colorStrokeFocus1:Za,colorStrokeFocus2:Ja,colorNeutralShadowAmbient:en,colorNeutralShadowKey:tn,colorNeutralShadowAmbientLighter:on,colorNeutralShadowKeyLighter:rn,colorNeutralShadowAmbientDarker:an,colorNeutralShadowKeyDarker:nn,colorBrandShadowAmbient:sn,colorBrandShadowKey:ln,colorPaletteRedBackground1:cn,colorPaletteRedBackground2:dn,colorPaletteRedBackground3:hn,colorPaletteRedForeground1:un,colorPaletteRedForeground2:pn,colorPaletteRedForeground3:gn,colorPaletteRedBorderActive:bn,colorPaletteRedBorder1:fn,colorPaletteRedBorder2:mn,colorPaletteGreenBackground1:vn,colorPaletteGreenBackground2:yn,colorPaletteGreenBackground3:kn,colorPaletteGreenForeground1:xn,colorPaletteGreenForeground2:$n,colorPaletteGreenForeground3:wn,colorPaletteGreenBorderActive:Bn,colorPaletteGreenBorder1:Cn,colorPaletteGreenBorder2:Sn,colorPaletteDarkOrangeBackground1:Pn,colorPaletteDarkOrangeBackground2:Tn,colorPaletteDarkOrangeBackground3:In,colorPaletteDarkOrangeForeground1:An,colorPaletteDarkOrangeForeground2:Fn,colorPaletteDarkOrangeForeground3:zn,colorPaletteDarkOrangeBorderActive:Ln,colorPaletteDarkOrangeBorder1:Nn,colorPaletteDarkOrangeBorder2:On,colorPaletteYellowBackground1:Dn,colorPaletteYellowBackground2:En,colorPaletteYellowBackground3:Mn,colorPaletteYellowForeground1:Rn,colorPaletteYellowForeground2:Hn,colorPaletteYellowForeground3:Vn,colorPaletteYellowBorderActive:_n,colorPaletteYellowBorder1:jn,colorPaletteYellowBorder2:Gn,colorPaletteBerryBackground1:qn,colorPaletteBerryBackground2:Wn,colorPaletteBerryBackground3:Xn,colorPaletteBerryForeground1:Un,colorPaletteBerryForeground2:Yn,colorPaletteBerryForeground3:Kn,colorPaletteBerryBorderActive:Qn,colorPaletteBerryBorder1:Zn,colorPaletteBerryBorder2:Jn,colorPaletteLightGreenBackground1:es,colorPaletteLightGreenBackground2:ts,colorPaletteLightGreenBackground3:os,colorPaletteLightGreenForeground1:rs,colorPaletteLightGreenForeground2:is,colorPaletteLightGreenForeground3:as,colorPaletteLightGreenBorderActive:ns,colorPaletteLightGreenBorder1:ss,colorPaletteLightGreenBorder2:ls,colorPaletteMarigoldBackground1:cs,colorPaletteMarigoldBackground2:ds,colorPaletteMarigoldBackground3:hs,colorPaletteMarigoldForeground1:us,colorPaletteMarigoldForeground2:ps,colorPaletteMarigoldForeground3:gs,colorPaletteMarigoldBorderActive:bs,colorPaletteMarigoldBorder1:fs,colorPaletteMarigoldBorder2:ms,colorPaletteDarkRedBackground2:vs,colorPaletteDarkRedForeground2:ys,colorPaletteDarkRedBorderActive:ks,colorPaletteCranberryBackground2:xs,colorPaletteCranberryForeground2:$s,colorPaletteCranberryBorderActive:ws,colorPalettePumpkinBackground2:Bs,colorPalettePumpkinForeground2:Cs,colorPalettePumpkinBorderActive:Ss,colorPalettePeachBackground2:Ps,colorPalettePeachForeground2:Ts,colorPalettePeachBorderActive:Is,colorPaletteGoldBackground2:As,colorPaletteGoldForeground2:Fs,colorPaletteGoldBorderActive:zs,colorPaletteBrassBackground2:Ls,colorPaletteBrassForeground2:Ns,colorPaletteBrassBorderActive:Os,colorPaletteBrownBackground2:Ds,colorPaletteBrownForeground2:Es,colorPaletteBrownBorderActive:Ms,colorPaletteForestBackground2:Rs,colorPaletteForestForeground2:Hs,colorPaletteForestBorderActive:Vs,colorPaletteSeafoamBackground2:_s,colorPaletteSeafoamForeground2:js,colorPaletteSeafoamBorderActive:Gs,colorPaletteDarkGreenBackground2:qs,colorPaletteDarkGreenForeground2:Ws,colorPaletteDarkGreenBorderActive:Xs,colorPaletteLightTealBackground2:Us,colorPaletteLightTealForeground2:Ys,colorPaletteLightTealBorderActive:Ks,colorPaletteTealBackground2:Qs,colorPaletteTealForeground2:Zs,colorPaletteTealBorderActive:Js,colorPaletteSteelBackground2:el,colorPaletteSteelForeground2:tl,colorPaletteSteelBorderActive:ol,colorPaletteBlueBackground2:rl,colorPaletteBlueForeground2:il,colorPaletteBlueBorderActive:al,colorPaletteRoyalBlueBackground2:nl,colorPaletteRoyalBlueForeground2:sl,colorPaletteRoyalBlueBorderActive:ll,colorPaletteCornflowerBackground2:cl,colorPaletteCornflowerForeground2:dl,colorPaletteCornflowerBorderActive:hl,colorPaletteNavyBackground2:ul,colorPaletteNavyForeground2:pl,colorPaletteNavyBorderActive:gl,colorPaletteLavenderBackground2:bl,colorPaletteLavenderForeground2:fl,colorPaletteLavenderBorderActive:ml,colorPalettePurpleBackground2:vl,colorPalettePurpleForeground2:yl,colorPalettePurpleBorderActive:kl,colorPaletteGrapeBackground2:xl,colorPaletteGrapeForeground2:$l,colorPaletteGrapeBorderActive:wl,colorPaletteLilacBackground2:Bl,colorPaletteLilacForeground2:Cl,colorPaletteLilacBorderActive:Sl,colorPalettePinkBackground2:Pl,colorPalettePinkForeground2:Tl,colorPalettePinkBorderActive:Il,colorPaletteMagentaBackground2:Al,colorPaletteMagentaForeground2:Fl,colorPaletteMagentaBorderActive:zl,colorPalettePlumBackground2:Ll,colorPalettePlumForeground2:Nl,colorPalettePlumBorderActive:Ol,colorPaletteBeigeBackground2:Dl,colorPaletteBeigeForeground2:El,colorPaletteBeigeBorderActive:Ml,colorPaletteMinkBackground2:Rl,colorPaletteMinkForeground2:Hl,colorPaletteMinkBorderActive:Vl,colorPalettePlatinumBackground2:_l,colorPalettePlatinumForeground2:jl,colorPalettePlatinumBorderActive:Gl,colorPaletteAnchorBackground2:ql,colorPaletteAnchorForeground2:Wl,colorPaletteAnchorBorderActive:Xl,colorPaletteRedForegroundInverted:Ul,colorPaletteGreenForegroundInverted:Yl,colorPaletteYellowForegroundInverted:Kl,shadow2:Ql,shadow4:Zl,shadow8:Jl,shadow16:ec,shadow28:tc,shadow64:oc,shadow2Brand:rc,shadow4Brand:ic,shadow8Brand:ac,shadow16Brand:nc,shadow28Brand:sc,shadow64Brand:lc});const dc=j`
5
- ${Ct("block")}
6
-
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${qo} ${Go};border-radius:${ro};font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko};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:${wr};background:${oa};line-height:${ko};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:${oo}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${jo};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${qo}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${jo};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${oo};outline:none;border:2px solid ${Za};box-shadow:inset 0 0 0 1px ${Ja}}:host([disabled]) .button{color:${_r}}: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:${co};line-height:${ko}}:host([size='small']) .heading{font-size:${lo};line-height:${yo}}:host([size='large']) .heading{font-size:${ho};line-height:${xo}}:host([size='extra-large']) .heading{font-size:${uo};line-height:${$o}}: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}`,hc=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${we("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">${ht(e.expandedIcon)}</slot><slot name="collapsed-icon">${ht(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>')}),uc=Lt.compose({name:Tt.prefix+"-accordion-item",template:hc,styles:dc});class pc extends ot{}e([Ee],pc.prototype,"download",void 0),e([Ee],pc.prototype,"href",void 0),e([Ee],pc.prototype,"hreflang",void 0),e([Ee],pc.prototype,"ping",void 0),e([Ee],pc.prototype,"referrerpolicy",void 0),e([Ee],pc.prototype,"rel",void 0),e([Ee],pc.prototype,"target",void 0),e([Ee],pc.prototype,"type",void 0),e([C],pc.prototype,"defaultSlottedContent",void 0);class gc{}e([Ee({attribute:"aria-expanded"})],gc.prototype,"ariaExpanded",void 0),bt(gc,dt),bt(pc,ut,gc);var bc=Object.defineProperty,fc=Object.getOwnPropertyDescriptor,mc=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?fc(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&bc(t,o,a),a};class vc extends pc{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)}}mc([Ee],vc.prototype,"appearance",2),mc([Ee],vc.prototype,"shape",2),mc([Ee],vc.prototype,"size",2),mc([Ee({attribute:"icon-only",mode:"boolean"})],vc.prototype,"iconOnly",2),mc([Ee({mode:"boolean"})],vc.prototype,"disabled",2),mc([Ee({attribute:"disabled-focusable",mode:"boolean"})],vc.prototype,"disabledFocusable",2);const yc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},kc={circular:"circular",rounded:"rounded",square:"square"},xc={small:"small",medium:"medium",large:"large"},$c=yc,wc=kc,Bc=xc,Cc=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}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${pt(e)}</a>`}(),Sc=j`
8
- ${Ct("inline-flex")}
9
-
10
- :host{--icon-spacing:${_o};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:${$i};color:${wr};border:${Oo} solid ${Fa};padding:0 ${qo};min-width:96px;border-radius:${ro};font-size:${co};font-family:${To};font-weight:${Lo};line-height:${ko};transition-duration:${lr};transition-property:background,border,color;transition-timing-function:${xr};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${wi};color:${Br};border-color:${za}}:host(:hover:active) .control{background-color:${Bi};border-color:${La};color:${Cr};outline-style:none}:host .control:focus-visible{border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}@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:${Vo}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${jo};border-radius:${oo};font-size:${lo};line-height:${yo};font-weight:${Fo}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${io};padding:0 ${Wo};font-size:${ho};line-height:${xo}}: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:${no}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${to}}:host([appearance='primary']) .control{background-color:${ga};color:${di};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${ba}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${di}}:host([appearance='primary']:hover:active) .control{background-color:${fa}}:host([appearance='primary']) .control:focus-visible{border-color:${di};box-shadow:${Ql},0 0 0 2px ${Ja}}: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:${oa}}:host([appearance='outline']:hover) .control{background-color:${ra}}:host([appearance='outline']:hover:active) .control{background-color:${ia}}: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:${oa}}:host([appearance='subtle']) .control{background-color:${qi};color:${Pr};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Wi};color:${Tr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Xi};color:${Ir};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:${oa};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Fr}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${zr}}:host([appearance='transparent']) .control{background-color:${oa};color:${Pr}}:host([appearance='transparent']:hover) .control{background-color:${ra};color:${Fr}}:host([appearance='transparent']:hover:active) .control{background-color:${ia};color:${zr}}: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:${oa}}: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:${na};border-color:${Xa};color:${_r};cursor:not-allowed}`.withBehaviors(Bt(j`
12
- :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),Pc=j`
13
- ${Sc}
14
-
15
- .content{text-align:center}`,Tc=vc.compose({name:Tt.prefix+"-anchor-button",template:Cc,styles:Pc,shadowOptions:{delegatesFocus:!0}}),Ic=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Ac=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Fc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,zc=/\s+/g,Lc=/[\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 Nc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Ic,"")).replace(Ac,"")).replace(zc," ")).trim()}(e),Lc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&Fc.test(e)?"":function(e,t,o){let r="";const i=e.split(" ");return 0!==i.length&&(r+=i[0].charAt(0).toUpperCase()),o||(2===i.length?r+=i[1].charAt(0).toUpperCase():3===i.length&&(r+=i[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Oc={active:"active",inactive:"inactive"},Dc={circular:"circular",square:"square"},Ec={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Mc={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"},Rc={neutral:"neutral",brand:"brand",colorful:"colorful",...Mc},Hc={_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 Vc=Object.defineProperty,_c=Object.getOwnPropertyDescriptor,jc=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?_c(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Vc(t,o,a),a};const Gc=class extends ot{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Rc.colorful?Gc.colors[Wc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Gc.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:Nc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let qc=Gc;qc.colors=Object.values(Mc),jc([Ee],qc.prototype,"name",2),jc([Ee],qc.prototype,"initials",2),jc([Ee({converter:Oe})],qc.prototype,"size",2),jc([Ee],qc.prototype,"shape",2),jc([Ee],qc.prototype,"active",2),jc([Ee],qc.prototype,"appearance",2),jc([Ee],qc.prototype,"color",2),jc([Ee({attribute:"color-id"})],qc.prototype,"colorId",2);const Wc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),i=o%8;t^=(r<<i)+(r>>8-i)}return t},Xc=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 Uc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Xc}</slot><slot name="badge"></slot></template>`,Yc=yr,Kc=kr,Qc=$r,Zc=j`
16
- ${Ct("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${To};font-weight:${Lo};font-size:${co};border-radius:${no};color:${Nr};background-color:${_i};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:${no}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Oo} ${$i}}: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 ${Do} ${$i}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${Fo}}: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:${lo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ho}}: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:${uo}}: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:${po}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${ro}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${oo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${io}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${ao}}:host([data-color='brand']){color:${ii};background-color:${xa}}:host([data-color='dark-red']){color:${ys};background-color:${vs}}:host([data-color='cranberry']){color:${$s};background-color:${xs}}:host([data-color='red']){color:${pn};background-color:${dn}}:host([data-color='pumpkin']){color:${Cs};background-color:${Bs}}:host([data-color='peach']){color:${Ts};background-color:${Ps}}:host([data-color='marigold']){color:${ps};background-color:${ds}}:host([data-color='gold']){color:${Fs};background-color:${As}}:host([data-color='brass']){color:${Ns};background-color:${Ls}}:host([data-color='brown']){color:${Es};background-color:${Ds}}:host([data-color='forest']){color:${Hs};background-color:${Rs}}:host([data-color='seafoam']){color:${js};background-color:${_s}}:host([data-color='dark-green']){color:${Ws};background-color:${qs}}:host([data-color='light-teal']){color:${Ys};background-color:${Us}}:host([data-color='teal']){color:${Zs};background-color:${Qs}}:host([data-color='steel']){color:${tl};background-color:${el}}:host([data-color='blue']){color:${il};background-color:${rl}}:host([data-color='royal-blue']){color:${sl};background-color:${nl}}:host([data-color='cornflower']){color:${dl};background-color:${cl}}:host([data-color='navy']){color:${pl};background-color:${ul}}:host([data-color='lavender']){color:${fl};background-color:${bl}}:host([data-color='purple']){color:${yl};background-color:${vl}}:host([data-color='grape']){color:${$l};background-color:${xl}}:host([data-color='lilac']){color:${Cl};background-color:${Bl}}:host([data-color='pink']){color:${Tl};background-color:${Pl}}:host([data-color='magenta']){color:${Fl};background-color:${Al}}:host([data-color='plum']){color:${Nl};background-color:${Ll}}:host([data-color='beige']){color:${El};background-color:${Dl}}:host([data-color='mink']){color:${Hl};background-color:${Rl}}:host([data-color='platinum']){color:${jl};background-color:${_l}}:host([data-color='anchor']){color:${Wl};background-color:${ql}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Kc},${Qc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Kc},${Qc}}:host([active])::before{box-shadow:${Jl};border-style:solid;border-color:${xa}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Do});border-width:${Do}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Eo});border-width:${Eo}}: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 * ${Mo});border-width:${Mo}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Zl}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${ec}}: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:${tc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Yc},${Qc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Yc},${Qc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Jc=qc.compose({name:Tt.prefix+"-avatar",template:Uc,styles:Zc});function ed(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}const td={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},od={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},rd={circular:"circular",rounded:"rounded",square:"square"},id={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var ad=Object.defineProperty,nd=Object.getOwnPropertyDescriptor,sd=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?nd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&ad(t,o,a),a};class ld extends ot{constructor(){super(...arguments),this.appearance=td.filled,this.color=od.brand}}function cd(e={}){return xe` ${gt(e)}<slot>${ht(e.defaultContent)}</slot>${pt(e)} `}sd([Ee],ld.prototype,"appearance",2),sd([Ee],ld.prototype,"color",2),sd([Ee],ld.prototype,"shape",2),sd([Ee],ld.prototype,"size",2),ed(ld,ut);const dd=cd(),hd=Ho,ud=j.partial`
17
- ${Ct("inline-flex")} :host {
1
+ const p=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements});let vo;const pi="fast-kernel";try{if(document.currentScript)vo=document.currentScript.getAttribute(pi);else{const o=document.getElementsByTagName("script");vo=o[o.length-1].getAttribute(pi)}}catch{vo="isolate"}let le;switch(vo){case"share":le=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":le=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)}`;le=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}const we=o=>typeof o=="function",zt=o=>typeof o=="string",gi=()=>{};var ps=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof ps<"u")ps.globalThis=ps;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 fi={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},fi));const Q=globalThis.FAST;if(Q.getById===void 0){const o=Object.create(null);Reflect.defineProperty(Q,"getById",Object.assign({value(t,e){let s=o[t];return s===void 0&&(s=e?o[t]=e():null),s}},fi))}Q.error===void 0&&Object.assign(Q,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const bi=Object.freeze([]);function gs(){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 mi(){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 Ce(o){o.prototype.toJSON=gi}const tt=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),$i=o=>o,mn=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:$i}):{createHTML:$i};let yo=Object.freeze({createHTML(o){return mn.createHTML(o)},protect(o,t,e,s){return s}});const $n=yo,Ie=Object.freeze({get policy(){return yo},setPolicy(o){if(yo!==$n)throw Q.error(1201);yo=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)}}),gt=Q.getById(le.updateQueue,()=>{const o=[],t=[],e=globalThis.requestAnimationFrame;let s=!0;function i(){if(t.length)throw t.shift()}function r(g){try{g.call()}catch(u){if(s)t.push(u),setTimeout(i,0);else throw o.length=0,u}}function n(){let u=0;for(;u<o.length;)if(r(o[u]),u++,u>1024){for(let d=0,b=o.length-u;d<b;d++)o[d]=o[d+u];o.length-=u,u=0}o.length=0}function h(g){o.push(g),o.length<2&&(s?e(n):n())}return Object.freeze({enqueue:h,next:()=>new Promise(h),process:n,setMode:g=>s=g})});class fs{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 vi{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 fs(this.subject):r=(i=this.subjectSubscribers)!==null&&i!==void 0?i:this.subjectSubscribers=new fs(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 bs=Object.freeze({unknown:void 0,coupled:1}),m=Q.getById(le.observable,()=>{const o=gt.enqueue,t=/(:|&&|\|\||if|\?\.)/,e=new WeakMap;let s,i=u=>{throw Q.error(1101)};function r(u){var d;let b=(d=u.$fastController)!==null&&d!==void 0?d:e.get(u);return b===void 0&&(Array.isArray(u)?b=i(u):e.set(u,b=new vi(u))),b}const n=mi();class h{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 P=this.field,R=d[P];if(R!==b){d[P]=b;const Jt=d[this.callback];we(Jt)&&Jt.call(d,R,b),r(d).notify(this.name)}}}class g extends fs{constructor(d,b,P=!1){super(d,b),this.expression=d,this.isVolatileBinding=P,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!==bs.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 P=s;s=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let R;try{R=this.expression(d,b)}finally{s=P}return R}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 P=this.last,R=r(d),Jt=P===null?this.first:{};if(Jt.propertySource=d,Jt.propertyName=b,Jt.notifier=R,R.subscribe(this,b),P!==null){if(!this.needsRefresh){let ui;s=void 0,ui=P.propertySource[P.propertyName],s=this,d===ui&&(this.needsRefresh=!0)}P.next=Jt}this.last=Jt}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 Ce(g),Object.freeze({setArrayObserverFactory(u){i=u},getNotifier:r,track(u,d){s&&s.watch(u,d)},trackVolatile(){s&&(s.needsRefresh=!0)},notify(u,d){r(u).notify(d)},defineProperty(u,d){zt(d)&&(d=new h(d)),n(u).push(d),Reflect.defineProperty(u,d.name,{enumerable:!0,get(){return d.getValue(this)},set(b){d.setValue(this,b)}})},getAccessors:n,binding(u,d,b=this.isVolatileBinding(u)){return new g(u,d,b)},isVolatileBinding(u){return t.test(u.toString())}})});function k(o,t){m.defineProperty(o,t)}function vn(o,t,e){return Object.assign({},e,{get(){return m.trackVolatile(),e.get.apply(this)}})}const yi=Q.getById(le.contextEvent,()=>{let o=null;return{get(){return o},set(t){o=t}}}),Re=Object.freeze({default:{index:0,length:0,get event(){return Re.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return yi.get()},setEvent(o){yi.set(o)}});class ko{constructor(t,e,s=!1){this.evaluate=t,this.policy=e,this.isVolatile=s}}class yn extends ko{createObserver(t){return m.binding(this.evaluate,t,this.isVolatile)}}function ki(o,t,e=m.isVolatileBinding(o)){return new yn(o,t,e)}class xi extends ko{createObserver(){return this}bind(t){return this.evaluate(t.source,t.context)}}Ce(xi);function wi(o,t){return new xi(o,t)}let Ci;function Ii(o){return o.map(t=>t instanceof at?Ii(t.styles):[t]).reduce((t,e)=>t.concat(e),[])}class at{constructor(t){this.styles=t,this.targets=new WeakSet,this._strategy=null,this.behaviors=t.map(e=>e instanceof at?e.behaviors:null).reduce((e,s)=>s===null?e:e===null?s:e.concat(s),null)}get strategy(){return this._strategy===null&&this.withStrategy(Ci),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(Ii(this.styles)),this}static setDefaultStrategy(t){Ci=t}static normalize(t){return t===void 0?void 0:Array.isArray(t)?new at(t):t instanceof at?t:new at([t])}}at.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const ms=gs(),$s=Object.freeze({getForInstance:ms.getForInstance,getByType:ms.getByType,define(o){return ms.register({type:o}),o}});function vs(o,t,e){t.source.style.setProperty(o.targetAspect,e.bind(t))}class ys{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,h)=>{r.call(s,n,h),n==="style"&&s.$cssBindings.forEach((g,u)=>vs(u,g.controller,g.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){vs(this,t,t[this.targetAspect])}removedCallback(t){t.source.$cssBindings&&t.source.$cssBindings.delete(this)}handleChange(t,e){vs(this,e.controller,e)}}$s.define(ys);const kn=`${Math.random().toString(36).substring(2,8)}`;let xn=0;const Si=()=>`--v${kn}${++xn}`;function Pi(o,t){const e=[];let s="";const i=[],r=n=>{i.push(n)};for(let n=0,h=o.length-1;n<h;++n){s+=o[n];let g=t[n];we(g)?g=new ys(ki(g),Si()).createCSS(r):g instanceof ko?g=new ys(g,Si()).createCSS(r):$s.getForInstance(g)!==void 0&&(g=g.createCSS(r)),g instanceof at||g instanceof CSSStyleSheet?(s.trim()!==""&&(e.push(s),s=""),e.push(g)):s+=g}return s+=o[o.length-1],s.trim()!==""&&e.push(s),{styles:e,behaviors:i}}const l=(o,...t)=>{const{styles:e,behaviors:s}=Pi(o,t),i=new at(e);return s.length?i.withBehaviors(...s):i};class zi{constructor(t,e){this.behaviors=e,this.css="";const s=t.reduce((i,r)=>(zt(r)?this.css+=r:i.push(r),i),[]);s.length&&(this.styles=new at(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)}}$s.define(zi),l.partial=(o,...t)=>{const{styles:e,behaviors:s}=Pi(o,t);return new zi(e,s)};const ks=`fast-${Math.random().toString(36).substring(2,8)}`,xo=`${ks}{`,je=`}${ks}`,wn=je.length;let Cn=0;const xs=()=>`${ks}-${++Cn}`,Bi=Object.freeze({interpolation:o=>`${xo}${o}${je}`,attribute:o=>`${xs()}="${xo}${o}${je}"`,comment:o=>`<!--${xo}${o}${je}-->`}),wo=Object.freeze({parse(o,t){const e=o.split(xo);if(e.length===1)return null;const s=[];for(let i=0,r=e.length;i<r;++i){const n=e[i],h=n.indexOf(je);let g;if(h===-1)g=n;else{const u=n.substring(0,h);s.push(t[u]),g=n.substring(h+wn)}g!==""&&s.push(g)}return s}}),ws=gs(),yt=Object.freeze({getForInstance:ws.getForInstance,getByType:ws.getByType,define(o,t){return t=t||{},t.type=o,ws.register(t),o},assignAspect(o,t){if(!t){o.aspectType=tt.content;return}switch(o.sourceAspect=t,t[0]){case":":o.targetAspect=t.substring(1),o.aspectType=o.targetAspect==="classList"?tt.tokenList:tt.property;break;case"?":o.targetAspect=t.substring(1),o.aspectType=tt.booleanAttribute;break;case"@":o.targetAspect=t.substring(1),o.aspectType=tt.event;break;default:o.targetAspect=t,o.aspectType=tt.attribute;break}}});class Cs{constructor(t){this.options=t}createHTML(t){return Bi.attribute(t(this))}createBehavior(){return this}}Ce(Cs);function In(o,t,e,s){if(e==null&&(e=""),e.create){o.textContent="";let i=o.$fastView;i===void 0?i=e.create():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 Sn(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 h=r.v;const g=o[t];if(e!=null&&e.length){const u=e.split(/\s+/);for(let d=0,b=u.length;d<b;++d){const P=u[d];P!==""&&(n[P]=h,g.add(P))}}if(r.v=h+1,h!==0){h-=1;for(const u in n)n[u]===h&&g.remove(u)}}const Pn={[tt.attribute]:Ie.setAttribute,[tt.booleanAttribute]:Ie.setBooleanAttribute,[tt.property]:(o,t,e)=>o[t]=e,[tt.content]:In,[tt.tokenList]:Sn,[tt.event]:()=>{}};class Se{constructor(t){this.dataBinding=t,this.updateTarget=null,this.aspectType=tt.content}createHTML(t){return Bi.interpolation(t(this))}createBehavior(){var t;if(this.updateTarget===null){const e=Pn[this.aspectType],s=(t=this.dataBinding.policy)!==null&&t!==void 0?t:this.policy;if(!e)throw Q.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];switch(this.aspectType){case tt.event:s[this.data]=t,s.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case tt.content:t.onUnbind(this);default:const i=(e=s[this.data])!==null&&e!==void 0?e:s[this.data]=this.dataBinding.createObserver(this,this);i.target=s,i.controller=t,this.updateTarget(s,this.targetAspect,i.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){Re.setEvent(t);const s=this.dataBinding.evaluate(e.source,e.context);Re.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)}}yt.define(Se,{aspected:!0});function Ti(o,t){const e=o.parentNode;let s=o,i;for(;s!==t;)i=s.nextSibling,e.removeChild(s),s=i;e.removeChild(t)}class Co{constructor(t,e,s){this.fragment=t,this.factories=e,this.targets=s,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=bs.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=t.firstChild,this.lastChild=t.lastChild}get event(){return Re.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}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(){Ti(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 h=i[r].createBehavior();h.bind(this),s[r]=h}}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){Ti(t[0].firstChild,t[t.length-1].lastChild);for(let e=0,s=t.length;e<s;++e)t[e].unbind()}}}Ce(Co),m.defineProperty(Co.prototype,"index"),m.defineProperty(Co.prototype,"length");const Fi=(o,t)=>`${o}.${t}`,Oi={},Bt={index:0,node:null};function Mi(o){o.startsWith("fast-")||Q.warn(1204,{name:o})}const zn=new Proxy(document.createElement("div"),{get(o,t){Mi(t);const e=Reflect.get(o,t);return we(e)?e.bind(o):e},set(o,t,e){return Mi(t),Reflect.set(o,t,e)}});class Bn{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,h;this.nodeIds.has(s)||(this.nodeIds.add(s),this.addTargetDescriptor(e,s,i)),t.id=(n=t.id)!==null&&n!==void 0?n:xs(),t.targetNodeId=s,t.targetTagName=r,t.policy=(h=t.policy)!==null&&h!==void 0?h: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("."),h=t.substring(0,n),g=parseInt(t.substring(n+1));this.addTargetDescriptor(h,t,g)}let r=Oi[e];if(!r){const n=`_${e}`;Oi[e]=r={get(){var h;return(h=this[n])!==null&&h!==void 0?h: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??zn;for(const i of this.nodeIds)s[i];return new Co(e,this.factories,s)}}function Ai(o,t,e,s,i,r=!1){const n=e.attributes,h=o.directives;for(let g=0,u=n.length;g<u;++g){const d=n[g],b=d.value,P=wo.parse(b,h);let R=null;P===null?r&&(R=new Se(wi(()=>b,o.policy)),yt.assignAspect(R,d.name)):R=Is.aggregate(P,o.policy),R!==null&&(e.removeAttributeNode(d),g--,u--,o.addFactory(R,t,s,i,e.tagName))}}function Tn(o,t,e,s,i){const r=wo.parse(t.textContent,o.directives);if(r===null)return Bt.node=t.nextSibling,Bt.index=i+1,Bt;let n,h=n=t;for(let g=0,u=r.length;g<u;++g){const d=r[g];g!==0&&(i++,s=Fi(e,i),n=h.parentNode.insertBefore(document.createTextNode(""),h.nextSibling)),zt(d)?n.textContent=d:(n.textContent=" ",yt.assignAspect(d),o.addFactory(d,e,s,i,null)),h=n}return Bt.index=i+1,Bt.node=h.nextSibling,Bt}function _i(o,t,e){let s=0,i=t.firstChild;for(;i;){const r=Fn(o,e,i,s);i=r.node,s=r.index}}function Fn(o,t,e,s){const i=Fi(t,s);switch(e.nodeType){case 1:Ai(o,t,e,i,s),_i(o,e,i);break;case 3:return Tn(o,e,t,i,s);case 8:const r=wo.parse(e.data,o.directives);r!==null&&o.addFactory(Is.aggregate(r),t,i,s,null);break}return Bt.index=s+1,Bt.node=e.nextSibling,Bt}function On(o,t){return o&&o.nodeType==8&&wo.parse(o.data,t)!==null}const Ei="TEMPLATE",Is={compile(o,t,e=Ie.policy){let s;if(zt(o)){s=document.createElement(Ei),s.innerHTML=e.createHTML(o);const n=s.content.firstElementChild;n!==null&&n.tagName===Ei&&(s=n)}else s=o;!s.content.firstChild&&!s.content.lastChild&&s.content.appendChild(document.createComment(""));const i=document.adoptNode(s.content),r=new Bn(i,t,e);return Ai(r,"",s,"h",0,!0),(On(i.firstChild,t)||i.childNodes.length===1&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),_i(r,i,"r"),Bt.node=null,r.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,t=Ie.policy){if(o.length===1)return o[0];let e,s,i=!1,r;const n=o.length,h=o.map(d=>zt(d)?()=>d:(e=d.sourceAspect||e,s=d.dataBinding||s,i=i||d.dataBinding.isVolatile,r=r||d.dataBinding.policy,d.dataBinding.evaluate)),g=(d,b)=>{let P="";for(let R=0;R<n;++R)P+=h[R](d,b);return P};s.evaluate=g,s.isVolatile=i,s.policy=r??t;const u=new Se(s);return yt.assignAspect(u,e),u}},Mn=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,An=Object.create(null);class ce{constructor(t,e=An){this.html=t,this.factories=e}createHTML(t){const e=this.factories;for(const s in e)t(e[s]);return this.html}}ce.empty=new ce(""),yt.define(ce);function _n(o,t,e,s=yt.getForInstance(o)){if(s.aspected){const i=Mn.exec(t);i!==null&&yt.assignAspect(o,i[2])}return o.createHTML(e)}class ds{constructor(t,e={},s){this.policy=s,this.result=null,this.html=t,this.factories=e}create(t){return this.result===null&&(this.result=Is.compile(this.html,this.factories,this.policy)),this.result.createView(t)}inline(){return new ce(zt(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(t){if(this.result)throw Q.error(1208);if(this.policy)throw Q.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=h=>{var g;const u=(g=h.id)!==null&&g!==void 0?g:h.id=xs();return r[u]=h,u};for(let h=0,g=t.length-1;h<g;++h){const u=t[h];let d=e[h],b;if(i+=u,we(d))d=new Se(ki(d));else if(d instanceof ko)d=new Se(d);else if(!(b=yt.getForInstance(d))){const P=d;d=new Se(wi(()=>P))}i+=_n(d,u,n,b)}return new ds(i+t[t.length-1],r,s)}}Ce(ds);const f=(o,...t)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return ds.create(o,t);throw Q.error(1206)};f.partial=o=>new ce(o);class Li extends Cs{bind(t){t.source[this.options]=t.targets[this.targetNodeId]}}yt.define(Li);const Tt=o=>new Li(o),En=o=>o.nodeType===1,qe=o=>o?t=>t.nodeType===1&&t.matches(o):En;class Hi extends Cs{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,bi),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 Vi="slotchange";class Di extends Hi{observe(t){t.addEventListener(Vi,this)}disconnect(t){t.removeEventListener(Vi,this)}getNodes(t){return t.assignedNodes(this.options)}handleEvent(t){const e=t.currentTarget;this.updateTarget(this.getSource(e),this.computeNodes(e))}}yt.define(Di);function ft(o){return zt(o)&&(o={property:o}),new Di(o)}class Ni extends Hi{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=gi,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)}}yt.define(Ni);function Ln(o){return zt(o)&&(o={property:o}),new Ni(o)}const Ri="boolean",ji="reflect",Io=Object.freeze({locate:mi()}),Hn={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function qi(o){if(o==null)return null;const t=o*1;return isNaN(t)?null:t}const Z={toView(o){const t=qi(o);return t&&t.toString()},fromView:qi};class hs{constructor(t,e,s=e.toLowerCase(),i=ji,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===Ri&&r===void 0&&(this.converter=Hn)}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"||gt.enqueue(()=>{s.add(t);const i=t[this.fieldName];switch(e){case ji:const r=this.converter;Ie.setAttribute(t,this.attribute,r!==void 0?r.toView(i):i);break;case Ri:Ie.setBooleanAttribute(t,this.attribute,i);break}s.delete(t)})}static collect(t,...e){const s=[];e.push(Io.locate(t));for(let i=0,r=e.length;i<r;++i){const n=e[i];if(n!==void 0)for(let h=0,g=n.length;h<g;++h){const u=n[h];zt(u)?s.push(new hs(t,u)):s.push(new hs(t,u.property,u.attribute,u.mode,u.converter))}}return s}}function a(o,t){let e;function s(i,r){arguments.length>1&&(e.property=r),Io.locate(i.constructor).push(e)}if(arguments.length>1){e={},s(o,t);return}return e=o===void 0?{}:o,s}const Gi={mode:"open"},Wi={},Xi=new Set,So=Q.getById(le.elementRegistry,()=>gs());class Pt{constructor(t,e=t.definition){var s;this.platformDefined=!1,zt(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=hs.collect(t,e.attributes),n=new Array(r.length),h={},g={};for(let u=0,d=r.length;u<d;++u){const b=r[u];n[u]=b.attribute,h[b.name]=b,g[b.attribute]=b,m.defineProperty(i,b)}Reflect.defineProperty(t,"observedAttributes",{value:n,enumerable:!0}),this.attributes=r,this.propertyLookup=h,this.attributeLookup=g,this.shadowOptions=e.shadowOptions===void 0?Gi:e.shadowOptions===null?void 0:Object.assign(Object.assign({},Gi),e.shadowOptions),this.elementOptions=e.elementOptions===void 0?Wi:Object.assign(Object.assign({},Wi),e.elementOptions),this.styles=at.normalize(e.styles),So.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 Xi.has(t)||So.getByType(t)?new Pt(class extends t{},e):new Pt(t,e)}static registerBaseType(t){Xi.add(t)}}Pt.getByType=So.getByType,Pt.getForInstance=So.getForInstance;const Vn={bubbles:!0,composed:!0,cancelable:!0},Ss="isConnected",Ui=new WeakMap;function Po(o){var t,e;return(e=(t=o.shadowRoot)!==null&&t!==void 0?t:Ui.get(o))!==null&&e!==void 0?e:null}let Ki;class zo extends vi{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._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"&&Ui.set(t,r))}const i=m.getAccessors(t);if(i.length>0){const r=this.boundObservables=Object.create(null);for(let n=0,h=i.length;n<h;++n){const g=i[n].name,u=t[g];u!==void 0&&(delete t[g],r[g]=u)}}}get isConnected(){return m.track(this,Ss),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:Re.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=Po(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=Po(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(){if(this.stage!==3)return;if(this.stage=0,this.boundObservables!==null){const e=this.source,s=this.boundObservables,i=Object.keys(s);for(let r=0,n=i.length;r<n;++r){const h=i[r];e[h]=s[h]}this.boundObservables=null}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.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,Ss)}disconnect(){if(this.stage!==1)return;this.stage=2,m.notify(this,Ss),this.view!==null&&this.view.unbind();const t=this.behaviors;if(t!==null)for(const e of t.keys())e.disconnectedCallback&&e.disconnectedCallback(this);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},Vn),s))):!1}renderTemplate(t){var e;const s=this.source,i=(e=Po(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=bs.coupled)}static forCustomElement(t){const e=t.$fastController;if(e!==void 0)return e;const s=Pt.getForInstance(t);if(s===void 0)throw Q.error(1401);return t.$fastController=new Ki(t,s)}static setStrategy(t){Ki=t}}Ce(zo),zo.setStrategy(zo);function Bo(o){var t;return"adoptedStyleSheets"in o?o:(t=Po(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){Qi(Bo(t),this.sheets)}removeStylesFrom(t){Zi(Bo(t),this.sheets)}}us.styleSheetCache=new Map;let Dn=0;const Nn=()=>`fast-${++Dn}`;function Yi(o){return o===document?document.body:o}class Rn{constructor(t){this.styles=t,this.styleClass=Nn()}addStylesTo(t){t=Yi(Bo(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=Yi(Bo(t));const e=t.querySelectorAll(`.${this.styleClass}`);for(let s=0,i=e.length;s<i;++s)t.removeChild(e[s])}}let Qi=(o,t)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...t]},Zi=(o,t)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(e=>t.indexOf(e)===-1)};if(at.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Qi=(o,t)=>{o.adoptedStyleSheets.push(...t)},Zi=(o,t)=>{for(const e of t){const s=o.adoptedStyleSheets.indexOf(e);s!==-1&&o.adoptedStyleSheets.splice(s,1)}}}catch{}at.setDefaultStrategy(us)}else at.setDefaultStrategy(Rn);function Ji(o){const t=class extends o{constructor(){super(),zo.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 Pt.registerBaseType(t),t}function jn(o,t){return we(o)?Pt.compose(o,t):Pt.compose(this,o)}function qn(o,t){return we(o)?Pt.compose(o,t).define().type:Pt.compose(this,o).define().type}function Gn(o){return Ji(o)}const x=Object.assign(Ji(HTMLElement),{from:Gn,define:qn,compose:jn}),st={horizontal:"horizontal",vertical:"vertical"};function Wn(o,t){let e=o.length;for(;e--;)if(t(o[e],e,o))return e;return-1}function tr(...o){return o.every(t=>t instanceof HTMLElement)}const Ps="ArrowDown",zs="ArrowLeft",Bs="ArrowRight",Ts="ArrowUp",Fs="End",Ge="Enter",Xn="Escape",Os="Home",Ms=" ",Un="Tab";var Ft;(function(o){o.ltr="ltr",o.rtl="rtl"})(Ft||(Ft={}));function As(o,t,e){return Math.min(Math.max(e,o),t)}let Kn=0;function To(o=""){return`${o}${Kn++}`}var Yn=Object.defineProperty,Qn=Object.getOwnPropertyDescriptor,V=(o,t,e,s)=>{for(var i=s>1?void 0:s?Qn(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&&Yn(t,e,i),i};class D{}V([a({attribute:"aria-atomic"})],D.prototype,"ariaAtomic",2),V([a({attribute:"aria-busy"})],D.prototype,"ariaBusy",2),V([a({attribute:"aria-controls"})],D.prototype,"ariaControls",2),V([a({attribute:"aria-current"})],D.prototype,"ariaCurrent",2),V([a({attribute:"aria-describedby"})],D.prototype,"ariaDescribedby",2),V([a({attribute:"aria-details"})],D.prototype,"ariaDetails",2),V([a({attribute:"aria-disabled"})],D.prototype,"ariaDisabled",2),V([a({attribute:"aria-errormessage"})],D.prototype,"ariaErrormessage",2),V([a({attribute:"aria-flowto"})],D.prototype,"ariaFlowto",2),V([a({attribute:"aria-haspopup"})],D.prototype,"ariaHaspopup",2),V([a({attribute:"aria-hidden"})],D.prototype,"ariaHidden",2),V([a({attribute:"aria-invalid"})],D.prototype,"ariaInvalid",2),V([a({attribute:"aria-keyshortcuts"})],D.prototype,"ariaKeyshortcuts",2),V([a({attribute:"aria-label"})],D.prototype,"ariaLabel",2),V([a({attribute:"aria-labelledby"})],D.prototype,"ariaLabelledby",2),V([a({attribute:"aria-live"})],D.prototype,"ariaLive",2),V([a({attribute:"aria-owns"})],D.prototype,"ariaOwns",2),V([a({attribute:"aria-relevant"})],D.prototype,"ariaRelevant",2),V([a({attribute:"aria-roledescription"})],D.prototype,"ariaRoledescription",2);const er=o=>o.closest("[dir]")?.dir==="rtl"?Ft.rtl:Ft.ltr;function bt(o){return o?typeof o=="string"?new ce(o):"inline"in o?o.inline():o:ce.empty}const Zn=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length,Jn=":host([hidden]){display:none}";function w(o){return`${Jn}:host{display:${o}}`}class ta{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 ta{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 et=$o.with(window.matchMedia("(forced-colors)"));$o.with(window.matchMedia("(prefers-color-scheme: dark)")),$o.with(window.matchMedia("(prefers-color-scheme: light)"));class Nt{}function te(o){return f`<slot name="end" ${Tt("end")}>${bt(o.end)}</slot>`.inline()}function Rt(o){return f`<slot name="start" ${Tt("start")}>${bt(o.start)}</slot>`.inline()}function jt(o,...t){const e=Io.locate(o);t.forEach(s=>{Object.getOwnPropertyNames(s.prototype).forEach(r=>{r!=="constructor"&&Object.defineProperty(o.prototype,r,Object.getOwnPropertyDescriptor(s.prototype,r))}),Io.locate(s).forEach(r=>e.push(r))})}const ea=CSS.supports("selector(:state(g))");function c(o,t,e){if(!ea){o.shadowRoot.host.toggleAttribute(`state--${t}`,e);return}if(e=e??!o.states.has(t),e){o.states.add(t);return}o.states.delete(t)}var oa=Object.defineProperty,sa=Object.getOwnPropertyDescriptor,de=(o,t,e,s)=>{for(var i=s>1?void 0:s?sa(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&&oa(t,e,i),i};class lt extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=To("accordion-"),this.block=!1}expandedChanged(t,e){c(this.elementInternals,"expanded",e)}disabledChanged(t,e){c(this.elementInternals,"disabled",e)}sizeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}blockChanged(t,e){c(this.elementInternals,"block",e)}markerPositionChanged(t,e){t&&c(this.elementInternals,`align-${t}`,!1),e&&c(this.elementInternals,`align-${e}`,!0)}}de([a({attribute:"heading-level",mode:"fromView",converter:Z})],lt.prototype,"headinglevel",2),de([a({mode:"boolean"})],lt.prototype,"expanded",2),de([a({mode:"boolean"})],lt.prototype,"disabled",2),de([a],lt.prototype,"id",2),de([a],lt.prototype,"size",2),de([a({mode:"boolean"})],lt.prototype,"block",2),de([a({attribute:"marker-position"})],lt.prototype,"markerPosition",2),jt(lt,Nt);const v=l.partial`:is([state--checked], :state(checked))`,G=l.partial`:is([state--disabled], :state(disabled))`,Fo=l.partial`:is([state--filled-lighter], :state(filled-lighter))`,Oo=l.partial`:is([state--filled-darker], :state(filled-darker))`,qt=l.partial`:is([state--ghost], :state(ghost))`,or=l.partial`:is([state--inverted], :state(inverted))`,it=l.partial`:is([state--primary], :state(primary))`,j=l.partial`:is([state--outline], :state(outline))`,We=l.partial`:is([state--strong], :state(strong))`,C=l.partial`:is([state--subtle], :state(subtle))`,ee=l.partial`:is([state--tint], :state(tint))`,Xe=l.partial`:is([state--underline], :state(underline))`,W=l.partial`:is([state--transparent], :state(transparent))`,Ue=l.partial`:is([state--circular], :state(circular))`,Gt=l.partial`:is([state--rounded], :state(rounded))`,Ke=l.partial`:is([state--square], :state(square))`,Ye=l.partial`:is([state--tiny], :state(tiny))`,Qe=l.partial`:is([state--extra-small], :state(extra-small))`,L=l.partial`:is([state--small], :state(small))`,I=l.partial`:is([state--large], :state(large))`,Mo=l.partial`:is([state--extra-large], :state(extra-large))`,ia=l.partial`:is([state--huge], :state(huge))`,sr=l.partial`:is([state--align-start], :state(align-start))`,Wt=l.partial`:is([state--align-end], :state(align-end))`,_s=l.partial`:is([state--inset], :state(inset))`,Pe=l.partial`:is([state--icon], :state(icon))`,B=l.partial`:is([state--pressed], :state(pressed))`,Xt=l.partial`:is([state--brand], :state(brand))`,Es=l.partial`:is([state--error], :state(error))`,Ao=l.partial`:is([state--danger], :state(danger))`,_o=l.partial`:is([state--important], :state(important))`,Eo=l.partial`:is([state--informative], :state(informative))`;l.partial`:is([state--marigold], :state(marigold))`;const Lo=l.partial`:is([state--neutral], :state(neutral))`,Ho=l.partial`:is([state--severe], :state(severe))`,he=l.partial`:is([state--success], :state(success))`,ue=l.partial`:is([state--warning], :state(warning))`,mt=l.partial`:is([state--vertical], :state(vertical))`;l.partial`:is([state--horizontal], :state(horizontal))`,l.partial`:is([state--singleline], :state(singleline))`;const Ze=l.partial`:is([state--multiline], :state(multiline))`,pe=l.partial`:is([state--expanded], :state(expanded))`,ra=l.partial`:is([state--block], :state(block))`,T="var(--colorNeutralForeground1)",ir="var(--colorNeutralForeground1Hover)",na="var(--colorNeutralForeground1Pressed)",Ut="var(--colorNeutralForeground2)",Vo="var(--colorNeutralForeground2Hover)",Do="var(--colorNeutralForeground2Pressed)",aa="var(--colorNeutralForeground2Selected)",No="var(--colorNeutralForeground2BrandHover)",Ro="var(--colorNeutralForeground2BrandPressed)",la="var(--colorNeutralForeground2BrandSelected)",rt="var(--colorNeutralForeground3)",ca="var(--colorNeutralForeground3Hover)",da="var(--colorNeutralForeground3Pressed)",ha="var(--colorNeutralForeground4)",_="var(--colorNeutralForegroundDisabled)",ua="var(--colorBrandForegroundLink)",pa="var(--colorBrandForegroundLinkHover)",ga="var(--colorBrandForegroundLinkPressed)",fa="var(--colorNeutralForeground2Link)",ba="var(--colorNeutralForeground2LinkHover)",ma="var(--colorNeutralForeground2LinkPressed)",$a="var(--colorCompoundBrandForeground1Hover)",va="var(--colorCompoundBrandForeground1Pressed)",Kt="var(--colorNeutralForegroundOnBrand)",Je="var(--colorNeutralForegroundInverted)",ya="var(--colorNeutralForegroundInvertedHover)",ka="var(--colorNeutralForegroundInvertedPressed)",rr="var(--colorNeutralForegroundStaticInverted)",Ls="var(--colorBrandForeground1)",xa="var(--colorBrandForeground2)",wa="var(--colorNeutralForeground1Static)",O="var(--colorNeutralBackground1)",Hs="var(--colorNeutralBackground1Hover)",Vs="var(--colorNeutralBackground1Pressed)",nr="var(--colorNeutralBackground1Selected)",Ds="var(--colorNeutralBackground3)",Ca="var(--colorNeutralBackground4)",Ia="var(--colorNeutralBackground5)",jo="var(--colorNeutralBackground6)",Sa="var(--colorNeutralBackgroundInverted)",Pa="var(--colorSubtleBackground)",Ns="var(--colorSubtleBackgroundHover)",qo="var(--colorSubtleBackgroundPressed)",za="var(--colorSubtleBackgroundSelected)",kt="var(--colorTransparentBackground)",Rs="var(--colorTransparentBackgroundHover)",js="var(--colorTransparentBackgroundPressed)",Ba="var(--colorTransparentBackgroundSelected)",ze="var(--colorNeutralBackgroundDisabled)",qs="var(--colorBackgroundOverlay)",Go="var(--colorBrandBackground)",ar="var(--colorBrandBackgroundHover)",lr="var(--colorBrandBackgroundPressed)",Ta="var(--colorBrandBackgroundSelected)",Be="var(--colorCompoundBrandBackground)",Te="var(--colorCompoundBrandBackgroundHover)",Fe="var(--colorCompoundBrandBackgroundPressed)",cr="var(--colorBrandBackgroundStatic)",Fa="var(--colorBrandBackground2)",ge="var(--colorNeutralStrokeAccessible)",to="var(--colorNeutralStrokeAccessibleHover)",eo="var(--colorNeutralStrokeAccessiblePressed)",fe="var(--colorNeutralStroke1)",Wo="var(--colorNeutralStroke1Hover)",Gs="var(--colorNeutralStroke1Pressed)",oo="var(--colorNeutralStroke2)",Oa="var(--colorNeutralStroke3)",Ma="var(--colorNeutralStrokeOnBrand2)",dr="var(--colorBrandStroke1)",Ws="var(--colorBrandStroke2)",Xo="var(--colorCompoundBrandStroke)",Aa="var(--colorCompoundBrandStrokeHover)",hr="var(--colorCompoundBrandStrokePressed)",xt="var(--colorNeutralStrokeDisabled)",nt="var(--colorTransparentStroke)",ur="var(--colorTransparentStrokeInteractive)",Xs="var(--colorStrokeFocus1)",Ot="var(--colorStrokeFocus2)",pr="var(--colorPaletteRedBackground1)",_a="var(--colorPaletteRedBackground2)",gr="var(--colorPaletteRedBackground3)",fr="var(--colorPaletteRedBorder1)",Ea="var(--colorPaletteRedBorder2)",br="var(--colorPaletteRedForeground1)",La="var(--colorPaletteRedForeground2)",mr="var(--colorPaletteRedForeground3)",$r="var(--colorPaletteGreenBackground1)",vr="var(--colorPaletteGreenBackground3)",Ha="var(--colorPaletteGreenBorder1)",Va="var(--colorPaletteGreenBorder2)",Da="var(--colorPaletteGreenForeground1)",Na="var(--colorPaletteGreenForeground2)",Ra="var(--colorPaletteGreenForeground3)",yr="var(--colorPaletteDarkOrangeBackground1)",kr="var(--colorPaletteDarkOrangeBackground3)",xr="var(--colorPaletteDarkOrangeBorder1)",ja="var(--colorPaletteDarkOrangeForeground1)",wr="var(--colorPaletteDarkOrangeForeground3)",qa="var(--colorPaletteYellowBackground1)",Ga="var(--colorPaletteYellowBackground3)",Wa="var(--colorPaletteYellowBorder1)",Us="var(--colorPaletteYellowForeground2)",Cr="var(--colorPaletteMarigoldBackground2)",Xa="var(--colorPaletteMarigoldBackground3)",Ua="var(--colorPaletteMarigoldForeground2)",Ka="var(--colorPaletteAnchorBackground2)",Ya="var(--colorPaletteAnchorForeground2)",Qa="var(--colorPaletteBeigeBackground2)",Za="var(--colorPaletteBeigeForeground2)",Ja="var(--colorPaletteBlueBackground2)",tl="var(--colorPaletteBlueForeground2)",el="var(--colorPaletteBrassBackground2)",ol="var(--colorPaletteBrassForeground2)",sl="var(--colorPaletteBrownBackground2)",il="var(--colorPaletteBrownForeground2)",rl="var(--colorPaletteCornflowerBackground2)",nl="var(--colorPaletteCornflowerForeground2)",al="var(--colorPaletteCranberryBackground2)",ll="var(--colorPaletteCranberryForeground2)",cl="var(--colorPaletteDarkGreenBackground2)",dl="var(--colorPaletteDarkGreenForeground2)",hl="var(--colorPaletteDarkRedBackground2)",ul="var(--colorPaletteDarkRedForeground2)",pl="var(--colorPaletteForestBackground2)",gl="var(--colorPaletteForestForeground2)",fl="var(--colorPaletteGoldBackground2)",bl="var(--colorPaletteGoldForeground2)",ml="var(--colorPaletteGrapeBackground2)",$l="var(--colorPaletteGrapeForeground2)",vl="var(--colorPaletteLavenderBackground2)",yl="var(--colorPaletteLavenderForeground2)",kl="var(--colorPaletteLightTealBackground2)",xl="var(--colorPaletteLightTealForeground2)",wl="var(--colorPaletteLilacBackground2)",Cl="var(--colorPaletteLilacForeground2)",Il="var(--colorPaletteMagentaBackground2)",Sl="var(--colorPaletteMagentaForeground2)",Pl="var(--colorPaletteMinkBackground2)",zl="var(--colorPaletteMinkForeground2)",Bl="var(--colorPaletteNavyBackground2)",Tl="var(--colorPaletteNavyForeground2)",Fl="var(--colorPalettePeachBackground2)",Ol="var(--colorPalettePeachForeground2)",Ml="var(--colorPalettePinkBackground2)",Al="var(--colorPalettePinkForeground2)",_l="var(--colorPalettePlatinumBackground2)",El="var(--colorPalettePlatinumForeground2)",Ll="var(--colorPalettePlumBackground2)",Hl="var(--colorPalettePlumForeground2)",Vl="var(--colorPalettePumpkinBackground2)",Dl="var(--colorPalettePumpkinForeground2)",Nl="var(--colorPalettePurpleBackground2)",Rl="var(--colorPalettePurpleForeground2)",jl="var(--colorPaletteRoyalBlueBackground2)",ql="var(--colorPaletteRoyalBlueForeground2)",Gl="var(--colorPaletteSeafoamBackground2)",Wl="var(--colorPaletteSeafoamForeground2)",Xl="var(--colorPaletteSteelBackground2)",Ul="var(--colorPaletteSteelForeground2)",Kl="var(--colorPaletteTealBackground2)",Yl="var(--colorPaletteTealForeground2)",Ks="var(--borderRadiusNone)",Mt="var(--borderRadiusSmall)",z="var(--borderRadiusMedium)",Ir="var(--borderRadiusLarge)",Sr="var(--borderRadiusXLarge)",ct="var(--borderRadiusCircular)",$="var(--fontFamilyBase)",Ql="var(--fontFamilyMonospace)",Zl="var(--fontFamilyNumeric)",so="var(--fontSizeBase100)",q="var(--fontSizeBase200)",M="var(--fontSizeBase300)",dt="var(--fontSizeBase400)",Oe="var(--fontSizeBase500)",Uo="var(--fontSizeBase600)",Pr="var(--fontSizeHero700)",zr="var(--fontSizeHero800)",Br="var(--fontSizeHero900)",Tr="var(--fontSizeHero1000)",E="var(--fontWeightRegular)",Jl="var(--fontWeightMedium)",H="var(--fontWeightSemibold)",Ko="var(--fontWeightBold)",Yo="var(--lineHeightBase100)",ot="var(--lineHeightBase200)",N="var(--lineHeightBase300)",wt="var(--lineHeightBase400)",Qo="var(--lineHeightBase500)",Fr="var(--lineHeightBase600)",Or="var(--lineHeightHero700)",Mr="var(--lineHeightHero800)",Ar="var(--lineHeightHero900)",_r="var(--lineHeightHero1000)",Er="var(--shadow2)",Zo="var(--shadow4)",tc="var(--shadow8)",Lr="var(--shadow16)",ec="var(--shadow28)",Hr="var(--shadow64)",X="var(--strokeWidthThin)",oe="var(--strokeWidthThick)",se="var(--strokeWidthThicker)",Vr="var(--strokeWidthThickest)",ht="var(--spacingHorizontalXXS)",Yt="var(--spacingHorizontalXS)",Qt="var(--spacingHorizontalSNudge)",At="var(--spacingHorizontalS)",_t="var(--spacingHorizontalMNudge)",ut="var(--spacingHorizontalM)",oc="var(--spacingHorizontalL)",sc="var(--spacingHorizontalXL)",ic="var(--spacingHorizontalXXL)",Jo="var(--spacingVerticalXXS)",rc="var(--spacingVerticalXS)",io="var(--spacingVerticalSNudge)",pt="var(--spacingVerticalS)",ro="var(--spacingVerticalMNudge)",nc="var(--spacingVerticalM)",Dr="var(--spacingVerticalL)",no="var(--spacingVerticalXXL)",ac="var(--durationUltraFast)",Ys="var(--durationFaster)",Nr="var(--durationNormal)",Qs="var(--durationGentle)",lc="var(--durationSlow)",Rr="var(--durationSlower)",ts="var(--durationUltraSlow)",cc="var(--curveAccelerateMax)",ao="var(--curveAccelerateMid)",dc="var(--curveAccelerateMin)",jr="var(--curveDecelerateMax)",lo="var(--curveDecelerateMid)",hc="var(--curveDecelerateMin)",uc="var(--curveEasyEaseMax)",Zs="var(--curveEasyEase)",Js="var(--curveLinear)",pc=l`
2
+ ${w("block")}
3
+
4
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${ut} ${_t};border-radius:${z};font-family:${$};font-size:${M};font-weight:${E};line-height:${N};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${kt};border:none;box-sizing:border-box;color:${T};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:${Mt}}: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:${At};grid-column:1 / span 1;grid-row:1}.content{margin:0 ${ut}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${At};grid-column:2 / span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Mt};outline:none;border:2px solid ${Xs};box-shadow:inset 0 0 0 1px ${Ot}}:host(${G}) .button{color:${_}}:host(${G}) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host(${pe}) .content{display:block}:host(${pe}) .default-marker-collapsed,:host(${pe}) ::slotted([slot='marker-collapsed']),:host(:not(${pe})) :is(.default-marker-expanded,.content),:host(:not(${pe})) ::slotted([slot='marker-expanded']){display:none}:host(${pe}) ::slotted([slot='marker-expanded']),:host(:not(${pe})) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${M};line-height:${N}}:host(${L}) .heading{font-size:${q};line-height:${ot}}:host(${I}) .heading{font-size:${dt};line-height:${wt}}:host(${Mo}) .heading{font-size:${Oe};line-height:${Qo}}:host(${Wt}) :slotted([slot='start']){grid-column:1 / span 1}:host(${Wt}) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4 / span 1;padding-inline-start:${At};padding-inline-end:0}:host(${Wt}) .button{grid-column:2 / span 3}:host([block]){max-width:100%}:host(${Wt}) .heading{grid-template-columns:auto auto 28px;padding-inline:${ut}}:host(${Wt}:has([slot='start'])) .heading{padding-inline:${_t} ${ut}}:host(${ra}${Wt}) .heading{grid-template-columns:auto 1fr}:host(${Wt}) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5 / span 1}`,gc=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>`),fc=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 bc(o={}){return f`<div class="heading" part="heading" role="heading" aria-level="${t=>t.headinglevel}"><button class="button" part="button" ${Tt("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>${Rt(o)}<slot name="marker-expanded">${bt(o.expandedIcon)}</slot><slot name="marker-collapsed">${bt(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 mc=bc({collapsedIcon:gc,expandedIcon:fc}),$c=lt.compose({name:`${p.prefix}-accordion-item`,template:mc,styles:pc});$c.define(p.registry);const ti={single:"single",multi:"multi"};var vc=Object.defineProperty,yc=Object.getOwnPropertyDescriptor,qr=(o,t,e,s)=>{for(var i=s>1?void 0:s?yc(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&&vc(t,e,i),i};class ei extends x{constructor(){super(...arguments),this.expandmode=ti.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 lt&&(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 lt&&(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===ti.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 lt&&t.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===ti.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 lt&&(this.activeItemIndex===i?(s.expanded=!0,s.expandbutton.setAttribute("aria-disabled","true")):(s.expanded=!1,s.hasAttribute("disabled")||s.expandbutton.removeAttribute("aria-disabled")))})}}qr([a({attribute:"expand-mode"})],ei.prototype,"expandmode",2),qr([k],ei.prototype,"slottedAccordionItems",2);const kc=l`
31
+ ${w("flex")}
32
+
33
+ :host{flex-direction:column;width:100%;contain:content}`;function xc(){return f`<template><slot ${ft({property:"slottedAccordionItems",filter:qe()})}></slot></template>`}const wc=xc(),Cc=ei.compose({name:`${p.prefix}-accordion`,template:wc,styles:kc});Cc.define(p.registry);const es={submit:"submit",reset:"reset",button:"button"},Ic={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"};var Sc=Object.defineProperty,Pc=Object.getOwnPropertyDescriptor,$t=(o,t,e,s)=>{for(var i=s>1?void 0:s?Pc(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&&Sc(t,e,i),i};class Et extends x{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 Ic){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===Ge){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}}$t([a],Et.prototype,"download",2),$t([a],Et.prototype,"href",2),$t([a],Et.prototype,"hreflang",2),$t([a],Et.prototype,"ping",2),$t([a],Et.prototype,"referrerpolicy",2),$t([a],Et.prototype,"rel",2),$t([a],Et.prototype,"target",2),$t([a],Et.prototype,"type",2);class Me extends Et{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)}}$t([a],Me.prototype,"appearance",2),$t([a],Me.prototype,"shape",2),$t([a],Me.prototype,"size",2),$t([a({attribute:"icon-only",mode:"boolean"})],Me.prototype,"iconOnly",2),jt(Me,Nt);const Gr=l`
34
+ ${w("inline-flex")}
35
+
36
+ :host{--icon-spacing:${Qt};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:${T};border:${X} solid ${fe};padding:0 ${ut};min-width:96px;border-radius:${z};font-size:${M};font-family:${$};font-weight:${H};line-height:${N};transition-duration:${Ys};transition-property:background,border,color;transition-timing-function:${Zs};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${Hs};color:${ir};border-color:${Wo}}:host(:hover:active){background-color:${Vs};border-color:${Gs};color:${na};outline-style:none}:host(:focus-visible){border-color:${nt};outline:${oe} solid ${nt};box-shadow:${Zo},0 0 0 2px ${Ot}}@media screen and (prefers-reduced-motion:reduce){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'])){margin-inline-start:var(--icon-spacing)}:host(${Pe}){min-width:32px;max-width:32px}:host(${L}){--icon-spacing:${Yt};min-height:24px;min-width:64px;padding:0 ${At};border-radius:${Mt};font-size:${q};line-height:${ot};font-weight:${E}}:host(${L}${Pe}){min-width:24px;max-width:24px}:host(${I}){min-height:40px;border-radius:${Ir};padding:0 ${oc};font-size:${dt};line-height:${wt}}:host(${I}${Pe}){min-width:40px;max-width:40px}:host(${I}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${Ue},${Ue}:focus-visible)){border-radius:${ct}}:host(:is(${Ke},${Ke}:focus-visible)){border-radius:${Ks}}:host(${it}){background-color:${Go};color:${Kt};border-color:transparent}:host(${it}:hover){background-color:${ar}}:host(${it}:is(:hover,:hover:active)){border-color:transparent;color:${Kt}}:host(${it}:hover:active){background-color:${lr}}:host(${it}:focus-visible){border-color:${Kt};box-shadow:${Er},0 0 0 2px ${Ot}}:host(${j}){background-color:${kt}}:host(${j}:hover){background-color:${Rs}}:host(${j}:hover:active){background-color:${js}}:host(${C}){background-color:${Pa};color:${Ut};border-color:transparent}:host(${C}:hover){background-color:${Ns};color:${Vo};border-color:transparent}:host(${C}:hover:active){background-color:${qo};color:${Do};border-color:transparent}:host(${C}:hover) ::slotted(svg){fill:${No}}:host(${C}:hover:active) ::slotted(svg){fill:${Ro}}:host(${W}){background-color:${kt};color:${Ut}}:host(${W}:hover){background-color:${Rs};color:${No}}:host(${W}:hover:active){background-color:${js};color:${Ro}}:host(:is(${W},${W}:is(:hover,:active))){border-color:transparent}`,os=l`
37
+ ${Gr}
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:${ze};border-color:${xt};color:${_};cursor:not-allowed}:host(${it}:is(:disabled,[disabled-focusable])),:host(${it}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host(${j}:is(:disabled,[disabled-focusable])),:host(${j}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${kt}}:host(${C}:is(:disabled,[disabled-focusable])),:host(${C}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${kt};border-color:transparent}:host(${W}:is(:disabled,[disabled-focusable])),:host(${W}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${kt}}`.withBehaviors(et(l`
40
+ :host{background:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight}`)),zc=l`
41
+ ${Gr}
42
+
43
+ ::slotted(a){position:absolute;inset:0}`.withBehaviors(et(l`
44
+ :host{border-color:LinkText;color:LinkText}`));function Bc(o={}){return f`<template tabindex="0" @click="${(t,e)=>t.clickHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}">${Rt(o)}<span class="content" part="content"><slot></slot></span>${te(o)}</template>`}const Tc=Bc(),Fc=Me.compose({name:`${p.prefix}-anchor-button`,template:Tc,styles:zc});Fc.define(p.registry);const Oc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Mc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Ac=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,_c=/\s+/g,Ec=/[\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 Lc(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 Hc(o){return o=o.replace(Oc,""),o=o.replace(Mc,""),o=o.replace(_c," "),o=o.trim(),o}function Vc(o,t,e){return!o||(o=Hc(o),Ec.test(o)||!e?.allowPhoneInitials&&Ac.test(o))?"":Lc(o,t,e?.firstInitialOnly)}const Wr={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"},Xr={neutral:"neutral",brand:"brand",colorful:"colorful",...Wr};var Dc=Object.defineProperty,Nc=Object.getOwnPropertyDescriptor,ie=(o,t,e,s)=>{for(var i=s>1?void 0:s?Nc(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&&Dc(t,e,i),i};const Lt=class di extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){switch(e){case"color":case"colorId":this.generateColor();break}}generateColor(){const t=this.color===Xr.colorful,e=this.currentColor;c(this.elementInternals,`${e}`,!1),this.currentColor=t&&this.colorId?this.colorId:t?di.colors[jc(this.name??"")%di.colors.length]:this.color??Xr.neutral,c(this.elementInternals,`${this.currentColor}`,!0)}generateInitials(){if(!this.name&&!this.initials)return;const t=this.size??32;return this.initials??Vc(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:t<=16})}};Lt.colors=Object.values(Wr),ie([a],Lt.prototype,"name",2),ie([a],Lt.prototype,"initials",2),ie([a({converter:Z})],Lt.prototype,"size",2),ie([a],Lt.prototype,"shape",2),ie([a],Lt.prototype,"active",2),ie([a],Lt.prototype,"appearance",2),ie([a],Lt.prototype,"color",2),ie([a({attribute:"color-id"})],Lt.prototype,"colorId",2);let Rc=Lt;const jc=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},re={fastOutSlowInMax:jr,fastOutSlowInMid:lo,fastOutSlowInMin:hc,slowOutFastInMax:cc,slowOutFastInMid:ao,slowOutFastInMin:dc,fastEase:uc,normalEase:Zs,nullEasing:Js},qc=l`
45
+ ${w("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${$};font-weight:${H};font-size:${M};border-radius:${ct};color:${rt};background-color:${jo};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:${ct}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${X}) ${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 ${oe}) ${O}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${E}}: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:${dt}}: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:${Oe}}: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:${Uo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${z}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Mt}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${Ir}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Sr}}:host(:is([state--brand],:state(brand))){color:${rr};background-color:${cr}}:host(:is([state--dark-red],:state(dark-red))){color:${ul};background-color:${hl}}:host(:is([state--cranberry],:state(cranberry))){color:${ll};background-color:${al}}:host(:is([state--red],:state(red))){color:${La};background-color:${_a}}:host(:is([state--pumpkin],:state(pumpkin))){color:${Dl};background-color:${Vl}}:host(:is([state--peach],:state(peach))){color:${Ol};background-color:${Fl}}:host(:is([state--marigold],:state(marigold))){color:${Ua};background-color:${Cr}}:host(:is([state--gold],:state(gold))){color:${bl};background-color:${fl}}:host(:is([state--brass],:state(brass))){color:${ol};background-color:${el}}:host(:is([state--brown],:state(brown))){color:${il};background-color:${sl}}:host(:is([state--forest],:state(forest))){color:${gl};background-color:${pl}}:host(:is([state--seafoam],:state(seafoam))){color:${Wl};background-color:${Gl}}:host(:is([state--dark-green],:state(dark-green))){color:${dl};background-color:${cl}}:host(:is([state--light-teal],:state(light-teal))){color:${xl};background-color:${kl}}:host(:is([state--teal],:state(teal))){color:${Yl};background-color:${Kl}}:host(:is([state--steel],:state(steel))){color:${Ul};background-color:${Xl}}:host(:is([state--blue],:state(blue))){color:${tl};background-color:${Ja}}:host(:is([state--royal-blue],:state(royal-blue))){color:${ql};background-color:${jl}}:host(:is([state--cornflower],:state(cornflower))){color:${nl};background-color:${rl}}:host(:is([state--navy],:state(navy))){color:${Tl};background-color:${Bl}}:host(:is([state--lavender],:state(lavender))){color:${yl};background-color:${vl}}:host(:is([state--purple],:state(purple))){color:${Rl};background-color:${Nl}}:host(:is([state--grape],:state(grape))){color:${$l};background-color:${ml}}:host(:is([state--lilac],:state(lilac))){color:${Cl};background-color:${wl}}:host(:is([state--pink],:state(pink))){color:${Al};background-color:${Ml}}:host(:is([state--magenta],:state(magenta))){color:${Sl};background-color:${Il}}:host(:is([state--plum],:state(plum))){color:${Hl};background-color:${Ll}}:host(:is([state--beige],:state(beige))){color:${Za};background-color:${Qa}}:host(:is([state--mink],:state(mink))){color:${zl};background-color:${Pl}}:host(:is([state--platinum],:state(platinum))){color:${El};background-color:${_l}}:host(:is([state--anchor],:state(anchor))){color:${Ya};background-color:${Ka}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${ts},${Ys};transition-delay:${re.fastEase},${re.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${ts}),${Rr};transition-delay:${re.fastEase}),${re.nullEasing})}:host([active])::before{box-shadow:${tc};border-style:solid;border-color:${cr}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${oe});border-width:${oe}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${se});border-width:${se}}: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 * ${Vr});border-width:${Vr}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Zo}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Lr}}: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:${ec}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${ts},${Ys};transition-delay:${re.fastOutSlowInMin},${re.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${ts},${Rr};transition-delay:${re.fastOutSlowInMin},${re.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}}`,Gc=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 Wc(){return f`<slot>${o=>o.name||o.initials?o.generateInitials():Gc}</slot><slot name="badge"></slot>`}const Xc=Wc(),Uc=Rc.compose({name:`${p.prefix}-avatar`,template:Xc,styles:qc});Uc.define(p.registry);const Kc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Yc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"};var Qc=Object.defineProperty,Zc=Object.getOwnPropertyDescriptor,ss=(o,t,e,s)=>{for(var i=s>1?void 0:s?Zc(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&&Qc(t,e,i),i};class Ae extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.appearance=Kc.filled,this.color=Yc.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)}}ss([a],Ae.prototype,"appearance",2),ss([a],Ae.prototype,"color",2),ss([a],Ae.prototype,"shape",2),ss([a],Ae.prototype,"size",2),jt(Ae,Nt);const Ur=l.partial`
46
+ ${w("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: ${To};
23
- font-weight: ${Lo};
24
- font-size: ${lo};
25
- line-height: ${yo};
51
+ font-family: ${$};
52
+ font-weight: ${H};
53
+ font-size: ${q};
54
+ line-height: ${ot};
26
55
  min-width: 20px;
27
56
  height: 20px;
28
- padding-inline: calc(${Vo} + ${hd});
29
- border-radius: ${no};
30
- border-color: ${Ya};
31
- background-color: ${ga};
32
- color: ${di};
57
+ padding-inline: calc(${Yt} + ${ht});
58
+ border-radius: ${ct};
59
+ border-color: ${nt};
60
+ background-color: ${Go};
61
+ color: ${Kt};
33
62
  contain: content;
34
63
  }
35
64
 
@@ -37,7 +66,7 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<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(${qt}))::after {
41
70
  position: absolute;
42
71
  content: '';
43
72
  top: 0;
@@ -45,12 +74,12 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
45
74
  bottom: 0;
46
75
  right: 0;
47
76
  border-style: solid;
48
- border-width: ${Oo};
77
+ border-width: ${X};
49
78
  border-color: inherit;
50
79
  border-radius: inherit;
51
80
  }
52
- `,pd=j.partial`
53
- :host([size='tiny']) {
81
+ `,Kr=l.partial`
82
+ :host(${Ye}) {
54
83
  width: 6px;
55
84
  height: 6px;
56
85
  font-size: 4px;
@@ -58,10 +87,10 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<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(${Ye}) ::slotted(svg) {
62
91
  font-size: 6px;
63
92
  }
64
- :host([size='extra-small']) {
93
+ :host(${Qe}) {
65
94
  width: 10px;
66
95
  height: 10px;
67
96
  font-size: 6px;
@@ -69,281 +98,417 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<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(${Qe}) ::slotted(svg) {
73
102
  font-size: 10px;
74
103
  }
75
- :host([size='small']) {
104
+ :host(${L}) {
76
105
  min-width: 16px;
77
106
  height: 16px;
78
107
  font-size: ${so};
79
- line-height: ${vo};
80
- padding-inline: calc(${Ho} + ${hd});
108
+ line-height: ${Yo};
109
+ padding-inline: calc(${ht} + ${ht});
81
110
  }
82
- :host([size='small']) ::slotted(svg) {
111
+ :host(${L}) ::slotted(svg) {
83
112
  font-size: 12px;
84
113
  }
85
- :host([size='large']) {
114
+ :host(${I}) {
86
115
  min-width: 24px;
87
116
  height: 24px;
88
- font-size: ${lo};
89
- line-height: ${yo};
90
- padding-inline: calc(${Vo} + ${hd});
117
+ font-size: ${q};
118
+ line-height: ${ot};
119
+ padding-inline: calc(${Yt} + ${ht});
91
120
  }
92
- :host([size='large']) ::slotted(svg) {
121
+ :host(${I}) ::slotted(svg) {
93
122
  font-size: 16px;
94
123
  }
95
- :host([size='extra-large']) {
124
+ :host(${Mo}) {
96
125
  min-width: 32px;
97
126
  height: 32px;
98
- font-size: ${lo};
99
- line-height: ${yo};
100
- padding-inline: calc(${_o} + ${hd});
127
+ font-size: ${q};
128
+ line-height: ${ot};
129
+ padding-inline: calc(${Qt} + ${ht});
101
130
  }
102
- :host([size='extra-large']) ::slotted(svg) {
131
+ :host(${Mo}) ::slotted(svg) {
103
132
  font-size: 20px;
104
133
  }
105
- `,gd=j.partial`
106
- :host([color='danger']) {
107
- background-color: ${hn};
108
- color: ${di};
134
+ `,Yr=l.partial`
135
+ :host(${Ao}) {
136
+ background-color: ${gr};
137
+ color: ${Kt};
109
138
  }
110
139
 
111
- :host([color='important']) {
112
- background-color: ${wr};
113
- color: ${$i};
140
+ :host(${_o}) {
141
+ background-color: ${T};
142
+ color: ${O};
114
143
  }
115
144
 
116
- :host([color='informative']) {
117
- background-color: ${Mi};
118
- color: ${Nr};
145
+ :host(${Eo}) {
146
+ background-color: ${Ia};
147
+ color: ${rt};
119
148
  }
120
149
 
121
- :host([color='severe']) {
122
- background-color: ${In};
123
- color: ${di};
150
+ :host(${Ho}) {
151
+ background-color: ${kr};
152
+ color: ${Kt};
124
153
  }
125
154
 
126
- :host([color='subtle']) {
127
- background-color: ${$i};
128
- color: ${wr};
155
+ :host(${C}) {
156
+ background-color: ${O};
157
+ color: ${T};
129
158
  }
130
159
 
131
- :host([color='success']) {
132
- background-color: ${kn};
133
- color: ${di};
160
+ :host(${he}) {
161
+ background-color: ${vr};
162
+ color: ${Kt};
134
163
  }
135
164
 
136
- :host([color='warning']) {
137
- background-color: ${Mn};
138
- color: ${ri};
165
+ :host(${ue}) {
166
+ background-color: ${Ga};
167
+ color: ${wa};
139
168
  }
140
- `,bd=j.partial`
141
- :host([appearance='ghost']) {
142
- color: ${ti};
169
+ `,Qr=l.partial`
170
+ :host(${qt}) {
171
+ color: ${Ls};
143
172
  background-color: initial;
144
173
  }
145
174
 
146
- :host([appearance='ghost'][color='danger']) {
147
- color: ${gn};
175
+ :host(${qt}${Ao}) {
176
+ color: ${mr};
148
177
  }
149
178
 
150
- :host([appearance='ghost'][color='important']) {
151
- color: ${wr};
179
+ :host(${qt}${_o}) {
180
+ color: ${T};
152
181
  }
153
182
 
154
- :host([appearance='ghost'][color='informative']) {
155
- color: ${Nr};
183
+ :host(${qt}${Eo}) {
184
+ color: ${rt};
156
185
  }
157
186
 
158
- :host([appearance='ghost'][color='severe']) {
159
- color: ${zn};
187
+ :host(${qt}${Ho}) {
188
+ color: ${wr};
160
189
  }
161
190
 
162
- :host([appearance='ghost'][color='subtle']) {
163
- color: ${ai};
191
+ :host(${qt}${C}) {
192
+ color: ${Je};
164
193
  }
165
194
 
166
- :host([appearance='ghost'][color='success']) {
167
- color: ${wn};
195
+ :host(${qt}${he}) {
196
+ color: ${Ra};
168
197
  }
169
198
 
170
- :host([appearance='ghost'][color='warning']) {
171
- color: ${Hn};
199
+ :host(${qt}${ue}) {
200
+ color: ${Us};
172
201
  }
173
- `,fd=j.partial`
174
- :host([appearance='outline']) {
202
+ `,Jc=l.partial`
203
+ :host(${j}) {
175
204
  border-color: currentColor;
176
- color: ${ti};
205
+ color: ${Ls};
177
206
  background-color: initial;
178
207
  }
179
208
 
180
- :host([appearance='outline'][color='danger']) {
181
- color: ${gn};
182
- }
183
-
184
- :host([appearance='outline'][color='important']) {
185
- color: ${Nr};
186
- border-color: ${Pa};
209
+ :host(${j}${Ao}) {
210
+ color: ${mr};
187
211
  }
188
212
 
189
- :host([appearance='outline'][color='informative']) {
190
- color: ${Nr};
191
- border-color: ${Oa};
192
- }
193
-
194
- :host([appearance='outline'][color='severe']) {
195
- color: ${zn};
196
- }
197
-
198
- :host([appearance='outline'][color='subtle']) {
199
- color: ${ii};
200
- }
201
-
202
- :host([appearance='outline'][color='success']) {
203
- color: ${$n};
204
- }
205
-
206
- :host([appearance='outline'][color='warning']) {
207
- color: ${Hn};
208
- }
209
- `,md=j.partial`
210
- :host([appearance='tint']) {
211
- background-color: ${$a};
212
- color: ${oi};
213
- border-color: ${ja};
213
+ :host(${j}${_o}) {
214
+ color: ${rt};
215
+ border-color: ${ge};
214
216
  }
215
217
 
216
- :host([appearance='tint'][color='danger']) {
217
- background-color: ${cn};
218
- color: ${un};
219
- border-color: ${fn};
218
+ :host(${j}${Eo}) {
219
+ color: ${rt};
220
+ border-color: ${oo};
220
221
  }
221
222
 
222
- :host([appearance='tint'][color='important']) {
223
- background-color: ${Nr};
224
- color: ${$i};
225
- border-color: ${Ya};
226
- }
227
-
228
- :host([appearance='tint'][color='informative']) {
229
- background-color: ${Ni};
230
- color: ${Nr};
231
- border-color: ${Oa};
232
- }
233
-
234
- :host([appearance='tint'][color='severe']) {
235
- background-color: ${Pn};
236
- color: ${An};
237
- border-color: ${Nn};
238
- }
239
-
240
- :host([appearance='tint'][color='subtle']) {
241
- background-color: ${$i};
242
- color: ${Nr};
243
- border-color: ${Oa};
244
- }
245
-
246
- :host([appearance='tint'][color='success']) {
247
- background-color: ${vn};
248
- color: ${xn};
249
- border-color: ${Sn};
250
- }
251
-
252
- :host([appearance='tint'][color='warning']) {
253
- background-color: ${Dn};
254
- color: ${Hn};
255
- border-color: ${jn};
223
+ :host(${j}${Ho}) {
224
+ color: ${wr};
256
225
  }
257
- `,vd=j`
258
- :host([shape='square']){border-radius:${to}}:host([shape='rounded']){border-radius:${ro}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${oo}}${pd}
259
- ${gd}
260
- ${bd}
261
- ${fd}
262
- ${md}
263
- ${ud}
264
- `,yd=ld.compose({name:Tt.prefix+"-badge",template:dd,styles:vd}),kd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,xd=new WeakMap;function $d(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 kd}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),k.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),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!kd)return null;let e=xd.get(this);return e||(e=this.attachInternals(),xd.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 Ee({mode:"boolean"})(t.prototype,"disabled"),Ee({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ee({attribute:"current-value"})(t.prototype,"currentValue"),Ee(t.prototype,"name"),Ee({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wd(e){class t extends($d(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 Ee({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ee({attribute:"current-checked",converter:Le})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bd extends ot{}class Cd extends($d(Bd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Sd="submit",Pd="reset";class Td extends Cd{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===Pd&&this.addEventListener("click",this.handleFormReset),e===Pd&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([Ee({mode:"boolean"})],Td.prototype,"autofocus",void 0),e([Ee({attribute:"form"})],Td.prototype,"formId",void 0),e([Ee],Td.prototype,"formaction",void 0),e([Ee],Td.prototype,"formenctype",void 0),e([Ee],Td.prototype,"formmethod",void 0),e([Ee({mode:"boolean"})],Td.prototype,"formnovalidate",void 0),e([Ee],Td.prototype,"formtarget",void 0),e([Ee],Td.prototype,"type",void 0),e([C],Td.prototype,"defaultSlottedContent",void 0);class Id{}function Ad(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}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([Ee({attribute:"aria-expanded"})],Id.prototype,"ariaExpanded",void 0),e([Ee({attribute:"aria-pressed"})],Id.prototype,"ariaPressed",void 0),bt(Id,dt),bt(Td,ut,Id);var Fd=Object.defineProperty,zd=Object.getOwnPropertyDescriptor,Ld=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?zd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Fd(t,o,a),a};class Nd extends Td{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)}}Ld([Ee],Nd.prototype,"appearance",2),Ld([Ee],Nd.prototype,"shape",2),Ld([Ee],Nd.prototype,"size",2),Ld([Ee({attribute:"icon-only",mode:"boolean"})],Nd.prototype,"iconOnly",2),Ld([Ee({attribute:"disabled-focusable",mode:"boolean"})],Nd.prototype,"disabledFocusable",2);const Od=Ad(),Dd=Nd.compose({name:Tt.prefix+"-button",template:Od,styles:Sc,shadowOptions:{delegatesFocus:!0}});class Ed extends ot{}class Md extends(wd(Ed)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Rd extends Md{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([C],Rd.prototype,"defaultSlottedNodes",void 0),e([C],Rd.prototype,"indeterminate",void 0);var Hd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,_d=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Vd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Hd(t,o,a),a};class jd extends Rd{}_d([Ee],jd.prototype,"shape",2),_d([Ee],jd.prototype,"size",2),_d([Ee({attribute:"label-position"})],jd.prototype,"labelPosition",2);const Gd={circular:"circular",square:"square"},qd={medium:"medium",large:"large"},Wd={before:"before",after:"after"},Xd=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">${ht(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ht(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Fe("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')}),Ud=j`
265
- ${Ct("inline-flex")}
266
- :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${To};font-size:${co};line-height:${ko};color:${Nr};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ro};outline:none;border:2px solid ${Za};box-shadow:inset 0 0 0 1px ${Ja}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${er} ${jo};fill:currentcolor;height:16px;width:16px;border:${Oo} solid ${Pa};border-radius:${oo};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${jo};padding-bottom:${er};padding-top:${er}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${ai};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${oo};background-color:${Zr};opacity:0}:host(:hover){color:${Pr}}:host(:hover) .control{border-color:${Ta}}:host(:hover) .indeterminate-indicator{background-color:${Jr}}:host(:active) .control{border-color:${Ia}}:host(:active) .indeterminate-indicator{background-color:${ei}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${wr}}:host([aria-checked='true']) .control{background-color:${va}}:host([aria-checked='true']:hover) .control{border-color:${qa};background-color:${ya}}:host([aria-checked='true']:active) .control{background-color:${ka}}:host([aria-checked='mixed']:hover) .control{border-color:${qa}}: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:${Ga}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${Wa}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${jo} ${Vo};padding-top:${er};padding-bottom:${er}}: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:${no}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${ra};border-color:${Xa}}: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:${_r}}:host([disabled]) .indeterminate-indicator{background-color:${_r}}`,Yd=jd.compose({name:Tt.prefix+"-checkbox",template:Xd,styles:Ud});class Kd extends Nd{}const Qd=yc,Zd=kc,Jd=xc;const eh=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}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot><slot name="description"></slot></span>${pt(e)}</button>`}(),th=j`
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:${co};line-height:${ko}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Pr};line-height:100%;font-size:${lo};font-weight:${Fo}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Tr}}:host(:active) ::slotted([slot='description']){color:${Ir}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
270
- ::slotted([slot='description']){color:${di}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
271
- ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${Pr}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${Fr}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${zr}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
272
- ::slotted([slot='description']){color:${_r}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${_o}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${Vo}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${jo}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${ho};line-height:${xo}}:host([size='large']) ::slotted([slot='description']){font-size:${co}}`,oh=Kd.compose({name:Tt.prefix+"-compound-button",template:eh,styles:th,shadowOptions:{delegatesFocus:!0}});var rh=Object.defineProperty,ih=Object.getOwnPropertyDescriptor,ah=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?ih(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&rh(t,o,a),a};class nh 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}}ah([Ee],nh.prototype,"appearance",2),ah([Ee],nh.prototype,"color",2),ah([Ee],nh.prototype,"shape",2),ah([Ee],nh.prototype,"size",2),ah([Ee({converter:Oe})],nh.prototype,"count",2),ah([Ee({attribute:"overflow-count",converter:Oe})],nh.prototype,"overflowCount",2),ah([Ee({attribute:"show-zero",mode:"boolean"})],nh.prototype,"showZero",2),ah([Ee({mode:"boolean"})],nh.prototype,"dot",2),ed(nh,ut);const sh={filled:"filled",ghost:"ghost"},lh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},ch={circular:"circular",rounded:"rounded"},dh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const hh=cd({defaultContent:xe`${e=>e.setCount()}`}),uh=j`
273
- :host([shape='rounded']){border-radius:${ro}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${oo}}${pd}
274
- ${gd}
275
- ${bd}
276
- ${ud}
277
-
278
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,ph=nh.compose({name:Tt.prefix+"-counter-badge",template:hh,styles:uh}),gh={separator:"separator",presentation:"presentation"},bh=rt;class fh extends ot{constructor(){super(...arguments),this.role=gh.separator,this.orientation=bh.horizontal}}e([Ee],fh.prototype,"role",void 0),e([Ee],fh.prototype,"orientation",void 0);var mh=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,yh=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?vh(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&mh(t,o,a),a};class kh extends fh{}yh([Ee({attribute:"align-content"})],kh.prototype,"alignContent",2),yh([Ee],kh.prototype,"appearance",2),yh([Ee({mode:"boolean"})],kh.prototype,"inset",2);const xh={center:"center",start:"start",end:"end"},$h={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},wh=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.role!==gh.presentation?e.orientation:void 0}"><slot></slot></template>`,Bh=j`
279
- ${Ct("flex")}
280
-
281
- :host{contain:content}:host::after,:host::before{align-self:center;background:${Oa};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${Oo}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Pr};font-family:${To};font-size:${lo};font-weight:${Fo};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:${Oo};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:${Fa}}:host([appearance='strong']) ::slotted(*){color:${wr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${_a}}:host([appearance='brand']) ::slotted(*){color:${ti}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Da}}:host([appearance='subtle']) ::slotted(*){color:${Nr}}`.withBehaviors(Bt(j`
282
- :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}`)),Ch=kh.compose({name:Tt.prefix+"-divider",template:wh,styles:Bh});var Sh=Object.defineProperty,Ph=Object.getOwnPropertyDescriptor,Th=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ph(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Sh(t,o,a),a};class Ih extends ot{}Th([Ee({mode:"boolean"})],Ih.prototype,"block",2),Th([Ee({mode:"boolean"})],Ih.prototype,"bordered",2),Th([Ee({mode:"boolean"})],Ih.prototype,"shadow",2),Th([Ee],Ih.prototype,"fit",2),Th([Ee],Ih.prototype,"shape",2);const Ah={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Fh={circular:"circular",rounded:"rounded",square:"square"},zh=xe`<slot></slot>`,Lh=j`
283
- :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:${Oo} solid ${Oa}}: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:${Zl}}:host([shape='circular']) ::slotted(img){border-radius:${no}}:host([shape='rounded']) ::slotted(img){border-radius:${ro}}`,Nh=Ih.compose({name:Tt.prefix+"-image",template:zh,styles:Lh});var Oh=Object.defineProperty,Dh=Object.getOwnPropertyDescriptor,Eh=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Dh(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Oh(t,o,a),a};class Mh extends ot{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Eh([Ee],Mh.prototype,"size",2),Eh([Ee],Mh.prototype,"weight",2),Eh([Ee({mode:"boolean"})],Mh.prototype,"disabled",2),Eh([Ee({mode:"boolean"})],Mh.prototype,"required",2);const Rh=j`
284
- ${Ct("flex")}
285
-
286
- :host{font-family:${To};font-size:${co};line-height:${ko};font-weight:${Fo};color:${wr}}.asterisk{color:${un};margin-left:${Vo}}:host([size='small']){font-size:${lo};line-height:${yo}}:host([size='large']){font-size:${ho};line-height:${xo};font-weight:${Lo}}:host([weight='semibold']){font-weight:${Lo}}:host([disabled]),:host([disabled]) .asterisk{color:${_r}}`;const Hh=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Vh=Mh.compose({name:Tt.prefix+"-label",template:Hh,styles:Rh});function _h(e){return e.split("-")[1]}function jh(e){return"y"===e?"height":"width"}function Gh(e){return e.split("-")[0]}function qh(e){return["top","bottom"].includes(Gh(e))?"x":"y"}function Wh(e,t,o){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,n=r.y+r.height/2-i.height/2,s=qh(t),l=jh(s),c=r[l]/2-i[l]/2,d="x"===s;let h;switch(Gh(t)){case"top":h={x:a,y:r.y-i.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:n};break;case"left":h={x:r.x-i.width,y:n};break;default:h={x:r.x,y:r.y}}switch(_h(t)){case"start":h[s]-=c*(o&&d?-1:1);break;case"end":h[s]+=c*(o&&d?-1:1)}return h}function Xh(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Uh(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!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),b=s[u?"floating"===h?"reference":"floating":h],f=Xh(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(b)))||o?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===h?{...n.floating,x:r,y:i}:n.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},k=Xh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return{top:(f.top-k.top+g.top)/y.y,bottom:(k.bottom-f.bottom+g.bottom)/y.y,left:(f.left-k.left+g.left)/y.x,right:(k.right-f.right+g.right)/y.x}}const Yh=Math.min,Kh=Math.max;function Qh(e,t,o){return Kh(e,Yh(t,o))}const Zh=["top","right","bottom","left"];Zh.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Jh={left:"right",right:"left",bottom:"top",top:"bottom"};function eu(e){return e.replace(/left|right|bottom|top/g,e=>Jh[e])}function tu(e,t,o){void 0===o&&(o=!1);const r=_h(e),i=qh(e),a=jh(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=eu(n)),{main:n,cross:eu(n)}}const ou={start:"end",end:"start"};function ru(e){return e.replace(/start|end/g,e=>ou[e])}const iu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:n,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Gh(r),m=Gh(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[eu(n)]:function(e){const t=eu(e);return[ru(e),t,ru(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=_h(e);let a=function(e,t,o){const r=["left","right"],i=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?a:n;default:return[]}}(Gh(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(ru)))),a}(n,g,p,v));const k=[n,...y],x=await Uh(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&$.push(x[f]),d){const{main:e,cross:t}=tu(r,a,v);$.push(x[e],x[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.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=n}if(r!==o)return{reset:{placement:o}}}return{}}}};function au(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nu(e){return Zh.some(t=>e[t]>=0)}const su=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:i}=t;switch(o){case"referenceHidden":{const e=au(await Uh(t,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:nu(e)}}}case"escaped":{const e=au(await Uh(t,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:nu(e)}}}default:return{}}}}};const lu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!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 Uh(t,l),h=qh(Gh(i)),u=function(e){return"x"===e?"y":"x"}(h);let p=c[h],g=c[u];if(a){const e="y"===h?"bottom":"right";p=Qh(p+d["y"===h?"top":"left"],p,p-d[e])}if(n){const e="y"===u?"bottom":"right";g=Qh(g+d["y"===u?"top":"left"],g,g-d[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},cu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:a}=t,{apply:n=(()=>{}),...s}=e,l=await Uh(t,s),c=Gh(o),d=_h(o),h="x"===qh(o),{width:u,height:p}=r.floating;let g,b;"top"===c||"bottom"===c?(g=c,b=d===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=c,g="end"===d?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Yh(u-l.right-l.left,m):v=Yh(p-l.bottom-l.top,f),!t.middlewareData.shift&&!d){const e=Kh(l.left,0),t=Kh(l.right,0),o=Kh(l.top,0),r=Kh(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Kh(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Kh(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const k=await i.getDimensions(a.floating);return u!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function du(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function hu(e){return du(e).getComputedStyle(e)}const uu=Math.min,pu=Math.max,gu=Math.round;function bu(e){const t=hu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=gu(o)!==i||gu(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function fu(e){return xu(e)?(e.nodeName||"").toLowerCase():""}let mu;function vu(){if(mu)return mu;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(mu=e.brands.map(e=>e.brand+"/"+e.version).join(" "),mu):navigator.userAgent}function yu(e){return e instanceof du(e).HTMLElement}function ku(e){return e instanceof du(e).Element}function xu(e){return e instanceof du(e).Node}function $u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof du(e).ShadowRoot||e instanceof ShadowRoot)}function wu(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=hu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function Bu(e){return["table","td","th"].includes(fu(e))}function Cu(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 Su(){return/^((?!chrome|android).)*safari/i.test(vu())}function Pu(e){return["html","body","#document"].includes(fu(e))}function Tu(e){return ku(e)?e:e.contextElement}const Iu={x:1,y:1};function Au(e){const t=Tu(e);if(!yu(t))return Iu;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=bu(t);let n=(a?gu(o.width):o.width)/r,s=(a?gu(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function Fu(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=Tu(e);let l=Iu;t&&(r?ku(r)&&(l=Au(r)):l=Au(e));const c=s?du(s):window,d=Su()&&o;let h=(n.left+(d&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(d&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=du(s),t=r&&ku(r)?du(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=Au(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,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=du(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function zu(e){return((xu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lu(e){return ku(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nu(e){return Fu(zu(e)).left+Lu(e).scrollLeft}function Ou(e){if("html"===fu(e))return e;const t=e.assignedSlot||e.parentNode||$u(e)&&e.host||zu(e);return $u(t)?t.host:t}function Du(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=Ou(t);return Pu(o)?o.ownerDocument.body:yu(o)&&wu(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=du(r);return i?t.concat(a,a.visualViewport||[],wu(r)?r:[]):t.concat(r,Du(r))}function Eu(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=du(e),r=zu(e),i=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,s=0,l=0;if(i){a=i.width,n=i.height;const e=Su();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:n,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=zu(e),o=Lu(e),r=e.ownerDocument.body,i=pu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=pu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Nu(e);const s=-o.scrollTop;return"rtl"===hu(r).direction&&(n+=pu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(zu(e));else if(ku(t))r=function(e,t){const o=Fu(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=yu(e)?Au(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,o);else{const o={...t};if(Su()){var i,a;const t=du(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}r=o}return Xh(r)}function Mu(e,t){return yu(e)&&"fixed"!==hu(e).position?t?t(e):e.offsetParent:null}function Ru(e,t){const o=du(e);let r=Mu(e,t);for(;r&&Bu(r)&&"static"===hu(r).position;)r=Mu(r,t);return r&&("html"===fu(r)||"body"===fu(r)&&"static"===hu(r).position&&!Cu(r))?o:r||function(e){let t=Ou(e);for(;yu(t)&&!Pu(t);){if(Cu(t))return t;t=Ou(t)}return null}(e)||o}function Hu(e,t,o){const r=yu(t),i=zu(t),a=Fu(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==fu(t)||wu(i))&&(n=Lu(t)),yu(t)){const e=Fu(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Nu(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const Vu={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Du(e).filter(e=>ku(e)&&"body"!==fu(e)),i=null;const a="fixed"===hu(e).position;let n=a?Ou(e):e;for(;ku(n)&&!Pu(n);){const e=hu(n),t=Cu(n);(a?t||i:t||"static"!==e.position||!i||!["absolute","fixed"].includes(i.position))?i=e:r=r.filter(e=>e!==n),n=Ou(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=Eu(t,o,i);return e.top=pu(r.top,e.top),e.right=uu(r.right,e.right),e.bottom=uu(r.bottom,e.bottom),e.left=pu(r.left,e.left),e},Eu(t,n,i));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 i=yu(o),a=zu(o);if(o===a)return t;let n={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==fu(o)||wu(a))&&(n=Lu(o)),yu(o))){const e=Fu(o);s=Au(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-n.scrollLeft*s.x+l.x,y:t.y*s.y-n.scrollTop*s.y+l.y}},isElement:ku,getDimensions:function(e){return yu(e)?bu(e):e.getBoundingClientRect()},getOffsetParent:Ru,getDocumentElement:zu,getScale:Au,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Ru,a=this.getDimensions;return{reference:Hu(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===hu(e).direction};function _u(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=!0,animationFrame:s=!1}=r,l=i&&!s,c=l||a?[...ku(e)?Du(e):e.contextElement?Du(e.contextElement):[],...Du(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let d,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),ku(e)&&!s&&h.observe(e),ku(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?Fu(e):null;return s&&function t(){const r=Fu(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o(),u=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const ju=(e,t,o)=>{const r=new Map,i={platform:Vu,...o},a={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=o,s=a.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));let c=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=Wh(c,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:a,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:d,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:c,platform:n,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:h}=Wh(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};var Gu=Object.defineProperty,qu=Object.getOwnPropertyDescriptor,Wu=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?qu(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Gu(t,o,a),a};class Xu 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(),k.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&&k.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&k.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&&k.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=_u(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:i}=await ju(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[iu(),cu({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"})}}),su()]});(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, ${i}px)`})}))}addListeners(){var e,t,o,r,i;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==(i=this._trigger)||i.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,i;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==(i=this._trigger)||i.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}}}Wu([C,Ee({attribute:"open-on-hover",mode:"boolean"})],Xu.prototype,"openOnHover",2),Wu([C,Ee({attribute:"open-on-context",mode:"boolean"})],Xu.prototype,"openOnContext",2),Wu([C,Ee({attribute:"close-on-scroll",mode:"boolean"})],Xu.prototype,"closeOnScroll",2),Wu([C,Ee({attribute:"persist-on-item-click",mode:"boolean"})],Xu.prototype,"persistOnItemClick",2),Wu([C,Ee({mode:"boolean"})],Xu.prototype,"open",2),Wu([C],Xu.prototype,"slottedMenuList",2),Wu([C],Xu.prototype,"slottedTriggers",2);const Uu=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" ${Fe({property:"slottedTriggers",filter:Te()})}></slot><span ${we("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Fe({property:"slottedMenuList",filter:Te()})}></slot></span></template>`,Yu=j`
287
- :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,Ku=Xu.compose({name:Tt.prefix+"-menu",template:Uu,styles:Yu});class Qu extends Nd{}const Zu=yc,Ju=kc,ep=xc,tp=Ad({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>')}),op=Qu.compose({name:Tt.prefix+"-menu-button",template:tp,styles:Sc,shadowOptions:{delegatesFocus:!0}}),rp={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};class ip extends ot{constructor(){super(...arguments),this.role=rp.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 rp.menuitemcheckbox:this.checked=!this.checked;break;case rp.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case rp.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&&k.enqueue(()=>{this.cleanup=_u(this,this.submenuContainer,()=>t(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield ju(this,this.submenuContainer,{middleware:[lu(),cu({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),iu({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}e([Ee({mode:"boolean"})],ip.prototype,"disabled",void 0),e([Ee({mode:"boolean"})],ip.prototype,"expanded",void 0),e([Ee],ip.prototype,"role",void 0),e([Ee({mode:"boolean"})],ip.prototype,"checked",void 0),e([Ee({mode:"boolean"})],ip.prototype,"hidden",void 0),e([C],ip.prototype,"slottedSubmenu",void 0),e([C],ip.prototype,"submenu",void 0),bt(ip,ut);class ap extends ip{}const np=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>'),sp=function(e={}){return xe`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==rp.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===rp.menuitemcheckbox,xe`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${ht(e.checkboxIndicator)}</slot></span></div>`)} ${Se(e=>e.role===rp.menuitemradio,xe`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${ht(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">${ht(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${we("submenuContainer")}><slot name="submenu" ${Fe({property:"slottedSubmenu",filter:Te("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:np,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:np}),lp=j`
288
- ${Ct("grid")}
289
-
290
- :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${$i};font:${Fo} ${co} / ${ko} ${To};border-radius:${ro};color:${Pr};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${wi}}.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:${Pr}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${uo};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${Nr};font:${Fo} ${lo} / ${yo} ${To};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:${Tr}}:host([icon]:hover) ::slotted([slot='start']){color:${Jr}}:host(:active){background-color:${Ci}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${Ir}}:host(:active) ::slotted([slot='start']){color:${ei}}:host([disabled]){background-color:${na}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${_r}}: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}`,cp=ap.compose({name:Tt.prefix+"-menu-item",template:sp,styles:lp});class dp extends ot{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&it(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===rp.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===rp.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof ip||it(e)&&e.getAttribute("role")in dp.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),k.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),B.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>B.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}}}dp.focusableElementRoles=rp,e([C],dp.prototype,"items",void 0);class hp extends dp{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=hp.elementIndent(t);return Math.max(e,o)},0);e instanceof ap&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==rp.menuitem?o?2:1:o?1:0}}const up=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 ${Fe("items")}></slot></template>`,pp=j`
291
- ${Ct("flex")}
292
-
293
- :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${$i};border:1px solid ${Ya};border-radius:${ro};box-shadow:${ec};padding:4px;row-gap:2px}`,gp=hp.compose({name:Tt.prefix+"-menu-list",template:up,styles:pp});class bp 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([Ee({converter:Oe})],bp.prototype,"value",void 0),e([Ee({converter:Oe})],bp.prototype,"min",void 0),e([Ee({converter:Oe})],bp.prototype,"max",void 0),e([C],bp.prototype,"percentComplete",void 0);class fp extends bp{}var mp=Object.defineProperty,vp=Object.getOwnPropertyDescriptor,yp=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?vp(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&mp(t,o,a),a};class kp extends fp{constructor(){super(...arguments),this.validationState=null}}yp([Ee],kp.prototype,"thickness",2),yp([Ee],kp.prototype,"shape",2),yp([Ee({attribute:"validation-state"})],kp.prototype,"validationState",2);const xp={medium:"medium",large:"large"},$p={rounded:"rounded",square:"square"},wp={success:"success",warning:"warning",error:"error"},Bp=j`
294
- ${Ct("flex")}
295
226
 
296
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${ro};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:${hn}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
297
- to right,${dn} 0%,${hn} 50%,${dn}
298
- )}:host([validation-state='warning']) .determinate{background-color:${In}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
299
- to right,${Tn} 0%,${In} 50%,${Tn}
300
- )}:host([validation-state='success']) .determinate{background-color:${kn}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
301
- to right,${yn} 0%,${kn} 50%,${yn}
302
- )}.progress{background-color:${_i};border-radius:${ro};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${va};border-radius:${ro};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
303
- to right,${$a} 0%,${va} 50%,${$a}
304
- );border-radius:${ro};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(
305
- to right,${$a} 0%,${va} 50%,${$a}
306
- );border-radius:${ro};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(Bt(j`
307
- .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}`)),Cp=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">${ht(e.indeterminateIndicator1)} ${ht(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>'}),Sp=kp.compose({name:Tt.prefix+"-progress-bar",template:Cp,styles:Bp});class Pp extends ot{}class Tp extends(wd(Pp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ip extends Tp{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([C],Ip.prototype,"name",void 0),e([C],Ip.prototype,"defaultSlottedNodes",void 0);class Ap extends Ip{}const Fp=j`
308
- ${Ct("inline-grid")}
309
-
310
- :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${Vo};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${Nr});padding-inline-end:${jo};--control-border-color:${Pa};--checked-indicator-background-color:${Zr};--state-color:${Nr}}:host([disabled]){--control-border-color:${_r};--checked-indicator-background-color:${_r};--state-color:${_r}}.label{cursor:pointer;font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${Pa});border-radius:${no};display:flex;height:16px;justify-content:center;margin:${er} ${jo};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${no};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${Pr}}:host(:focus-visible){border-radius:${oo};box-shadow:0 0 0 3px ${Ja};outline:1px solid ${Za}}:host(:hover) .control{border-color:${Ta}}:host(:active) .control{border-color:${Ia}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${Pa})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Zr})}:host([aria-checked='true']:hover) .control{border-color:${qa}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${qa}}:host([aria-checked='true']:active) .control{border-color:${Wa}}:host([aria-checked='true']:active) .checked-indicator{background:${ei}}:host([disabled]){color:${_r};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${_r}}:host([disabled]) .checked-indicator{background:${_r}}`.withBehaviors(Bt(j`
311
- :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}`)),zp=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">${ht(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 ${Fe({property:"defaultSlottedNodes",filter:St})}></slot></label></template>`}({checkedIndicator:xe`<div part="checked-indicator" class="checked-indicator"></div>`}),Lp=Ap.compose({name:Tt.prefix+"-radio",template:zp,styles:Fp}),Np=rt;class Op extends ot{constructor(){super(...arguments),this.orientation=Np.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,i=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===i&&r===i||i===t.length-1&&i===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 Ip&&(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 at&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===nt.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===nt.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([Ee({attribute:"readonly",mode:"boolean"})],Op.prototype,"readOnly",void 0),e([Ee({attribute:"disabled",mode:"boolean"})],Op.prototype,"disabled",void 0),e([Ee],Op.prototype,"name",void 0),e([Ee],Op.prototype,"value",void 0),e([Ee],Op.prototype,"orientation",void 0),e([C],Op.prototype,"childItems",void 0),e([C],Op.prototype,"slottedRadioButtons",void 0);var Dp=Object.defineProperty,Ep=Object.getOwnPropertyDescriptor;class Mp extends Op{constructor(){super(...arguments),this.stacked=!1}}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ep(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&Dp(t,o,a)})([Ee({mode:"boolean"})],Mp.prototype,"stacked",2);const Rp=j`
312
- ${Ct("flex")}
313
-
314
- :host{align-items:flex-start;flex-direction:column;row-gap:${er}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${_r};--checked-indicator-background-color:${_r};--state-color:${_r}}::slotted([slot='label']){color:${wr};padding:${er} ${jo} ${er} ${Vo};font:${Fo} ${co} / ${ko} ${To};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:${jo}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${jo};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,Hp=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===Np.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Fe({property:"slottedRadioButtons",filter:Te("[role=radio]")})}></slot></div></template>`,Vp=Mp.compose({name:Tt.prefix+"-radio-group",template:Hp,styles:Rp});function _p(e,t,o,r){let i=st(0,1,(e-t)/(o-t));return r===nt.rtl&&(i=1-i),i}class jp extends ot{}class Gp extends($d(jp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const qp=rt,Wp="single-value";class Xp extends Gp{constructor(){super(...arguments),this.direction=nt.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=Wp,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==nt.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==nt.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!==nt.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!==nt.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-_p(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=_p(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([Ee({attribute:"readonly",mode:"boolean"})],Xp.prototype,"readOnly",void 0),e([C],Xp.prototype,"direction",void 0),e([C],Xp.prototype,"isDragging",void 0),e([C],Xp.prototype,"position",void 0),e([C],Xp.prototype,"trackWidth",void 0),e([C],Xp.prototype,"trackMinWidth",void 0),e([C],Xp.prototype,"trackHeight",void 0),e([C],Xp.prototype,"trackLeft",void 0),e([C],Xp.prototype,"trackMinHeight",void 0),e([C],Xp.prototype,"valueTextFormatter",void 0),e([Ee({converter:Oe})],Xp.prototype,"min",void 0),e([Ee({converter:Oe})],Xp.prototype,"max",void 0),e([Ee({converter:Oe})],Xp.prototype,"step",void 0),e([Ee],Xp.prototype,"orientation",void 0),e([Ee],Xp.prototype,"mode",void 0);var Up=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor;class Kp extends Xp{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),B.getNotifier(this).subscribe(this,"max"),B.getNotifier(this).subscribe(this,"min"),B.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),B.getNotifier(this).unsubscribe(this,"max"),B.getNotifier(this).unsubscribe(this,"min"),B.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=j`
315
- :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 i,a=r>1?void 0:r?Yp(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&Up(t,o,a)})([Ee],Kp.prototype,"size",2);const Qp={small:"small",medium:"medium"},Zp=j`
316
- ${Ct("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:${oo};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 ${Ja};outline:1px solid ${Za}}.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:${ga};border-radius:${no};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Fa}}.thumb-cursor:hover{background-color:${ya}}.thumb-cursor:active{background-color:${ka}}:host([disabled]) .thumb-cursor{background-color:${_r};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Xa}}.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:${Pa};border-radius:${ro};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${ro};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
317
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${$i} calc(var(--step-rate) - 1px),${$i} var(--step-rate)
318
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${na}}: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:${va};position:absolute;height:100%;left:0;border-radius:${ro}}:host([disabled]) .track-start{background-color:${_r}}:host(:hover) .track-start{background-color:${ya}}:host([disabled]:hover) .track-start{background-color:${_r}}.track-start:active{background-color:${ka}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(Bt(j`
319
- .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}`)),Jp=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 ${we("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 ${we("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${ht(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),eg=Kp.compose({name:Tt.prefix+"-slider",template:Jp,styles:Zp});class tg extends bp{}var og=Object.defineProperty,rg=Object.getOwnPropertyDescriptor,ig=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?rg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&og(t,o,a),a};class ag extends tg{}ig([Ee],ag.prototype,"size",2),ig([Ee],ag.prototype,"appearance",2);const ng={primary:"primary",inverted:"inverted"},sg={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},lg=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">${ht(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 '}),cg=j`
320
- ${Ct("flex")}
321
-
322
- :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:${ja};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${_a};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:${Ma}}.indeterminate-indicator-1{stroke:${_a};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:${Ma}}@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)}}`,dg=ag.compose({name:Tt.prefix+"-spinner",template:lg,styles:cg});class hg extends ot{}class ug extends(wd(hg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class pg extends ug{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([Ee({attribute:"readonly",mode:"boolean"})],pg.prototype,"readOnly",void 0),e([C],pg.prototype,"defaultSlottedNodes",void 0);var gg=Object.defineProperty,bg=Object.getOwnPropertyDescriptor;class fg extends pg{}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?bg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&gg(t,o,a)})([Ee({attribute:"label-position"})],fg.prototype,"labelPosition",2);const mg={above:"above",after:"after",before:"before"},vg=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 ${Fe("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${ht(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),yg=j`
323
- ${Ct("inline-flex")}
324
-
325
- :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:${wr};line-height:${ko};font-size:${co};font-weight:${Fo};font-family:${To};padding:${Zo} ${Vo};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Ho};box-sizing:border-box;width:40px;height:20px;background-color:${oa};border:1px solid ${Pa};border-radius:${no};outline:none;cursor:pointer;margin:${er} ${jo}}:host(:hover) .switch{background:none;border-color:${Ta}}:host(:active) .switch{border-color:${Ia}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Xa};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${va}}:host([aria-checked='true']:hover) .switch{background:${ya};border-color:${ya}}:host([aria-checked='true']:active) .switch{background:${ka};border-color:${ka}}:host([aria-checked='true'][disabled]) .switch{background:${na};border-color:${Xa}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Nr};transition-duration:${dr};transition-timing-function:${xr};transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:${ai};margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:${ni}}:host([aria-checked='true']:active) .checked-indicator{background:${si}}:host(:hover) .checked-indicator{background-color:${Or}}:host(:active) .checked-indicator{background-color:${Dr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${_r}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${_r}}:host(:focus-visible){border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}`.withBehaviors(Bt(j`
326
- .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}`)),kg=fg.compose({name:Tt.prefix+"-switch",template:vg,styles:yg}),xg=rt;class $g extends ot{constructor(){super(...arguments),this.orientation=xg.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],i=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",i),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===xg.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),i=this.tabs.indexOf(t[r]);i>-1&&this.moveToTabByIndex(this.tabs,i)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}e([Ee],$g.prototype,"orientation",void 0),e([Ee],$g.prototype,"activeid",void 0),e([C],$g.prototype,"tabs",void 0),e([C],$g.prototype,"tabpanels",void 0),bt($g,ut);const wg={subtle:"subtle",transparent:"transparent"},Bg={small:"small",medium:"medium",large:"large"};var Cg=Object.defineProperty,Sg=Object.getOwnPropertyDescriptor,Pg=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Sg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Cg(t,o,a),a};class Tg extends $g{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=wg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===xg.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===xg.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 i=this.tabs,a=this.activetab||i[0],n=null==a?void 0:a.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:n.x-s.x,y:n.y-s.y,height:n.height,width:n.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=j`
327
- :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
328
- :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()}}Pg([Ee],Tg.prototype,"appearance",2),Pg([Ee({mode:"boolean"})],Tg.prototype,"disabled",2),Pg([Ee],Tg.prototype,"size",2);const Ig=function(e={}){return xe` ${gt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Fe("tabs")}></slot></div>${pt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Fe("tabpanels")}></slot></div>`}({}),Ag=j`
329
- ${Ct("grid")}
330
-
331
- :host{box-sizing:border-box;font-family:${To};font-size:${co};line-height:${ko};color:${Pr};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${_r}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${_r}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${_r}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${_r}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${ro}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${_r}}.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:${Wi};color:${Br};fill:${Jr}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Xi};fill:${Xi};color:${wr}}:host([size='small']) ::slotted(fluent-tab){font-size:${co};line-height:${ko};padding:${Jo} ${_o}}:host([size='large']) ::slotted(fluent-tab){font-size:${ho};line-height:${xo};padding:${rr} ${Go}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${hr};transition-timing-function:${mr}}:host ::slotted(fluent-tab)::after{height:${Eo};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${Eo};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${Eo};border-radius:${no};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${Eo};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${Eo};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:${Eo}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Jo};padding-bottom:${Jo}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Qo};padding-bottom:${Qo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${er};padding-bottom:${er}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${_o};left:${_o}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}: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:${Jo};bottom:${Jo}}: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:${er};bottom:${er}}: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:${tr};bottom:${tr}}`,Fg=Tg.compose({name:Tt.prefix+"-tabs",template:Ig,styles:Ag});class zg extends ot{}e([Ee({mode:"boolean"})],zg.prototype,"disabled",void 0),bt(zg,ut);class Lg extends zg{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
332
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const Ng=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>`}({}),Og=j`
333
- ${Ct("inline-flex")}
334
-
335
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${ko};font-family:${To};font-size:${co};color:${Pr};fill:currentcolor;grid-row:1;padding:${qo} ${Go};border-radius:${ro}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${wr};font-weight:${Lo}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${ko};font-weight:${Lo}}:host([aria-selected='true'])::after{background-color:${Ga};border-radius:${no};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${za};border-radius:${no};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${_r}}::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:${_r};color:${_r}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${oo};box-shadow:0 0 0 3px ${Ja};outline:1px solid ${Za}}`.withBehaviors(Bt(j`
336
- :host([aria-selected='true'])::after{background-color:Highlight}`)),Dg=Lg.compose({name:Tt.prefix+"-tab",template:Ng,styles:Og});class Eg extends ot{}class Mg extends Eg{}const Rg=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Hg=j`
337
- ${Ct("block")}
338
-
339
- :host{box-sizing:border-box;padding:${qo} ${Go}}`,Vg=Mg.compose({name:Tt.prefix+"-tab-panel",template:Rg,styles:Hg});var _g=Object.defineProperty,jg=Object.getOwnPropertyDescriptor,Gg=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?jg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&_g(t,o,a),a};class qg extends ot{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Gg([Ee({mode:"boolean"})],qg.prototype,"nowrap",2),Gg([Ee({mode:"boolean"})],qg.prototype,"truncate",2),Gg([Ee({mode:"boolean"})],qg.prototype,"italic",2),Gg([Ee({mode:"boolean"})],qg.prototype,"underline",2),Gg([Ee({mode:"boolean"})],qg.prototype,"strikethrough",2),Gg([Ee({mode:"boolean"})],qg.prototype,"block",2),Gg([Ee],qg.prototype,"size",2),Gg([Ee],qg.prototype,"font",2),Gg([Ee],qg.prototype,"weight",2),Gg([Ee],qg.prototype,"align",2);const Wg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Xg={base:"base",numeric:"numeric",monospace:"monospace"},Ug={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Yg={start:"start",end:"end",center:"center",justify:"justify"},Kg=xe`<slot></slot>`,Qg=j`
340
- ${Ct("inline")}
341
-
342
- :host{contain:content}::slotted(*){font-family:${To};font-size:${co};line-height:${ko};font-weight:${Fo};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:${so};line-height:${vo}}:host([size='200']) ::slotted(*){font-size:${lo};line-height:${yo}}:host([size='400']) ::slotted(*){font-size:${ho};line-height:${xo}}:host([size='500']) ::slotted(*){font-size:${uo};line-height:${$o}}:host([size='600']) ::slotted(*){font-size:${po};line-height:${wo}}:host([size='700']) ::slotted(*){font-size:${go};line-height:${Bo}}:host([size='800']) ::slotted(*){font-size:${bo};line-height:${Co}}:host([size='900']) ::slotted(*){font-size:${fo};line-height:${So}}:host([size='1000']) ::slotted(*){font-size:${mo};line-height:${Po}}:host([font='monospace']) ::slotted(*){font-family:${Io}}:host([font='numeric']) ::slotted(*){font-family:${Ao}}:host([weight='medium']) ::slotted(*){font-weight:${zo}}:host([weight='semibold']) ::slotted(*){font-weight:${Lo}}:host([weight='bold']) ::slotted(*){font-weight:${No}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Zg=qg.compose({name:Tt.prefix+"-text",template:Kg,styles:Qg});class Jg extends ot{}class eb extends($d(Jg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const tb={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class ob extends eb{constructor(){super(...arguments),this.type=tb.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&&k.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([Ee({attribute:"readonly",mode:"boolean"})],ob.prototype,"readOnly",void 0),e([Ee({mode:"boolean"})],ob.prototype,"autofocus",void 0),e([Ee],ob.prototype,"placeholder",void 0),e([Ee],ob.prototype,"type",void 0),e([Ee],ob.prototype,"list",void 0),e([Ee({converter:Oe})],ob.prototype,"maxlength",void 0),e([Ee({converter:Oe})],ob.prototype,"minlength",void 0),e([Ee],ob.prototype,"pattern",void 0),e([Ee({converter:Oe})],ob.prototype,"size",void 0),e([Ee({mode:"boolean"})],ob.prototype,"spellcheck",void 0),e([C],ob.prototype,"defaultSlottedNodes",void 0);class rb{}bt(rb,dt),bt(ob,ut,rb);var ib=Object.defineProperty,ab=Object.getOwnPropertyDescriptor,nb=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?ab(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&ib(t,o,a),a};class sb extends ob{}nb([Ee({attribute:"control-size"})],sb.prototype,"controlSize",2),nb([Ee],sb.prototype,"appearance",2);const lb={small:"small",medium:"medium",large:"large"},cb={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},db=function(e={}){return xe`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Fe({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}" ${we("control")} />${pt(e)}</div>`}(),hb=j`
343
- ${Ct("block")}
344
-
345
- :host{font-family:${To};font-size:${co};font-weight:${Fo};line-height:${ko};max-width:400px}.label{display:flex;color:${wr};padding-bottom:${Zo};flex-shrink:0;padding-inline-end:${Vo}}.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 ${Go};border:${Oo} solid ${Fa};border-bottom-color:${Pa};border-radius:${ro};gap:${Ho}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${ro});border-radius:0 0 ${ro} ${ro};border-bottom:2px solid ${Ga};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${sr};transition-delay:${br}}.control{width:100%;height:100%;box-sizing:border-box;color:${wr};border-radius:${ro};background:${oa};font-family:${To};font-weight:${Fo};font-size:${co};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Vr}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Nr};font-size:${uo}}:host ::slotted([slot='start']){padding-right:${Ho}}:host ::slotted([slot='end']){padding-left:${Ho};gap:${Vo}}:host(:hover) .root{border-color:${za};border-bottom-color:${Ta}}:host(:active) .root{border-color:${La}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${dr};transition-delay:${vr}}:host(:focus-within:active) .root:after{border-bottom-color:${Wa}}:host([appearance='outline']:focus-within) .root{border:${Oo} solid ${Fa}}:host(:focus-within) .control{color:${wr}}:host([disabled]) .root{background:${oa};border:${Oo} solid ${Xa}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${_r}}::selection{color:${ai};background-color:${ji}}:host([control-size='small']) .control{font-size:${lo};font-weight:${Fo};line-height:${yo}}:host([control-size='small']) .root{height:24px;gap:${Ho};padding:0 ${_o}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${ho}}:host([control-size='large']) .control{font-size:${ho};font-weight:${Fo};line-height:${xo}}:host([control-size='large']) .root{height:40px;gap:${jo};padding:0 ${qo}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${po}}:host([appearance='underline']) .root{background:${oa};border:0;border-radius:0;border-bottom:${Oo} solid ${Pa}}:host([appearance='underline']:hover) .root{border-bottom-color:${Ta}}:host([appearance='underline']:active) .root{border-bottom-color:${Ia}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${Ia}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Xa}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${Oo} solid ${Ya};box-shadow:${Ql}}:host([appearance='filled-lighter']) .root{background:${$i}}:host([appearance='filled-darker']) .root{background:${Ai}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Ka}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Ka};background:${Ai}}`,ub=sb.compose({name:Tt.prefix+"-text-input",template:db,styles:hb});var pb=Object.defineProperty,gb=Object.getOwnPropertyDescriptor,bb=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?gb(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&pb(t,o,a),a};class fb extends Nd{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)}}bb([Ee({attribute:"checked",mode:"boolean"})],fb.prototype,"checkedAttribute",2),bb([C],fb.prototype,"defaultChecked",2),bb([C],fb.prototype,"checked",2),bb([Ee({attribute:"current-checked",mode:"boolean"})],fb.prototype,"currentChecked",2);const mb=yc,vb=kc,yb=xc,kb=Ad(),xb=j`
346
- ${Sc}
347
-
348
- :host([aria-pressed="true"]) .control{border-color:${Fa};background-color:${Ci};color:${wr};border-width:${Oo}}:host([aria-pressed='true']:hover) .control{border-color:${za};background-color:${wi}}:host([aria-pressed='true']:active) .control{border-color:${La};background-color:${Bi}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${ma};color:${di}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${ba}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${fa}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${Ui};color:${Ar}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Wi};color:${Tr}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${Xi};color:${Ir}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${aa}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${ra}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${ia}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${Lr}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${Fr}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${zr}}`.withBehaviors(Bt(j`
349
- :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}`)),$b=fb.compose({name:Tt.prefix+"-toggle-button",template:kb,styles:xb,shadowOptions:{delegatesFocus:!0}}),wb=Object.keys(cc),Bb=e=>{for(const t of wb)cc[t].withDefault(e[t])},Cb=(e,t)=>{for(const o of wb)cc[o].setValueFor(e,t[o])};export{kt as Accordion,Lt as AccordionItem,Ot as AccordionItemExpandIconPosition,Nt as AccordionItemSize,vc as AnchorButton,$c as AnchorButtonAppearance,Tc as AnchorButtonDefinition,wc as AnchorButtonShape,Bc as AnchorButtonSize,Cc as AnchorButtonTemplate,qc as Avatar,Oc as AvatarActive,Ec as AvatarAppearance,Rc as AvatarColor,Jc as AvatarDefinition,Mc as AvatarNamedColor,Dc as AvatarShape,Hc as AvatarSize,Zc as AvatarStyles,Uc as AvatarTemplate,ld as Badge,td as BadgeAppearance,od as BadgeColor,yd as BadgeDefinition,rd as BadgeShape,id as BadgeSize,vd as BadgeStyles,dd as BadgeTemplate,Nd as Button,yc as ButtonAppearance,Dd as ButtonDefinition,kc as ButtonShape,xc as ButtonSize,Sc as ButtonStyles,Od as ButtonTemplate,jd as Checkbox,Yd as CheckboxDefinition,Wd as CheckboxLabelPosition,Gd as CheckboxShape,qd as CheckboxSize,Ud as CheckboxStyles,Xd as CheckboxTemplate,Kd as CompoundButton,Qd as CompoundButtonAppearance,oh as CompoundButtonDefinition,Zd as CompoundButtonShape,Jd as CompoundButtonSize,th as CompoundButtonStyles,eh as CompoundButtonTemplate,nh as CounterBadge,sh as CounterBadgeAppearance,lh as CounterBadgeColor,ph as CounterBadgeDefinition,ch as CounterBadgeShape,dh as CounterBadgeSize,uh as CounterBadgeStyles,hh as CounterBadgeTemplate,kh as Divider,xh as DividerAlignContent,$h as DividerAppearance,Ch as DividerDefinition,bh as DividerOrientation,gh as DividerRole,Bh as DividerStyles,wh as DividerTemplate,Tt as FluentDesignSystem,Ih as Image,Nh as ImageDefinition,Ah as ImageFit,Fh as ImageShape,Lh as ImageStyles,zh as ImageTemplate,Mh as Label,Vh as LabelDefinition,Rh as LabelStyles,Hh as LabelTemplate,Xu as Menu,Qu as MenuButton,Zu as MenuButtonAppearance,op as MenuButtonDefinition,Ju as MenuButtonShape,ep as MenuButtonSize,Sc as MenuButtonStyles,tp as MenuButtonTemplate,Ku as MenuDefinition,ap as MenuItem,cp as MenuItemDefinition,rp as MenuItemRole,lp as MenuItemStyles,sp as MenuItemTemplate,hp as MenuList,gp as MenuListDefinition,pp as MenuListStyles,up as MenuListTemplate,Yu as MenuStyles,Uu as MenuTemplate,kp as ProgressBar,Sp as ProgressBarDefinition,$p as ProgressBarShape,Bp as ProgressBarStyles,Cp as ProgressBarTemplate,xp as ProgressBarThickness,wp as ProgressBarValidationState,Ap as Radio,Lp as RadioDefinition,Mp as RadioGroup,Vp as RadioGroupDefinition,Np as RadioGroupOrientation,Rp as RadioGroupStyles,Hp as RadioGroupTemplate,Fp as RadioStyles,zp as RadioTemplate,Kp as Slider,eg as SliderDefinition,qp as SliderOrientation,Qp as SliderSize,Zp as SliderStyles,Jp as SliderTemplate,ag as Spinner,ng as SpinnerAppearance,dg as SpinnerDefinition,sg as SpinnerSize,cg as SpinnerStyles,lg as SpinnerTemplate,fg as Switch,kg as SwitchDefinition,mg as SwitchLabelPosition,yg as SwitchStyles,vg as SwitchTemplate,Lg as Tab,Dg as TabDefinition,Mg as TabPanel,Vg as TabPanelDefinition,Hg as TabPanelStyles,Rg as TabPanelTemplate,Og as TabStyles,Ng as TabTemplate,Tg as Tabs,wg as TabsAppearance,Fg as TabsDefinition,xg as TabsOrientation,Bg as TabsSize,Ag as TabsStyles,Ig as TabsTemplate,qg as Text,Yg as TextAlign,Zg as TextDefinition,Xg as TextFont,sb as TextInput,cb as TextInputAppearance,lb as TextInputControlSize,ub as TextInputDefinition,hb as TextInputStyles,db as TextInputTemplate,tb as TextInputType,Wg as TextSize,Qg as TextStyles,Kg as TextTemplate,Ug as TextWeight,fb as ToggleButton,mb as ToggleButtonAppearance,$b as ToggleButtonDefinition,vb as ToggleButtonShape,yb as ToggleButtonSize,xb as ToggleButtonStyles,kb as ToggleButtonTemplate,It as accordionDefinition,uc as accordionItemDefinition,dc as accordionItemStyles,hc as accordionItemTemplate,Pt as accordionStyles,xt as accordionTemplate,no as borderRadiusCircular,io as borderRadiusLarge,ro as borderRadiusMedium,to as borderRadiusNone,oo as borderRadiusSmall,ao as borderRadiusXLarge,ua as colorBackgroundOverlay,ga as colorBrandBackground,$a as colorBrandBackground2,ba as colorBrandBackgroundHover,wa as colorBrandBackgroundInverted,Ba as colorBrandBackgroundInvertedHover,Ca as colorBrandBackgroundInvertedPressed,Sa as colorBrandBackgroundInvertedSelected,fa as colorBrandBackgroundPressed,ma as colorBrandBackgroundSelected,xa as colorBrandBackgroundStatic,ti as colorBrandForeground1,oi as colorBrandForeground2,bi as colorBrandForegroundInverted,fi as colorBrandForegroundInvertedHover,mi as colorBrandForegroundInvertedPressed,Gr as colorBrandForegroundLink,qr as colorBrandForegroundLinkHover,Wr as colorBrandForegroundLinkPressed,Xr as colorBrandForegroundLinkSelected,vi as colorBrandForegroundOnLight,yi as colorBrandForegroundOnLightHover,ki as colorBrandForegroundOnLightPressed,xi as colorBrandForegroundOnLightSelected,sn as colorBrandShadowAmbient,ln as colorBrandShadowKey,_a as colorBrandStroke1,ja as colorBrandStroke2,va as colorCompoundBrandBackground,ya as colorCompoundBrandBackgroundHover,ka as colorCompoundBrandBackgroundPressed,Zr as colorCompoundBrandForeground1,Jr as colorCompoundBrandForeground1Hover,ei as colorCompoundBrandForeground1Pressed,Ga as colorCompoundBrandStroke,qa as colorCompoundBrandStrokeHover,Wa as colorCompoundBrandStrokePressed,$i as colorNeutralBackground1,wi as colorNeutralBackground1Hover,Bi as colorNeutralBackground1Pressed,Ci as colorNeutralBackground1Selected,Si as colorNeutralBackground2,Pi as colorNeutralBackground2Hover,Ti as colorNeutralBackground2Pressed,Ii as colorNeutralBackground2Selected,Ai as colorNeutralBackground3,Fi as colorNeutralBackground3Hover,zi as colorNeutralBackground3Pressed,Li as colorNeutralBackground3Selected,Ni as colorNeutralBackground4,Oi as colorNeutralBackground4Hover,Di as colorNeutralBackground4Pressed,Ei as colorNeutralBackground4Selected,Mi as colorNeutralBackground5,Ri as colorNeutralBackground5Hover,Hi as colorNeutralBackground5Pressed,Vi as colorNeutralBackground5Selected,_i as colorNeutralBackground6,na as colorNeutralBackgroundDisabled,ji as colorNeutralBackgroundInverted,sa as colorNeutralBackgroundInvertedDisabled,Gi as colorNeutralBackgroundStatic,wr as colorNeutralForeground1,Br as colorNeutralForeground1Hover,Cr as colorNeutralForeground1Pressed,Sr as colorNeutralForeground1Selected,ri as colorNeutralForeground1Static,Pr as colorNeutralForeground2,Fr as colorNeutralForeground2BrandHover,zr as colorNeutralForeground2BrandPressed,Lr as colorNeutralForeground2BrandSelected,Tr as colorNeutralForeground2Hover,Ur as colorNeutralForeground2Link,Yr as colorNeutralForeground2LinkHover,Kr as colorNeutralForeground2LinkPressed,Qr as colorNeutralForeground2LinkSelected,Ir as colorNeutralForeground2Pressed,Ar as colorNeutralForeground2Selected,Nr as colorNeutralForeground3,Mr as colorNeutralForeground3BrandHover,Rr as colorNeutralForeground3BrandPressed,Hr as colorNeutralForeground3BrandSelected,Or as colorNeutralForeground3Hover,Dr as colorNeutralForeground3Pressed,Er as colorNeutralForeground3Selected,Vr as colorNeutralForeground4,_r as colorNeutralForegroundDisabled,ai as colorNeutralForegroundInverted,ci as colorNeutralForegroundInverted2,jr as colorNeutralForegroundInvertedDisabled,ni as colorNeutralForegroundInvertedHover,hi as colorNeutralForegroundInvertedLink,ui as colorNeutralForegroundInvertedLinkHover,pi as colorNeutralForegroundInvertedLinkPressed,gi as colorNeutralForegroundInvertedLinkSelected,si as colorNeutralForegroundInvertedPressed,li as colorNeutralForegroundInvertedSelected,di as colorNeutralForegroundOnBrand,ii as colorNeutralForegroundStaticInverted,en as colorNeutralShadowAmbient,an as colorNeutralShadowAmbientDarker,on as colorNeutralShadowAmbientLighter,tn as colorNeutralShadowKey,nn as colorNeutralShadowKeyDarker,rn as colorNeutralShadowKeyLighter,la as colorNeutralStencil1,da as colorNeutralStencil1Alpha,ca as colorNeutralStencil2,ha as colorNeutralStencil2Alpha,Fa as colorNeutralStroke1,za as colorNeutralStroke1Hover,La as colorNeutralStroke1Pressed,Na as colorNeutralStroke1Selected,Oa as colorNeutralStroke2,Da as colorNeutralStroke3,Pa as colorNeutralStrokeAccessible,Ta as colorNeutralStrokeAccessibleHover,Ia as colorNeutralStrokeAccessiblePressed,Aa as colorNeutralStrokeAccessibleSelected,Xa as colorNeutralStrokeDisabled,Ua as colorNeutralStrokeInvertedDisabled,Ea as colorNeutralStrokeOnBrand,Ma as colorNeutralStrokeOnBrand2,Ra as colorNeutralStrokeOnBrand2Hover,Ha as colorNeutralStrokeOnBrand2Pressed,Va as colorNeutralStrokeOnBrand2Selected,ql as colorPaletteAnchorBackground2,Xl as colorPaletteAnchorBorderActive,Wl as colorPaletteAnchorForeground2,Dl as colorPaletteBeigeBackground2,Ml as colorPaletteBeigeBorderActive,El as colorPaletteBeigeForeground2,qn as colorPaletteBerryBackground1,Wn as colorPaletteBerryBackground2,Xn as colorPaletteBerryBackground3,Zn as colorPaletteBerryBorder1,Jn as colorPaletteBerryBorder2,Qn as colorPaletteBerryBorderActive,Un as colorPaletteBerryForeground1,Yn as colorPaletteBerryForeground2,Kn as colorPaletteBerryForeground3,rl as colorPaletteBlueBackground2,al as colorPaletteBlueBorderActive,il as colorPaletteBlueForeground2,Ls as colorPaletteBrassBackground2,Os as colorPaletteBrassBorderActive,Ns as colorPaletteBrassForeground2,Ds as colorPaletteBrownBackground2,Ms as colorPaletteBrownBorderActive,Es as colorPaletteBrownForeground2,cl as colorPaletteCornflowerBackground2,hl as colorPaletteCornflowerBorderActive,dl as colorPaletteCornflowerForeground2,xs as colorPaletteCranberryBackground2,ws as colorPaletteCranberryBorderActive,$s as colorPaletteCranberryForeground2,qs as colorPaletteDarkGreenBackground2,Xs as colorPaletteDarkGreenBorderActive,Ws as colorPaletteDarkGreenForeground2,Pn as colorPaletteDarkOrangeBackground1,Tn as colorPaletteDarkOrangeBackground2,In as colorPaletteDarkOrangeBackground3,Nn as colorPaletteDarkOrangeBorder1,On as colorPaletteDarkOrangeBorder2,Ln as colorPaletteDarkOrangeBorderActive,An as colorPaletteDarkOrangeForeground1,Fn as colorPaletteDarkOrangeForeground2,zn as colorPaletteDarkOrangeForeground3,vs as colorPaletteDarkRedBackground2,ks as colorPaletteDarkRedBorderActive,ys as colorPaletteDarkRedForeground2,Rs as colorPaletteForestBackground2,Vs as colorPaletteForestBorderActive,Hs as colorPaletteForestForeground2,As as colorPaletteGoldBackground2,zs as colorPaletteGoldBorderActive,Fs as colorPaletteGoldForeground2,xl as colorPaletteGrapeBackground2,wl as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,vn as colorPaletteGreenBackground1,yn as colorPaletteGreenBackground2,kn as colorPaletteGreenBackground3,Cn as colorPaletteGreenBorder1,Sn as colorPaletteGreenBorder2,Bn as colorPaletteGreenBorderActive,xn as colorPaletteGreenForeground1,$n as colorPaletteGreenForeground2,wn as colorPaletteGreenForeground3,Yl as colorPaletteGreenForegroundInverted,bl as colorPaletteLavenderBackground2,ml as colorPaletteLavenderBorderActive,fl as colorPaletteLavenderForeground2,es as colorPaletteLightGreenBackground1,ts as colorPaletteLightGreenBackground2,os as colorPaletteLightGreenBackground3,ss as colorPaletteLightGreenBorder1,ls as colorPaletteLightGreenBorder2,ns as colorPaletteLightGreenBorderActive,rs as colorPaletteLightGreenForeground1,is as colorPaletteLightGreenForeground2,as as colorPaletteLightGreenForeground3,Us as colorPaletteLightTealBackground2,Ks as colorPaletteLightTealBorderActive,Ys as colorPaletteLightTealForeground2,Bl as colorPaletteLilacBackground2,Sl as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Al as colorPaletteMagentaBackground2,zl as colorPaletteMagentaBorderActive,Fl as colorPaletteMagentaForeground2,cs as colorPaletteMarigoldBackground1,ds as colorPaletteMarigoldBackground2,hs as colorPaletteMarigoldBackground3,fs as colorPaletteMarigoldBorder1,ms as colorPaletteMarigoldBorder2,bs as colorPaletteMarigoldBorderActive,us as colorPaletteMarigoldForeground1,ps as colorPaletteMarigoldForeground2,gs as colorPaletteMarigoldForeground3,Rl as colorPaletteMinkBackground2,Vl as colorPaletteMinkBorderActive,Hl as colorPaletteMinkForeground2,ul as colorPaletteNavyBackground2,gl as colorPaletteNavyBorderActive,pl as colorPaletteNavyForeground2,Ps as colorPalettePeachBackground2,Is as colorPalettePeachBorderActive,Ts as colorPalettePeachForeground2,Pl as colorPalettePinkBackground2,Il as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,_l as colorPalettePlatinumBackground2,Gl as colorPalettePlatinumBorderActive,jl as colorPalettePlatinumForeground2,Ll as colorPalettePlumBackground2,Ol as colorPalettePlumBorderActive,Nl as colorPalettePlumForeground2,Bs as colorPalettePumpkinBackground2,Ss as colorPalettePumpkinBorderActive,Cs as colorPalettePumpkinForeground2,vl as colorPalettePurpleBackground2,kl as colorPalettePurpleBorderActive,yl as colorPalettePurpleForeground2,cn as colorPaletteRedBackground1,dn as colorPaletteRedBackground2,hn as colorPaletteRedBackground3,fn as colorPaletteRedBorder1,mn as colorPaletteRedBorder2,bn as colorPaletteRedBorderActive,un as colorPaletteRedForeground1,pn as colorPaletteRedForeground2,gn as colorPaletteRedForeground3,Ul as colorPaletteRedForegroundInverted,nl as colorPaletteRoyalBlueBackground2,ll as colorPaletteRoyalBlueBorderActive,sl as colorPaletteRoyalBlueForeground2,_s as colorPaletteSeafoamBackground2,Gs as colorPaletteSeafoamBorderActive,js as colorPaletteSeafoamForeground2,el as colorPaletteSteelBackground2,ol as colorPaletteSteelBorderActive,tl as colorPaletteSteelForeground2,Qs as colorPaletteTealBackground2,Js as colorPaletteTealBorderActive,Zs as colorPaletteTealForeground2,Dn as colorPaletteYellowBackground1,En as colorPaletteYellowBackground2,Mn as colorPaletteYellowBackground3,jn as colorPaletteYellowBorder1,Gn as colorPaletteYellowBorder2,_n as colorPaletteYellowBorderActive,Rn as colorPaletteYellowForeground1,Hn as colorPaletteYellowForeground2,Vn as colorPaletteYellowForeground3,Kl as colorPaletteYellowForegroundInverted,pa as colorScrollbarOverlay,Za as colorStrokeFocus1,Ja as colorStrokeFocus2,qi as colorSubtleBackground,Wi as colorSubtleBackgroundHover,Zi as colorSubtleBackgroundInverted,Ji as colorSubtleBackgroundInvertedHover,ea as colorSubtleBackgroundInvertedPressed,ta as colorSubtleBackgroundInvertedSelected,Yi as colorSubtleBackgroundLightAlphaHover,Ki as colorSubtleBackgroundLightAlphaPressed,Qi as colorSubtleBackgroundLightAlphaSelected,Xi as colorSubtleBackgroundPressed,Ui as colorSubtleBackgroundSelected,oa as colorTransparentBackground,ra as colorTransparentBackgroundHover,ia as colorTransparentBackgroundPressed,aa as colorTransparentBackgroundSelected,Ya as colorTransparentStroke,Qa as colorTransparentStrokeDisabled,Ka as colorTransparentStrokeInteractive,gr as curveAccelerateMax,br as curveAccelerateMid,fr as curveAccelerateMin,mr as curveDecelerateMax,vr as curveDecelerateMid,yr as curveDecelerateMin,xr as curveEasyEase,kr as curveEasyEaseMax,$r as curveLinear,cr as durationFast,lr as durationFaster,dr as durationNormal,hr as durationSlow,ur as durationSlower,sr as durationUltraFast,pr as durationUltraSlow,To as fontFamilyBase,Io as fontFamilyMonospace,Ao as fontFamilyNumeric,so as fontSizeBase100,lo as fontSizeBase200,co as fontSizeBase300,ho as fontSizeBase400,uo as fontSizeBase500,po as fontSizeBase600,mo as fontSizeHero1000,go as fontSizeHero700,bo as fontSizeHero800,fo as fontSizeHero900,No as fontWeightBold,zo as fontWeightMedium,Fo as fontWeightRegular,Lo as fontWeightSemibold,vo as lineHeightBase100,yo as lineHeightBase200,ko as lineHeightBase300,xo as lineHeightBase400,$o as lineHeightBase500,wo as lineHeightBase600,Po as lineHeightHero1000,Bo as lineHeightHero700,Co as lineHeightHero800,So as lineHeightHero900,Bb as setTheme,Cb as setThemeFor,ec as shadow16,nc as shadow16Brand,Ql as shadow2,tc as shadow28,sc as shadow28Brand,rc as shadow2Brand,Zl as shadow4,ic as shadow4Brand,oc as shadow64,lc as shadow64Brand,Jl as shadow8,ac as shadow8Brand,Wo as spacingHorizontalL,qo as spacingHorizontalM,Go as spacingHorizontalMNudge,Ro as spacingHorizontalNone,jo as spacingHorizontalS,_o as spacingHorizontalSNudge,Xo as spacingHorizontalXL,Vo as spacingHorizontalXS,Uo as spacingHorizontalXXL,Ho as spacingHorizontalXXS,Yo as spacingHorizontalXXXL,rr as spacingVerticalL,or as spacingVerticalM,tr as spacingVerticalMNudge,Ko as spacingVerticalNone,er as spacingVerticalS,Jo as spacingVerticalSNudge,ir as spacingVerticalXL,Zo as spacingVerticalXS,ar as spacingVerticalXXL,Qo as spacingVerticalXXS,nr as spacingVerticalXXXL,Do as strokeWidthThick,Eo as strokeWidthThicker,Mo as strokeWidthThickest,Oo as strokeWidthThin};
227
+ :host(${j}${C}) {
228
+ color: ${rr};
229
+ }
230
+
231
+ :host(${j}${he}) {
232
+ color: ${Na};
233
+ }
234
+
235
+ :host(${j}${ue}) {
236
+ color: ${Us};
237
+ }
238
+ `,td=l.partial`
239
+ :host(${ee}) {
240
+ background-color: ${Fa};
241
+ color: ${xa};
242
+ border-color: ${Ws};
243
+ }
244
+
245
+ :host(${ee}${Ao}) {
246
+ background-color: ${pr};
247
+ color: ${br};
248
+ border-color: ${fr};
249
+ }
250
+
251
+ :host(${ee}${_o}) {
252
+ background-color: ${rt};
253
+ color: ${O};
254
+ border-color: ${nt};
255
+ }
256
+
257
+ :host(${ee}${Eo}) {
258
+ background-color: ${Ca};
259
+ color: ${rt};
260
+ border-color: ${oo};
261
+ }
262
+
263
+ :host(${ee}${Ho}) {
264
+ background-color: ${yr};
265
+ color: ${ja};
266
+ border-color: ${xr};
267
+ }
268
+
269
+ :host(${ee}${C}) {
270
+ background-color: ${O};
271
+ color: ${rt};
272
+ border-color: ${oo};
273
+ }
274
+
275
+ :host(${ee}${he}) {
276
+ background-color: ${$r};
277
+ color: ${Da};
278
+ border-color: ${Va};
279
+ }
280
+
281
+ :host(${ee}${ue}) {
282
+ background-color: ${qa};
283
+ color: ${Us};
284
+ border-color: ${Wa};
285
+ }
286
+ `;l.partial`
287
+ font-family: ${$};
288
+ font-size: ${M};
289
+ line-height: ${N};
290
+ font-weight: ${E};
291
+ `,l.partial`
292
+ font-family: ${$};
293
+ font-size: ${M};
294
+ line-height: ${N};
295
+ font-weight: ${H};
296
+ `,l.partial`
297
+ font-family: ${$};
298
+ font-size: ${M};
299
+ line-height: ${N};
300
+ font-weight: ${Ko};
301
+ `,l.partial`
302
+ font-family: ${$};
303
+ font-size: ${dt};
304
+ line-height: ${wt};
305
+ font-weight: ${E};
306
+ `,l.partial`
307
+ font-family: ${$};
308
+ font-size: ${q};
309
+ line-height: ${ot};
310
+ font-weight: ${E};
311
+ `,l.partial`
312
+ font-family: ${$};
313
+ font-size: ${q};
314
+ line-height: ${ot};
315
+ font-weight: ${H};
316
+ `,l.partial`
317
+ font-family: ${$};
318
+ font-size: ${q};
319
+ line-height: ${ot};
320
+ font-weight: ${Ko};
321
+ `,l.partial`
322
+ font-family: ${$};
323
+ font-size: ${so};
324
+ line-height: ${Yo};
325
+ font-weight: ${E};
326
+ `,l.partial`
327
+ font-family: ${$};
328
+ font-size: ${so};
329
+ line-height: ${Yo};
330
+ font-weight: ${H};
331
+ `;const ed=l.partial`
332
+ font-family: ${$};
333
+ font-size: ${Oe};
334
+ line-height: ${Qo};
335
+ font-weight: ${H};
336
+ `;l.partial`
337
+ font-family: ${$};
338
+ font-size: ${dt};
339
+ line-height: ${wt};
340
+ font-weight: ${H};
341
+ `,l.partial`
342
+ font-family: ${$};
343
+ font-size: ${dt};
344
+ line-height: ${wt};
345
+ font-weight: ${Ko};
346
+ `,l.partial`
347
+ font-family: ${$};
348
+ font-size: ${zr};
349
+ line-height: ${Mr};
350
+ font-weight: ${H};
351
+ `,l.partial`
352
+ font-family: ${$};
353
+ font-size: ${Pr};
354
+ line-height: ${Or};
355
+ font-weight: ${H};
356
+ `,l.partial`
357
+ font-family: ${$};
358
+ font-size: ${Uo};
359
+ line-height: ${Fr};
360
+ font-weight: ${H};
361
+ `,l.partial`
362
+ font-family: ${$};
363
+ font-size: ${Br};
364
+ line-height: ${Ar};
365
+ font-weight: ${H};
366
+ `,l.partial`
367
+ font-family: ${$};
368
+ font-size: ${Tr};
369
+ line-height: ${_r};
370
+ font-weight: ${H};
371
+ `;const od=l`
372
+ :host(${Ke}){border-radius:${Ks}}:host(${Gt}){border-radius:${z}}:host(${Gt}${Ye}),:host(${Gt}${Qe}),:host(${Gt}${L}){border-radius:${Mt}}${Kr}
373
+ ${Yr}
374
+ ${Qr}
375
+ ${Jc}
376
+ ${td}
377
+ ${Ur}
378
+ `.withBehaviors(et(l`
379
+ :host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}`));function Zr(o={}){return f` ${Rt(o)}<slot>${bt(o.defaultContent)}</slot>${te(o)} `}const sd=Zr(),id=Ae.compose({name:`${p.prefix}-badge`,template:sd,styles:od});id.define(p.registry);var rd=Object.defineProperty,nd=Object.getOwnPropertyDescriptor,U=(o,t,e,s)=>{for(var i=s>1?void 0:s?nd(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&&rd(t,e,i),i};class F extends x{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.iconOnly=!1,this.elementInternals.role="button"}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}disabledFocusableChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=`${!!e}`)}get form(){return this.elementInternals.form}iconOnlyChanged(t,e){c(this.elementInternals,"icon",e)}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}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)}typeChanged(t,e){e!==es.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===Ge||t.key===Ms){this.click();return}return!0}press(){switch(this.type){case es.reset:{this.resetForm();break}case es.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==es.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)}}}}F.formAssociated=!0,U([a],F.prototype,"appearance",2),U([a({mode:"boolean"})],F.prototype,"autofocus",2),U([k],F.prototype,"defaultSlottedContent",2),U([a({mode:"boolean"})],F.prototype,"disabled",2),U([a({attribute:"disabled-focusable",mode:"boolean"})],F.prototype,"disabledFocusable",2),U([a({attribute:"formaction"})],F.prototype,"formAction",2),U([a({attribute:"form"})],F.prototype,"formAttribute",2),U([a({attribute:"formenctype"})],F.prototype,"formEnctype",2),U([a({attribute:"formmethod"})],F.prototype,"formMethod",2),U([a({attribute:"formnovalidate",mode:"boolean"})],F.prototype,"formNoValidate",2),U([a({attribute:"formtarget"})],F.prototype,"formTarget",2),U([a({attribute:"icon-only",mode:"boolean"})],F.prototype,"iconOnly",2),U([a],F.prototype,"name",2),U([a],F.prototype,"shape",2),U([a],F.prototype,"size",2),U([a],F.prototype,"type",2),U([a],F.prototype,"value",2),jt(F,Nt);function oi(o={}){return f`<template tabindex="${t=>t.disabled?-1:0}" @click="${(t,e)=>t.clickHandler(e.event)}" @keypress="${(t,e)=>t.keypressHandler(e.event)}">${Rt(o)}<span class="content" part="content"><slot ${ft("defaultSlottedContent")}></slot></span>${te(o)}</template>`}const ad=oi(),ld=F.compose({name:`${p.prefix}-button`,template:ad,styles:os});ld.define(p.registry);var cd=Object.defineProperty,dd=Object.getOwnPropertyDescriptor,Ct=(o,t,e,s)=>{for(var i=s>1?void 0:s?dd(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&&cd(t,e,i),i};class vt extends x{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}}vt.formAssociated=!0,Ct([a({mode:"boolean"})],vt.prototype,"autofocus",2),Ct([k],vt.prototype,"disabled",2),Ct([a({attribute:"disabled",mode:"boolean"})],vt.prototype,"disabledAttribute",2),Ct([a({attribute:"form"})],vt.prototype,"formAttribute",2),Ct([a({attribute:"checked",mode:"boolean"})],vt.prototype,"initialChecked",2),Ct([a({attribute:"value",mode:"fromView"})],vt.prototype,"initialValue",2),Ct([a],vt.prototype,"name",2),Ct([a({mode:"boolean"})],vt.prototype,"required",2);class is extends vt{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)}}Ct([k],is.prototype,"indeterminate",2),Ct([a],is.prototype,"shape",2),Ct([a],is.prototype,"size",2);const be=l.partial`:is([state--indeterminate], :state(indeterminate))`,hd=l`
380
+ ${w("inline-flex")}
381
+
382
+ :host{--size:16px;background-color:${O};border-radius:${Mt};border:${X} solid ${ge};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${to}}:host(:active){border-color:${eo}}:host(${v}:hover){background-color:${Te};border-color:${Aa}}:host(${v}:active){background-color:${Fe};border-color:${hr}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${oe} solid ${nt};border-radius:${z}}:host(:not([slot='input']):focus-visible)::after{border-color:${Ot}}.indeterminate-indicator,.checked-indicator{color:${Je};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(${v})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${v}),:host(${be}){border-color:${Xo}}:host(${v}),:host(${be}) .indeterminate-indicator{background-color:${Be}}:host(${be}) .indeterminate-indicator{border-radius:${Mt};position:absolute;width:calc(var(--size) / 2);inset:0}:host(${I}){--size:20px}:host(${I}) ::slotted([slot='checked-indicator']),:host(${I}) .checked-indicator{width:16px}:host(${Ue}),:host(${Ue}) .indeterminate-indicator{border-radius:${ct}}:host([disabled]),:host([disabled]${v}){background-color:${ze};border-color:${xt}}:host([disabled]){cursor:unset}:host([disabled]${be}) .indeterminate-indicator{background-color:${xt}}:host([disabled]${v}) .checked-indicator{color:${xt}}`.withBehaviors(et(l`
383
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${v}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${v}),:host(${be}) .indeterminate-indicator{background-color:FieldText}:host(${v}:not([disabled]):hover),:host(${be}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${be}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${v}) .checked-indicator{color:GrayText}`)),ud=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
+ `),pd=f.partial(`
395
+ <span class="indeterminate-indicator"></span>
396
+ `);function gd(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">${bt(o.checkedIndicator)}</slot><slot name="indeterminate-indicator">${bt(o.indeterminateIndicator)}</slot></template>`}const fd=gd({checkedIndicator:ud,indeterminateIndicator:pd}),bd=is.compose({name:`${p.prefix}-checkbox`,template:fd,styles:hd});bd.define(p.registry);class md extends F{}const $d=l`
397
+ ${os}
398
+
399
+ :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${M};line-height:${N}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Ut};line-height:100%;font-size:${q};font-weight:${E}}::slotted(svg),:host(${I}) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Vo}}:host(:active) ::slotted([slot='description']){color:${Do}}:host(:is(${it},${it}:hover,${it}:active)) ::slotted([slot='description']){color:${Kt}}:host(:is(${C},${C}:hover,${C}:active)) ::slotted([slot='description']),:host(${W}) ::slotted([slot='description']){color:${Ut}}:host(${W}:hover) ::slotted([slot='description']){color:${No}}:host(${W}:active) ::slotted([slot='description']){color:${Ro}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance]))
400
+ ::slotted([slot='description']){color:${_}}:host(${L}){padding:8px;padding-bottom:10px}:host(${Pe}){min-width:52px;max-width:52px;padding:${Qt}}:host(${Pe}${L}){min-width:48px;max-width:48px;padding:${Yt}}:host(${Pe}${I}){min-width:56px;max-width:56px;padding:${At}}:host(${I}){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${dt};line-height:${wt}}:host(${I}) ::slotted([slot='description']){font-size:${M}}`;function vd(o={}){return f`<template ?disabled="${t=>t.disabled}" tabindex="${t=>t.disabled?-1:0}">${Rt(o)}<span class="content" part="content"><slot ${ft("defaultSlottedContent")}></slot><slot name="description"></slot></span>${te(o)}</template>`}const yd=vd(),kd=md.compose({name:`${p.prefix}-compound-button`,template:yd,styles:$d});kd.define(p.registry);var xd=Object.defineProperty,wd=Object.getOwnPropertyDescriptor,ne=(o,t,e,s)=>{for(var i=s>1?void 0:s?wd(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&&xd(t,e,i),i};class Ht extends x{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}`}}ne([a],Ht.prototype,"appearance",2),ne([a],Ht.prototype,"color",2),ne([a],Ht.prototype,"shape",2),ne([a],Ht.prototype,"size",2),ne([a({converter:Z})],Ht.prototype,"count",2),ne([a({attribute:"overflow-count",converter:Z})],Ht.prototype,"overflowCount",2),ne([a({attribute:"show-zero",mode:"boolean"})],Ht.prototype,"showZero",2),ne([a({mode:"boolean"})],Ht.prototype,"dot",2),jt(Ht,Nt);const Jr=l.partial`:is([state--dot], :state(dot))`,Cd=l`
401
+ :host(${Gt}){border-radius:${z}}:host(${Gt}${Ye}),:host(${Gt}${Qe}),:host(${Gt}${L}){border-radius:${Mt}}${Kr}
402
+ ${Yr}
403
+ ${Qr}
404
+ ${Ur}
405
+
406
+ :host(${Jr}),:host(${Jr}[appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`;function Id(o={}){return Zr({defaultContent:f`${t=>t.setCount()}`})}const Sd=Id(),Pd=Ht.compose({name:`${p.prefix}-counter-badge`,template:Sd,styles:Cd});Pd.define(p.registry);const Vt={modal:"modal",nonModal:"non-modal",alert:"alert"};var zd=Object.defineProperty,Bd=Object.getOwnPropertyDescriptor,rs=(o,t,e,s)=>{for(var i=s>1?void 0:s?Bd(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 co extends x{constructor(){super(...arguments),this.type=Vt.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(){gt.enqueue(()=>{this.emitBeforeToggle(),this.type===Vt.alert||this.type===Vt.modal?this.dialog.showModal():this.type===Vt.nonModal&&this.dialog.show(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(t){return t.preventDefault(),this.dialog.open&&this.type!==Vt.alert&&t.target===this.dialog&&this.hide(),!0}}rs([k],co.prototype,"dialog",2),rs([a({attribute:"aria-describedby"})],co.prototype,"ariaDescribedby",2),rs([a({attribute:"aria-labelledby"})],co.prototype,"ariaLabelledby",2),rs([a],co.prototype,"type",2);const Td=f`<dialog role="${o=>o.type===Vt.alert?"alertdialog":"dialog"}" type="${o=>o.type}" class="dialog" part="dialog" aria-modal="${o=>o.type===Vt.modal||o.type===Vt.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===Vt.alert?t.event.preventDefault():o.hide()}" ${Tt("dialog")}><slot></slot></dialog>`,Fd=l`
407
+ @layer base{:host{--dialog-backdrop:${qs};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${O};border-radius:${Sr};border:none;box-shadow:${Hr};color:${T};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:${Qs};transition-timing-function:${lo};opacity:0}::backdrop{transition-timing-function:${Js}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${ao}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}`.withBehaviors(et(l`
408
+ @layer base{dialog{border:${X} solid ${nt}}}`)),Od=co.compose({name:`${p.prefix}-dialog`,template:Td,styles:Fd});Od.define(p.registry);var Md=Object.defineProperty,Ad=Object.getOwnPropertyDescriptor,_d=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ad(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&&Md(t,e,i),i};class tn extends x{constructor(){super(...arguments),this.noTitleAction=!1}}_d([a({mode:"boolean",attribute:"no-title-action"})],tn.prototype,"noTitleAction",2);const Ed=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>`),Ld=f`<div class="title" part="title"><slot name="title"></slot><slot name="title-action"><fluent-button ?hidden=${o=>o.noTitleAction||o.parentNode?.type===Vt.alert} tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${o=>o.parentNode?.hide()} ${Tt("defaultTitleAction")}>${Ed}</fluent-button></slot></div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div>`,Hd=l`
422
+ ${w("grid")}
423
+
424
+ :host{background:${O};box-sizing:border-box;gap:${pt};padding:${no} ${ic};container:dialog-body / inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${O};color:${T};column-gap:8px;display:flex;font-family:${$};font-size:${Oe};font-weight:${H};inset-block-start:0;justify-content:space-between;line-height:${Qo};margin-block-end:calc(${pt} * -1);margin-block-start:calc(${no} * -1);padding-block-end:${pt};padding-block-start:${no};position:sticky;z-index:1}.content{box-sizing:border-box;color:${T};font-family:${$};font-size:${M};font-weight:${E};line-height:${N};min-height:32px}.actions{box-sizing:border-box;background:${O};display:flex;flex-direction:column;gap:${pt};inset-block-end:0;margin-block-end:calc(${no} * -1);padding-block-end:${no};padding-block-start:${Dr};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(${pt} * -1);padding-block-start:${pt}}}`,Vd=tn.compose({name:`${p.prefix}-dialog-body`,template:Ld,styles:Hd});Vd.define(p.registry);const ho={separator:"separator",presentation:"presentation"},Dd=st;var Nd=Object.defineProperty,Rd=Object.getOwnPropertyDescriptor,uo=(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&&Nd(t,e,i),i};class _e extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.inset=!1}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)}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??ho.separator,this.role!==ho.presentation&&(this.elementInternals.ariaOrientation=this.orientation??Dd.horizontal)}roleChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.role=`${e??ho.separator}`),e===ho.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(t,e){this.elementInternals.ariaOrientation=this.role!==ho.presentation?e:null,t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}uo([a],_e.prototype,"role",2),uo([a],_e.prototype,"orientation",2),uo([a({attribute:"align-content"})],_e.prototype,"alignContent",2),uo([a],_e.prototype,"appearance",2),uo([a({mode:"boolean"})],_e.prototype,"inset",2);function jd(){return f`<slot></slot>`}const qd=jd(),Gd=l`
425
+ ${w("flex")}
426
+
427
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${oo};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${X}}:host(${_s}){padding:0 12px}:host ::slotted(*){color:${Ut};font-family:${$};font-size:${q};font-weight:${E};margin:0;padding:0 12px}:host(${sr})::before,:host(${Wt})::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host(${mt}){height:100%;min-height:84px}:host(${mt}):empty{min-height:20px}:host(${mt}){flex-direction:column;align-items:center}:host(${mt}${_s})::before{margin-top:12px}:host(${mt}${_s})::after{margin-bottom:12px}:host(${mt}):empty::before,:host(${mt}):empty::after{height:10px;min-height:10px;flex-grow:0}:host(${mt})::before,:host(${mt})::after{width:${X};min-height:20px;height:100%}:host(${mt}) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host(${mt}${sr})::before{min-height:8px}:host(${mt}${Wt})::after{min-height:8px}:host(${We})::before,:host(${We})::after{background:${fe}}:host(${We}) ::slotted(*){color:${T}}:host(${Xt})::before,:host(${Xt})::after{background:${dr}}:host(${Xt}) ::slotted(*){color:${Ls}}:host(${C})::before,:host(${C})::after{background:${Oa}}:host(${C}) ::slotted(*){color:${rt}}`.withBehaviors(et(l`
428
+ :host(${We})::before,:host(${We})::after,:host(${Xt})::before,:host(${Xt})::after,:host(${C})::before,:host(${C})::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),Wd=_e.compose({name:`${p.prefix}-divider`,template:qd,styles:Gd});Wd.define(p.registry);const Xd={start:"start",end:"end"},Ud={small:"small",medium:"medium",large:"large",full:"full"},si={nonModal:"non-modal",modal:"modal",inline:"inline"};var Kd=Object.defineProperty,Yd=Object.getOwnPropertyDescriptor,Ee=(o,t,e,s)=>{for(var i=s>1?void 0:s?Yd(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&&Kd(t,e,i),i};class me extends x{constructor(){super(...arguments),this.type=si.modal,this.position=Xd.start,this.size=Ud.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(){gt.enqueue(()=>{this.emitBeforeToggle(),this.type===si.inline||this.type===si.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}}Ee([a],me.prototype,"type",2),Ee([a({attribute:"aria-labelledby"})],me.prototype,"ariaLabelledby",2),Ee([a({attribute:"aria-describedby"})],me.prototype,"ariaDescribedby",2),Ee([a],me.prototype,"position",2),Ee([a({attribute:"size"})],me.prototype,"size",2),Ee([k],me.prototype,"dialog",2);const Qd=l`
429
+ ${w("block")}
430
+
431
+ :host{--dialog-backdrop:${qs}}: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:${M};line-height:${N};font-family:${$};font-weight:${E};color:${T};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${nt};border-inline-start-color:var(--drawer-separator,${nt});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${Hr};border:${X} solid ${nt};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:${Qs};transition-timing-function:${lo}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${ao}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${ao}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Qs};transition-timing-function:${lo};background:var(--dialog-backdrop,${qs});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${Js}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function Zd(){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()}" ${Tt("dialog")}><slot></slot></dialog>`}const Jd=Zd(),th=me.compose({name:`${p.prefix}-drawer`,template:Jd,styles:Qd});th.define(p.registry);class eh extends x{}const oh=l`
432
+ ${w("grid")}
433
+ :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${sc};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${ed}}.footer{display:flex;justify-content:flex-start;gap:${ut}}`;function sh(){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 ih=sh(),rh=eh.compose({name:`${p.prefix}-drawer-body`,template:ih,styles:oh});rh.define(p.registry);const nh={above:"above",after:"after",before:"before"},y={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 ah=Object.defineProperty,lh=Object.getOwnPropertyDescriptor,po=(o,t,e,s)=>{for(var i=s>1?void 0:s?lh(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&&ah(t,e,i),i};class Le extends x{constructor(){super(),this.labelPosition=nh.above,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||To("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(y))c(this.elementInternals,e,this.input.validity[t])}}po([a({attribute:"label-position"})],Le.prototype,"labelPosition",2),po([k],Le.prototype,"labelSlot",2),po([k],Le.prototype,"messageSlot",2),po([k],Le.prototype,"slottedInputs",2),po([k],Le.prototype,"input",2);const ch=l.partial`:is([state--focus-visible], :state(focus-visible))`,dh=l.partial`:is([state--${y.badInput}], :state(${y.badInput}))`,hh=l.partial`:is([state--${y.customError}], :state(${y.customError}))`,uh=l.partial`:is([state--${y.patternMismatch}], :state(${y.patternMismatch}))`,ph=l.partial`:is([state--${y.rangeOverflow}], :state(${y.rangeOverflow}))`,gh=l.partial`:is([state--${y.rangeUnderflow}], :state(${y.rangeUnderflow}))`,fh=l.partial`:is([state--${y.stepMismatch}], :state(${y.stepMismatch}))`,bh=l.partial`:is([state--${y.tooLong}], :state(${y.tooLong}))`,mh=l.partial`:is([state--${y.tooShort}], :state(${y.tooShort}))`,$h=l.partial`:is([state--${y.typeMismatch}], :state(${y.typeMismatch}))`,vh=l.partial`:is([state-${y.valid}], :state(${y.valid}))`,yh=l.partial`:is([state--${y.valueMissing}], :state(${y.valueMissing}))`,kh=l.partial`:is([state--has-message], :state(has-message))`,xh=l`
434
+ ${w("inline-grid")}
435
+
436
+ :host{color:${T};align-items:center;gap:0 ${ut};justify-items:start;padding:${pt} ${At};position:relative}:has([slot='message']){color:${T};row-gap:${pt}}: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:${ut}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${Jo}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${nc}}:host([label-position='below']:not(${kh})){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:${Jo};grid-area:message}:host(${ch}:focus-within){border-radius:${z};outline:${oe} solid ${Ot}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${$};font-size:${M};font-weight:${E};grid-area:label;line-height:${N};user-select:none}:host([size='small']) ::slotted(label){font-size:${q};line-height:${ot}}:host([size='large']) ::slotted(label){font-size:${dt};line-height:${wt}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${H}}:host(${G}){cursor:default}::slotted([flag]){display:none}:host(${dh}) ::slotted([flag='${y.badInput}']),:host(${hh}) ::slotted([flag='${y.customError}']),:host(${uh}) ::slotted([flag='${y.patternMismatch}']),:host(${ph}) ::slotted([flag='${y.rangeOverflow}']),:host(${gh}) ::slotted([flag='${y.rangeUnderflow}']),:host(${fh}) ::slotted([flag='${y.stepMismatch}']),:host(${bh}) ::slotted([flag='${y.tooLong}']),:host(${mh}) ::slotted([flag='${y.tooShort}']),:host(${$h}) ::slotted([flag='${y.typeMismatch}']),:host(${yh}) ::slotted([flag='${y.valueMissing}']),:host(${vh}) ::slotted([flag='${y.valid}']){display:block}`,wh=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)}" ${Ln({property:"slottedInputs",attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0,selector:'[slot="input"]',filter:qe()})}><slot name="label" part="label" ${ft("labelSlot")}></slot><slot name="input" part="input"></slot><slot name="message" part="message" ${ft({property:"messageSlot",filter:qe("[flag]")})}></slot></template>`,Ch=Le.compose({name:`${p.prefix}-field`,template:wh,styles:xh,shadowOptions:{delegatesFocus:!0}});Ch.define(p.registry);var Ih=Object.defineProperty,Sh=Object.getOwnPropertyDescriptor,go=(o,t,e,s)=>{for(var i=s>1?void 0:s?Sh(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&&Ih(t,e,i),i};class He extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.block=!1}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)}}go([a({mode:"boolean"})],He.prototype,"block",2),go([a({mode:"boolean"})],He.prototype,"bordered",2),go([a({mode:"boolean"})],He.prototype,"shadow",2),go([a],He.prototype,"fit",2),go([a],He.prototype,"shape",2);const Ph=f`<slot></slot>`,zh=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:${X} solid ${oo}}: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:${Zo}}:host(${Ue}) ::slotted(img){border-radius:${ct}}:host(${Gt}) ::slotted(img){border-radius:${z}}`,Bh=He.compose({name:`${p.prefix}-image`,template:Ph,styles:zh});Bh.define(p.registry);var Th=Object.defineProperty,Fh=Object.getOwnPropertyDescriptor,ns=(o,t,e,s)=>{for(var i=s>1?void 0:s?Fh(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&&Th(t,e,i),i};class fo extends x{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)}}ns([a],fo.prototype,"size",2),ns([a],fo.prototype,"weight",2),ns([a({mode:"boolean"})],fo.prototype,"disabled",2),ns([a({mode:"boolean"})],fo.prototype,"required",2);const Oh=l`
438
+ ${w("inline-flex")}
439
+
440
+ :host{color:${T};cursor:pointer;font-family:${$};font-size:${M};font-weight:${E};line-height:${N};user-select:none}.asterisk{color:${br};margin-inline-start:${Yt}}:host(${L}){font-size:${q};line-height:${ot}}:host(${I}){font-size:${dt};line-height:${wt}}:host(${I}),:host(:is([state--semibold],:state(semibold))){font-weight:${H}}:host(:is([state--disabled],:state(disabled))),:host(:is([state--disabled],:state(disabled))) .asterisk{color:${_}}`;function Mh(){return f`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${o=>!o.required}">*</span>`}const Ah=Mh(),_h=fo.compose({name:`${p.prefix}-label`,template:Ah,styles:Oh});_h.define(p.registry);var Eh=Object.defineProperty,Lh=Object.getOwnPropertyDescriptor,en=(o,t,e,s)=>{for(var i=s>1?void 0:s?Lh(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&&Eh(t,e,i),i};class ii extends Et{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)}}en([a],ii.prototype,"appearance",2),en([a({mode:"boolean"})],ii.prototype,"inline",2);const Hh=l`
441
+ ${w("inline")}
442
+
443
+ :host{position:relative;box-sizing:border-box;background-color:transparent;color:${ua};cursor:pointer;font-family:${$};font-size:${M};font-weight:${E};margin:0;padding:0;overflow:inherit;text-align:left;text-decoration:none;text-decoration-thinkness:${X};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${pa}}:host(:active){color:${ga}}:host(${C}:hover){color:${ba}}:host(${C}:active){color:${ma}}}:host(${C}){color:${fa}}: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(et(l`
444
+ :host{color:LinkText}`));function Vh(){return f`<template tabindex="0" @click="${(o,t)=>o.clickHandler(t.event)}" @keydown="${(o,t)=>o.keydownHandler(t.event)}"><slot></slot></template>`}const Dh=Vh(),Nh=ii.compose({name:`${p.prefix}-link`,template:Dh,styles:Hh});Nh.define(p.registry);class Rh extends F{}const jh=oi({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
+ `)}),qh=Rh.compose({name:`${p.prefix}-menu-button`,template:jh,styles:os});qh.define(p.registry);const K={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};K.menuitem+"",K.menuitemcheckbox+"",K.menuitemradio+"";var Gh=Object.defineProperty,Wh=Object.getOwnPropertyDescriptor,Ve=(o,t,e,s)=>{for(var i=s>1?void 0:s?Wh(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&&Gh(t,e,i),i};const Xh=()=>o=>o.nodeType===1&&o.elementInternals.role==="menu";class It extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=K.menuitem,this.checked=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case Ge:case Ms:return this.invoke(),!1;case Bs:return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case zs: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 K.menuitemcheckbox:this.checked=!this.checked;break;case K.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case K.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??K.menuitem}checkedChanged(t,e){const s=this.role!==K.menuitem;this.elementInternals.ariaChecked=s?`${!!e}`:null,c(this.elementInternals,"checked",s?e:!1),this.$fastController.isConnected&&this.$emit("change")}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??K.menuitem,this.elementInternals.ariaChecked=this.role!==K.menuitem?`${!!this.checked}`:null}}Ve([a({mode:"boolean"})],It.prototype,"disabled",2),Ve([a],It.prototype,"role",2),Ve([a({mode:"boolean"})],It.prototype,"checked",2),Ve([a({mode:"boolean"})],It.prototype,"hidden",2),Ve([k],It.prototype,"slottedSubmenu",2),Ve([k],It.prototype,"submenu",2),jt(It,Nt);const as=l.partial`:is([state--submenu], :state(submenu))`,Uh=l`
449
+ ${w("grid")}
450
+
451
+ :host{--indent:0;align-items:center;background:${O};border-radius:${z};color:${Ut};contain:layout;cursor:pointer;flex-shrink:0;font:${E} ${M} / ${N} ${$};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${Hs};color:${Vo}}:host(:active){background-color:${nr};color:${Do}}:host(:active) ::slotted([slot='start']){color:${va}}:host(${G}){background-color:${ze};color:${_}}:host(${G}) ::slotted([slot='start']),:host(${G}) ::slotted([slot='end']){color:${_}}:host(:focus-visible){border-radius:${z};outline:2px solid ${Ot}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}:host(:not(${v})) .indicator,:host(:not(${v})) ::slotted([slot='indicator']),:host(:not(${as})) .submenu-glyph,:host(:not(${as})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${rt};font:${E} ${q} / ${ot} ${$};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${as}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${as}){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]){align-self:start;inset-area:inline-end span-block-end;margin:0;max-height:var(--menu-max-height,auto);position:absolute;position-anchor:--menu-trigger;position-try-options:flip-inline,inset-area(block-start);z-index:1}::slotted([popover]:not(:popover-open)){display:none}::slotted([popover]:popover-open){inset:unset}}`.withBehaviors(et(l`
452
+ :host(${G}),:host(${G}) ::slotted([slot='start']),:host(${G}) ::slotted([slot='end']){color:GrayText}`)),Kh=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>'),Yh=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 Qh(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">${bt(o.indicator)}</slot>${Rt(o)}<div part="content" class="content"><slot></slot></div>${te(o)}<slot name="submenu-glyph">${bt(o.submenuGlyph)}</slot><slot name="submenu" ${ft({property:"slottedSubmenu",filter:Xh()})}></slot></template>`}const Zh=Qh({indicator:Kh,submenuGlyph:Yh}),Jh=It.compose({name:`${p.prefix}-menu-item`,template:Zh,styles:Uh});Jh.define(p.registry);var tu=Object.defineProperty,eu=Object.getOwnPropertyDescriptor,ou=(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&&tu(t,e,i),i};const ri=class hi extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.focusIndex=-1,this.isNestedMenu=()=>this.parentElement!==null&&tr(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],h=n.getAttribute("role");if(h===K.menuitemradio&&(n.checked=!1),h==="separator")break}const i=this.menuItems.length-1;for(let r=s+1;r<=i;++r){const n=this.menuItems[r],h=n.getAttribute("role");if(h===K.menuitemradio&&(n.checked=!1),h==="separator")break}}},this.isMenuItemElement=t=>t instanceof It||tr(t)&&t.getAttribute("role")in hi.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(),gt.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 Ps:this.setFocus(this.focusIndex+1,1);return;case Ts:this.setFocus(this.focusIndex-1,-1);return;case Fs:this.setFocus(this.menuItems.length-1,-1);return;case Os: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!==K.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,h)=>{n.setAttribute("tabindex",h===0?"0":"-1"),n.addEventListener("focus",this.handleItemFocus)});const i=this.menuItems?.filter(this.isMenuItemElement),r=i?.reduce((n,h)=>{const g=hi.elementIndent(h);return Math.max(n,g)},0);i?.forEach(n=>{n instanceof It&&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}}};ri.focusableElementRoles=K,ou([k],ri.prototype,"items",2);let su=ri;const iu=l`
453
+ ${w("flex")}
454
+
455
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${O};border:1px solid ${nt};border-radius:${z};box-shadow:${Lr};padding:4px;row-gap:2px}`;function ru(){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 ${ft("items")}></slot></template>`}const nu=ru(),au=su.compose({name:`${p.prefix}-menu-list`,template:nu,styles:iu});au.define(p.registry);var lu=Object.defineProperty,cu=Object.getOwnPropertyDescriptor,De=(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 $e extends x{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.slottedMenuList=[],this.slottedTriggers=[],this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=t=>{t?.target instanceof It&&(t.target.getAttribute("role")===K.menuitemcheckbox||t.target.getAttribute("role")===K.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 instanceof ToggleEvent){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 Ms:case Ge: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(),gt.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(){gt.enqueue(()=>{this._menuList.focus()})}focusTrigger(){gt.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 Xn:t.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case Un:if(this._open&&this.closeMenu(),t.shiftKey&&t.composedPath()[0]!==this._trigger)this.focusTrigger();else if(t.shiftKey)return!0;default:return!0}}}De([a({attribute:"open-on-hover",mode:"boolean"})],$e.prototype,"openOnHover",2),De([a({attribute:"open-on-context",mode:"boolean"})],$e.prototype,"openOnContext",2),De([a({attribute:"close-on-scroll",mode:"boolean"})],$e.prototype,"closeOnScroll",2),De([a({attribute:"persist-on-item-click",mode:"boolean"})],$e.prototype,"persistOnItemClick",2),De([k],$e.prototype,"slottedMenuList",2),De([k],$e.prototype,"slottedTriggers",2);const du=l`
456
+ ${w("inline-block")}
457
+
458
+ ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){inset-area:block-end span-inline-end;margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;position-try-options:flip-block;position:absolute;z-index:1}::slotted([popover]:popover-open){inset:unset}::slotted([popover]:not(:popover-open)){display:none}`;function hu(){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="trigger" ${ft({property:"slottedTriggers",filter:qe()})}></slot><slot ${ft({property:"slottedMenuList",filter:qe()})}></slot></template>`}const uu=hu(),pu=$e.compose({name:`${p.prefix}-menu`,template:uu,styles:du});pu.define(p.registry);var gu=Object.defineProperty,fu=Object.getOwnPropertyDescriptor,ni=(o,t,e,s)=>{for(var i=s>1?void 0:s?fu(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};class ls extends x{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)}}ni([a],ls.prototype,"shape",2),ni([a],ls.prototype,"layout",2),ni([a],ls.prototype,"intent",2);const bu=l`
459
+ :host{display:grid;box-sizing:border-box;font-family:${$};font-size:${q};line-height:${ot};width:100%;background:${Ds};border:1px solid ${fe};padding-inline:${ut};border-radius:${z};min-height:36px;align-items:center;grid-template:'icon body actions dismiss' / auto 1fr auto auto;contain:layout style paint}:host(${Ke}){border-radius:0}:host(${he}){background-color:${$r};border-color:${Ha}}:host(${ue}){background-color:${yr};border-color:${xr}}:host(${Es}){background-color:${pr};border-color:${fr}}:host(${Ze}){grid-template-areas:'icon body dismiss'
460
+ 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${ro};padding-inline:${ut}}.content{grid-area:body;max-width:520px;padding-block:${ro};padding-inline:0}:host(${Ze}) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${rt};margin-inline-end:${At}}:host(${Ze}) ::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:${At};gap:${At}}:host(${Ze}) .actions{margin-block-start:${ro};margin-inline-end:0}:host(${Ze}) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${pt}}::slotted(*){font-size:inherit}`;function mu(){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 $u=mu(),vu=ls.compose({name:`${p.prefix}-message-bar`,template:$u,styles:bu,shadowOptions:{mode:p.shadowRootMode}});vu.define(p.registry);var yu=Object.defineProperty,ku=Object.getOwnPropertyDescriptor,ve=(o,t,e,s)=>{for(var i=s>1?void 0:s?ku(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&&yu(t,e,i),i};class ae extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}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)}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)}}ve([a],ae.prototype,"thickness",2),ve([a],ae.prototype,"shape",2),ve([a({attribute:"validation-state"})],ae.prototype,"validationState",2),ve([a({converter:Z})],ae.prototype,"value",2),ve([a({converter:Z})],ae.prototype,"min",2),ve([a({converter:Z})],ae.prototype,"max",2),ve([vn],ae.prototype,"percentComplete",1);const xu=l`
461
+ ${w("block")}
462
+
463
+ :host{width:100%;height:2px;overflow-x:hidden;background-color:${jo};border-radius:${z};contain:content}:host(${I}){height:4px}:host(${Ke}){border-radius:${Ks}}.indicator{background-color:${Be};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,${jo} 0%,${kt} 50%,${jo} 100%
465
+ );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host(${Es}) .indicator{background-color:${gr}}:host(${ue}) .indicator{background-color:${kr}}:host(${he}) .indicator{background-color:${vr}}@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(et(l`
466
+ :host{background-color:CanvasText}.indicator,:host(:is(${he},${ue},${Es})) .indicator{background-color:Highlight}`));function wu(){return f`<div class="indicator" part="indicator" style="${o=>typeof o.value=="number"?`width: ${o.percentComplete}%`:void 0}"></div>`}const Cu=wu(),Iu=ae.compose({name:`${p.prefix}-progress-bar`,template:Cu,styles:xu});Iu.define(p.registry);class on extends vt{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 sn(o){const t=o.getRootNode();return t instanceof ShadowRoot?t.activeElement:document.activeElement}const rn=st;var Su=Object.defineProperty,Pu=Object.getOwnPropertyDescriptor,ye=(o,t,e,s)=>{for(var i=s>1?void 0:s?Pu(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 Zt extends x{constructor(){super(),this.dirtyState=!1,this.disabled=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??rn.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??rn.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=Wn(this.enabledRadios,n=>n.initialChecked);e.forEach((n,h)=>{n.ariaPosInSet=`${h+1}`,n.ariaSetSize=`${s}`,this.initialValue&&!this.dirtyState?n.checked=n.value===this.initialValue:n.checked=h===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),gt.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=er(this)==="rtl",s=this.enabledRadios.findIndex(n=>n===sn(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(sn(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){gt.enqueue(()=>{this.radios=[...this.querySelectorAll("*")].filter(e=>e instanceof on)})}}Zt.formAssociated=!0,ye([k],Zt.prototype,"checkedIndex",2),ye([a({attribute:"disabled",mode:"boolean"})],Zt.prototype,"disabled",2),ye([a({attribute:"value",mode:"fromView"})],Zt.prototype,"initialValue",2),ye([a],Zt.prototype,"name",2),ye([a],Zt.prototype,"orientation",2),ye([k],Zt.prototype,"radios",2),ye([a({mode:"boolean"})],Zt.prototype,"required",2);const zu=l`
467
+ ${w("flex")}
468
+
469
+ :host{-webkit-tap-highlight-color:transparent;cursor:pointer}:host(${G}),:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${rt}}::slotted(:hover){color:${Ut}}::slotted(:active){color:${T}}::slotted(${G}){color:${_}}::slotted(${v}){color:${T}}`;function Bu(){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 Tu=Bu(),Fu=Zt.compose({name:`${p.prefix}-radio-group`,template:Tu,styles:zu});Fu.define(p.registry);const Ou=l`
470
+ ${w("inline-flex")}
471
+
472
+ :host{--size:16px;aspect-ratio:1;background-color:${O};border:${X} solid ${ge};border-radius:${ct};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${ct};color:${Je};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:${oe} solid ${nt};border-radius:${z}}:host(:not([slot='input']):focus-visible)::after{border-color:${Ot}}:host(:hover){border-color:${to}}:host(${v}){border-color:${Xo}}:host(${v}) .checked-indicator{background-color:${Be}}:host(${v}:hover) .checked-indicator{background-color:${Te}}:host(:active){border-color:${eo}}:host(${v}:active) .checked-indicator{background-color:${Fe}}:host(:focus-visible){outline:none}:host(${G}){background-color:${ze};border-color:${xt}}:host(${v}${G}) .checked-indicator{background-color:${xt}}`.withBehaviors(et(l`
473
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${G}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${v}) .checked-indicator{background-color:FieldText}:host(${v}:not(${G}):hover) .checked-indicator{background-color:Highlight}:host(${G}){border-color:GrayText;color:GrayText}:host(${G}${v}) .checked-indicator{background-color:GrayText}`)),Mu=f.partial(`
474
+ <span part="checked-indicator" class="checked-indicator" role="presentation"></span>
475
+ `);function Au(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">${bt(o.checkedIndicator)}</slot></template>`}const _u=Au({checkedIndicator:Mu}),Eu=on.compose({name:`${p.prefix}-radio`,template:_u,styles:Ou});Eu.define(p.registry);var Lu=Object.defineProperty,Hu=Object.getOwnPropertyDescriptor,Ne=(o,t,e,s)=>{for(var i=s>1?void 0:s?Hu(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 ke extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.compact=!1,this.intlNumberFormatter=new Intl.NumberFormat,this.elementInternals.role="img"}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)}get formattedCount(){return this.count?this.intlNumberFormatter.format(this.count):""}generateIcons(){let t="";const e=Math.round((this.compact?1:this.value??0)*2)/2;for(let s=0;s<(this.compact?1:this.max??5)*2;s++){const i=(s+1)/2;t+=`<svg aria-hidden="true" ${i===e?"selected":""}><use href="#star"></use></svg>`}return t}}Ne([a],ke.prototype,"color",2),Ne([a({mode:"boolean"})],ke.prototype,"compact",2),Ne([a({converter:Z})],ke.prototype,"count",2),Ne([a({converter:Z})],ke.prototype,"max",2),Ne([a],ke.prototype,"size",2),Ne([a({converter:Z})],ke.prototype,"value",2);const Vu=l`
476
+ ${w("inline-flex")}
477
+
478
+ :host{--icon-size:16px;align-items:center;color:${T};font-family:${$};font-size:${q};line-height:${ot};contain:layout style;user-select:none}:host(${L}){--icon-size:12px}:host(${I}){--icon-size:20px;font-size:${M};line-height:${N}}svg{width:var(--icon-size);height:var(--icon-size);fill:${Xa};margin-inline-end:${ht}}svg:nth-child(even){clip-path:inset(0 50% 0 0);margin-inline-end:calc(0px - var(--icon-size))}:host(${Lo}) svg{fill:${T}}:host(${Xt}) svg{fill:${Go}}:host(:is([value^='-'],[value='0'])) svg,:host(:not([value])) svg,svg[selected] ~ svg{fill:${Cr}}:host(${Lo}:is([value^='-'],[value='0'])) svg,:host(${Lo}:not([value])) svg,:host(${Lo}) svg[selected] ~ svg{fill:${Vs}}:host(${Xt}:is([value^='-'],[value='0'])) svg,:host(${Xt}:not([value])) svg,:host(${Xt}) svg[selected] ~ svg{fill:${Ws}}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${Yt};font-weight:${H}}:host(${L}) .value-label,:host(${L}) ::slotted([slot='value']){margin-inline-start:${ht}}:host(${I}) .value-label,:host(${I}) ::slotted([slot='value']){margin-inline-start:${Qt}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${Yt}}:host(${L}) .count-label::before,:host(${L}) ::slotted([slot='count'])::before{margin-inline:${ht}}:host(${I}) .count-label::before,:host(${I}) ::slotted([slot='count'])::before{margin-inline:${Qt}}`.withBehaviors(et(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}`)),Du=f`<svg xmlns="http://www.w3.org/2000/svg" style="display: none"><symbol id="star" viewBox="0 0 12 12"><path d="M5.28347 1.54556C5.57692 0.95096 6.42479 0.950961 6.71825 1.54556L7.82997 3.79817L10.3159 4.15939C10.9721 4.25474 11.2341 5.06112 10.7592 5.52394L8.96043 7.27736L9.38507 9.75321C9.49716 10.4067 8.81122 10.9051 8.22431 10.5966L6.00086 9.42761L3.7774 10.5966C3.19049 10.9051 2.50455 10.4067 2.61664 9.75321L3.04128 7.27736L1.24246 5.52394C0.767651 5.06111 1.02966 4.25474 1.68584 4.15939L4.17174 3.79817L5.28347 1.54556Z" /></symbol></svg>`;function Nu(){return f` ${Du} ${o=>f`${f.partial(o.generateIcons())}`}<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 Ru=Nu(),ju=ke.compose({name:`${p.prefix}-rating-display`,template:Ru,styles:Vu});ju.define(p.registry);const qu={singleValue:"single-value"},nn="form-associated-proxy",an="ElementInternals",ln=an in window&&"setFormValue"in window[an].prototype,cn=new WeakMap;function Gu(o){const t=class extends o{constructor(...e){super(...e),this.dirtyValue=!1,this.initialValue="",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 ln}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,s=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),i=e?s.concat(Array.from(e)):s;return Object.freeze(i)}else return bi}valueChanged(e,s){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,s){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,s){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),gt.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,s){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,s){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),gt.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ln)return null;let e=cn.get(this);return e||(e=this.attachInternals(),cn.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,s,i){this.elementInternals?this.elementInternals.setValidity(e,s,i):typeof s=="string"&&this.proxy.setCustomValidity(s)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){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,typeof this.name=="string"&&(this.proxy.name=this.name),typeof this.value=="string"&&(this.proxy.value=this.value),this.proxy.setAttribute("slot",nn),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",nn)),this.shadowRoot?.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){this.removeChild(this.proxy),this.shadowRoot?.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,s){this.elementInternals&&this.elementInternals.setFormValue(e,s||e)}_keypressHandler(e){switch(e.key){case Ge:this.form instanceof HTMLFormElement&&this.form.querySelector("[type=submit]")?.click();break}}stopPropagation(e){e.stopPropagation()}};return a({mode:"boolean"})(t.prototype,"disabled"),a({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),a({attribute:"current-value"})(t.prototype,"currentValue"),a(t.prototype,"name"),a({mode:"boolean"})(t.prototype,"required"),k(t.prototype,"value"),t}class Wu extends x{}class Xu extends Gu(Wu){constructor(){super(...arguments),this.proxy=document.createElement("input")}}function dn(o,t,e,s){let i=As(0,1,(o-t)/(e-t));return s===Ft.rtl&&(i=1-i),i}var Uu=Object.defineProperty,Ku=Object.getOwnPropertyDescriptor,J=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ku(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&&Uu(t,e,i),i};class Y extends Xu{constructor(){super(...arguments),this.direction=Ft.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=st.horizontal,this.mode=qu.singleValue,this.keypressHandler=t=>{if(!(this.readOnly||this.disabled)){if(t.key===Os)t.preventDefault(),this.direction!==Ft.rtl&&this.orientation!==st.vertical?this.value=`${this.min}`:this.value=`${this.max}`;else if(t.key===Fs)t.preventDefault(),this.direction!==Ft.rtl&&this.orientation!==st.vertical?this.value=`${this.max}`:this.value=`${this.min}`;else if(!t.shiftKey)switch(t.key){case Bs:case Ts:t.preventDefault(),this.increment();break;case zs:case Ps: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),this.addEventListener("mousedown",this.handleMouseDown),t&&(this.removeEventListener("keydown",this.keypressHandler),this.removeEventListener("mousedown",this.handleMouseDown))},this.initialValue="",this.handleThumbMouseDown=t=>{const e=t!==null?window.addEventListener:window.removeEventListener;e("mouseup",this.handleWindowMouseUp),e("mousemove",this.handleMouseMove,{passive:!0}),e("touchmove",this.handleMouseMove,{passive:!0}),e("touchend",this.handleWindowMouseUp),this.isDragging=t!==null},this.handleMouseMove=t=>{if(this.readOnly||this.disabled||t.defaultPrevented)return;const e=window.TouchEvent&&t instanceof TouchEvent?t.touches[0]:t,s=this.orientation===st.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=`${this.calculateNewValue(s)}`},this.handleWindowMouseUp=t=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=t=>{if(t===null||!this.disabled&&!this.readOnly){const e=t!==null?window.addEventListener:window.removeEventListener,s=t!==null?document.addEventListener:document.removeEventListener;if(e("mouseup",this.handleWindowMouseUp),s("mouseleave",this.handleWindowMouseUp),e("mousemove",this.handleMouseMove),t){this.setupTrackConstraints();const i=this.orientation===st.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=`${this.calculateNewValue(i)}`}}}}handleChange(t,e){switch(e){case"min":case"max":case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const t=100/Math.floor((this.max-this.min)/this.step);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=l`
480
+ :host{--step-rate:${t}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){if(this.$fastController.isConnected){const s=parseFloat(e),i=As(this.min,this.max,this.convertToConstrainedValue(s)).toString();if(i!==e){this.value=i;return}super.valueChanged(t,e),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=er(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(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!==Ft.rtl&&this.orientation!==st.vertical?Number(this.value)+Number(this.stepValue):Number(this.value)+Number(this.stepValue),e=this.convertToConstrainedValue(t),s=e<Number(this.max)?`${e}`:`${this.max}`;this.value=s}decrement(){const t=this.direction!==Ft.rtl&&this.orientation!==st.vertical?Number(this.value)-Number(this.stepValue):Number(this.value)-Number(this.stepValue),e=this.convertToConstrainedValue(t),s=e>Number(this.min)?`${e}`:`${this.min}`;this.value=s}get stepValue(){return this.step===void 0?1:this.step}setThumbPositionForOrientation(t){const s=(1-dn(Number(this.value),Number(this.min),Number(this.max),t))*100;this.orientation===st.horizontal?this.position=this.isDragging?`right: ${s}%; transition: none;`:`right: ${s}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${s}%; transition: none;`:`top: ${s}%; transition: all 0.2s ease;`}updateStepMultiplier(){const t=this.stepValue+"",e=this.stepValue%1?t.length-t.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,e)}get midpoint(){return`${this.convertToConstrainedValue((this.max+this.min)/2)}`}setupDefaultValue(){if(typeof this.value=="string")if(this.value.length===0)this.initialValue=this.midpoint;else{const t=parseFloat(this.value);!Number.isNaN(t)&&(t<this.min||t>this.max)&&(this.value=this.midpoint)}}calculateNewValue(t){this.setupTrackConstraints();const e=dn(t,this.orientation===st.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===st.horizontal?this.trackWidth:this.trackHeight,this.direction),s=(this.max-this.min)*e+this.min;return this.convertToConstrainedValue(s)}convertToConstrainedValue(t){isNaN(t)&&(t=this.min);let e=t-this.min;const s=Math.round(e/this.stepValue),i=e-s*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return e=i>=Number(this.stepValue)/2?e-i+Number(this.stepValue):e-i,e+this.min}}J([a],Y.prototype,"size",2),J([a({attribute:"readonly",mode:"boolean"})],Y.prototype,"readOnly",2),J([k],Y.prototype,"direction",2),J([k],Y.prototype,"isDragging",2),J([k],Y.prototype,"position",2),J([k],Y.prototype,"trackWidth",2),J([k],Y.prototype,"trackMinWidth",2),J([k],Y.prototype,"trackHeight",2),J([k],Y.prototype,"trackLeft",2),J([k],Y.prototype,"trackMinHeight",2),J([k],Y.prototype,"valueTextFormatter",2),J([a({converter:Z})],Y.prototype,"min",2),J([a({converter:Z})],Y.prototype,"max",2),J([a({converter:Z})],Y.prototype,"step",2),J([a],Y.prototype,"orientation",2),J([a],Y.prototype,"mode",2);const Yu=l`
481
+ ${w("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:${Mt};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 ${Ot};outline:1px solid ${Xs}}.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:${Go};border-radius:${ct};box-shadow:inset 0 0 0 var(--thumb-padding) ${O},0 0 0 1px ${fe}}.thumb-cursor:hover{background-color:${Te}}.thumb-cursor:active{background-color:${Fe}}:host([disabled]) .thumb-cursor{background-color:${_};box-shadow:inset 0 0 0 var(--thumb-padding) ${O},0 0 0 1px ${xt}}.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:${ge};border-radius:${z};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${z};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
482
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${O} calc(var(--step-rate) - 1px),${O} var(--step-rate)
483
+ )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${ze}}: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:${Be};position:absolute;height:100%;left:0;border-radius:${z}}:host([disabled]) .track-start{background-color:${_}}:host(:hover) .track-start{background-color:${Te}}:host([disabled]:hover) .track-start{background-color:${_}}.track-start:active{background-color:${Fe}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(et(l`
484
+ .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}`));function Qu(o={}){return f`<template role="slider" tabindex="${t=>t.disabled?null:0}" aria-valuetext="${t=>t.valueTextFormatter(t.value)}" aria-valuenow="${t=>t.value}" aria-valuemin="${t=>t.min}" aria-valuemax="${t=>t.max}" aria-disabled="${t=>t.disabled?!0:void 0}" aria-readonly="${t=>t.readOnly?!0:void 0}" aria-orientation="${t=>t.orientation}" class="${t=>t.orientation}"><div part="positioning-region" class="positioning-region"><div ${Tt("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${t=>t.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${Tt("thumb")} part="thumb-container" class="thumb-container" style="${t=>t.position}" @mousedown="${(t,e)=>t.handleThumbMouseDown(e.event)}" @touchstart="${(t,e)=>t.handleThumbMouseDown(e.event)}"><slot name="thumb">${bt(o.thumb)}</slot></div></div></template>`}const Zu=Qu({thumb:'<div class="thumb-cursor"></div>'}),Ju=Y.compose({name:`${p.prefix}-slider`,template:Zu,styles:Yu});Ju.define(p.registry);var tp=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,hn=(o,t,e,s)=>{for(var i=s>1?void 0:s?ep(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&&tp(t,e,i),i};class ai extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}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)}}hn([a],ai.prototype,"size",2),hn([a],ai.prototype,"appearance",2);const op=l`
485
+ ${w("flex")}
486
+
487
+ :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host(${Ye}){height:20px;width:20px}:host(${Qe}){height:24px;width:24px}:host(${L}){height:28px;width:28px}:host(${I}){height:36px;width:36px}:host(${Mo}){height:40px;width:40px}:host(${ia}){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${Ws};stroke-width:1.5px}:host(${or}) .background{stroke:rgba(255,255,255,0.2)}.indicator{stroke:${dr};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(${or}) .indicator{stroke:${Ma}}@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)}}`,sp=f`<slot name="indicator"><svg class="progress" part="progress" viewBox="0 0 16 16"><circle class="background" cx="8px" cy="8px" r="7px"></circle><circle class="indicator" cx="8px" cy="8px" r="7px"></circle></svg></slot>`,ip=ai.compose({name:`${p.prefix}-spinner`,template:sp,styles:op});ip.define(p.registry);class rp extends vt{constructor(){super(),this.elementInternals.role="switch"}}function np(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">${bt(o.switch)}</slot></template>`}const ap=np({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),lp=l`
488
+ ${w("inline-flex")}
489
+
490
+ :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${ht};width:40px;height:20px;background-color:${kt};border:1px solid ${ge};border-radius:${ct};cursor:pointer}:host(:hover){background:none;border-color:${to}}:host(:active){border-color:${eo}}:host(:disabled),:host([readonly]){border:1px solid ${xt};background-color:none;pointer:default}:host(${v}){background:${Be};border-color:${Be}}:host(${v}:hover){background:${Te};border-color:${Te}}:host(${v}:active){background:${Fe};border-color:${Fe}}:host(${v}:disabled){background:${ze};border-color:${xt}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${rt};transition-duration:${Nr};transition-timing-function:${Zs};transition-property:margin-inline-start}:host(${v}) .checked-indicator{background-color:${Je};margin-inline-start:calc(100% - 14px)}:host(${v}:hover) .checked-indicator{background:${ya}}:host(${v}:active) .checked-indicator{background:${ka}}:host(:hover) .checked-indicator{background-color:${ca}}:host(:active) .checked-indicator{background-color:${da}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${_}}:host(${v}:disabled) .checked-indicator{background:${_}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${nt};outline:${oe} solid ${nt};box-shadow:${Zo},0 0 0 2px ${Ot}}`.withBehaviors(et(l`
491
+ :host{border-color:InactiveBorder}:host(${v}),:host(${v}:active),:host(${v}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${v}) .checked-indicator,:host(${v}:hover) .checked-indicator,:host(${v}:active) .checked-indicator{background-color:ButtonFace}`)),cp=rp.compose({name:`${p.prefix}-switch`,template:ap,styles:lp});cp.define(p.registry);class dp extends x{}function hp(){return f`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`}const up=hp(),pp=l`
492
+ ${w("block")}
493
+
494
+ :host{box-sizing:border-box;padding:${ut} ${_t}}`,gp=dp.compose({name:`${p.prefix}-tab-panel`,template:up,styles:pp});gp.define(p.registry);var fp=Object.defineProperty,bp=Object.getOwnPropertyDescriptor,mp=(o,t,e,s)=>{for(var i=s>1?void 0:s?bp(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&&fp(t,e,i),i};class li extends x{connectedCallback(){super.connectedCallback(),this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=l`
495
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}mp([a({mode:"boolean"})],li.prototype,"disabled",2),jt(li,Nt);function $p(o={}){return f`<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">${Rt(o)}<span class="tab-content"><slot></slot></span>${te(o)}</template>`}const vp=$p({}),yp=l`
496
+ ${w("inline-flex")}
497
+
498
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${N};font-family:${$};font-size:${M};color:${Ut};fill:currentcolor;grid-row:1;padding:${ut} ${_t};border-radius:${z}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${T};font-weight:${H}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${N};font-weight:${H}}:host([aria-selected='true'])::after{background-color:${Xo};border-radius:${ct};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Wo};border-radius:${ct};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${_}}::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:${_};color:${_}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Mt};box-shadow:0 0 0 3px ${Ot};outline:1px solid ${Xs}}`.withBehaviors(et(l`
499
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),kp=li.compose({name:`${p.prefix}-tab`,template:vp,styles:yp});kp.define(p.registry);const xp={subtle:"subtle",transparent:"transparent"},cs=st;var wp=Object.defineProperty,Cp=Object.getOwnPropertyDescriptor,xe=(o,t,e,s)=>{for(var i=s>1?void 0:s?Cp(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 bo extends x{constructor(){super(...arguments),this.orientation=cs.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 zs:t.preventDefault(),this.adjustBackward(t);break;case Bs:t.preventDefault(),this.adjustForward(t);break}else switch(t.key){case Ts:t.preventDefault(),this.adjustBackward(t);break;case Ps:t.preventDefault(),this.adjustForward(t);break}switch(t.key){case Os:t.preventDefault(),this.adjust(-this.activeTabIndex);break;case Fs: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),h=this.tabIds[r],g=this.tabpanelIds[r];i.setAttribute("id",h),i.setAttribute("aria-selected",n?"true":"false"),i.setAttribute("aria-controls",g),i.addEventListener("click",this.handleTabClick),i.addEventListener("keydown",this.handleTabKeyDown),i.setAttribute("tabindex",n?"0":"-1"),n&&(this.activetab=i,this.activeid=h)}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-${To()}`)}getTabPanelIds(){return this.tabpanels.map(t=>t.getAttribute("id")??`panel-${To()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===cs.horizontal}adjust(t){const e=this.tabs.filter(n=>this.isFocusableElement(n)),s=e.indexOf(this.activetab),i=As(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()}}xe([a],bo.prototype,"orientation",2),xe([a],bo.prototype,"activeid",2),xe([k],bo.prototype,"tabs",2),xe([k],bo.prototype,"tabpanels",2);class mo extends bo{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=xp.transparent}calculateAnimationProperties(t){this.activeTabOffset=this.getTabPosition(t),this.activeTabScale=this.getTabScale(t)}getTabPosition(t){return this.orientation===cs.horizontal?this.previousActiveTabData.x-(t.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(t.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(t){return this.orientation===cs.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`
500
+ :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=l`
501
+ :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()}}xe([a],mo.prototype,"appearance",2),xe([a({mode:"boolean"})],mo.prototype,"disabled",2),xe([a],mo.prototype,"size",2),jt(mo,Nt);function Ip(o={}){return f` ${Rt(o)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${ft("tabs")}></slot></div>${te(o)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${ft("tabpanels")}></slot></div>`}const Sp=Ip({}),Pp=l`
502
+ ${w("grid")}
503
+
504
+ :host{box-sizing:border-box;font-family:${$};font-size:${M};line-height:${N};color:${Ut};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${_}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${_}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${_}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${_}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${z}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${_}}.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:${Ns};color:${ir};fill:${$a}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${qo};fill:${qo};color:${T}}:host([size='small']) ::slotted(fluent-tab){font-size:${M};line-height:${N};padding:${io} ${Qt}}:host([size='large']) ::slotted(fluent-tab){font-size:${dt};line-height:${wt};padding:${Dr} ${_t}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${lc};transition-timing-function:${jr}}:host ::slotted(fluent-tab)::after{height:${se};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${se};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${se};border-radius:${ct};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${se};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${se};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:${se}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${io};padding-bottom:${io}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Jo};padding-bottom:${Jo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${pt};padding-bottom:${pt}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${Qt};left:${Qt}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${_t};left:${_t}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${_t};left:${_t}}: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:${io};bottom:${io}}: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:${pt};bottom:${pt}}: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:${ro};bottom:${ro}}`,zp=mo.compose({name:`${p.prefix}-tabs`,template:Sp,styles:Pp});zp.define(p.registry);const Bp={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Tp=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var Fp=Object.defineProperty,Op=Object.getOwnPropertyDescriptor,A=(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&&Fp(t,e,i),i};class S extends x{constructor(){super(...arguments),this.type=Bp.text,this._value=this.initialValue,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}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)}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=>Tp.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)}}}S.formAssociated=!0,A([a],S.prototype,"appearance",2),A([a],S.prototype,"autocomplete",2),A([a({mode:"boolean"})],S.prototype,"autofocus",2),A([a({attribute:"control-size"})],S.prototype,"controlSize",2),A([k],S.prototype,"defaultSlottedNodes",2),A([a],S.prototype,"dirname",2),A([a({mode:"boolean"})],S.prototype,"disabled",2),A([a({attribute:"form"})],S.prototype,"formAttribute",2),A([a({attribute:"value",mode:"fromView"})],S.prototype,"initialValue",2),A([a],S.prototype,"list",2),A([a({converter:Z})],S.prototype,"maxlength",2),A([a({converter:Z})],S.prototype,"minlength",2),A([a({mode:"boolean"})],S.prototype,"multiple",2),A([a],S.prototype,"name",2),A([a],S.prototype,"pattern",2),A([a],S.prototype,"placeholder",2),A([a({attribute:"readonly",mode:"boolean"})],S.prototype,"readOnly",2),A([a({mode:"boolean"})],S.prototype,"required",2),A([a({converter:Z})],S.prototype,"size",2),A([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],S.prototype,"spellcheck",2),A([a],S.prototype,"type",2),A([k],S.prototype,"controlLabel",2),jt(S,Nt);const Mp=l`
505
+ ${w("block")}
506
+
507
+ :host{font-family:${$};font-size:${M};font-weight:${E};line-height:${N};max-width:400px}.label{display:flex;color:${T};padding-bottom:${rc};flex-shrink:0;padding-inline-end:${Yt}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${O};border:${X} solid ${fe};border-bottom-color:${ge};border-radius:${z};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${ht};padding:0 ${_t};position:relative;width:100%}:has(.control:user-invalid){border-color:${Ea}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${z});border-radius:0 0 ${z} ${z};border-bottom:2px solid ${Xo};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${ac};transition-delay:${ao}}.control{width:100%;height:100%;box-sizing:border-box;color:${T};border-radius:${z};background:${kt};font-family:${$};font-weight:${E};font-size:${M};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${ha}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${rt};font-size:${Oe}}:host ::slotted([slot='start']){padding-right:${ht}}:host ::slotted([slot='end']){padding-left:${ht};gap:${Yt}}:host(:hover) .root{border-color:${Wo};border-bottom-color:${to}}:host(:active) .root{border-color:${Gs}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Nr};transition-delay:${lo}}:host(:focus-within:active) .root:after{border-bottom-color:${hr}}:host(${j}:focus-within) .root{border:${X} solid ${fe}}:host(:focus-within) .control{color:${T}}:host([disabled]) .root{background:${kt};border:${X} solid ${xt}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${_}}::selection{color:${Je};background-color:${Sa}}:host(${L}) .control{font-size:${q};font-weight:${E};line-height:${ot}}:host(${L}) .root{height:24px;gap:${ht};padding:0 ${Qt}}:host(${L}) ::slotted([slot='start']),:host(${L}) ::slotted([slot='end']){font-size:${dt}}:host(${I}) .control{font-size:${dt};font-weight:${E};line-height:${wt}}:host(${I}) .root{height:40px;gap:${At};padding:0 ${ut}}:host(${I}) ::slotted([slot='start']),:host(${I}) ::slotted([slot='end']){font-size:${Uo}}:host(${Xe}) .root{background:${kt};border:0;border-radius:0;border-bottom:${X} solid ${ge}}:host(${Xe}:hover) .root{border-bottom-color:${to}}:host(${Xe}:active) .root{border-bottom-color:${eo}}:host(${Xe}:focus-within) .root{border:0;border-bottom-color:${eo}}:host(${Xe}[disabled]) .root{border-bottom-color:${xt}}:host(${Fo}) .root,:host(${Oo}) .root{border:${X} solid ${nt};box-shadow:${Er}}:host(${Fo}) .root{background:${O}}:host(${Oo}) .root{background:${Ds}}:host(${Fo}:hover) .root,:host(${Oo}:hover) .root{border-color:${ur}}:host(${Fo}:active) .root,:host(${Oo}:active) .root{border-color:${ur};background:${Ds}}`;function Ap(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" ${Tt("controlLabel")}><slot ${ft({property:"defaultSlottedNodes",filter:Zn})}></slot></label><div class="root" part="root">${Rt(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}" ${Tt("control")} />${te(o)}</div></template>`}const _p=Ap(),Ep=S.compose({name:`${p.prefix}-text-input`,template:_p,styles:Mp,shadowOptions:{delegatesFocus:!0}});Ep.define(p.registry);var Lp=Object.defineProperty,Hp=Object.getOwnPropertyDescriptor,Dt=(o,t,e,s)=>{for(var i=s>1?void 0:s?Hp(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&&Lp(t,e,i),i};class St extends x{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}}}Dt([a({mode:"boolean"})],St.prototype,"nowrap",2),Dt([a({mode:"boolean"})],St.prototype,"truncate",2),Dt([a({mode:"boolean"})],St.prototype,"italic",2),Dt([a({mode:"boolean"})],St.prototype,"underline",2),Dt([a({mode:"boolean"})],St.prototype,"strikethrough",2),Dt([a({mode:"boolean"})],St.prototype,"block",2),Dt([a],St.prototype,"size",2),Dt([a],St.prototype,"font",2),Dt([a],St.prototype,"weight",2),Dt([a],St.prototype,"align",2);const un=l.partial`:is([state--nowrap], :state(nowrap))`,pn=l.partial`:is([state--truncate], :state(truncate))`,gn=l.partial`:is([state--underline], :state(underline))`,fn=l.partial`:is([state--strikethrough], :state(strikethrough))`,Vp=l`
508
+ ${w("inline")}
509
+
510
+ :host{contain:content;font-family:${$};font-size:${M};line-height:${N};font-weight:${E};text-align:start}:host(${un}),:host(${un}) ::slotted(*){white-space:nowrap;overflow:hidden}:host(${pn}),:host(${pn}) ::slotted(*){text-overflow:ellipsis}:host(:is([state--block],:state(block))){display:block}:host(:is([state--italic],:state(italic))){font-style:italic}:host(${gn}){text-decoration-line:underline}:host(${fn}){text-decoration-line:line-through}:host(${gn}${fn}){text-decoration-line:line-through underline}:host(:is([state--size-100],:state(size-100))){font-size:${so};line-height:${Yo}}:host(:is([state--size-200],:state(size-200))){font-size:${q};line-height:${ot}}:host(:is([state--size-400],:state(size-400))){font-size:${dt};line-height:${wt}}:host(:is([state--size-500],:state(size-500))){font-size:${Oe};line-height:${Qo}}:host(:is([state--size-600],:state(size-600))){font-size:${Uo};line-height:${Fr}}:host(:is([state--size-700],:state(size-700))){font-size:${Pr};line-height:${Or}}:host(:is([state--size-800],:state(size-800))){font-size:${zr};line-height:${Mr}}:host(:is([state--size-900],:state(size-900))){font-size:${Br};line-height:${Ar}}:host(:is([state--size-1000],:state(size-1000))){font-size:${Tr};line-height:${_r}}:host(:is([state--monospace],:state(monospace))){font-family:${Ql}}:host(:is([state--numeric],:state(numeric))){font-family:${Zl}}:host(:is([state--medium],:state(medium))){font-weight:${Jl}}:host(:is([state--semibold],:state(semibold))){font-weight:${H}}:host(:is([state--bold],:state(bold))){font-weight:${Ko}}: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(*){display:inherit;font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,Dp=f`<slot></slot>`,Np=St.compose({name:`${p.prefix}-text`,template:Dp,styles:Vp});Np.define(p.registry);var Rp=Object.defineProperty,jp=Object.getOwnPropertyDescriptor,bn=(o,t,e,s)=>{for(var i=s>1?void 0:s?jp(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&&Rp(t,e,i),i};class ci extends F{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)}}}bn([a({mode:"boolean"})],ci.prototype,"pressed",2),bn([a({mode:"boolean"})],ci.prototype,"mixed",2);const qp=l`
511
+ ${os}
512
+
513
+ :host(${B}){border-color:${fe};background-color:${nr};color:${T};border-width:${X}}:host(${B}:hover){border-color:${Wo};background-color:${Hs}}:host(${B}:active){border-color:${Gs};background-color:${Vs}}:host(${B}${it}){border-color:transparent;background-color:${Ta};color:${Kt}}:host(${B}${it}:hover){background-color:${ar}}:host(${B}${it}:active){background-color:${lr}}:host(${B}${C}){border-color:transparent;background-color:${za};color:${aa}}:host(${B}${C}:hover){background-color:${Ns};color:${Vo}}:host(${B}${C}:active){background-color:${qo};color:${Do}}:host(${B}${j}),:host(${B}${W}){background-color:${Ba}}:host(${B}${j}:hover),:host(${B}${W}:hover){background-color:${Rs}}:host(${B}${j}:active),:host(${B}${W}:active){background-color:${js}}:host(${B}${W}){border-color:transparent;color:${la}}:host(${B}${W}:hover){color:${No}}:host(${B}${W}:active){color:${Ro}}`.withBehaviors(et(l`
514
+ :host(${B}),:host(${B}${it}),:host(${B}${C}),:host(${B}${j}),:host(${B}${W}){background:SelectedItem;color:SelectedItemText}`)),Gp=oi(),Wp=ci.compose({name:`${p.prefix}-toggle-button`,template:Gp,styles:qp});Wp.define(p.registry);