@fluentui/web-components 3.0.0-beta.3 → 3.0.0-beta.31

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 (669) hide show
  1. package/CHANGELOG.md +430 -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 +47 -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 +78 -6
  11. package/dist/dts/accordion-item/accordion-item.definition.d.ts +0 -3
  12. package/dist/dts/accordion-item/accordion-item.options.d.ts +3 -3
  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 +282 -16
  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 +47 -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/field/define.d.ts +1 -0
  72. package/dist/dts/field/field.bench.d.ts +3 -0
  73. package/dist/dts/field/field.d.ts +99 -0
  74. package/dist/dts/field/field.definition.d.ts +9 -0
  75. package/dist/dts/field/field.options.d.ts +41 -0
  76. package/dist/dts/field/field.styles.d.ts +6 -0
  77. package/dist/dts/field/field.template.d.ts +6 -0
  78. package/dist/dts/field/index.d.ts +6 -0
  79. package/dist/dts/form-associated/form-associated.d.ts +104 -0
  80. package/dist/dts/image/image.bench.d.ts +3 -0
  81. package/dist/dts/image/image.options.d.ts +3 -3
  82. package/dist/dts/image/index.d.ts +2 -2
  83. package/dist/dts/index-rollup.d.ts +32 -1
  84. package/dist/dts/index.d.ts +53 -30
  85. package/dist/dts/label/index.d.ts +2 -1
  86. package/dist/dts/label/label.bench.d.ts +3 -0
  87. package/dist/dts/label/label.d.ts +0 -2
  88. package/dist/dts/label/label.options.d.ts +3 -3
  89. package/dist/dts/link/define.d.ts +1 -0
  90. package/dist/dts/link/index.d.ts +4 -0
  91. package/dist/dts/link/link.bench.d.ts +3 -0
  92. package/dist/dts/link/link.d.ts +33 -0
  93. package/dist/dts/link/link.definition.d.ts +7 -0
  94. package/dist/dts/link/link.options.d.ts +52 -0
  95. package/dist/dts/link/link.styles.d.ts +1 -0
  96. package/dist/dts/link/link.template.d.ts +12 -0
  97. package/dist/dts/menu/index.d.ts +1 -1
  98. package/dist/dts/menu/menu.bench.d.ts +3 -0
  99. package/dist/dts/menu/menu.d.ts +27 -25
  100. package/dist/dts/menu-button/index.d.ts +4 -3
  101. package/dist/dts/menu-button/menu-button.bench.d.ts +3 -0
  102. package/dist/dts/menu-button/menu-button.definition.d.ts +0 -3
  103. package/dist/dts/menu-button/menu-button.options.d.ts +6 -7
  104. package/dist/dts/menu-item/index.d.ts +5 -3
  105. package/dist/dts/menu-item/menu-item.bench.d.ts +3 -0
  106. package/dist/dts/menu-item/menu-item.d.ts +162 -5
  107. package/dist/dts/menu-item/menu-item.definition.d.ts +0 -4
  108. package/dist/dts/menu-item/menu-item.options.d.ts +30 -0
  109. package/dist/dts/menu-item/menu-item.template.d.ts +2 -1
  110. package/dist/dts/menu-list/index.d.ts +1 -1
  111. package/dist/dts/menu-list/menu-list.bench.d.ts +3 -0
  112. package/dist/dts/menu-list/menu-list.d.ts +71 -4
  113. package/dist/dts/menu-list/menu-list.definition.d.ts +0 -4
  114. package/dist/dts/menu-list/menu-list.template.d.ts +1 -0
  115. package/dist/dts/patterns/aria-globals.d.ts +189 -0
  116. package/dist/dts/patterns/index.d.ts +2 -0
  117. package/dist/dts/patterns/start-end.d.ts +44 -0
  118. package/dist/dts/progress-bar/index.d.ts +2 -2
  119. package/dist/dts/progress-bar/progress-bar.bench.d.ts +3 -0
  120. package/dist/dts/progress-bar/progress-bar.d.ts +60 -10
  121. package/dist/dts/progress-bar/progress-bar.options.d.ts +4 -4
  122. package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -0
  123. package/dist/dts/radio/index.d.ts +2 -1
  124. package/dist/dts/radio/radio.bench.d.ts +3 -0
  125. package/dist/dts/radio/radio.d.ts +54 -3
  126. package/dist/dts/radio/radio.form-associated.d.ts +14 -0
  127. package/dist/dts/radio/radio.template.d.ts +2 -1
  128. package/dist/dts/radio-group/index.d.ts +2 -2
  129. package/dist/dts/radio-group/radio-group.bench.d.ts +3 -0
  130. package/dist/dts/radio-group/radio-group.d.ts +91 -2
  131. package/dist/dts/radio-group/radio-group.options.d.ts +17 -0
  132. package/dist/dts/radio-group/radio-group.template.d.ts +1 -0
  133. package/dist/dts/slider/index.d.ts +3 -2
  134. package/dist/dts/slider/slider-utilities.d.ts +5 -0
  135. package/dist/dts/slider/slider.bench.d.ts +3 -0
  136. package/dist/dts/slider/slider.d.ts +195 -5
  137. package/dist/dts/slider/slider.form-associated.d.ts +14 -0
  138. package/dist/dts/slider/slider.options.d.ts +44 -3
  139. package/dist/dts/slider/slider.template.d.ts +4 -2
  140. package/dist/dts/spinner/index.d.ts +2 -2
  141. package/dist/dts/spinner/spinner.bench.d.ts +3 -0
  142. package/dist/dts/spinner/spinner.d.ts +9 -4
  143. package/dist/dts/spinner/spinner.definition.d.ts +0 -4
  144. package/dist/dts/spinner/spinner.options.d.ts +3 -3
  145. package/dist/dts/spinner/spinner.template.d.ts +1 -2
  146. package/dist/dts/styles/partials/index.d.ts +1 -0
  147. package/dist/dts/styles/partials/typography.partials.d.ts +18 -0
  148. package/dist/dts/styles/states/index.d.ts +110 -0
  149. package/dist/dts/switch/index.d.ts +3 -2
  150. package/dist/dts/switch/switch.bench.d.ts +3 -0
  151. package/dist/dts/switch/switch.d.ts +6 -12
  152. package/dist/dts/switch/switch.form-associated.d.ts +14 -0
  153. package/dist/dts/switch/switch.options.d.ts +2 -2
  154. package/dist/dts/switch/switch.template.d.ts +2 -1
  155. package/dist/dts/tab/index.d.ts +4 -3
  156. package/dist/dts/tab/tab.bench.d.ts +3 -0
  157. package/dist/dts/tab/tab.d.ts +17 -2
  158. package/dist/dts/tab/tab.template.d.ts +3 -3
  159. package/dist/dts/tab-panel/index.d.ts +1 -1
  160. package/dist/dts/tab-panel/tab-panel.bench.d.ts +3 -0
  161. package/dist/dts/tab-panel/tab-panel.d.ts +2 -2
  162. package/dist/dts/tab-panel/tab-panel.template.d.ts +4 -1
  163. package/dist/dts/tabs/index.d.ts +5 -4
  164. package/dist/dts/tabs/tabs.bench.d.ts +3 -0
  165. package/dist/dts/tabs/tabs.d.ts +102 -13
  166. package/dist/dts/tabs/tabs.options.d.ts +23 -5
  167. package/dist/dts/tabs/tabs.template.d.ts +5 -1
  168. package/dist/dts/text/index.d.ts +2 -2
  169. package/dist/dts/text/text.bench.d.ts +3 -0
  170. package/dist/dts/text/text.options.d.ts +5 -5
  171. package/dist/dts/text-input/index.d.ts +5 -5
  172. package/dist/dts/text-input/text-input.bench.d.ts +3 -0
  173. package/dist/dts/text-input/text-input.d.ts +395 -11
  174. package/dist/dts/text-input/text-input.definition.d.ts +2 -3
  175. package/dist/dts/text-input/text-input.options.d.ts +31 -10
  176. package/dist/dts/text-input/text-input.styles.d.ts +5 -2
  177. package/dist/dts/text-input/text-input.template.d.ts +8 -1
  178. package/dist/dts/theme/design-tokens.d.ts +2180 -384
  179. package/dist/dts/theme/set-theme.d.ts +6 -3
  180. package/dist/dts/toggle-button/index.d.ts +5 -4
  181. package/dist/dts/toggle-button/toggle-button.bench.d.ts +3 -0
  182. package/dist/dts/toggle-button/toggle-button.d.ts +29 -26
  183. package/dist/dts/toggle-button/toggle-button.definition.d.ts +0 -2
  184. package/dist/dts/toggle-button/toggle-button.options.d.ts +6 -7
  185. package/dist/dts/toggle-button/toggle-button.styles.d.ts +7 -0
  186. package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
  187. package/dist/dts/utils/benchmark-dependencies/tokens.d.ts +1 -0
  188. package/dist/dts/utils/benchmark-wrapper.d.ts +2 -0
  189. package/dist/dts/utils/direction.d.ts +10 -0
  190. package/dist/dts/utils/display.d.ts +17 -0
  191. package/dist/dts/utils/element-internals.d.ts +20 -0
  192. package/dist/dts/utils/index.d.ts +6 -0
  193. package/dist/dts/utils/template-helpers.d.ts +16 -0
  194. package/dist/dts/utils/typings.d.ts +6 -0
  195. package/dist/dts/utils/whitespace-filter.d.ts +12 -0
  196. package/dist/esm/accordion/accordion.bench.js +30 -0
  197. package/dist/esm/accordion/accordion.bench.js.map +1 -0
  198. package/dist/esm/accordion/accordion.definition.js +0 -4
  199. package/dist/esm/accordion/accordion.definition.js.map +1 -1
  200. package/dist/esm/accordion/accordion.js +211 -3
  201. package/dist/esm/accordion/accordion.js.map +1 -1
  202. package/dist/esm/accordion/accordion.options.js +9 -0
  203. package/dist/esm/accordion/accordion.options.js.map +1 -0
  204. package/dist/esm/accordion/accordion.styles.js +1 -1
  205. package/dist/esm/accordion/accordion.styles.js.map +1 -1
  206. package/dist/esm/accordion/accordion.template.js +11 -1
  207. package/dist/esm/accordion/accordion.template.js.map +1 -1
  208. package/dist/esm/accordion/index.js +2 -1
  209. package/dist/esm/accordion/index.js.map +1 -1
  210. package/dist/esm/accordion-item/accordion-item.bench.js +14 -0
  211. package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -0
  212. package/dist/esm/accordion-item/accordion-item.definition.js +0 -3
  213. package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
  214. package/dist/esm/accordion-item/accordion-item.js +80 -10
  215. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  216. package/dist/esm/accordion-item/accordion-item.styles.js +1 -1
  217. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  218. package/dist/esm/accordion-item/accordion-item.template.js +47 -2
  219. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  220. package/dist/esm/accordion-item/index.js +2 -2
  221. package/dist/esm/accordion-item/index.js.map +1 -1
  222. package/dist/esm/anchor-button/anchor-button.bench.js +11 -0
  223. package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -0
  224. package/dist/esm/anchor-button/anchor-button.definition.js +0 -6
  225. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  226. package/dist/esm/anchor-button/anchor-button.js +187 -60
  227. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  228. package/dist/esm/anchor-button/anchor-button.options.js +26 -0
  229. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  230. package/dist/esm/anchor-button/anchor-button.styles.js +12 -5
  231. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  232. package/dist/esm/anchor-button/anchor-button.template.js +21 -1
  233. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  234. package/dist/esm/anchor-button/index.js +3 -3
  235. package/dist/esm/anchor-button/index.js.map +1 -1
  236. package/dist/esm/avatar/avatar.bench.js +10 -0
  237. package/dist/esm/avatar/avatar.bench.js.map +1 -0
  238. package/dist/esm/avatar/avatar.js +43 -23
  239. package/dist/esm/avatar/avatar.js.map +1 -1
  240. package/dist/esm/avatar/avatar.styles.js +36 -36
  241. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  242. package/dist/esm/avatar/avatar.template.js +2 -4
  243. package/dist/esm/avatar/avatar.template.js.map +1 -1
  244. package/dist/esm/avatar/index.js +2 -2
  245. package/dist/esm/avatar/index.js.map +1 -1
  246. package/dist/esm/badge/badge.bench.js +11 -0
  247. package/dist/esm/badge/badge.bench.js.map +1 -0
  248. package/dist/esm/badge/badge.definition.js +0 -3
  249. package/dist/esm/badge/badge.definition.js.map +1 -1
  250. package/dist/esm/badge/badge.js +61 -7
  251. package/dist/esm/badge/badge.js.map +1 -1
  252. package/dist/esm/badge/badge.styles.js +14 -6
  253. package/dist/esm/badge/badge.styles.js.map +1 -1
  254. package/dist/esm/badge/badge.template.js +2 -2
  255. package/dist/esm/badge/badge.template.js.map +1 -1
  256. package/dist/esm/badge/index.js +2 -2
  257. package/dist/esm/badge/index.js.map +1 -1
  258. package/dist/esm/button/button.bench.js +11 -0
  259. package/dist/esm/button/button.bench.js.map +1 -0
  260. package/dist/esm/button/button.definition.js +2 -6
  261. package/dist/esm/button/button.definition.js.map +1 -1
  262. package/dist/esm/button/button.js +312 -42
  263. package/dist/esm/button/button.js.map +1 -1
  264. package/dist/esm/button/button.options.js +20 -1
  265. package/dist/esm/button/button.options.js.map +1 -1
  266. package/dist/esm/button/button.styles.js +78 -78
  267. package/dist/esm/button/button.styles.js.map +1 -1
  268. package/dist/esm/button/button.template.js +23 -1
  269. package/dist/esm/button/button.template.js.map +1 -1
  270. package/dist/esm/button/index.js +4 -4
  271. package/dist/esm/button/index.js.map +1 -1
  272. package/dist/esm/checkbox/checkbox.bench.js +11 -0
  273. package/dist/esm/checkbox/checkbox.bench.js.map +1 -0
  274. package/dist/esm/checkbox/checkbox.definition.js +1 -1
  275. package/dist/esm/checkbox/checkbox.definition.js.map +1 -1
  276. package/dist/esm/checkbox/checkbox.js +371 -13
  277. package/dist/esm/checkbox/checkbox.js.map +1 -1
  278. package/dist/esm/checkbox/checkbox.options.js +0 -8
  279. package/dist/esm/checkbox/checkbox.options.js.map +1 -1
  280. package/dist/esm/checkbox/checkbox.styles.js +145 -123
  281. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  282. package/dist/esm/checkbox/checkbox.template.js +34 -17
  283. package/dist/esm/checkbox/checkbox.template.js.map +1 -1
  284. package/dist/esm/checkbox/index.js +3 -3
  285. package/dist/esm/checkbox/index.js.map +1 -1
  286. package/dist/esm/compound-button/compound-button.bench.js +15 -0
  287. package/dist/esm/compound-button/compound-button.bench.js.map +1 -0
  288. package/dist/esm/compound-button/compound-button.definition.js +0 -6
  289. package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
  290. package/dist/esm/compound-button/compound-button.options.js.map +1 -1
  291. package/dist/esm/compound-button/compound-button.styles.js +16 -17
  292. package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
  293. package/dist/esm/compound-button/compound-button.template.js +4 -40
  294. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  295. package/dist/esm/compound-button/index.js +2 -2
  296. package/dist/esm/compound-button/index.js.map +1 -1
  297. package/dist/esm/counter-badge/counter-badge.bench.js +11 -0
  298. package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -0
  299. package/dist/esm/counter-badge/counter-badge.definition.js +0 -4
  300. package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
  301. package/dist/esm/counter-badge/counter-badge.js +69 -7
  302. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  303. package/dist/esm/counter-badge/counter-badge.styles.js +12 -6
  304. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  305. package/dist/esm/counter-badge/index.js +2 -2
  306. package/dist/esm/counter-badge/index.js.map +1 -1
  307. package/dist/esm/dialog/define.js +4 -0
  308. package/dist/esm/dialog/define.js.map +1 -0
  309. package/dist/esm/dialog/dialog.bench.js +11 -0
  310. package/dist/esm/dialog/dialog.bench.js.map +1 -0
  311. package/dist/esm/dialog/dialog.definition.js +17 -0
  312. package/dist/esm/dialog/dialog.definition.js.map +1 -0
  313. package/dist/esm/dialog/dialog.js +91 -0
  314. package/dist/esm/dialog/dialog.js.map +1 -0
  315. package/dist/esm/dialog/dialog.options.js +10 -0
  316. package/dist/esm/dialog/dialog.options.js.map +1 -0
  317. package/dist/esm/dialog/dialog.styles.js +86 -0
  318. package/dist/esm/dialog/dialog.styles.js.map +1 -0
  319. package/dist/esm/dialog/dialog.template.js +24 -0
  320. package/dist/esm/dialog/dialog.template.js.map +1 -0
  321. package/dist/esm/dialog/index.js +6 -0
  322. package/dist/esm/dialog/index.js.map +1 -0
  323. package/dist/esm/dialog-body/define.js +4 -0
  324. package/dist/esm/dialog-body/define.js.map +1 -0
  325. package/dist/esm/dialog-body/dialog-body.bench.js +11 -0
  326. package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -0
  327. package/dist/esm/dialog-body/dialog-body.definition.js +17 -0
  328. package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -0
  329. package/dist/esm/dialog-body/dialog-body.js +22 -0
  330. package/dist/esm/dialog-body/dialog-body.js.map +1 -0
  331. package/dist/esm/dialog-body/dialog-body.styles.js +79 -0
  332. package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -0
  333. package/dist/esm/dialog-body/dialog-body.template.js +42 -0
  334. package/dist/esm/dialog-body/dialog-body.template.js.map +1 -0
  335. package/dist/esm/dialog-body/index.js +5 -0
  336. package/dist/esm/dialog-body/index.js.map +1 -0
  337. package/dist/esm/divider/divider.bench.js +10 -0
  338. package/dist/esm/divider/divider.bench.js.map +1 -0
  339. package/dist/esm/divider/divider.js +56 -11
  340. package/dist/esm/divider/divider.js.map +1 -1
  341. package/dist/esm/divider/divider.options.js +14 -5
  342. package/dist/esm/divider/divider.options.js.map +1 -1
  343. package/dist/esm/divider/divider.styles.js +1 -1
  344. package/dist/esm/divider/divider.styles.js.map +1 -1
  345. package/dist/esm/divider/divider.template.js +4 -1
  346. package/dist/esm/divider/divider.template.js.map +1 -1
  347. package/dist/esm/divider/index.js +2 -2
  348. package/dist/esm/divider/index.js.map +1 -1
  349. package/dist/esm/field/define.js +4 -0
  350. package/dist/esm/field/define.js.map +1 -0
  351. package/dist/esm/field/field.bench.js +10 -0
  352. package/dist/esm/field/field.bench.js.map +1 -0
  353. package/dist/esm/field/field.definition.js +20 -0
  354. package/dist/esm/field/field.definition.js.map +1 -0
  355. package/dist/esm/field/field.js +139 -0
  356. package/dist/esm/field/field.js.map +1 -0
  357. package/dist/esm/field/field.options.js +27 -0
  358. package/dist/esm/field/field.options.js.map +1 -0
  359. package/dist/esm/field/field.styles.js +186 -0
  360. package/dist/esm/field/field.styles.js.map +1 -0
  361. package/dist/esm/field/field.template.js +26 -0
  362. package/dist/esm/field/field.template.js.map +1 -0
  363. package/dist/esm/field/index.js +6 -0
  364. package/dist/esm/field/index.js.map +1 -0
  365. package/dist/esm/form-associated/form-associated.js +458 -0
  366. package/dist/esm/form-associated/form-associated.js.map +1 -0
  367. package/dist/esm/image/image.bench.js +14 -0
  368. package/dist/esm/image/image.bench.js.map +1 -0
  369. package/dist/esm/image/image.js +1 -6
  370. package/dist/esm/image/image.js.map +1 -1
  371. package/dist/esm/image/index.js +2 -2
  372. package/dist/esm/image/index.js.map +1 -1
  373. package/dist/esm/index-rollup.js +32 -1
  374. package/dist/esm/index-rollup.js.map +1 -1
  375. package/dist/esm/index.js +39 -30
  376. package/dist/esm/index.js.map +1 -1
  377. package/dist/esm/label/index.js +2 -1
  378. package/dist/esm/label/index.js.map +1 -1
  379. package/dist/esm/label/label.bench.js +11 -0
  380. package/dist/esm/label/label.bench.js.map +1 -0
  381. package/dist/esm/label/label.js +1 -6
  382. package/dist/esm/label/label.js.map +1 -1
  383. package/dist/esm/label/label.styles.js +13 -6
  384. package/dist/esm/label/label.styles.js.map +1 -1
  385. package/dist/esm/link/define.js +4 -0
  386. package/dist/esm/link/define.js.map +1 -0
  387. package/dist/esm/link/index.js +5 -0
  388. package/dist/esm/link/index.js.map +1 -0
  389. package/dist/esm/link/link.bench.js +11 -0
  390. package/dist/esm/link/link.bench.js.map +1 -0
  391. package/dist/esm/link/link.definition.js +15 -0
  392. package/dist/esm/link/link.definition.js.map +1 -0
  393. package/dist/esm/link/link.js +36 -0
  394. package/dist/esm/link/link.js.map +1 -0
  395. package/dist/esm/link/link.options.js +21 -0
  396. package/dist/esm/link/link.options.js.map +1 -0
  397. package/dist/esm/link/link.styles.js +73 -0
  398. package/dist/esm/link/link.styles.js.map +1 -0
  399. package/dist/esm/link/link.template.js +22 -0
  400. package/dist/esm/link/link.template.js.map +1 -0
  401. package/dist/esm/menu/index.js +1 -1
  402. package/dist/esm/menu/index.js.map +1 -1
  403. package/dist/esm/menu/menu.bench.js +31 -0
  404. package/dist/esm/menu/menu.bench.js.map +1 -0
  405. package/dist/esm/menu/menu.js +26 -29
  406. package/dist/esm/menu/menu.js.map +1 -1
  407. package/dist/esm/menu-button/index.js +3 -3
  408. package/dist/esm/menu-button/index.js.map +1 -1
  409. package/dist/esm/menu-button/menu-button.bench.js +11 -0
  410. package/dist/esm/menu-button/menu-button.bench.js.map +1 -0
  411. package/dist/esm/menu-button/menu-button.definition.js +0 -6
  412. package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
  413. package/dist/esm/menu-button/menu-button.options.js.map +1 -1
  414. package/dist/esm/menu-button/menu-button.template.js +6 -2
  415. package/dist/esm/menu-button/menu-button.template.js.map +1 -1
  416. package/dist/esm/menu-item/index.js +4 -3
  417. package/dist/esm/menu-item/index.js.map +1 -1
  418. package/dist/esm/menu-item/menu-item.bench.js +11 -0
  419. package/dist/esm/menu-item/menu-item.bench.js.map +1 -0
  420. package/dist/esm/menu-item/menu-item.definition.js +0 -4
  421. package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
  422. package/dist/esm/menu-item/menu-item.js +265 -4
  423. package/dist/esm/menu-item/menu-item.js.map +1 -1
  424. package/dist/esm/menu-item/menu-item.options.js +27 -0
  425. package/dist/esm/menu-item/menu-item.options.js.map +1 -0
  426. package/dist/esm/menu-item/menu-item.styles.js +1 -1
  427. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  428. package/dist/esm/menu-item/menu-item.template.js +57 -2
  429. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  430. package/dist/esm/menu-list/index.js +1 -1
  431. package/dist/esm/menu-list/index.js.map +1 -1
  432. package/dist/esm/menu-list/menu-list.bench.js +21 -0
  433. package/dist/esm/menu-list/menu-list.bench.js.map +1 -0
  434. package/dist/esm/menu-list/menu-list.definition.js +0 -4
  435. package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
  436. package/dist/esm/menu-list/menu-list.js +262 -11
  437. package/dist/esm/menu-list/menu-list.js.map +1 -1
  438. package/dist/esm/menu-list/menu-list.styles.js +1 -1
  439. package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
  440. package/dist/esm/menu-list/menu-list.template.js +13 -1
  441. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  442. package/dist/esm/patterns/aria-globals.js +72 -0
  443. package/dist/esm/patterns/aria-globals.js.map +1 -0
  444. package/dist/esm/patterns/index.js +3 -0
  445. package/dist/esm/patterns/index.js.map +1 -0
  446. package/dist/esm/patterns/start-end.js +29 -0
  447. package/dist/esm/patterns/start-end.js.map +1 -0
  448. package/dist/esm/progress-bar/index.js +2 -2
  449. package/dist/esm/progress-bar/index.js.map +1 -1
  450. package/dist/esm/progress-bar/progress-bar.bench.js +10 -0
  451. package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -0
  452. package/dist/esm/progress-bar/progress-bar.js +66 -13
  453. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  454. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  455. package/dist/esm/progress-bar/progress-bar.styles.js +49 -128
  456. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  457. package/dist/esm/progress-bar/progress-bar.template.js +11 -5
  458. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  459. package/dist/esm/radio/index.js +1 -1
  460. package/dist/esm/radio/index.js.map +1 -1
  461. package/dist/esm/radio/radio.bench.js +11 -0
  462. package/dist/esm/radio/radio.bench.js.map +1 -0
  463. package/dist/esm/radio/radio.form-associated.js +14 -0
  464. package/dist/esm/radio/radio.form-associated.js.map +1 -0
  465. package/dist/esm/radio/radio.js +91 -3
  466. package/dist/esm/radio/radio.js.map +1 -1
  467. package/dist/esm/radio/radio.styles.js +1 -1
  468. package/dist/esm/radio/radio.styles.js.map +1 -1
  469. package/dist/esm/radio/radio.template.js +28 -2
  470. package/dist/esm/radio/radio.template.js.map +1 -1
  471. package/dist/esm/radio-group/index.js +2 -2
  472. package/dist/esm/radio-group/index.js.map +1 -1
  473. package/dist/esm/radio-group/radio-group.bench.js +21 -0
  474. package/dist/esm/radio-group/radio-group.bench.js.map +1 -0
  475. package/dist/esm/radio-group/radio-group.js +347 -9
  476. package/dist/esm/radio-group/radio-group.js.map +1 -1
  477. package/dist/esm/radio-group/radio-group.options.js +7 -0
  478. package/dist/esm/radio-group/radio-group.options.js.map +1 -0
  479. package/dist/esm/radio-group/radio-group.styles.js +1 -1
  480. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  481. package/dist/esm/radio-group/radio-group.template.js +30 -1
  482. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  483. package/dist/esm/slider/index.js +2 -2
  484. package/dist/esm/slider/index.js.map +1 -1
  485. package/dist/esm/slider/slider-utilities.js +12 -0
  486. package/dist/esm/slider/slider-utilities.js.map +1 -0
  487. package/dist/esm/slider/slider.bench.js +10 -0
  488. package/dist/esm/slider/slider.bench.js.map +1 -0
  489. package/dist/esm/slider/slider.form-associated.js +14 -0
  490. package/dist/esm/slider/slider.form-associated.js.map +1 -0
  491. package/dist/esm/slider/slider.js +433 -22
  492. package/dist/esm/slider/slider.js.map +1 -1
  493. package/dist/esm/slider/slider.options.js +11 -1
  494. package/dist/esm/slider/slider.options.js.map +1 -1
  495. package/dist/esm/slider/slider.styles.js +1 -1
  496. package/dist/esm/slider/slider.styles.js.map +1 -1
  497. package/dist/esm/slider/slider.template.js +39 -2
  498. package/dist/esm/slider/slider.template.js.map +1 -1
  499. package/dist/esm/spinner/index.js +2 -2
  500. package/dist/esm/spinner/index.js.map +1 -1
  501. package/dist/esm/spinner/spinner.bench.js +10 -0
  502. package/dist/esm/spinner/spinner.bench.js.map +1 -0
  503. package/dist/esm/spinner/spinner.definition.js +0 -4
  504. package/dist/esm/spinner/spinner.definition.js.map +1 -1
  505. package/dist/esm/spinner/spinner.js +13 -9
  506. package/dist/esm/spinner/spinner.js.map +1 -1
  507. package/dist/esm/spinner/spinner.styles.js +3 -17
  508. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  509. package/dist/esm/spinner/spinner.template.js +8 -21
  510. package/dist/esm/spinner/spinner.template.js.map +1 -1
  511. package/dist/esm/styles/partials/badge.partials.js +44 -43
  512. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  513. package/dist/esm/styles/partials/index.js +1 -0
  514. package/dist/esm/styles/partials/index.js.map +1 -1
  515. package/dist/esm/styles/partials/typography.partials.js +105 -0
  516. package/dist/esm/styles/partials/typography.partials.js.map +1 -0
  517. package/dist/esm/styles/states/index.js +112 -0
  518. package/dist/esm/styles/states/index.js.map +1 -0
  519. package/dist/esm/switch/index.js +2 -2
  520. package/dist/esm/switch/index.js.map +1 -1
  521. package/dist/esm/switch/switch.bench.js +11 -0
  522. package/dist/esm/switch/switch.bench.js.map +1 -0
  523. package/dist/esm/switch/switch.form-associated.js +14 -0
  524. package/dist/esm/switch/switch.form-associated.js.map +1 -0
  525. package/dist/esm/switch/switch.js +2 -12
  526. package/dist/esm/switch/switch.js.map +1 -1
  527. package/dist/esm/switch/switch.styles.js +38 -58
  528. package/dist/esm/switch/switch.styles.js.map +1 -1
  529. package/dist/esm/switch/switch.template.js +15 -1
  530. package/dist/esm/switch/switch.template.js.map +1 -1
  531. package/dist/esm/tab/index.js +3 -3
  532. package/dist/esm/tab/index.js.map +1 -1
  533. package/dist/esm/tab/tab.bench.js +11 -0
  534. package/dist/esm/tab/tab.bench.js.map +1 -0
  535. package/dist/esm/tab/tab.js +9 -3
  536. package/dist/esm/tab/tab.js.map +1 -1
  537. package/dist/esm/tab/tab.styles.js +1 -1
  538. package/dist/esm/tab/tab.styles.js.map +1 -1
  539. package/dist/esm/tab/tab.template.js +1 -1
  540. package/dist/esm/tab/tab.template.js.map +1 -1
  541. package/dist/esm/tab-panel/index.js +1 -1
  542. package/dist/esm/tab-panel/index.js.map +1 -1
  543. package/dist/esm/tab-panel/tab-panel.bench.js +13 -0
  544. package/dist/esm/tab-panel/tab-panel.bench.js.map +1 -0
  545. package/dist/esm/tab-panel/tab-panel.js +2 -2
  546. package/dist/esm/tab-panel/tab-panel.js.map +1 -1
  547. package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
  548. package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
  549. package/dist/esm/tab-panel/tab-panel.template.js +8 -1
  550. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
  551. package/dist/esm/tabs/index.js +4 -4
  552. package/dist/esm/tabs/index.js.map +1 -1
  553. package/dist/esm/tabs/tabs.bench.js +32 -0
  554. package/dist/esm/tabs/tabs.bench.js.map +1 -0
  555. package/dist/esm/tabs/tabs.js +292 -20
  556. package/dist/esm/tabs/tabs.js.map +1 -1
  557. package/dist/esm/tabs/tabs.options.js +6 -2
  558. package/dist/esm/tabs/tabs.options.js.map +1 -1
  559. package/dist/esm/tabs/tabs.styles.js +1 -1
  560. package/dist/esm/tabs/tabs.styles.js.map +1 -1
  561. package/dist/esm/tabs/tabs.template.js +14 -1
  562. package/dist/esm/tabs/tabs.template.js.map +1 -1
  563. package/dist/esm/text/index.js +2 -2
  564. package/dist/esm/text/index.js.map +1 -1
  565. package/dist/esm/text/text.bench.js +13 -0
  566. package/dist/esm/text/text.bench.js.map +1 -0
  567. package/dist/esm/text/text.js +1 -6
  568. package/dist/esm/text/text.js.map +1 -1
  569. package/dist/esm/text/text.styles.js +49 -25
  570. package/dist/esm/text/text.styles.js.map +1 -1
  571. package/dist/esm/text-input/index.js +4 -5
  572. package/dist/esm/text-input/index.js.map +1 -1
  573. package/dist/esm/text-input/text-input.bench.js +10 -0
  574. package/dist/esm/text-input/text-input.bench.js.map +1 -0
  575. package/dist/esm/text-input/text-input.definition.js +5 -3
  576. package/dist/esm/text-input/text-input.definition.js.map +1 -1
  577. package/dist/esm/text-input/text-input.js +398 -11
  578. package/dist/esm/text-input/text-input.js.map +1 -1
  579. package/dist/esm/text-input/text-input.options.js +35 -2
  580. package/dist/esm/text-input/text-input.options.js.map +1 -1
  581. package/dist/esm/text-input/text-input.styles.js +22 -12
  582. package/dist/esm/text-input/text-input.styles.js.map +1 -1
  583. package/dist/esm/text-input/text-input.template.js +55 -2
  584. package/dist/esm/text-input/text-input.template.js.map +1 -1
  585. package/dist/esm/theme/design-tokens.js +2181 -386
  586. package/dist/esm/theme/design-tokens.js.map +1 -1
  587. package/dist/esm/theme/set-theme.js +26 -3
  588. package/dist/esm/theme/set-theme.js.map +1 -1
  589. package/dist/esm/toggle-button/index.js +4 -4
  590. package/dist/esm/toggle-button/index.js.map +1 -1
  591. package/dist/esm/toggle-button/toggle-button.bench.js +11 -0
  592. package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -0
  593. package/dist/esm/toggle-button/toggle-button.definition.js +0 -5
  594. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
  595. package/dist/esm/toggle-button/toggle-button.js +44 -91
  596. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  597. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
  598. package/dist/esm/toggle-button/toggle-button.styles.js +32 -26
  599. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  600. package/dist/esm/toggle-button/toggle-button.template.js +1 -1
  601. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -1
  602. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +142 -0
  603. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -0
  604. package/dist/esm/utils/benchmark-dependencies/tokens.js +2 -0
  605. package/dist/esm/utils/benchmark-dependencies/tokens.js.map +1 -0
  606. package/dist/esm/utils/benchmark-wrapper.js +18 -0
  607. package/dist/esm/utils/benchmark-wrapper.js.map +1 -0
  608. package/dist/esm/utils/direction.js +15 -0
  609. package/dist/esm/utils/direction.js.map +1 -0
  610. package/dist/esm/utils/display.js +15 -0
  611. package/dist/esm/utils/display.js.map +1 -0
  612. package/dist/esm/utils/element-internals.js +32 -0
  613. package/dist/esm/utils/element-internals.js.map +1 -0
  614. package/dist/esm/utils/get-initials.js.map +1 -1
  615. package/dist/esm/utils/index.js +7 -0
  616. package/dist/esm/utils/index.js.map +1 -0
  617. package/dist/esm/utils/template-helpers.js +19 -0
  618. package/dist/esm/utils/template-helpers.js.map +1 -0
  619. package/dist/esm/utils/typings.js +3 -0
  620. package/dist/esm/utils/typings.js.map +1 -0
  621. package/dist/esm/utils/whitespace-filter.js +13 -0
  622. package/dist/esm/utils/whitespace-filter.js.map +1 -0
  623. package/dist/web-components.d.ts +6312 -1611
  624. package/dist/web-components.js +5593 -6543
  625. package/dist/web-components.min.js +398 -251
  626. package/package.json +41 -13
  627. package/dist/fluent-web-components.api.json +0 -19686
  628. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +0 -1
  629. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +0 -1
  630. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +0 -2
  631. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +0 -17
  632. package/dist/storybook/401.7edec720.iframe.bundle.js +0 -2
  633. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +0 -12
  634. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +0 -2
  635. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +0 -12
  636. package/dist/storybook/491.77b24750.iframe.bundle.js +0 -1
  637. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +0 -2
  638. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +0 -94
  639. package/dist/storybook/677.939f187f.iframe.bundle.js +0 -462
  640. package/dist/storybook/677.939f187f.iframe.bundle.js.LICENSE.txt +0 -46
  641. package/dist/storybook/677.939f187f.iframe.bundle.js.map +0 -1
  642. package/dist/storybook/709.22096ad4.iframe.bundle.js +0 -2
  643. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +0 -8
  644. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +0 -2
  645. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +0 -8
  646. package/dist/storybook/721.46fa9f53.iframe.bundle.js +0 -2
  647. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +0 -31
  648. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +0 -2
  649. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +0 -31
  650. package/dist/storybook/858.da40ed98.iframe.bundle.js +0 -1
  651. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +0 -1
  652. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +0 -1
  653. package/dist/storybook/954.630c5748.iframe.bundle.js +0 -1
  654. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +0 -1
  655. package/dist/storybook/SegoeUI-VF.ttf +0 -0
  656. package/dist/storybook/favicon.ico +0 -0
  657. package/dist/storybook/favicon.png +0 -0
  658. package/dist/storybook/iframe.html +0 -364
  659. package/dist/storybook/index.html +0 -165
  660. package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +0 -1
  661. package/dist/storybook/main.b782e9fb.iframe.bundle.js +0 -2
  662. package/dist/storybook/main.b782e9fb.iframe.bundle.js.LICENSE.txt +0 -1
  663. package/dist/storybook/project.json +0 -1
  664. package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +0 -1
  665. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +0 -1
  666. package/dist/storybook/shell.css +0 -83
  667. package/dist/storybook/theme-switch.ts +0 -13
  668. package/docs/api-report.md +0 -2427
  669. package/playwright.config.ts +0 -25
@@ -1,35 +1,62 @@
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),X=q+"{",W="}"+q,U=W.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${X}${e}${W}`,attribute:e=>`${K()}="${X}${e}${W}"`,comment:e=>`\x3c!--${X}${e}${W}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(X);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(W);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 Xe;class We 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 Xe(e,o)}static setStrategy(e){Xe=e}}function Ue(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=qe(e))&&void 0!==t?t:e.getRootNode()}p(We),We.setStrategy(We);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(),We.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 Xt=new WeakMap,Wt=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(Xt.has(e))return Xt.get(e);let t;return t=e instanceof Document?N.supportsAdoptedStyleSheets?new _t:new jt:new Wt(e),Xt.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"),Xo=eo("spacingHorizontalL"),Wo=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"),Xr=eo("colorBrandForegroundLinkPressed"),Wr=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"),Xi=eo("colorSubtleBackgroundHover"),Wi=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"),Xa=eo("colorCompoundBrandStrokePressed"),Wa=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"),Xn=eo("colorPaletteBerryBackground2"),Wn=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"),Xs=eo("colorPaletteDarkGreenForeground2"),Ws=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"),Xl=eo("colorPaletteAnchorForeground2"),Wl=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:Xo,spacingHorizontalXL:Wo,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:Xr,colorBrandForegroundLinkSelected:Wr,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:Xi,colorSubtleBackgroundPressed:Wi,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:Xa,colorNeutralStrokeDisabled:Wa,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:Xn,colorPaletteBerryBackground3:Wn,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:Xs,colorPaletteDarkGreenBorderActive:Ws,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:Xl,colorPaletteAnchorBorderActive:Wl,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 ${Xo};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:${Xi};color:${Tr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Wi};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:${Wa};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[Xc(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 Xc=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},Wc=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():Wc}</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:${Xs};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:${Xl};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 b=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements});let Oo;const _s="fast-kernel";try{if(document.currentScript)Oo=document.currentScript.getAttribute(_s);else{const o=document.getElementsByTagName("script");Oo=o[o.length-1].getAttribute(_s)}}catch{Oo="isolate"}let Be;switch(Oo){case"share":Be=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":Be=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)}`;Be=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}const ue=o=>typeof o=="function",Mt=o=>typeof o=="string",Rs=()=>{};var Mi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof Mi<"u")Mi.globalThis=Mi;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 Ds={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},Ds));const Y=globalThis.FAST;if(Y.getById===void 0){const o=Object.create(null);Reflect.defineProperty(Y,"getById",Object.assign({value(t,e){let i=o[t];return i===void 0&&(i=e?o[t]=e():null),i}},Ds))}Y.error===void 0&&Object.assign(Y,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const Hs=Object.freeze([]);function Li(){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 Vs(){const o=new WeakMap;return function(t){let e=o.get(t);if(e===void 0){let i=Reflect.getPrototypeOf(t);for(;e===void 0&&i!==null;)e=o.get(i),i=Reflect.getPrototypeOf(i);e=e===void 0?[]:e.slice(0),o.set(t,e)}return e}}function qe(o){o.prototype.toJSON=Rs}const tt=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),Ns=o=>o,pa=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:Ns}):{createHTML:Ns};let Ao=Object.freeze({createHTML(o){return pa.createHTML(o)},protect(o,t,e,i){return i}});const fa=Ao,We=Object.freeze({get policy(){return Ao},setPolicy(o){if(Ao!==fa)throw Y.error(1201);Ao=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)}}),wt=Y.getById(Be.updateQueue,()=>{const o=[],t=[],e=globalThis.requestAnimationFrame;let i=!0;function s(){if(t.length)throw t.shift()}function r(h){try{h.call()}catch(d){if(i)t.push(d),setTimeout(s,0);else throw o.length=0,d}}function n(){let d=0;for(;d<o.length;)if(r(o[d]),d++,d>1024){for(let l=0,p=o.length-d;l<p;l++)o[l]=o[l+d];o.length-=d,d=0}o.length=0}function c(h){o.push(h),o.length<2&&(i?e(n):n())}return Object.freeze({enqueue:c,next:()=>new Promise(c),process:n,setMode:h=>i=h})});class _i{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 i=e.indexOf(t);i!==-1&&e.splice(i,1)}}notify(t){const e=this.spillover,i=this.subject;if(e===void 0){const s=this.sub1,r=this.sub2;s!==void 0&&s.handleChange(i,t),r!==void 0&&r.handleChange(i,t)}else for(let s=0,r=e.length;s<r;++s)e[s].handleChange(i,t)}}class js{constructor(t){this.subscribers={},this.subjectSubscribers=null,this.subject=t}notify(t){var e,i;(e=this.subscribers[t])===null||e===void 0||e.notify(t),(i=this.subjectSubscribers)===null||i===void 0||i.notify(t)}subscribe(t,e){var i,s;let r;e?r=(i=this.subscribers[e])!==null&&i!==void 0?i:this.subscribers[e]=new _i(this.subject):r=(s=this.subjectSubscribers)!==null&&s!==void 0?s:this.subjectSubscribers=new _i(this.subject),r.subscribe(t)}unsubscribe(t,e){var i,s;e?(i=this.subscribers[e])===null||i===void 0||i.unsubscribe(t):(s=this.subjectSubscribers)===null||s===void 0||s.unsubscribe(t)}}const Ri=Object.freeze({unknown:void 0,coupled:1}),w=Y.getById(Be.observable,()=>{const o=wt.enqueue,t=/(:|&&|\|\||if|\?\.)/,e=new WeakMap;let i,s=d=>{throw Y.error(1101)};function r(d){var l;let p=(l=d.$fastController)!==null&&l!==void 0?l:e.get(d);return p===void 0&&(Array.isArray(d)?p=s(d):e.set(d,p=new js(d))),p}const n=Vs();class c{constructor(l){this.name=l,this.field=`_${l}`,this.callback=`${l}Changed`}getValue(l){return i!==void 0&&i.watch(l,this.name),l[this.field]}setValue(l,p){const f=this.field,g=l[f];if(g!==p){l[f]=p;const m=l[this.callback];ue(m)&&m.call(l,g,p),r(l).notify(this.name)}}}class h extends _i{constructor(l,p,f=!1){super(l,p),this.expression=l,this.isVolatileBinding=f,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(l){this.isAsync=this.needsQueue=l}bind(l){this.controller=l;const p=this.observe(l.source,l.context);return!l.isBound&&this.requiresUnbind(l)&&l.onUnbind(this),p}requiresUnbind(l){return l.sourceLifetime!==Ri.coupled||this.first!==this.last||this.first.propertySource!==l.source}unbind(l){this.dispose()}observe(l,p){this.needsRefresh&&this.last!==null&&this.dispose();const f=i;i=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let g;try{g=this.expression(l,p)}finally{i=f}return g}disconnect(){this.dispose()}dispose(){if(this.last!==null){let l=this.first;for(;l!==void 0;)l.notifier.unsubscribe(this,l.propertyName),l=l.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(l,p){const f=this.last,g=r(l),m=f===null?this.first:{};if(m.propertySource=l,m.propertyName=p,m.notifier=g,g.subscribe(this,p),f!==null){if(!this.needsRefresh){let k;i=void 0,k=f.propertySource[f.propertyName],i=this,l===k&&(this.needsRefresh=!0)}f.next=m}this.last=m}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 l=this.first;for(;l!==void 0;)yield l,l=l.next}}return qe(h),Object.freeze({setArrayObserverFactory(d){s=d},getNotifier:r,track(d,l){i&&i.watch(d,l)},trackVolatile(){i&&(i.needsRefresh=!0)},notify(d,l){r(d).notify(l)},defineProperty(d,l){Mt(l)&&(l=new c(l)),n(d).push(l),Reflect.defineProperty(d,l.name,{enumerable:!0,get(){return l.getValue(this)},set(p){l.setValue(this,p)}})},getAccessors:n,binding(d,l,p=this.isVolatileBinding(d)){return new h(d,l,p)},isVolatileBinding(d){return t.test(d.toString())}})});function y(o,t){w.defineProperty(o,t)}function ga(o,t,e){return Object.assign({},e,{get(){return w.trackVolatile(),e.get.apply(this)}})}const qs=Y.getById(Be.contextEvent,()=>{let o=null;return{get(){return o},set(t){o=t}}}),ao=Object.freeze({default:{index:0,length:0,get event(){return ao.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return qs.get()},setEvent(o){qs.set(o)}});class Eo{constructor(t,e,i=!1){this.evaluate=t,this.policy=e,this.isVolatile=i}}class ba extends Eo{createObserver(t){return w.binding(this.evaluate,t,this.isVolatile)}}function Ws(o,t,e=w.isVolatileBinding(o)){return new ba(o,t,e)}class Gs extends Eo{createObserver(){return this}bind(t){return this.evaluate(t.source,t.context)}}qe(Gs);function Us(o,t){return new Gs(o,t)}let Xs;function Ks(o){return o.map(t=>t instanceof dt?Ks(t.styles):[t]).reduce((t,e)=>t.concat(e),[])}class dt{constructor(t){this.styles=t,this.targets=new WeakSet,this._strategy=null,this.behaviors=t.map(e=>e instanceof dt?e.behaviors:null).reduce((e,i)=>i===null?e:e===null?i:e.concat(i),null)}get strategy(){return this._strategy===null&&this.withStrategy(Xs),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(Ks(this.styles)),this}static setDefaultStrategy(t){Xs=t}static normalize(t){return t===void 0?void 0:Array.isArray(t)?new dt(t):t instanceof dt?t:new dt([t])}}dt.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const Di=Li(),Hi=Object.freeze({getForInstance:Di.getForInstance,getByType:Di.getByType,define(o){return Di.register({type:o}),o}});function Vi(o,t,e){t.source.style.setProperty(o.targetAspect,e.bind(t))}class Ni{constructor(t,e){this.dataBinding=t,this.targetAspect=e}createCSS(t){return t(this),`var(${this.targetAspect})`}addedCallback(t){var e;const i=t.source;if(!i.$cssBindings){i.$cssBindings=new Map;const r=i.setAttribute;i.setAttribute=(n,c)=>{r.call(i,n,c),n==="style"&&i.$cssBindings.forEach((h,d)=>Vi(d,h.controller,h.observer))}}const s=(e=t[this.targetAspect])!==null&&e!==void 0?e:t[this.targetAspect]=this.dataBinding.createObserver(this,this);s.controller=t,t.source.$cssBindings.set(this,{controller:t,observer:s})}connectedCallback(t){Vi(this,t,t[this.targetAspect])}removedCallback(t){t.source.$cssBindings&&t.source.$cssBindings.delete(this)}handleChange(t,e){Vi(this,e.controller,e)}}Hi.define(Ni);const ma=`${Math.random().toString(36).substring(2,8)}`;let va=0;const Ys=()=>`--v${ma}${++va}`;function Qs(o,t){const e=[];let i="";const s=[],r=n=>{s.push(n)};for(let n=0,c=o.length-1;n<c;++n){i+=o[n];let h=t[n];ue(h)?h=new Ni(Ws(h),Ys()).createCSS(r):h instanceof Eo?h=new Ni(h,Ys()).createCSS(r):Hi.getForInstance(h)!==void 0&&(h=h.createCSS(r)),h instanceof dt||h instanceof CSSStyleSheet?(i.trim()!==""&&(e.push(i),i=""),e.push(h)):i+=h}return i+=o[o.length-1],i.trim()!==""&&e.push(i),{styles:e,behaviors:s}}const u=(o,...t)=>{const{styles:e,behaviors:i}=Qs(o,t),s=new dt(e);return i.length?s.withBehaviors(...i):s};class Zs{constructor(t,e){this.behaviors=e,this.css="";const i=t.reduce((s,r)=>(Mt(r)?this.css+=r:s.push(r),s),[]);i.length&&(this.styles=new dt(i))}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)}}Hi.define(Zs),u.partial=(o,...t)=>{const{styles:e,behaviors:i}=Qs(o,t);return new Zs(e,i)};const ji=`fast-${Math.random().toString(36).substring(2,8)}`,Mo=`${ji}{`,lo=`}${ji}`,$a=lo.length;let ya=0;const qi=()=>`${ji}-${++ya}`,Js=Object.freeze({interpolation:o=>`${Mo}${o}${lo}`,attribute:o=>`${qi()}="${Mo}${o}${lo}"`,comment:o=>`<!--${Mo}${o}${lo}-->`}),Lo=Object.freeze({parse(o,t){const e=o.split(Mo);if(e.length===1)return null;const i=[];for(let s=0,r=e.length;s<r;++s){const n=e[s],c=n.indexOf(lo);let h;if(c===-1)h=n;else{const d=n.substring(0,c);i.push(t[d]),h=n.substring(c+$a)}h!==""&&i.push(h)}return i}}),Wi=Li(),Ct=Object.freeze({getForInstance:Wi.getForInstance,getByType:Wi.getByType,define(o,t){return t=t||{},t.type=o,Wi.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 Gi{constructor(t){this.options=t}createHTML(t){return Js.attribute(t(this))}createBehavior(){return this}}qe(Gi);function xa(o,t,e,i){if(e==null&&(e=""),e.create){o.textContent="";let s=o.$fastView;s===void 0?s=e.create():o.$fastTemplate!==e&&(s.isComposed&&(s.remove(),s.unbind()),s=e.create()),s.isComposed?s.needsBindOnly&&(s.needsBindOnly=!1,s.bind(i.source,i.context)):(s.isComposed=!0,s.bind(i.source,i.context),s.insertBefore(o),o.$fastView=s,o.$fastTemplate=e)}else{const s=o.$fastView;s!==void 0&&s.isComposed&&(s.isComposed=!1,s.remove(),s.needsBindOnly?s.needsBindOnly=!1:s.unbind()),o.textContent=e}}function ka(o,t,e){var i;const s=`${this.id}-t`,r=(i=o[s])!==null&&i!==void 0?i:o[s]={v:0,cv:Object.create(null)},n=r.cv;let c=r.v;const h=o[t];if(e!=null&&e.length){const d=e.split(/\s+/);for(let l=0,p=d.length;l<p;++l){const f=d[l];f!==""&&(n[f]=c,h.add(f))}}if(r.v=c+1,c!==0){c-=1;for(const d in n)n[d]===c&&h.remove(d)}}const wa={[tt.attribute]:We.setAttribute,[tt.booleanAttribute]:We.setBooleanAttribute,[tt.property]:(o,t,e)=>o[t]=e,[tt.content]:xa,[tt.tokenList]:ka,[tt.event]:()=>{}};class Ge{constructor(t){this.dataBinding=t,this.updateTarget=null,this.aspectType=tt.content}createHTML(t){return Js.interpolation(t(this))}createBehavior(){var t;if(this.updateTarget===null){const e=wa[this.aspectType],i=(t=this.dataBinding.policy)!==null&&t!==void 0?t:this.policy;if(!e)throw Y.error(1205);this.data=`${this.id}-d`,this.updateTarget=i.protect(this.targetTagName,this.aspectType,this.targetAspect,e)}return this}bind(t){var e;const i=t.targets[this.targetNodeId];switch(this.aspectType){case tt.event:i[this.data]=t,i.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case tt.content:t.onUnbind(this);default:const s=(e=i[this.data])!==null&&e!==void 0?e:i[this.data]=this.dataBinding.createObserver(this,this);s.target=i,s.controller=t,this.updateTarget(i,this.targetAspect,s.bind(t),t);break}}unbind(t){const i=t.targets[this.targetNodeId].$fastView;i!==void 0&&i.isComposed&&(i.unbind(),i.needsBindOnly=!0)}handleEvent(t){const e=t.currentTarget[this.data];if(e.isBound){ao.setEvent(t);const i=this.dataBinding.evaluate(e.source,e.context);ao.setEvent(null),i!==!0&&t.preventDefault()}}handleChange(t,e){const i=e.target,s=e.controller;this.updateTarget(i,this.targetAspect,e.bind(s),s)}}Ct.define(Ge,{aspected:!0});function tr(o,t){const e=o.parentNode;let i=o,s;for(;i!==t;)s=i.nextSibling,e.removeChild(i),i=s;e.removeChild(t)}class _o{constructor(t,e,i){this.fragment=t,this.factories=e,this.targets=i,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=Ri.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=t.firstChild,this.lastChild=t.lastChild}get event(){return ao.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 i=t.parentNode;let s=this.firstChild,r;for(;s!==e;)r=s.nextSibling,i.insertBefore(s,t),s=r;i.insertBefore(e,t)}}remove(){const t=this.fragment,e=this.lastChild;let i=this.firstChild,s;for(;i!==e;)s=i.nextSibling,t.appendChild(i),i=s;t.appendChild(e)}dispose(){tr(this.firstChild,this.lastChild),this.unbind()}onUnbind(t){this.unbindables.push(t)}bind(t,e=this){if(this.source===t)return;let i=this.behaviors;if(i===null){this.source=t,this.context=e,this.behaviors=i=new Array(this.factories.length);const s=this.factories;for(let r=0,n=s.length;r<n;++r){const c=s[r].createBehavior();c.bind(this),i[r]=c}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=t,this.context=e;for(let s=0,r=i.length;s<r;++s)i[s].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,i=t.length;e<i;++e)t[e].unbind(this);t.length=0}static disposeContiguousBatch(t){if(t.length!==0){tr(t[0].firstChild,t[t.length-1].lastChild);for(let e=0,i=t.length;e<i;++e)t[e].unbind()}}}qe(_o),w.defineProperty(_o.prototype,"index"),w.defineProperty(_o.prototype,"length");const er=(o,t)=>`${o}.${t}`,or={},Lt={index:0,node:null};function ir(o){o.startsWith("fast-")||Y.warn(1204,{name:o})}const Ca=new Proxy(document.createElement("div"),{get(o,t){ir(t);const e=Reflect.get(o,t);return ue(e)?e.bind(o):e},set(o,t,e){return ir(t),Reflect.set(o,t,e)}});class Sa{constructor(t,e,i){this.fragment=t,this.directives=e,this.policy=i,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(t,e,i,s,r){var n,c;this.nodeIds.has(i)||(this.nodeIds.add(i),this.addTargetDescriptor(e,i,s)),t.id=(n=t.id)!==null&&n!==void 0?n:qi(),t.targetNodeId=i,t.targetTagName=r,t.policy=(c=t.policy)!==null&&c!==void 0?c:this.policy,this.factories.push(t)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(t,e,i){const s=this.descriptors;if(e==="r"||e==="h"||s[e])return;if(!s[t]){const n=t.lastIndexOf("."),c=t.substring(0,n),h=parseInt(t.substring(n+1));this.addTargetDescriptor(c,t,h)}let r=or[e];if(!r){const n=`_${e}`;or[e]=r={get(){var c;return(c=this[n])!==null&&c!==void 0?c:this[n]=this[t].childNodes[i]}}}s[e]=r}createView(t){const e=this.fragment.cloneNode(!0),i=Object.create(this.proto);i.r=e,i.h=t??Ca;for(const s of this.nodeIds)i[s];return new _o(e,this.factories,i)}}function sr(o,t,e,i,s,r=!1){const n=e.attributes,c=o.directives;for(let h=0,d=n.length;h<d;++h){const l=n[h],p=l.value,f=Lo.parse(p,c);let g=null;f===null?r&&(g=new Ge(Us(()=>p,o.policy)),Ct.assignAspect(g,l.name)):g=Ui.aggregate(f,o.policy),g!==null&&(e.removeAttributeNode(l),h--,d--,o.addFactory(g,t,i,s,e.tagName))}}function Ia(o,t,e,i,s){const r=Lo.parse(t.textContent,o.directives);if(r===null)return Lt.node=t.nextSibling,Lt.index=s+1,Lt;let n,c=n=t;for(let h=0,d=r.length;h<d;++h){const l=r[h];h!==0&&(s++,i=er(e,s),n=c.parentNode.insertBefore(document.createTextNode(""),c.nextSibling)),Mt(l)?n.textContent=l:(n.textContent=" ",Ct.assignAspect(l),o.addFactory(l,e,i,s,null)),c=n}return Lt.index=s+1,Lt.node=c.nextSibling,Lt}function rr(o,t,e){let i=0,s=t.firstChild;for(;s;){const r=Pa(o,e,s,i);s=r.node,i=r.index}}function Pa(o,t,e,i){const s=er(t,i);switch(e.nodeType){case 1:sr(o,t,e,s,i),rr(o,e,s);break;case 3:return Ia(o,e,t,s,i);case 8:const r=Lo.parse(e.data,o.directives);r!==null&&o.addFactory(Ui.aggregate(r),t,s,i,null);break}return Lt.index=i+1,Lt.node=e.nextSibling,Lt}function Ba(o,t){return o&&o.nodeType==8&&Lo.parse(o.data,t)!==null}const nr="TEMPLATE",Ui={compile(o,t,e=We.policy){let i;if(Mt(o)){i=document.createElement(nr),i.innerHTML=e.createHTML(o);const n=i.content.firstElementChild;n!==null&&n.tagName===nr&&(i=n)}else i=o;!i.content.firstChild&&!i.content.lastChild&&i.content.appendChild(document.createComment(""));const s=document.adoptNode(i.content),r=new Sa(s,t,e);return sr(r,"",i,"h",0,!0),(Ba(s.firstChild,t)||s.childNodes.length===1&&Object.keys(t).length>0)&&s.insertBefore(document.createComment(""),s.firstChild),rr(r,s,"r"),Lt.node=null,r.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,t=We.policy){if(o.length===1)return o[0];let e,i,s=!1,r;const n=o.length,c=o.map(l=>Mt(l)?()=>l:(e=l.sourceAspect||e,i=l.dataBinding||i,s=s||l.dataBinding.isVolatile,r=r||l.dataBinding.policy,l.dataBinding.evaluate)),h=(l,p)=>{let f="";for(let g=0;g<n;++g)f+=c[g](l,p);return f};i.evaluate=h,i.isVolatile=s,i.policy=r??t;const d=new Ge(i);return Ct.assignAspect(d,e),d}},Ta=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,za=Object.create(null);class Te{constructor(t,e=za){this.html=t,this.factories=e}createHTML(t){const e=this.factories;for(const i in e)t(e[i]);return this.html}}Te.empty=new Te(""),Ct.define(Te);function Fa(o,t,e,i=Ct.getForInstance(o)){if(i.aspected){const s=Ta.exec(t);s!==null&&Ct.assignAspect(o,s[2])}return o.createHTML(e)}class Fi{constructor(t,e={},i){this.policy=i,this.result=null,this.html=t,this.factories=e}create(t){return this.result===null&&(this.result=Ui.compile(this.html,this.factories,this.policy)),this.result.createView(t)}inline(){return new Te(Mt(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(t){if(this.result)throw Y.error(1208);if(this.policy)throw Y.error(1207);return this.policy=t,this}render(t,e,i){const s=this.create(i);return s.bind(t),s.appendTo(e),s}static create(t,e,i){let s="";const r=Object.create(null),n=c=>{var h;const d=(h=c.id)!==null&&h!==void 0?h:c.id=qi();return r[d]=c,d};for(let c=0,h=t.length-1;c<h;++c){const d=t[c];let l=e[c],p;if(s+=d,ue(l))l=new Ge(Ws(l));else if(l instanceof Eo)l=new Ge(l);else if(!(p=Ct.getForInstance(l))){const f=l;l=new Ge(Us(()=>f))}s+=Fa(l,d,n,p)}return new Fi(s+t[t.length-1],r,i)}}qe(Fi);const v=(o,...t)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return Fi.create(o,t);throw Y.error(1206)};v.partial=o=>new Te(o);class ar extends Gi{bind(t){t.source[this.options]=t.targets[this.targetNodeId]}}Ct.define(ar);const St=o=>new ar(o),Oa=()=>null;function lr(o){return o===void 0?Oa:ue(o)?o:()=>o}function Xi(o,t,e){const i=ue(o)?o:()=>o,s=lr(t),r=lr(e);return(n,c)=>i(n,c)?s(n,c):r(n,c)}const Aa=o=>o.nodeType===1,ze=o=>o?t=>t.nodeType===1&&t.matches(o):Aa;class cr extends Gi{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,Hs),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 dr="slotchange";class hr extends cr{observe(t){t.addEventListener(dr,this)}disconnect(t){t.removeEventListener(dr,this)}getNodes(t){return t.assignedNodes(this.options)}handleEvent(t){const e=t.currentTarget;this.updateTarget(this.getSource(e),this.computeNodes(e))}}Ct.define(hr);function ht(o){return Mt(o)&&(o={property:o}),new hr(o)}class ur extends cr{constructor(t){super(t),this.observerProperty=Symbol(),this.handleEvent=(e,i)=>{const s=i.target;this.updateTarget(this.getSource(s),this.computeNodes(s))},t.childList=!0}observe(t){let e=t[this.observerProperty];e||(e=new MutationObserver(this.handleEvent),e.toJSON=Rs,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)}}Ct.define(ur);function Ea(o){return Mt(o)&&(o={property:o}),new ur(o)}const pr="boolean",fr="reflect",Ro=Object.freeze({locate:Vs()}),gr={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function br(o){if(o==null)return null;const t=o*1;return isNaN(t)?null:t}const ut={toView(o){const t=br(o);return t&&t.toString()},fromView:br};class Oi{constructor(t,e,i=e.toLowerCase(),s=fr,r){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=i,this.mode=s,this.converter=r,this.fieldName=`_${e}`,this.callbackName=`${e}Changed`,this.hasCallback=this.callbackName in t.prototype,s===pr&&r===void 0&&(this.converter=gr)}setValue(t,e){const i=t[this.fieldName],s=this.converter;s!==void 0&&(e=s.fromView(e)),i!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](i,e),t.$fastController.notify(this.name))}getValue(t){return w.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,i=this.guards;i.has(t)||e==="fromView"||wt.enqueue(()=>{i.add(t);const s=t[this.fieldName];switch(e){case fr:const r=this.converter;We.setAttribute(t,this.attribute,r!==void 0?r.toView(s):s);break;case pr:We.setBooleanAttribute(t,this.attribute,s);break}i.delete(t)})}static collect(t,...e){const i=[];e.push(Ro.locate(t));for(let s=0,r=e.length;s<r;++s){const n=e[s];if(n!==void 0)for(let c=0,h=n.length;c<h;++c){const d=n[c];Mt(d)?i.push(new Oi(t,d)):i.push(new Oi(t,d.property,d.attribute,d.mode,d.converter))}}return i}}function a(o,t){let e;function i(s,r){arguments.length>1&&(e.property=r),Ro.locate(s.constructor).push(e)}if(arguments.length>1){e={},i(o,t);return}return e=o===void 0?{}:o,i}const mr={mode:"open"},vr={},$r=new Set,Do=Y.getById(Be.elementRegistry,()=>Li());class Et{constructor(t,e=t.definition){var i;this.platformDefined=!1,Mt(e)&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template,this.registry=(i=e.registry)!==null&&i!==void 0?i:customElements;const s=t.prototype,r=Oi.collect(t,e.attributes),n=new Array(r.length),c={},h={};for(let d=0,l=r.length;d<l;++d){const p=r[d];n[d]=p.attribute,c[p.name]=p,h[p.attribute]=p,w.defineProperty(s,p)}Reflect.defineProperty(t,"observedAttributes",{value:n,enumerable:!0}),this.attributes=r,this.propertyLookup=c,this.attributeLookup=h,this.shadowOptions=e.shadowOptions===void 0?mr:e.shadowOptions===null?void 0:Object.assign(Object.assign({},mr),e.shadowOptions),this.elementOptions=e.elementOptions===void 0?vr:Object.assign(Object.assign({},vr),e.elementOptions),this.styles=dt.normalize(e.styles),Do.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 $r.has(t)||Do.getByType(t)?new Et(class extends t{},e):new Et(t,e)}static registerBaseType(t){$r.add(t)}}Et.getByType=Do.getByType,Et.getForInstance=Do.getForInstance;const Ma={bubbles:!0,composed:!0,cancelable:!0},Ki="isConnected",yr=new WeakMap;function Ho(o){var t,e;return(e=(t=o.shadowRoot)!==null&&t!==void 0?t:yr.get(o))!==null&&e!==void 0?e:null}let xr;class Vo extends js{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 i=e.shadowOptions;if(i!==void 0){let r=t.shadowRoot;r?this.hasExistingShadowRoot=!0:(r=t.attachShadow(i),i.mode==="closed"&&yr.set(t,r))}const s=w.getAccessors(t);if(s.length>0){const r=this.boundObservables=Object.create(null);for(let n=0,c=s.length;n<c;++n){const h=s[n].name,d=t[h];d!==void 0&&(delete t[h],r[h]=d)}}}get isConnected(){return w.track(this,Ki),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:ao.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,i;const s=(e=this.behaviors)!==null&&e!==void 0?e:this.behaviors=new Map,r=(i=s.get(t))!==null&&i!==void 0?i:0;r===0?(s.set(t,1),t.addedCallback&&t.addedCallback(this),t.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===1||this.stage===0)&&t.connectedCallback(this)):s.set(t,r+1)}removeBehavior(t,e=!1){const i=this.behaviors;if(i===null)return;const s=i.get(t);s!==void 0&&(s===1||e?(i.delete(t),t.disconnectedCallback&&this.stage!==3&&t.disconnectedCallback(this),t.removedCallback&&t.removedCallback(this)):i.set(t,s-1))}addStyles(t){var e;if(!t)return;const i=this.source;if(t instanceof HTMLElement)((e=Ho(i))!==null&&e!==void 0?e:this.source).append(t);else if(!t.isAttachedTo(i)){const s=t.behaviors;if(t.addStylesTo(i),s!==null)for(let r=0,n=s.length;r<n;++r)this.addBehavior(s[r])}}removeStyles(t){var e;if(!t)return;const i=this.source;if(t instanceof HTMLElement)((e=Ho(i))!==null&&e!==void 0?e:i).removeChild(t);else if(t.isAttachedTo(i)){const s=t.behaviors;if(t.removeStylesFrom(i),s!==null)for(let r=0,n=s.length;r<n;++r)this.removeBehavior(s[r])}}connect(){if(this.stage!==3)return;if(this.stage=0,this.boundObservables!==null){const e=this.source,i=this.boundObservables,s=Object.keys(i);for(let r=0,n=s.length;r<n;++r){const c=s[r];e[c]=i[c]}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,w.notify(this,Ki)}disconnect(){if(this.stage!==1)return;this.stage=2,w.notify(this,Ki),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,i){const s=this.definition.attributeLookup[t];s!==void 0&&s.onAttributeChangedCallback(this.source,i)}emit(t,e,i){return this.stage===1?this.source.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},Ma),i))):!1}renderTemplate(t){var e;const i=this.source,s=(e=Ho(i))!==null&&e!==void 0?e:i;if(this.view!==null)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let r=s.firstChild;r!==null;r=s.firstChild)s.removeChild(r)}t&&(this.view=t.render(i,s,i),this.view.sourceLifetime=Ri.coupled)}static forCustomElement(t){const e=t.$fastController;if(e!==void 0)return e;const i=Et.getForInstance(t);if(i===void 0)throw Y.error(1401);return t.$fastController=new xr(t,i)}static setStrategy(t){xr=t}}qe(Vo),Vo.setStrategy(Vo);function No(o){var t;return"adoptedStyleSheets"in o?o:(t=Ho(o))!==null&&t!==void 0?t:o.getRootNode()}class Ai{constructor(t){const e=Ai.styleSheetCache;this.sheets=t.map(i=>{if(i instanceof CSSStyleSheet)return i;let s=e.get(i);return s===void 0&&(s=new CSSStyleSheet,s.replaceSync(i),e.set(i,s)),s})}addStylesTo(t){wr(No(t),this.sheets)}removeStylesFrom(t){Cr(No(t),this.sheets)}}Ai.styleSheetCache=new Map;let La=0;const _a=()=>`fast-${++La}`;function kr(o){return o===document?document.body:o}class Ra{constructor(t){this.styles=t,this.styleClass=_a()}addStylesTo(t){t=kr(No(t));const e=this.styles,i=this.styleClass;for(let s=0;s<e.length;s++){const r=document.createElement("style");r.innerHTML=e[s],r.className=i,t.append(r)}}removeStylesFrom(t){t=kr(No(t));const e=t.querySelectorAll(`.${this.styleClass}`);for(let i=0,s=e.length;i<s;++i)t.removeChild(e[i])}}let wr=(o,t)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...t]},Cr=(o,t)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(e=>t.indexOf(e)===-1)};if(dt.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),wr=(o,t)=>{o.adoptedStyleSheets.push(...t)},Cr=(o,t)=>{for(const e of t){const i=o.adoptedStyleSheets.indexOf(e);i!==-1&&o.adoptedStyleSheets.splice(i,1)}}}catch{}dt.setDefaultStrategy(Ai)}else dt.setDefaultStrategy(Ra);function Sr(o){const t=class extends o{constructor(){super(),Vo.forCustomElement(this)}$emit(e,i,s){return this.$fastController.emit(e,i,s)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,i,s){this.$fastController.onAttributeChangedCallback(e,i,s)}};return Et.registerBaseType(t),t}function Da(o,t){return ue(o)?Et.compose(o,t):Et.compose(this,o)}function Ha(o,t){return ue(o)?Et.compose(o,t).define().type:Et.compose(this,o).define().type}function Va(o){return Sr(o)}const I=Object.assign(Sr(HTMLElement),{from:Va,define:Ha,compose:Da}),st={horizontal:"horizontal",vertical:"vertical"};function Ir(...o){return o.every(t=>t instanceof HTMLElement)}const Ue="ArrowDown",Xe="ArrowLeft",Ke="ArrowRight",Ye="ArrowUp",jo="End",Qe="Enter",Pr="Escape",qo="Home",Wo=" ",Na="Tab",ja={ArrowDown:Ue,ArrowLeft:Xe,ArrowRight:Ke,ArrowUp:Ye};var xt;(function(o){o.ltr="ltr",o.rtl="rtl"})(xt||(xt={}));function qa(o,t,e){return e<o?t:e>t?o:e}function Yi(o,t,e){return Math.min(Math.max(e,o),t)}let Wa=0;function Qi(o=""){return`${o}${Wa++}`}var Ga=Object.defineProperty,Ua=Object.getOwnPropertyDescriptor,N=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ua(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ga(t,e,s),s};class j{}N([a({attribute:"aria-atomic"})],j.prototype,"ariaAtomic",2),N([a({attribute:"aria-busy"})],j.prototype,"ariaBusy",2),N([a({attribute:"aria-controls"})],j.prototype,"ariaControls",2),N([a({attribute:"aria-current"})],j.prototype,"ariaCurrent",2),N([a({attribute:"aria-describedby"})],j.prototype,"ariaDescribedby",2),N([a({attribute:"aria-details"})],j.prototype,"ariaDetails",2),N([a({attribute:"aria-disabled"})],j.prototype,"ariaDisabled",2),N([a({attribute:"aria-errormessage"})],j.prototype,"ariaErrormessage",2),N([a({attribute:"aria-flowto"})],j.prototype,"ariaFlowto",2),N([a({attribute:"aria-haspopup"})],j.prototype,"ariaHaspopup",2),N([a({attribute:"aria-hidden"})],j.prototype,"ariaHidden",2),N([a({attribute:"aria-invalid"})],j.prototype,"ariaInvalid",2),N([a({attribute:"aria-keyshortcuts"})],j.prototype,"ariaKeyshortcuts",2),N([a({attribute:"aria-label"})],j.prototype,"ariaLabel",2),N([a({attribute:"aria-labelledby"})],j.prototype,"ariaLabelledby",2),N([a({attribute:"aria-live"})],j.prototype,"ariaLive",2),N([a({attribute:"aria-owns"})],j.prototype,"ariaOwns",2),N([a({attribute:"aria-relevant"})],j.prototype,"ariaRelevant",2),N([a({attribute:"aria-roledescription"})],j.prototype,"ariaRoledescription",2);const Br=o=>o.closest("[dir]")?.dir==="rtl"?xt.rtl:xt.ltr;function pt(o){return o?typeof o=="string"?new Te(o):"inline"in o?o.inline():o:Te.empty}const Tr=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length,Xa=":host([hidden]){display:none}";function z(o){return`${Xa}:host{display:${o}}`}class Ka{constructor(t){this.listenerCache=new WeakMap,this.query=t}connectedCallback(t){const{query:e}=this;let i=this.listenerCache.get(t);i||(i=this.constructListener(t),this.listenerCache.set(t,i)),i.bind(e)(),e.addEventListener("change",i)}disconnectedCallback(t){const e=this.listenerCache.get(t);e&&this.query.removeEventListener("change",e)}}class Fo extends Ka{constructor(t,e){super(t),this.styles=e}static with(t){return e=>new Fo(t,e)}constructListener(t){let e=!1;const i=this.styles;return function(){const{matches:r}=this;r&&!e?(t.addStyles(i),e=r):!r&&e&&(t.removeStyles(i),e=r)}}removedCallback(t){t.removeStyles(this.styles)}}const ft=Fo.with(window.matchMedia("(forced-colors)"));Fo.with(window.matchMedia("(prefers-color-scheme: dark)")),Fo.with(window.matchMedia("(prefers-color-scheme: light)"));class Yt{}function Qt(o){return v`<slot name="end" ${St("end")}>${pt(o.end)}</slot>`.inline()}function Zt(o){return v`<slot name="start" ${St("start")}>${pt(o.start)}</slot>`.inline()}function Jt(o,...t){const e=Ro.locate(o);t.forEach(i=>{Object.getOwnPropertyNames(i.prototype).forEach(r=>{r!=="constructor"&&Object.defineProperty(o.prototype,r,Object.getOwnPropertyDescriptor(i.prototype,r))}),Ro.locate(i).forEach(r=>e.push(r))})}var Ya=Object.defineProperty,Qa=Object.getOwnPropertyDescriptor,Fe=(o,t,e,i)=>{for(var s=i>1?void 0:i?Qa(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ya(t,e,s),s};class rt extends I{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=Qi("accordion-"),this.block=!1,this.clickHandler=t=>{this.disabled||this.$emit("click",t)}}}Fe([a({attribute:"heading-level",mode:"fromView",converter:ut})],rt.prototype,"headinglevel",2),Fe([a({mode:"boolean"})],rt.prototype,"expanded",2),Fe([a({mode:"boolean"})],rt.prototype,"disabled",2),Fe([a],rt.prototype,"id",2),Fe([a],rt.prototype,"size",2),Fe([a({mode:"boolean"})],rt.prototype,"block",2),Fe([a({attribute:"expand-icon-position"})],rt.prototype,"expandIconPosition",2),Jt(rt,Yt);const R="var(--colorNeutralForeground1)",zr="var(--colorNeutralForeground1Hover)",Za="var(--colorNeutralForeground1Pressed)",_t="var(--colorNeutralForeground2)",Go="var(--colorNeutralForeground2Hover)",Uo="var(--colorNeutralForeground2Pressed)",Ja="var(--colorNeutralForeground2Selected)",Xo="var(--colorNeutralForeground2BrandHover)",Ko="var(--colorNeutralForeground2BrandPressed)",tl="var(--colorNeutralForeground2BrandSelected)",nt="var(--colorNeutralForeground3)",el="var(--colorNeutralForeground3Hover)",ol="var(--colorNeutralForeground3Pressed)",il="var(--colorNeutralForeground4)",S="var(--colorNeutralForegroundDisabled)",sl="var(--colorBrandForegroundLink)",rl="var(--colorBrandForegroundLinkHover)",nl="var(--colorBrandForegroundLinkPressed)",al="var(--colorNeutralForeground2Link)",ll="var(--colorNeutralForeground2LinkHover)",cl="var(--colorNeutralForeground2LinkPressed)",Fr="var(--colorCompoundBrandForeground1)",Or="var(--colorCompoundBrandForeground1Hover)",Ar="var(--colorCompoundBrandForeground1Pressed)",te="var(--colorNeutralForegroundOnBrand)",Yo="var(--colorNeutralForegroundInverted)",dl="var(--colorNeutralForegroundInvertedHover)",hl="var(--colorNeutralForegroundInvertedPressed)",Er="var(--colorNeutralForegroundStaticInverted)",Zi="var(--colorBrandForeground1)",ul="var(--colorBrandForeground2)",pl="var(--colorNeutralForeground1Static)",D="var(--colorNeutralBackground1)",Ji="var(--colorNeutralBackground1Hover)",Mr="var(--colorNeutralBackground1Pressed)",Lr="var(--colorNeutralBackground1Selected)",_r="var(--colorNeutralBackground3)",fl="var(--colorNeutralBackground4)",gl="var(--colorNeutralBackground5)",Qo="var(--colorNeutralBackground6)",bl="var(--colorNeutralBackgroundInverted)",ml="var(--colorSubtleBackground)",ts="var(--colorSubtleBackgroundHover)",Zo="var(--colorSubtleBackgroundPressed)",vl="var(--colorSubtleBackgroundSelected)",It="var(--colorTransparentBackground)",es="var(--colorTransparentBackgroundHover)",os="var(--colorTransparentBackgroundPressed)",$l="var(--colorTransparentBackgroundSelected)",co="var(--colorNeutralBackgroundDisabled)",yl="var(--colorBackgroundOverlay)",is="var(--colorBrandBackground)",Rr="var(--colorBrandBackgroundHover)",Dr="var(--colorBrandBackgroundPressed)",xl="var(--colorBrandBackgroundSelected)",ho="var(--colorCompoundBrandBackground)",uo="var(--colorCompoundBrandBackgroundHover)",po="var(--colorCompoundBrandBackgroundPressed)",Hr="var(--colorBrandBackgroundStatic)",kl="var(--colorBrandBackground2)",ee="var(--colorNeutralStrokeAccessible)",fo="var(--colorNeutralStrokeAccessibleHover)",go="var(--colorNeutralStrokeAccessiblePressed)",Ze="var(--colorNeutralStroke1)",Jo="var(--colorNeutralStroke1Hover)",ss="var(--colorNeutralStroke1Pressed)",bo="var(--colorNeutralStroke2)",wl="var(--colorNeutralStroke3)",Cl="var(--colorNeutralStrokeOnBrand2)",Vr="var(--colorBrandStroke1)",Nr="var(--colorBrandStroke2)",rs="var(--colorCompoundBrandStroke)",ns="var(--colorCompoundBrandStrokeHover)",as="var(--colorCompoundBrandStrokePressed)",oe="var(--colorNeutralStrokeDisabled)",Rt="var(--colorTransparentStroke)",jr="var(--colorTransparentStrokeInteractive)",ti="var(--colorStrokeFocus1)",ie="var(--colorStrokeFocus2)",Sl="var(--colorPaletteRedBackground1)",Il="var(--colorPaletteRedBackground2)",qr="var(--colorPaletteRedBackground3)",Pl="var(--colorPaletteRedBorder1)",Bl="var(--colorPaletteRedBorder2)",Wr="var(--colorPaletteRedForeground1)",Tl="var(--colorPaletteRedForeground2)",Gr="var(--colorPaletteRedForeground3)",zl="var(--colorPaletteGreenBackground1)",Ur="var(--colorPaletteGreenBackground3)",Fl="var(--colorPaletteGreenBorder2)",Ol="var(--colorPaletteGreenForeground1)",Al="var(--colorPaletteGreenForeground2)",El="var(--colorPaletteGreenForeground3)",Ml="var(--colorPaletteDarkOrangeBackground1)",Xr="var(--colorPaletteDarkOrangeBackground3)",Ll="var(--colorPaletteDarkOrangeBorder1)",_l="var(--colorPaletteDarkOrangeForeground1)",Kr="var(--colorPaletteDarkOrangeForeground3)",Rl="var(--colorPaletteYellowBackground1)",Dl="var(--colorPaletteYellowBackground3)",Hl="var(--colorPaletteYellowBorder1)",ls="var(--colorPaletteYellowForeground2)",Vl="var(--colorPaletteMarigoldBackground2)",Nl="var(--colorPaletteMarigoldForeground2)",jl="var(--colorPaletteAnchorBackground2)",ql="var(--colorPaletteAnchorForeground2)",Wl="var(--colorPaletteBeigeBackground2)",Gl="var(--colorPaletteBeigeForeground2)",Ul="var(--colorPaletteBlueBackground2)",Xl="var(--colorPaletteBlueForeground2)",Kl="var(--colorPaletteBrassBackground2)",Yl="var(--colorPaletteBrassForeground2)",Ql="var(--colorPaletteBrownBackground2)",Zl="var(--colorPaletteBrownForeground2)",Jl="var(--colorPaletteCornflowerBackground2)",tc="var(--colorPaletteCornflowerForeground2)",ec="var(--colorPaletteCranberryBackground2)",oc="var(--colorPaletteCranberryForeground2)",ic="var(--colorPaletteDarkGreenBackground2)",sc="var(--colorPaletteDarkGreenForeground2)",rc="var(--colorPaletteDarkRedBackground2)",nc="var(--colorPaletteDarkRedForeground2)",ac="var(--colorPaletteForestBackground2)",lc="var(--colorPaletteForestForeground2)",cc="var(--colorPaletteGoldBackground2)",dc="var(--colorPaletteGoldForeground2)",hc="var(--colorPaletteGrapeBackground2)",uc="var(--colorPaletteGrapeForeground2)",pc="var(--colorPaletteLavenderBackground2)",fc="var(--colorPaletteLavenderForeground2)",gc="var(--colorPaletteLightTealBackground2)",bc="var(--colorPaletteLightTealForeground2)",mc="var(--colorPaletteLilacBackground2)",vc="var(--colorPaletteLilacForeground2)",$c="var(--colorPaletteMagentaBackground2)",yc="var(--colorPaletteMagentaForeground2)",xc="var(--colorPaletteMinkBackground2)",kc="var(--colorPaletteMinkForeground2)",wc="var(--colorPaletteNavyBackground2)",Cc="var(--colorPaletteNavyForeground2)",Sc="var(--colorPalettePeachBackground2)",Ic="var(--colorPalettePeachForeground2)",Pc="var(--colorPalettePinkBackground2)",Bc="var(--colorPalettePinkForeground2)",Tc="var(--colorPalettePlatinumBackground2)",zc="var(--colorPalettePlatinumForeground2)",Fc="var(--colorPalettePlumBackground2)",Oc="var(--colorPalettePlumForeground2)",Ac="var(--colorPalettePumpkinBackground2)",Ec="var(--colorPalettePumpkinForeground2)",Mc="var(--colorPalettePurpleBackground2)",Lc="var(--colorPalettePurpleForeground2)",_c="var(--colorPaletteRoyalBlueBackground2)",Rc="var(--colorPaletteRoyalBlueForeground2)",Dc="var(--colorPaletteSeafoamBackground2)",Hc="var(--colorPaletteSeafoamForeground2)",Vc="var(--colorPaletteSteelBackground2)",Nc="var(--colorPaletteSteelForeground2)",jc="var(--colorPaletteTealBackground2)",qc="var(--colorPaletteTealForeground2)",cs="var(--borderRadiusNone)",Pt="var(--borderRadiusSmall)",_="var(--borderRadiusMedium)",Yr="var(--borderRadiusLarge)",Qr="var(--borderRadiusXLarge)",gt="var(--borderRadiusCircular)",x="var(--fontFamilyBase)",Wc="var(--fontFamilyMonospace)",Gc="var(--fontFamilyNumeric)",mo="var(--fontSizeBase100)",Q="var(--fontSizeBase200)",E="var(--fontSizeBase300)",bt="var(--fontSizeBase400)",Oe="var(--fontSizeBase500)",ei="var(--fontSizeBase600)",Zr="var(--fontSizeHero700)",Jr="var(--fontSizeHero800)",tn="var(--fontSizeHero900)",en="var(--fontSizeHero1000)",M="var(--fontWeightRegular)",Uc="var(--fontWeightMedium)",q="var(--fontWeightSemibold)",oi="var(--fontWeightBold)",ii="var(--lineHeightBase100)",mt="var(--lineHeightBase200)",H="var(--lineHeightBase300)",Bt="var(--lineHeightBase400)",si="var(--lineHeightBase500)",on="var(--lineHeightBase600)",sn="var(--lineHeightHero700)",rn="var(--lineHeightHero800)",nn="var(--lineHeightHero900)",an="var(--lineHeightHero1000)",ln="var(--shadow2)",ri="var(--shadow4)",Xc="var(--shadow8)",cn="var(--shadow16)",Kc="var(--shadow28)",Yc="var(--shadow64)",et="var(--strokeWidthThin)",Ae="var(--strokeWidthThick)",pe="var(--strokeWidthThicker)",dn="var(--strokeWidthThickest)",Ee="var(--spacingHorizontalXXS)",se="var(--spacingHorizontalXS)",Me="var(--spacingHorizontalSNudge)",Dt="var(--spacingHorizontalS)",re="var(--spacingHorizontalMNudge)",fe="var(--spacingHorizontalM)",Qc="var(--spacingHorizontalL)",Zc="var(--spacingHorizontalXXL)",ni="var(--spacingVerticalXXS)",Jc="var(--spacingVerticalXS)",vo="var(--spacingVerticalSNudge)",Z="var(--spacingVerticalS)",hn="var(--spacingVerticalMNudge)",un="var(--spacingVerticalL)",$o="var(--spacingVerticalXXL)",td="var(--durationUltraFast)",ds="var(--durationFaster)",pn="var(--durationNormal)",ed="var(--durationGentle)",od="var(--durationSlow)",fn="var(--durationSlower)",ai="var(--durationUltraSlow)",id="var(--curveAccelerateMax)",hs="var(--curveAccelerateMid)",sd="var(--curveAccelerateMin)",gn="var(--curveDecelerateMax)",us="var(--curveDecelerateMid)",rd="var(--curveDecelerateMin)",nd="var(--curveEasyEaseMax)",ps="var(--curveEasyEase)",bn="var(--curveLinear)",ad=u`
2
+ ${z("block")}
3
+
4
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${fe} ${re};border-radius:${_};font-family:${x};font-size:${E};font-weight:${M};line-height:${H};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:${R};background:${It};line-height:${H};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:${Pt}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${Dt};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${fe}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${Dt};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Pt};outline:none;border:2px solid ${ti};box-shadow:inset 0 0 0 1px ${ie}}:host([disabled]) .button{color:${S}}: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:${E};line-height:${H}}:host([size='small']) .heading{font-size:${Q};line-height:${mt}}:host([size='large']) .heading{font-size:${bt};line-height:${Bt}}:host([size='extra-large']) .heading{font-size:${Oe};line-height:${si}}: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}`,ld=v.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-collapsed-icon"
11
+ >
12
+ <path
13
+ 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"
14
+ fill="currentColor"
15
+ />
16
+ </svg>`),cd=v.partial(`<svg
17
+ width="20"
18
+ height="20"
19
+ viewBox="0 0 20 20"
20
+ fill="none"
21
+ xmlns="http://www.w3.org/2000/svg"
22
+ class="default-expanded-icon"
23
+ >
24
+ <path
25
+ 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"
26
+ fill="currentColor"
27
+ />
28
+ </svg>`);function dd(o={}){return v`<div class="heading" part="heading" role="heading" aria-level="${t=>t.headinglevel}"><button class="button" part="button" ${St("expandbutton")} ?disabled="${t=>t.disabled?"true":void 0}" aria-expanded="${t=>t.expanded}" aria-controls="${t=>t.id}-panel" id="${t=>t.id}" @click="${(t,e)=>t.clickHandler(e.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${Zt(o)} ${Qt(o)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${pt(o.expandedIcon)}</slot><slot name="collapsed-icon">${pt(o.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${t=>t.id}-panel" role="region" aria-labelledby="${t=>t.id}"><slot></slot></div>`}const hd=dd({collapsedIcon:ld,expandedIcon:cd}),ud=rt.compose({name:`${b.prefix}-accordion-item`,template:hd,styles:ad});ud.define(b.registry);const fs={single:"single",multi:"multi"};var pd=Object.defineProperty,fd=Object.getOwnPropertyDescriptor,mn=(o,t,e,i)=>{for(var s=i>1?void 0:i?fd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&pd(t,e,s),s};class gs extends I{constructor(){super(...arguments),this.expandmode=fs.multi,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(this.slottedAccordionItems.length===0)return;const t=Array.from(this.children);if(this.removeItemListeners(t),t.forEach(e=>w.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=t.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,i)=>{e instanceof rt&&(e.addEventListener("click",this.activeItemChange),e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus),w.getNotifier(e).subscribe(this,"expanded"));const s=this.accordionIds[i];e.setAttribute("id",typeof s!="string"?`accordion-${i+1}`:s),this.activeid=this.accordionIds[this.activeItemIndex]}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=t=>{t.forEach((e,i)=>{w.getNotifier(e).unsubscribe(this,"disabled"),w.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=t=>{t.defaultPrevented||t.target!==t.currentTarget||(t.preventDefault(),this.handleExpandedChange(t.target))},this.handleExpandedChange=t=>{t instanceof rt&&(this.activeid=t.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(t):(t.expanded=!t.expanded,this.activeItemIndex=this.accordionItems.indexOf(t)),this.change())},this.handleItemKeyDown=t=>{if(t.target===t.currentTarget)switch(this.accordionIds=this.getItemIds(),t.key){case Ye:t.preventDefault(),this.adjust(-1);break;case Ue:t.preventDefault(),this.adjust(1);break;case qo:this.activeItemIndex=0,this.focusItem();break;case jo:this.activeItemIndex=this.accordionItems.length-1,this.focusItem();break}},this.handleItemFocus=t=>{if(t.target===t.currentTarget){const e=t.target,i=this.activeItemIndex=Array.from(this.accordionItems).indexOf(e);this.activeItemIndex!==i&&i!==-1&&(this.activeItemIndex=i,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(t,e){if(!this.$fastController.isConnected)return;const i=this.findExpandedItem();i&&(e!==fs.single?i?.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(i))}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 rt&&t.expanded)??this.accordionItems[0]}setSingleExpandMode(t){if(this.accordionItems.length===0)return;const e=Array.from(this.accordionItems);this.activeItemIndex=e.indexOf(t),e.forEach((i,s)=>{i instanceof rt&&(this.activeItemIndex===s?(i.expanded=!0,i.expandbutton.setAttribute("aria-disabled","true")):(i.expanded=!1,i.hasAttribute("disabled")||i.expandbutton.removeAttribute("aria-disabled")))})}getItemIds(){return this.slottedAccordionItems.map(t=>t.id)}isSingleExpandMode(){return this.expandmode===fs.single}adjust(t){this.activeItemIndex=qa(0,this.accordionItems.length-1,this.activeItemIndex+t),this.focusItem()}focusItem(){const t=this.accordionItems[this.activeItemIndex];t instanceof rt&&t.expandbutton.focus()}}mn([a({attribute:"expand-mode"})],gs.prototype,"expandmode",2),mn([y],gs.prototype,"slottedAccordionItems",2);const gd=u`
29
+ ${z("flex")}
30
+
31
+ :host{flex-direction:column;width:100%;contain:content}`;function bd(){return v`<template><slot ${ht({property:"slottedAccordionItems",filter:ze()})}></slot></template>`}const md=bd(),vd=gs.compose({name:`${b.prefix}-accordion`,template:md,styles:gd});vd.define(b.registry);const $d=CSS.supports("selector(:state(g))");function $(o,t,e){if(!$d){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)}const li={submit:"submit",reset:"reset",button:"button"},yd={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"};var xd=Object.defineProperty,kd=Object.getOwnPropertyDescriptor,kt=(o,t,e,i)=>{for(var s=i>1?void 0:i?kd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&xd(t,e,s),s};class Ht extends I{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),w.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),w.getNotifier(this).unsubscribe(this)}handleChange(t,e){if(e in yd){const i=this.$fastController.definition.attributeLookup[e]?.attribute;i&&this.handleProxyAttributeChange(i,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===Qe){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}}kt([a],Ht.prototype,"download",2),kt([a],Ht.prototype,"href",2),kt([a],Ht.prototype,"hreflang",2),kt([a],Ht.prototype,"ping",2),kt([a],Ht.prototype,"referrerpolicy",2),kt([a],Ht.prototype,"rel",2),kt([a],Ht.prototype,"target",2),kt([a],Ht.prototype,"type",2);class Je extends Ht{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}iconOnlyChanged(t,e){$(this.elementInternals,"icon",!!e)}}kt([a],Je.prototype,"appearance",2),kt([a],Je.prototype,"shape",2),kt([a],Je.prototype,"size",2),kt([a({attribute:"icon-only",mode:"boolean"})],Je.prototype,"iconOnly",2),Jt(Je,Yt);const ne=u.partial`:is([state--ghost], :state(ghost))`,at=u.partial`:is([state--primary], :state(primary))`,G=u.partial`:is([state--outline], :state(outline))`,W=u.partial`:is([state--subtle], :state(subtle))`,ge=u.partial`:is([state--tint], :state(tint))`,U=u.partial`:is([state--transparent], :state(transparent))`,vn=u.partial`:is([state--circular], :state(circular))`,be=u.partial`:is([state--rounded], :state(rounded))`,bs=u.partial`:is([state--square], :state(square))`,ci=u.partial`:is([state--tiny], :state(tiny))`,di=u.partial`:is([state--extra-small], :state(extra-small))`,me=u.partial`:is([state--small], :state(small))`,ae=u.partial`:is([state--large], :state(large))`,$n=u.partial`:is([state--extra-large], :state(extra-large))`,to=u.partial`:is([state--icon], :state(icon))`,O=u.partial`:is([state--pressed], :state(pressed))`,hi=u.partial`:is([state--danger], :state(danger))`,ui=u.partial`:is([state--important], :state(important))`,pi=u.partial`:is([state--informative], :state(informative))`,fi=u.partial`:is([state--severe], :state(severe))`,gi=u.partial`:is([state--success], :state(success))`,bi=u.partial`:is([state--warning], :state(warning))`,yn=u`
32
+ ${z("inline-flex")}
33
+
34
+ :host{--icon-spacing:${Me};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:${D};color:${R};border:${et} solid ${Ze};padding:0 ${fe};min-width:96px;border-radius:${_};font-size:${E};font-family:${x};font-weight:${q};line-height:${H};transition-duration:${ds};transition-property:background,border,color;transition-timing-function:${ps};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${Ji};color:${zr};border-color:${Jo}}:host(:hover:active){background-color:${Mr};border-color:${ss};color:${Za};outline-style:none}:host(:focus-visible){border-color:${Rt};outline:${Ae} solid ${Rt};box-shadow:${ri},0 0 0 2px ${ie}}@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(${to}){min-width:32px;max-width:32px}:host(${me}){--icon-spacing:${se};min-height:24px;min-width:64px;padding:0 ${Dt};border-radius:${Pt};font-size:${Q};line-height:${mt};font-weight:${M}}:host(${me}${to}){min-width:24px;max-width:24px}:host(${ae}){min-height:40px;border-radius:${Yr};padding:0 ${Qc};font-size:${bt};line-height:${Bt}}:host(${ae}${to}){min-width:40px;max-width:40px}:host(${ae}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${vn},${vn}:focus-visible)){border-radius:${gt}}:host(:is(${bs},${bs}:focus-visible)){border-radius:${cs}}:host(${at}){background-color:${is};color:${te};border-color:transparent}:host(${at}:hover){background-color:${Rr}}:host(${at}:is(:hover,:hover:active)){border-color:transparent;color:${te}}:host(${at}:hover:active){background-color:${Dr}}:host(${at}:focus-visible){border-color:${te};box-shadow:${ln},0 0 0 2px ${ie}}:host(${G}){background-color:${It}}:host(${G}:hover){background-color:${es}}:host(${G}:hover:active){background-color:${os}}:host(${W}){background-color:${ml};color:${_t};border-color:transparent}:host(${W}:hover){background-color:${ts};color:${Go};border-color:transparent}:host(${W}:hover:active){background-color:${Zo};color:${Uo};border-color:transparent}:host(${W}:hover) ::slotted(svg){fill:${Xo}}:host(${W}:hover:active) ::slotted(svg){fill:${Ko}}:host(${U}){background-color:${It};color:${_t}}:host(${U}:hover){background-color:${es};color:${Xo}}:host(${U}:hover:active){background-color:${os};color:${Ko}}:host(:is(${U},${U}:is(:hover,:active))){border-color:transparent}`,mi=u`
35
+ ${yn}
36
+
37
+ :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:${co};border-color:${oe};color:${S};cursor:not-allowed}:host(${at}:is(:disabled,[disabled-focusable])),:host(${at}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host(${G}:is(:disabled,[disabled-focusable])),:host(${G}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${It}}:host(${W}:is(:disabled,[disabled-focusable])),:host(${W}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${It};border-color:transparent}:host(${U}:is(:disabled,[disabled-focusable])),:host(${U}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${It}}`.withBehaviors(ft(u`
38
+ :host{background:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight}`)),wd=u`
39
+ ${yn}
40
+
41
+ ::slotted(a){position:absolute;inset:0}`.withBehaviors(ft(u`
42
+ :host{border-color:LinkText;color:LinkText}`));function Cd(o={}){return v`<template tabindex="0" @click="${(t,e)=>t.clickHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}">${Zt(o)}<span class="content" part="content"><slot></slot></span>${Qt(o)}</template>`}const Sd=Cd(),Id=Je.compose({name:`${b.prefix}-anchor-button`,template:Sd,styles:wd});Id.define(b.registry);const Pd=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Bd=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Td=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,zd=/\s+/g,Fd=/[\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 Od(o,t,e){let i="";const s=o.split(" ");return s.length!==0&&(i+=s[0].charAt(0).toUpperCase()),e||(s.length===2?i+=s[1].charAt(0).toUpperCase():s.length===3&&(i+=s[2].charAt(0).toUpperCase())),t&&i.length>1?i.charAt(1)+i.charAt(0):i}function Ad(o){return o=o.replace(Pd,""),o=o.replace(Bd,""),o=o.replace(zd," "),o=o.trim(),o}function Ed(o,t,e){return!o||(o=Ad(o),Fd.test(o)||!e?.allowPhoneInitials&&Td.test(o))?"":Od(o,t,e?.firstInitialOnly)}const xn={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"},kn={neutral:"neutral",brand:"brand",colorful:"colorful",...xn};var Md=Object.defineProperty,Ld=Object.getOwnPropertyDescriptor,ve=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ld(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Md(t,e,s),s};const Vt=class Fs extends I{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}connectedCallback(){super.connectedCallback(),w.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),w.getNotifier(this).unsubscribe(this)}handleChange(t,e){switch(e){case"color":case"colorId":this.generateColor();break}}generateColor(){const t=this.color===kn.colorful,e=this.currentColor;$(this.elementInternals,`${e}`,!1),this.currentColor=t&&this.colorId?this.colorId:t?Fs.colors[Rd(this.name??"")%Fs.colors.length]:this.color??kn.neutral,$(this.elementInternals,`${this.currentColor}`,!0)}generateInitials(){if(!this.name&&!this.initials)return;const t=this.size??32;return this.initials??Ed(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:t<=16})}};Vt.colors=Object.values(xn),ve([a],Vt.prototype,"name",2),ve([a],Vt.prototype,"initials",2),ve([a({converter:ut})],Vt.prototype,"size",2),ve([a],Vt.prototype,"shape",2),ve([a],Vt.prototype,"active",2),ve([a],Vt.prototype,"appearance",2),ve([a],Vt.prototype,"color",2),ve([a({attribute:"color-id"})],Vt.prototype,"colorId",2);let _d=Vt;const Rd=o=>{let t=0;for(let e=o.length-1;e>=0;e--){const i=o.charCodeAt(e),s=e%8;t^=(i<<s)+(i>>8-s)}return t},$e={fastOutSlowInMax:gn,fastOutSlowInMid:us,fastOutSlowInMin:rd,slowOutFastInMax:id,slowOutFastInMid:hs,slowOutFastInMin:sd,fastEase:nd,normalEase:ps,nullEasing:bn},Dd=u`
43
+ ${z("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${x};font-weight:${q};font-size:${E};border-radius:${gt};color:${nt};background-color:${Qo};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${gt}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${et}) ${D}}: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 ${Ae}) ${D}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${mo};font-weight:${M}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${Q}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${bt}}: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:${ei}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${_}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Pt}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${Yr}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Qr}}:host(:is([state--brand],:state(brand))){color:${Er};background-color:${Hr}}:host(:is([state--dark-red],:state(dark-red))){color:${nc};background-color:${rc}}:host(:is([state--cranberry],:state(cranberry))){color:${oc};background-color:${ec}}:host(:is([state--red],:state(red))){color:${Tl};background-color:${Il}}:host(:is([state--pumpkin],:state(pumpkin))){color:${Ec};background-color:${Ac}}:host(:is([state--peach],:state(peach))){color:${Ic};background-color:${Sc}}:host(:is([state--marigold],:state(marigold))){color:${Nl};background-color:${Vl}}:host(:is([state--gold],:state(gold))){color:${dc};background-color:${cc}}:host(:is([state--brass],:state(brass))){color:${Yl};background-color:${Kl}}:host(:is([state--brown],:state(brown))){color:${Zl};background-color:${Ql}}:host(:is([state--forest],:state(forest))){color:${lc};background-color:${ac}}:host(:is([state--seafoam],:state(seafoam))){color:${Hc};background-color:${Dc}}:host(:is([state--dark-green],:state(dark-green))){color:${sc};background-color:${ic}}:host(:is([state--light-teal],:state(light-teal))){color:${bc};background-color:${gc}}:host(:is([state--teal],:state(teal))){color:${qc};background-color:${jc}}:host(:is([state--steel],:state(steel))){color:${Nc};background-color:${Vc}}:host(:is([state--blue],:state(blue))){color:${Xl};background-color:${Ul}}:host(:is([state--royal-blue],:state(royal-blue))){color:${Rc};background-color:${_c}}:host(:is([state--cornflower],:state(cornflower))){color:${tc};background-color:${Jl}}:host(:is([state--navy],:state(navy))){color:${Cc};background-color:${wc}}:host(:is([state--lavender],:state(lavender))){color:${fc};background-color:${pc}}:host(:is([state--purple],:state(purple))){color:${Lc};background-color:${Mc}}:host(:is([state--grape],:state(grape))){color:${uc};background-color:${hc}}:host(:is([state--lilac],:state(lilac))){color:${vc};background-color:${mc}}:host(:is([state--pink],:state(pink))){color:${Bc};background-color:${Pc}}:host(:is([state--magenta],:state(magenta))){color:${yc};background-color:${$c}}:host(:is([state--plum],:state(plum))){color:${Oc};background-color:${Fc}}:host(:is([state--beige],:state(beige))){color:${Gl};background-color:${Wl}}:host(:is([state--mink],:state(mink))){color:${kc};background-color:${xc}}:host(:is([state--platinum],:state(platinum))){color:${zc};background-color:${Tc}}:host(:is([state--anchor],:state(anchor))){color:${ql};background-color:${jl}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${ai},${ds};transition-delay:${$e.fastEase},${$e.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${ai}),${fn};transition-delay:${$e.fastEase}),${$e.nullEasing})}:host([active])::before{box-shadow:${Xc};border-style:solid;border-color:${Hr}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Ae});border-width:${Ae}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${pe});border-width:${pe}}: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 * ${dn});border-width:${dn}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${ri}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${cn}}: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:${Kc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${ai},${ds};transition-delay:${$e.fastOutSlowInMin},${$e.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${ai},${fn};transition-delay:${$e.fastOutSlowInMin},${$e.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}}`,Hd=v`<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 Vd(){return v`<slot>${o=>o.name||o.initials?o.generateInitials():Hd}</slot><slot name="badge"></slot>`}const Nd=Vd(),jd=_d.compose({name:`${b.prefix}-avatar`,template:Nd,styles:Dd});jd.define(b.registry);const qd={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Wd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"};var Gd=Object.defineProperty,Ud=Object.getOwnPropertyDescriptor,vi=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ud(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Gd(t,e,s),s};class eo extends I{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.appearance=qd.filled,this.color=Wd.brand}appearanceChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}colorChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}}vi([a],eo.prototype,"appearance",2),vi([a],eo.prototype,"color",2),vi([a],eo.prototype,"shape",2),vi([a],eo.prototype,"size",2),Jt(eo,Yt);const $i=Ee,wn=u.partial`
44
+ ${z("inline-flex")} :host {
18
45
  position: relative;
19
46
  box-sizing: border-box;
20
47
  align-items: center;
21
48
  justify-content: center;
22
- font-family: ${To};
23
- font-weight: ${Lo};
24
- font-size: ${lo};
25
- line-height: ${yo};
49
+ font-family: ${x};
50
+ font-weight: ${q};
51
+ font-size: ${Q};
52
+ line-height: ${mt};
26
53
  min-width: 20px;
27
54
  height: 20px;
28
- padding-inline: calc(${Vo} + ${hd});
29
- border-radius: ${no};
30
- border-color: ${Ya};
31
- background-color: ${ga};
32
- color: ${di};
55
+ padding-inline: calc(${se} + ${$i});
56
+ border-radius: ${gt};
57
+ border-color: ${Rt};
58
+ background-color: ${is};
59
+ color: ${te};
33
60
  contain: content;
34
61
  }
35
62
 
@@ -37,7 +64,7 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
37
64
  font-size: 12px;
38
65
  }
39
66
 
40
- :host(:not([appearance='ghost']))::after {
67
+ :host(:not(${ne}))::after {
41
68
  position: absolute;
42
69
  content: '';
43
70
  top: 0;
@@ -45,12 +72,12 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
45
72
  bottom: 0;
46
73
  right: 0;
47
74
  border-style: solid;
48
- border-width: ${Oo};
75
+ border-width: ${et};
49
76
  border-color: inherit;
50
77
  border-radius: inherit;
51
78
  }
52
- `,pd=j.partial`
53
- :host([size='tiny']) {
79
+ `,Cn=u.partial`
80
+ :host(${ci}) {
54
81
  width: 6px;
55
82
  height: 6px;
56
83
  font-size: 4px;
@@ -58,10 +85,10 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
58
85
  padding-inline: 0;
59
86
  min-width: unset;
60
87
  }
61
- :host([size='tiny']) ::slotted(svg) {
88
+ :host(${ci}) ::slotted(svg) {
62
89
  font-size: 6px;
63
90
  }
64
- :host([size='extra-small']) {
91
+ :host(${di}) {
65
92
  width: 10px;
66
93
  height: 10px;
67
94
  font-size: 6px;
@@ -69,281 +96,401 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
69
96
  padding-inline: 0;
70
97
  min-width: unset;
71
98
  }
72
- :host([size='extra-small']) ::slotted(svg) {
99
+ :host(${di}) ::slotted(svg) {
73
100
  font-size: 10px;
74
101
  }
75
- :host([size='small']) {
102
+ :host(${me}) {
76
103
  min-width: 16px;
77
104
  height: 16px;
78
- font-size: ${so};
79
- line-height: ${vo};
80
- padding-inline: calc(${Ho} + ${hd});
105
+ font-size: ${mo};
106
+ line-height: ${ii};
107
+ padding-inline: calc(${Ee} + ${$i});
81
108
  }
82
- :host([size='small']) ::slotted(svg) {
109
+ :host(${me}) ::slotted(svg) {
83
110
  font-size: 12px;
84
111
  }
85
- :host([size='large']) {
112
+ :host(${ae}) {
86
113
  min-width: 24px;
87
114
  height: 24px;
88
- font-size: ${lo};
89
- line-height: ${yo};
90
- padding-inline: calc(${Vo} + ${hd});
115
+ font-size: ${Q};
116
+ line-height: ${mt};
117
+ padding-inline: calc(${se} + ${$i});
91
118
  }
92
- :host([size='large']) ::slotted(svg) {
119
+ :host(${ae}) ::slotted(svg) {
93
120
  font-size: 16px;
94
121
  }
95
- :host([size='extra-large']) {
122
+ :host(${$n}) {
96
123
  min-width: 32px;
97
124
  height: 32px;
98
- font-size: ${lo};
99
- line-height: ${yo};
100
- padding-inline: calc(${_o} + ${hd});
125
+ font-size: ${Q};
126
+ line-height: ${mt};
127
+ padding-inline: calc(${Me} + ${$i});
101
128
  }
102
- :host([size='extra-large']) ::slotted(svg) {
129
+ :host(${$n}) ::slotted(svg) {
103
130
  font-size: 20px;
104
131
  }
105
- `,gd=j.partial`
106
- :host([color='danger']) {
107
- background-color: ${hn};
108
- color: ${di};
132
+ `,Sn=u.partial`
133
+ :host(${hi}) {
134
+ background-color: ${qr};
135
+ color: ${te};
109
136
  }
110
137
 
111
- :host([color='important']) {
112
- background-color: ${wr};
113
- color: ${$i};
138
+ :host(${ui}) {
139
+ background-color: ${R};
140
+ color: ${D};
114
141
  }
115
142
 
116
- :host([color='informative']) {
117
- background-color: ${Mi};
118
- color: ${Nr};
143
+ :host(${pi}) {
144
+ background-color: ${gl};
145
+ color: ${nt};
119
146
  }
120
147
 
121
- :host([color='severe']) {
122
- background-color: ${In};
123
- color: ${di};
148
+ :host(${fi}) {
149
+ background-color: ${Xr};
150
+ color: ${te};
124
151
  }
125
152
 
126
- :host([color='subtle']) {
127
- background-color: ${$i};
128
- color: ${wr};
153
+ :host(${W}) {
154
+ background-color: ${D};
155
+ color: ${R};
129
156
  }
130
157
 
131
- :host([color='success']) {
132
- background-color: ${kn};
133
- color: ${di};
158
+ :host(${gi}) {
159
+ background-color: ${Ur};
160
+ color: ${te};
134
161
  }
135
162
 
136
- :host([color='warning']) {
137
- background-color: ${Mn};
138
- color: ${ri};
163
+ :host(${bi}) {
164
+ background-color: ${Dl};
165
+ color: ${pl};
139
166
  }
140
- `,bd=j.partial`
141
- :host([appearance='ghost']) {
142
- color: ${ti};
167
+ `,In=u.partial`
168
+ :host(${ne}) {
169
+ color: ${Zi};
143
170
  background-color: initial;
144
171
  }
145
172
 
146
- :host([appearance='ghost'][color='danger']) {
147
- color: ${gn};
173
+ :host(${ne}${hi}) {
174
+ color: ${Gr};
148
175
  }
149
176
 
150
- :host([appearance='ghost'][color='important']) {
151
- color: ${wr};
177
+ :host(${ne}${ui}) {
178
+ color: ${R};
152
179
  }
153
180
 
154
- :host([appearance='ghost'][color='informative']) {
155
- color: ${Nr};
181
+ :host(${ne}${pi}) {
182
+ color: ${nt};
156
183
  }
157
184
 
158
- :host([appearance='ghost'][color='severe']) {
159
- color: ${zn};
185
+ :host(${ne}${fi}) {
186
+ color: ${Kr};
160
187
  }
161
188
 
162
- :host([appearance='ghost'][color='subtle']) {
163
- color: ${ai};
189
+ :host(${ne}${W}) {
190
+ color: ${Yo};
164
191
  }
165
192
 
166
- :host([appearance='ghost'][color='success']) {
167
- color: ${wn};
193
+ :host(${ne}${gi}) {
194
+ color: ${El};
168
195
  }
169
196
 
170
- :host([appearance='ghost'][color='warning']) {
171
- color: ${Hn};
197
+ :host(${ne}${bi}) {
198
+ color: ${ls};
172
199
  }
173
- `,fd=j.partial`
174
- :host([appearance='outline']) {
200
+ `,Xd=u.partial`
201
+ :host(${G}) {
175
202
  border-color: currentColor;
176
- color: ${ti};
203
+ color: ${Zi};
177
204
  background-color: initial;
178
205
  }
179
206
 
180
- :host([appearance='outline'][color='danger']) {
181
- color: ${gn};
182
- }
183
-
184
- :host([appearance='outline'][color='important']) {
185
- color: ${Nr};
186
- border-color: ${Pa};
187
- }
188
-
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};
214
- }
215
-
216
- :host([appearance='tint'][color='danger']) {
217
- background-color: ${cn};
218
- color: ${un};
219
- border-color: ${fn};
220
- }
221
-
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};
207
+ :host(${G}${hi}) {
208
+ color: ${Gr};
232
209
  }
233
210
 
234
- :host([appearance='tint'][color='severe']) {
235
- background-color: ${Pn};
236
- color: ${An};
237
- border-color: ${Nn};
211
+ :host(${G}${ui}) {
212
+ color: ${nt};
213
+ border-color: ${ee};
238
214
  }
239
215
 
240
- :host([appearance='tint'][color='subtle']) {
241
- background-color: ${$i};
242
- color: ${Nr};
243
- border-color: ${Oa};
216
+ :host(${G}${pi}) {
217
+ color: ${nt};
218
+ border-color: ${bo};
244
219
  }
245
220
 
246
- :host([appearance='tint'][color='success']) {
247
- background-color: ${vn};
248
- color: ${xn};
249
- border-color: ${Sn};
221
+ :host(${G}${fi}) {
222
+ color: ${Kr};
250
223
  }
251
224
 
252
- :host([appearance='tint'][color='warning']) {
253
- background-color: ${Dn};
254
- color: ${Hn};
255
- border-color: ${jn};
225
+ :host(${G}${W}) {
226
+ color: ${Er};
256
227
  }
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"},Xd={before:"before",after:"after"},Wd=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:${Xa}}: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:${Wa}}: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:Wd,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 Xh(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 Wh(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=Wh(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=Wh(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 Wh(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}=Xh(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}=Xh(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,Xu=(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 Wu 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}}}Xu([C,Ee({attribute:"open-on-hover",mode:"boolean"})],Wu.prototype,"openOnHover",2),Xu([C,Ee({attribute:"open-on-context",mode:"boolean"})],Wu.prototype,"openOnContext",2),Xu([C,Ee({attribute:"close-on-scroll",mode:"boolean"})],Wu.prototype,"closeOnScroll",2),Xu([C,Ee({attribute:"persist-on-item-click",mode:"boolean"})],Wu.prototype,"persistOnItemClick",2),Xu([C,Ee({mode:"boolean"})],Wu.prototype,"open",2),Xu([C],Wu.prototype,"slottedMenuList",2),Xu([C],Wu.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=Wu.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
-
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:${Xa}}: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,Xp="single-value";class Wp 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=Xp,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"})],Wp.prototype,"readOnly",void 0),e([C],Wp.prototype,"direction",void 0),e([C],Wp.prototype,"isDragging",void 0),e([C],Wp.prototype,"position",void 0),e([C],Wp.prototype,"trackWidth",void 0),e([C],Wp.prototype,"trackMinWidth",void 0),e([C],Wp.prototype,"trackHeight",void 0),e([C],Wp.prototype,"trackLeft",void 0),e([C],Wp.prototype,"trackMinHeight",void 0),e([C],Wp.prototype,"valueTextFormatter",void 0),e([Ee({converter:Oe})],Wp.prototype,"min",void 0),e([Ee({converter:Oe})],Wp.prototype,"max",void 0),e([Ee({converter:Oe})],Wp.prototype,"step",void 0),e([Ee],Wp.prototype,"orientation",void 0),e([Ee],Wp.prototype,"mode",void 0);var Up=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor;class Kp extends Wp{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 ${Wa}}.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 ${Wa};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:${Wa}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Nr};transition-duration:${dr};transition-timing-function:${xr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${ai};transform:translateX(20px)}: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:${Xi};color:${Br};fill:${Jr}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Wi};fill:${Wi};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 Xg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Wg={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:${Xa}}:host([appearance='outline']:focus-within) .root{border:${Oo} solid ${Fa}}:host(:focus-within) .control{color:${wr}}:host([disabled]) .root{background:${oa};border:${Oo} solid ${Wa}}: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:${Wa}}: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:${Xi};color:${Tr}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${Wi};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,Xd as CheckboxLabelPosition,Gd as CheckboxShape,qd as CheckboxSize,Ud as CheckboxStyles,Wd 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,Wu 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,Wg as TextFont,sb as TextInput,cb as TextInputAppearance,lb as TextInputControlSize,ub as TextInputDefinition,hb as TextInputStyles,db as TextInputTemplate,tb as TextInputType,Xg 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,Xr as colorBrandForegroundLinkPressed,Wr 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,Xa 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,Wa as colorNeutralStrokeDisabled,Ua as colorNeutralStrokeInvertedDisabled,Ea as colorNeutralStrokeOnBrand,Ma as colorNeutralStrokeOnBrand2,Ra as colorNeutralStrokeOnBrand2Hover,Ha as colorNeutralStrokeOnBrand2Pressed,Va as colorNeutralStrokeOnBrand2Selected,ql as colorPaletteAnchorBackground2,Wl as colorPaletteAnchorBorderActive,Xl as colorPaletteAnchorForeground2,Dl as colorPaletteBeigeBackground2,Ml as colorPaletteBeigeBorderActive,El as colorPaletteBeigeForeground2,qn as colorPaletteBerryBackground1,Xn as colorPaletteBerryBackground2,Wn 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,Ws as colorPaletteDarkGreenBorderActive,Xs 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,Xi as colorSubtleBackgroundHover,Zi as colorSubtleBackgroundInverted,Ji as colorSubtleBackgroundInvertedHover,ea as colorSubtleBackgroundInvertedPressed,ta as colorSubtleBackgroundInvertedSelected,Yi as colorSubtleBackgroundLightAlphaHover,Ki as colorSubtleBackgroundLightAlphaPressed,Qi as colorSubtleBackgroundLightAlphaSelected,Wi 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,Xo as spacingHorizontalL,qo as spacingHorizontalM,Go as spacingHorizontalMNudge,Ro as spacingHorizontalNone,jo as spacingHorizontalS,_o as spacingHorizontalSNudge,Wo 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};
228
+
229
+ :host(${G}${gi}) {
230
+ color: ${Al};
231
+ }
232
+
233
+ :host(${G}${bi}) {
234
+ color: ${ls};
235
+ }
236
+ `,Kd=u.partial`
237
+ :host(${ge}) {
238
+ background-color: ${kl};
239
+ color: ${ul};
240
+ border-color: ${Nr};
241
+ }
242
+
243
+ :host(${ge}${hi}) {
244
+ background-color: ${Sl};
245
+ color: ${Wr};
246
+ border-color: ${Pl};
247
+ }
248
+
249
+ :host(${ge}${ui}) {
250
+ background-color: ${nt};
251
+ color: ${D};
252
+ border-color: ${Rt};
253
+ }
254
+
255
+ :host(${ge}${pi}) {
256
+ background-color: ${fl};
257
+ color: ${nt};
258
+ border-color: ${bo};
259
+ }
260
+
261
+ :host(${ge}${fi}) {
262
+ background-color: ${Ml};
263
+ color: ${_l};
264
+ border-color: ${Ll};
265
+ }
266
+
267
+ :host(${ge}${W}) {
268
+ background-color: ${D};
269
+ color: ${nt};
270
+ border-color: ${bo};
271
+ }
272
+
273
+ :host(${ge}${gi}) {
274
+ background-color: ${zl};
275
+ color: ${Ol};
276
+ border-color: ${Fl};
277
+ }
278
+
279
+ :host(${ge}${bi}) {
280
+ background-color: ${Rl};
281
+ color: ${ls};
282
+ border-color: ${Hl};
283
+ }
284
+ `;u.partial`
285
+ font-family: ${x};
286
+ font-size: ${E};
287
+ line-height: ${H};
288
+ font-weight: ${M};
289
+ `,u.partial`
290
+ font-family: ${x};
291
+ font-size: ${E};
292
+ line-height: ${H};
293
+ font-weight: ${q};
294
+ `,u.partial`
295
+ font-family: ${x};
296
+ font-size: ${E};
297
+ line-height: ${H};
298
+ font-weight: ${oi};
299
+ `,u.partial`
300
+ font-family: ${x};
301
+ font-size: ${bt};
302
+ line-height: ${Bt};
303
+ font-weight: ${M};
304
+ `,u.partial`
305
+ font-family: ${x};
306
+ font-size: ${Q};
307
+ line-height: ${mt};
308
+ font-weight: ${M};
309
+ `,u.partial`
310
+ font-family: ${x};
311
+ font-size: ${Q};
312
+ line-height: ${mt};
313
+ font-weight: ${q};
314
+ `,u.partial`
315
+ font-family: ${x};
316
+ font-size: ${Q};
317
+ line-height: ${mt};
318
+ font-weight: ${oi};
319
+ `,u.partial`
320
+ font-family: ${x};
321
+ font-size: ${mo};
322
+ line-height: ${ii};
323
+ font-weight: ${M};
324
+ `,u.partial`
325
+ font-family: ${x};
326
+ font-size: ${mo};
327
+ line-height: ${ii};
328
+ font-weight: ${q};
329
+ `,u.partial`
330
+ font-family: ${x};
331
+ font-size: ${Oe};
332
+ line-height: ${si};
333
+ font-weight: ${q};
334
+ `,u.partial`
335
+ font-family: ${x};
336
+ font-size: ${bt};
337
+ line-height: ${Bt};
338
+ font-weight: ${q};
339
+ `,u.partial`
340
+ font-family: ${x};
341
+ font-size: ${bt};
342
+ line-height: ${Bt};
343
+ font-weight: ${oi};
344
+ `,u.partial`
345
+ font-family: ${x};
346
+ font-size: ${Jr};
347
+ line-height: ${rn};
348
+ font-weight: ${q};
349
+ `,u.partial`
350
+ font-family: ${x};
351
+ font-size: ${Zr};
352
+ line-height: ${sn};
353
+ font-weight: ${q};
354
+ `,u.partial`
355
+ font-family: ${x};
356
+ font-size: ${ei};
357
+ line-height: ${on};
358
+ font-weight: ${q};
359
+ `,u.partial`
360
+ font-family: ${x};
361
+ font-size: ${tn};
362
+ line-height: ${nn};
363
+ font-weight: ${q};
364
+ `,u.partial`
365
+ font-family: ${x};
366
+ font-size: ${en};
367
+ line-height: ${an};
368
+ font-weight: ${q};
369
+ `;const Yd=u`
370
+ :host(${bs}){border-radius:${cs}}:host(${be}){border-radius:${_}}:host(${be}${ci}),:host(${be}${di}),:host(${be}${me}){border-radius:${Pt}}${Cn}
371
+ ${Sn}
372
+ ${In}
373
+ ${Xd}
374
+ ${Kd}
375
+ ${wn}
376
+ `.withBehaviors(ft(u`
377
+ :host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}`));function Pn(o={}){return v` ${Zt(o)}<slot>${pt(o.defaultContent)}</slot>${Qt(o)} `}const Qd=Pn(),Zd=eo.compose({name:`${b.prefix}-badge`,template:Qd,styles:Yd});Zd.define(b.registry);var Jd=Object.defineProperty,th=Object.getOwnPropertyDescriptor,X=(o,t,e,i)=>{for(var s=i>1?void 0:i?th(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Jd(t,e,s),s};class A extends I{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.iconOnly=!1,this.elementInternals.role="button"}appearanceChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}disabledFocusableChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=`${!!e}`)}get form(){return this.elementInternals.form}iconOnlyChanged(t,e){$(this.elementInternals,"icon",e)}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}shapeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}typeChanged(t,e){e!==li.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===Qe||t.key===Wo){this.click();return}return!0}press(){switch(this.type){case li.reset:{this.resetForm();break}case li.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==li.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)}}}}A.formAssociated=!0,X([a],A.prototype,"appearance",2),X([a({mode:"boolean"})],A.prototype,"autofocus",2),X([y],A.prototype,"defaultSlottedContent",2),X([a({mode:"boolean"})],A.prototype,"disabled",2),X([a({attribute:"disabled-focusable",mode:"boolean"})],A.prototype,"disabledFocusable",2),X([a({attribute:"formaction"})],A.prototype,"formAction",2),X([a({attribute:"form"})],A.prototype,"formAttribute",2),X([a({attribute:"formenctype"})],A.prototype,"formEnctype",2),X([a({attribute:"formmethod"})],A.prototype,"formMethod",2),X([a({attribute:"formnovalidate",mode:"boolean"})],A.prototype,"formNoValidate",2),X([a({attribute:"formtarget"})],A.prototype,"formTarget",2),X([a({attribute:"icon-only",mode:"boolean"})],A.prototype,"iconOnly",2),X([a],A.prototype,"name",2),X([a],A.prototype,"shape",2),X([a],A.prototype,"size",2),X([a],A.prototype,"type",2),X([a],A.prototype,"value",2),Jt(A,Yt);function ms(o={}){return v`<template tabindex="${t=>t.disabled?-1:0}" @click="${(t,e)=>t.clickHandler(e.event)}" @keypress="${(t,e)=>t.keypressHandler(e.event)}">${Zt(o)}<span class="content" part="content"><slot ${ht("defaultSlottedContent")}></slot></span>${Qt(o)}</template>`}const eh=ms(),oh=A.compose({name:`${b.prefix}-button`,template:eh,styles:mi});oh.define(b.registry);var ih=Object.defineProperty,sh=Object.getOwnPropertyDescriptor,Nt=(o,t,e,i)=>{for(var s=i>1?void 0:i?sh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&ih(t,e,s),s};class Tt extends I{constructor(){super(),this.disabled=!1,this.initialValue="on",this._checked=this.initialChecked??!1,this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue,this.elementInternals.role="checkbox"}get checked(){return w.track(this,"checked"),this._checked}set checked(t){this._checked=t,this.setFormValue(t?this.value:null),this.setValidity(),this.setAriaChecked(),$(this.elementInternals,"checked",t),w.notify(this,"checked")}indeterminateChanged(t,e){this.setAriaChecked(),$(this.elementInternals,"indeterminate",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=`${!!e}`)}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 w.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.setFormValue(t),this.setValidity(),w.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}setAriaChecked(){this.elementInternals.ariaChecked=this.indeterminate?"mixed":`${this.checked}`}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){if(!this.disabled)return this.dirtyChecked=!0,this.toggleChecked(),this.$emit("change"),this.$emit("input"),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.checked?this.value:null),this.setAriaChecked(),this.setValidity()}inputHandler(t){return this.elementInternals.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.indeterminate=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setCustomValidity(t){this.elementInternals.setValidity({customError:!0},t),this.setValidity()}setValidity(t={valueMissing:!!this.required&&!this.checked},e=this.validationMessage,i){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(t,e,i)}}toggleChecked(t=!this.checked){this.indeterminate=!1,this.checked=t}}Tt.formAssociated=!0,Nt([a({mode:"boolean"})],Tt.prototype,"autofocus",2),Nt([a({mode:"boolean"})],Tt.prototype,"disabled",2),Nt([a({attribute:"form"})],Tt.prototype,"formAttribute",2),Nt([y],Tt.prototype,"indeterminate",2),Nt([a({attribute:"checked",mode:"boolean"})],Tt.prototype,"initialChecked",2),Nt([a({attribute:"value",mode:"fromView"})],Tt.prototype,"initialValue",2),Nt([a],Tt.prototype,"name",2),Nt([a({mode:"boolean"})],Tt.prototype,"required",2);class vs extends Tt{}Nt([a],vs.prototype,"shape",2),Nt([a],vs.prototype,"size",2);const zt=u.partial`:is([state--checked], :state(checked))`,Le=u.partial`:is([state--indeterminate], :state(indeterminate))`,rh=u`
378
+ ${z("inline-flex")}
379
+
380
+ :host{--size:16px;background-color:${D};border-radius:${Pt};border:${et} solid ${ee};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${fo}}:host(:active){border-color:${go}}:host(${zt}:hover){background-color:${uo};border-color:${ns}}:host(${zt}:active){background-color:${po};border-color:${as}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${Ae} solid ${Rt};border-radius:${_}}:host(:not([slot='input']):focus-visible)::after{border-color:${ie}}.indeterminate-indicator,.checked-indicator{color:${Yo};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(${zt})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${zt}),:host(${Le}){border-color:${rs}}:host(${zt}),:host(${Le}) .indeterminate-indicator{background-color:${ho}}:host(${Le}) .indeterminate-indicator{border-radius:${Pt};position:absolute;width:calc(var(--size) / 2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${gt}}:host([disabled]),:host([disabled]${zt}){background-color:${co};border-color:${oe}}:host([disabled]){cursor:unset}:host([disabled]${Le}) .indeterminate-indicator{background-color:${oe}}:host([disabled]${zt}) .checked-indicator{color:${oe}}`.withBehaviors(ft(u`
381
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${zt}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${zt}),:host(${Le}) .indeterminate-indicator{background-color:FieldText}:host(${zt}:not([disabled]):hover),:host(${Le}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${Le}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${zt}) .checked-indicator{color:GrayText}`)),nh=v.partial(`
382
+ <svg
383
+ fill="currentColor"
384
+ aria-hidden="true"
385
+ class="checked-indicator"
386
+ width="1em"
387
+ height="1em"
388
+ viewBox="0 0 12 12"
389
+ xmlns="http://www.w3.org/2000/svg">
390
+ <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>
391
+ </svg>
392
+ `),ah=v.partial(`
393
+ <span class="indeterminate-indicator"></span>
394
+ `);function lh(o={}){return v`<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">${pt(o.checkedIndicator)}</slot><slot name="indeterminate-indicator">${pt(o.indeterminateIndicator)}</slot></template>`}const ch=lh({checkedIndicator:nh,indeterminateIndicator:ah}),dh=vs.compose({name:`${b.prefix}-checkbox`,template:ch,styles:rh});dh.define(b.registry);class hh extends A{}const uh=u`
395
+ ${mi}
396
+
397
+ :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${E};line-height:${H}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${_t};line-height:100%;font-size:${Q};font-weight:${M}}::slotted(svg),:host(${ae}) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Go}}:host(:active) ::slotted([slot='description']){color:${Uo}}:host(:is(${at},${at}:hover,${at}:active)) ::slotted([slot='description']){color:${te}}:host(:is(${W},${W}:hover,${W}:active)) ::slotted([slot='description']),:host(${U}) ::slotted([slot='description']){color:${_t}}:host(${U}:hover) ::slotted([slot='description']){color:${Xo}}:host(${U}:active) ::slotted([slot='description']){color:${Ko}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance]))
398
+ ::slotted([slot='description']){color:${S}}:host(${me}){padding:8px;padding-bottom:10px}:host(${to}){min-width:52px;max-width:52px;padding:${Me}}:host(${to}${me}){min-width:48px;max-width:48px;padding:${se}}:host(${to}${ae}){min-width:56px;max-width:56px;padding:${Dt}}:host(${ae}){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${bt};line-height:${Bt}}:host(${ae}) ::slotted([slot='description']){font-size:${E}}`;function ph(o={}){return v`<template ?disabled="${t=>t.disabled}" tabindex="${t=>t.disabled?-1:0}">${Zt(o)}<span class="content" part="content"><slot ${ht("defaultSlottedContent")}></slot><slot name="description"></slot></span>${Qt(o)}</template>`}const fh=ph(),gh=hh.compose({name:`${b.prefix}-compound-button`,template:fh,styles:uh});gh.define(b.registry);var bh=Object.defineProperty,mh=Object.getOwnPropertyDescriptor,ye=(o,t,e,i)=>{for(var s=i>1?void 0:i?mh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&bh(t,e,s),s};class jt extends I{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}appearanceChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}colorChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&$(this.elementInternals,`${t}`,!1),e&&$(this.elementInternals,`${e}`,!0)}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}dotChanged(t,e){$(this.elementInternals,"dot",!!e)}setCount(){const t=this.count??0;if((t!==0||this.showZero)&&!this.dot)return t>this.overflowCount?`${this.overflowCount}+`:`${t}`}}ye([a],jt.prototype,"appearance",2),ye([a],jt.prototype,"color",2),ye([a],jt.prototype,"shape",2),ye([a],jt.prototype,"size",2),ye([a({converter:ut})],jt.prototype,"count",2),ye([a({attribute:"overflow-count",converter:ut})],jt.prototype,"overflowCount",2),ye([a({attribute:"show-zero",mode:"boolean"})],jt.prototype,"showZero",2),ye([a({mode:"boolean"})],jt.prototype,"dot",2),Jt(jt,Yt);const Bn=u.partial`:is([state--dot], :state(dot))`,vh=u`
399
+ :host(${be}){border-radius:${_}}:host(${be}${ci}),:host(${be}${di}),:host(${be}${me}){border-radius:${Pt}}${Cn}
400
+ ${Sn}
401
+ ${In}
402
+ ${wn}
403
+
404
+ :host(${Bn}),:host(${Bn}[appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`;function $h(o={}){return Pn({defaultContent:v`${t=>t.setCount()}`})}const yh=$h(),xh=jt.compose({name:`${b.prefix}-counter-badge`,template:yh,styles:vh});xh.define(b.registry);const qt={modal:"modal",nonModal:"non-modal",alert:"alert"};var kh=Object.defineProperty,wh=Object.getOwnPropertyDescriptor,yi=(o,t,e,i)=>{for(var s=i>1?void 0:i?wh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&kh(t,e,s),s};class yo extends I{constructor(){super(...arguments),this.type=qt.modal,this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})},this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})}}show(){wt.enqueue(()=>{this.emitBeforeToggle(),this.type===qt.alert||this.type===qt.modal?this.dialog.showModal():this.type===qt.nonModal&&this.dialog.show(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(t){return t.preventDefault(),this.dialog.open&&this.type!==qt.alert&&t.target===this.dialog&&this.hide(),!0}}yi([y],yo.prototype,"dialog",2),yi([a({attribute:"aria-describedby"})],yo.prototype,"ariaDescribedby",2),yi([a({attribute:"aria-labelledby"})],yo.prototype,"ariaLabelledby",2),yi([a],yo.prototype,"type",2);const Ch=v`<dialog role="${o=>o.type===qt.alert?"alertdialog":"dialog"}" type="${o=>o.type}" class="dialog" part="dialog" aria-modal="${o=>o.type===qt.modal||o.type===qt.alert?"true":void 0}" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" @click="${(o,t)=>o.clickHandler(t.event)}" @cancel="${(o,t)=>o.type===qt.alert?t.event.preventDefault():o.hide()}" ${St("dialog")}><slot></slot></dialog>`,Sh=u`
405
+ @layer base{:host{--dialog-backdrop:${yl};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${D};border-radius:${Qr};border:none;box-shadow:${Yc};color:${R};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:${ed};transition-timing-function:${us};opacity:0}::backdrop{transition-timing-function:${bn}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${hs}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}`.withBehaviors(ft(u`
406
+ @layer base{dialog{border:${et} solid ${Rt}}}`)),Ih=yo.compose({name:`${b.prefix}-dialog`,template:Ch,styles:Sh});Ih.define(b.registry);var Ph=Object.defineProperty,Bh=Object.getOwnPropertyDescriptor,Th=(o,t,e,i)=>{for(var s=i>1?void 0:i?Bh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ph(t,e,s),s};class Tn extends I{constructor(){super(...arguments),this.noTitleAction=!1}}Th([a({mode:"boolean",attribute:"no-title-action"})],Tn.prototype,"noTitleAction",2);const zh=v.partial(`
407
+ <svg
408
+ fill="currentColor"
409
+ aria-hidden="true"
410
+ width="20"
411
+ height="20"
412
+ viewBox="0 0 20 20"
413
+ xmlns="http://www.w3.org/2000/svg"
414
+ >
415
+ <path
416
+ 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"
417
+ fill="currentColor"
418
+ ></path>
419
+ </svg>`),Fh=v`<div class="title" part="title"><slot name="title"></slot><slot name="title-action"><fluent-button ?hidden=${o=>o.noTitleAction||o.parentNode?.type===qt.alert} tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${o=>o.parentNode?.hide()} ${St("defaultTitleAction")}>${zh}</fluent-button></slot></div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div>`,Oh=u`
420
+ ${z("grid")}
421
+
422
+ :host{background:${D};box-sizing:border-box;gap:${Z};padding:${$o} ${Zc};container:dialog-body / inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${D};color:${R};column-gap:8px;display:flex;font-family:${x};font-size:${Oe};font-weight:${q};inset-block-start:0;justify-content:space-between;line-height:${si};margin-block-end:calc(${Z} * -1);margin-block-start:calc(${$o} * -1);padding-block-end:${Z};padding-block-start:${$o};position:sticky;z-index:1}.content{box-sizing:border-box;color:${R};font-family:${x};font-size:${E};font-weight:${M};line-height:${H};min-height:32px}.actions{box-sizing:border-box;background:${D};display:flex;flex-direction:column;gap:${Z};inset-block-end:0;margin-block-end:calc(${$o} * -1);padding-block-end:${$o};padding-block-start:${un};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(${Z} * -1);padding-block-start:${Z}}}`,Ah=Tn.compose({name:`${b.prefix}-dialog-body`,template:Fh,styles:Oh});Ah.define(b.registry);const xo={separator:"separator",presentation:"presentation"},Eh=st;var Mh=Object.defineProperty,Lh=Object.getOwnPropertyDescriptor,ko=(o,t,e,i)=>{for(var s=i>1?void 0:i?Lh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Mh(t,e,s),s};class oo extends I{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??xo.separator,this.role!==xo.presentation&&(this.elementInternals.ariaOrientation=this.orientation??Eh.horizontal)}roleChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.role=`${e??xo.separator}`),e===xo.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaOrientation=this.role!==xo.presentation?e:null)}}ko([a],oo.prototype,"role",2),ko([a],oo.prototype,"orientation",2),ko([a({attribute:"align-content"})],oo.prototype,"alignContent",2),ko([a],oo.prototype,"appearance",2),ko([a({mode:"boolean"})],oo.prototype,"inset",2);function _h(){return v`<slot></slot>`}const Rh=_h(),Dh=u`
423
+ ${z("flex")}
424
+
425
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${bo};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${et}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${_t};font-family:${x};font-size:${Q};font-weight:${M};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:${et};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:${Ze}}:host([appearance='strong']) ::slotted(*){color:${R}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${Vr}}:host([appearance='brand']) ::slotted(*){color:${Zi}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${wl}}:host([appearance='subtle']) ::slotted(*){color:${nt}}`.withBehaviors(ft(u`
426
+ :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}`)),Hh=oo.compose({name:`${b.prefix}-divider`,template:Rh,styles:Dh});Hh.define(b.registry);const Vh={above:"above",after:"after",before:"before"},C={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 Nh=Object.defineProperty,jh=Object.getOwnPropertyDescriptor,$s=(o,t,e,i)=>{for(var s=i>1?void 0:i?jh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Nh(t,e,s),s};class xi extends I{constructor(){super(...arguments),this.labelPosition=Vh.above,this.elementInternals=this.attachInternals()}messageSlotChanged(t,e){if(!e.length){this.removeEventListener("invalid",this.invalidHandler,{capture:!0});return}this.addEventListener("invalid",this.invalidHandler,{capture:!0})}slottedInputsChanged(t,e){this.input=e?.[0],this.input&&this.setStates()}changeHandler(t){this.setStates()}clickHandler(t){if(this.isSameNode(t.target)){this.input.focus(),this.input.click();return}return!0}focusinHandler(t){return t.target.matches(":focus-visible")&&$(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(t){return $(this.elementInternals,"focus-visible",!1),!0}invalidHandler(t){this.messageSlot.length&&t.preventDefault(),this.setStates()}setStates(){if(this.$fastController.isConnected){if($(this.elementInternals,"disabled",!!this.input.disabled),$(this.elementInternals,"readonly",!!this.input.readOnly),$(this.elementInternals,"required",!!this.input.required),!this.input.validity)return;for(const[t,e]of Object.entries(C))$(this.elementInternals,e,!!this.input.validity[t])}}}$s([a({attribute:"label-position"})],xi.prototype,"labelPosition",2),$s([y],xi.prototype,"messageSlot",2),$s([y],xi.prototype,"slottedInputs",2);const qh=u.partial`:is([state--disabled], :state(disabled))`,Wh=u.partial`:is([state--focus-visible], :state(focus-visible))`,Gh=u.partial`:is([state--${C.badInput}], :state(${C.badInput}))`,Uh=u.partial`:is([state--${C.customError}], :state(${C.customError}))`,Xh=u.partial`:is([state--${C.patternMismatch}], :state(${C.patternMismatch}))`,Kh=u.partial`:is([state--${C.rangeOverflow}], :state(${C.rangeOverflow}))`,Yh=u.partial`:is([state--${C.rangeUnderflow}], :state(${C.rangeUnderflow}))`,Qh=u.partial`:is([state--${C.stepMismatch}], :state(${C.stepMismatch}))`,Zh=u.partial`:is([state--${C.tooLong}], :state(${C.tooLong}))`,Jh=u.partial`:is([state--${C.tooShort}], :state(${C.tooShort}))`,tu=u.partial`:is([state--${C.typeMismatch}], :state(${C.typeMismatch}))`,eu=u.partial`:is([state-${C.valid}], :state(${C.valid}))`,ou=u.partial`:is([state--${C.valueMissing}], :state(${C.valueMissing}))`,iu=u`
427
+ ${z("inline-grid")}
428
+
429
+ :host{align-items:center;cursor:pointer;gap:0 ${fe};justify-items:start;padding:${Z}}:has([slot='message']){color:${R};row-gap:${Z}}: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:${fe}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${ni}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message'}::slotted([slot='label']){cursor:pointer;grid-area:label}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){margin-block-start:${ni};grid-area:message}:host(${Wh}:focus-within){border-radius:${_};outline:${Ae} solid ${ie}}::slotted(label){display:inline-flex;color:${R};cursor:pointer;font-family:${x};font-size:${E};font-weight:${M};line-height:${H};user-select:none}:host([size='small']) ::slotted(label){font-size:${Q};line-height:${mt}}:host([size='large']) ::slotted(label){font-size:${bt};line-height:${Bt}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${q}}:host(${qh}) ::slotted(label){color:${R};cursor:default}::slotted([flag]){display:none}:host(${Gh}) ::slotted([flag='${C.badInput}']),:host(${Uh}) ::slotted([flag='${C.customError}']),:host(${Xh}) ::slotted([flag='${C.patternMismatch}']),:host(${Kh}) ::slotted([flag='${C.rangeOverflow}']),:host(${Yh}) ::slotted([flag='${C.rangeUnderflow}']),:host(${Qh}) ::slotted([flag='${C.stepMismatch}']),:host(${Zh}) ::slotted([flag='${C.tooLong}']),:host(${Jh}) ::slotted([flag='${C.tooShort}']),:host(${tu}) ::slotted([flag='${C.typeMismatch}']),:host(${ou}) ::slotted([flag='${C.valueMissing}']),:host(${eu}) ::slotted([flag='${C.valid}']){display:block}`,su=v`<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)}" ${Ea({property:"slottedInputs",attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0,selector:'[slot="input"]',filter:ze()})}><slot name="label" part="label"></slot><slot name="input" part="input"></slot><slot name="message" part="message" ${ht({property:"messageSlot",filter:ze("[flag]")})}></slot></template>`,ru=xi.compose({name:`${b.prefix}-field`,template:su,styles:iu,shadowOptions:{delegatesFocus:!0}});ru.define(b.registry);var nu=Object.defineProperty,au=Object.getOwnPropertyDescriptor,wo=(o,t,e,i)=>{for(var s=i>1?void 0:i?au(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&nu(t,e,s),s};class io extends I{}wo([a({mode:"boolean"})],io.prototype,"block",2),wo([a({mode:"boolean"})],io.prototype,"bordered",2),wo([a({mode:"boolean"})],io.prototype,"shadow",2),wo([a],io.prototype,"fit",2),wo([a],io.prototype,"shape",2);const lu=v`<slot></slot>`,cu=u`
430
+ :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:${et} solid ${bo}}: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:${ri}}:host([shape='circular']) ::slotted(img){border-radius:${gt}}:host([shape='rounded']) ::slotted(img){border-radius:${_}}`,du=io.compose({name:`${b.prefix}-image`,template:lu,styles:cu});du.define(b.registry);var hu=Object.defineProperty,uu=Object.getOwnPropertyDescriptor,ki=(o,t,e,i)=>{for(var s=i>1?void 0:i?uu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&hu(t,e,s),s};class Co extends I{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}ki([a],Co.prototype,"size",2),ki([a],Co.prototype,"weight",2),ki([a({mode:"boolean"})],Co.prototype,"disabled",2),ki([a({mode:"boolean"})],Co.prototype,"required",2);const pu=u`
431
+ ${z("inline-flex")}
432
+
433
+ :host{color:${R};cursor:pointer;font-family:${x};font-size:${E};font-weight:${M};line-height:${H};user-select:none}.asterisk{color:${Wr};margin-inline-start:${se}}:host([size='small']){font-size:${Q};line-height:${mt}}:host([size='large']){font-size:${bt};line-height:${Bt}}:host([size='large']),:host([weight='semibold']){font-weight:${q}}:host([disabled]),:host([disabled]) .asterisk{color:${S}}`;function fu(){return v`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${o=>!o.required}">*</span>`}const gu=fu(),bu=Co.compose({name:`${b.prefix}-label`,template:gu,styles:pu});bu.define(b.registry);var mu=Object.defineProperty,vu=Object.getOwnPropertyDescriptor,zn=(o,t,e,i)=>{for(var s=i>1?void 0:i?vu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&mu(t,e,s),s};class ys extends Ht{constructor(){super(...arguments),this.inline=!1}}zn([a],ys.prototype,"appearance",2),zn([a({mode:"boolean"})],ys.prototype,"inline",2);const $u=u`
434
+ ${z("inline")}
435
+
436
+ :host{position:relative;box-sizing:border-box;background-color:transparent;color:${sl};cursor:pointer;font-family:${x};font-size:${E};font-weight:${M};margin:0;padding:0;overflow:inherit;text-align:left;text-decoration:none;text-decoration-thinkness:${et};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${rl}}:host(:active){color:${nl}}:host([appearance='subtle']:hover){color:${ll}}:host([appearance='subtle']:active){color:${cl}}}:host([appearance='subtle']){color:${al}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}`.withBehaviors(ft(u`
437
+ :host{color:LinkText}`));function yu(){return v`<template tabindex="0" @click="${(o,t)=>o.clickHandler(t.event)}" @keydown="${(o,t)=>o.keydownHandler(t.event)}"><slot></slot></template>`}const xu=yu(),ku=ys.compose({name:`${b.prefix}-link`,template:xu,styles:$u});ku.define(b.registry);class wu extends A{}const Cu=ms({end:v.partial(`
438
+ <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
439
+ <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>
440
+ </svg>
441
+ `)}),Su=wu.compose({name:`${b.prefix}-menu-button`,template:Cu,styles:mi});Su.define(b.registry);function wi(o){return o.split("-")[1]}function Fn(o){return o==="y"?"height":"width"}function _e(o){return o.split("-")[0]}function Ci(o){return["top","bottom"].includes(_e(o))?"x":"y"}function On(o,t,e){let{reference:i,floating:s}=o;const r=i.x+i.width/2-s.width/2,n=i.y+i.height/2-s.height/2,c=Ci(t),h=Fn(c),d=i[h]/2-s[h]/2,l=c==="x";let p;switch(_e(t)){case"top":p={x:r,y:i.y-s.height};break;case"bottom":p={x:r,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:n};break;case"left":p={x:i.x-s.width,y:n};break;default:p={x:i.x,y:i.y}}switch(wi(t)){case"start":p[c]-=d*(e&&l?-1:1);break;case"end":p[c]+=d*(e&&l?-1:1)}return p}const Iu=async(o,t,e)=>{const{placement:i="bottom",strategy:s="absolute",middleware:r=[],platform:n}=e,c=r.filter(Boolean),h=await(n.isRTL==null?void 0:n.isRTL(t));let d=await n.getElementRects({reference:o,floating:t,strategy:s}),{x:l,y:p}=On(d,i,h),f=i,g={},m=0;for(let k=0;k<c.length;k++){const{name:P,fn:F}=c[k],{x:T,y:V,data:ot,reset:it}=await F({x:l,y:p,initialPlacement:i,placement:f,strategy:s,middlewareData:g,rects:d,platform:n,elements:{reference:o,floating:t}});l=T??l,p=V??p,g={...g,[P]:{...g[P],...ot}},it&&m<=50&&(m++,typeof it=="object"&&(it.placement&&(f=it.placement),it.rects&&(d=it.rects===!0?await n.getElementRects({reference:o,floating:t,strategy:s}):it.rects),{x:l,y:p}=On(d,f,h)),k=-1)}return{x:l,y:p,placement:f,strategy:s,middlewareData:g}};function Pu(o){return typeof o!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(o):{top:o,right:o,bottom:o,left:o}}function xs(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}async function So(o,t){var e;t===void 0&&(t={});const{x:i,y:s,platform:r,rects:n,elements:c,strategy:h}=o,{boundary:d="clippingAncestors",rootBoundary:l="viewport",elementContext:p="floating",altBoundary:f=!1,padding:g=0}=t,m=Pu(g),k=c[f?p==="floating"?"reference":"floating":p],P=xs(await r.getClippingRect({element:(e=await(r.isElement==null?void 0:r.isElement(k)))==null||e?k:k.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:d,rootBoundary:l,strategy:h})),F=p==="floating"?{...n.floating,x:i,y:s}:n.reference,T=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),V=await(r.isElement==null?void 0:r.isElement(T))&&await(r.getScale==null?void 0:r.getScale(T))||{x:1,y:1},ot=xs(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:F,offsetParent:T,strategy:h}):F);return{top:(P.top-ot.top+m.top)/V.y,bottom:(ot.bottom-P.bottom+m.bottom)/V.y,left:(P.left-ot.left+m.left)/V.x,right:(ot.right-P.right+m.right)/V.x}}const ks=Math.min,Re=Math.max;function An(o,t,e){return Re(o,ks(t,e))}const En=["top","right","bottom","left"];En.reduce((o,t)=>o.concat(t,t+"-start",t+"-end"),[]);const Bu={left:"right",right:"left",bottom:"top",top:"bottom"};function Si(o){return o.replace(/left|right|bottom|top/g,t=>Bu[t])}function Tu(o,t,e){e===void 0&&(e=!1);const i=wi(o),s=Ci(o),r=Fn(s);let n=s==="x"?i===(e?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(n=Si(n)),{main:n,cross:Si(n)}}const zu={start:"end",end:"start"};function ws(o){return o.replace(/start|end/g,t=>zu[t])}const Mn=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(t){var e;const{placement:i,middlewareData:s,rects:r,initialPlacement:n,platform:c,elements:h}=t,{mainAxis:d=!0,crossAxis:l=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...k}=o,P=_e(i),F=_e(n)===n,T=await(c.isRTL==null?void 0:c.isRTL(h.floating)),V=p||(F||!m?[Si(n)]:function($t){const Xt=Si($t);return[ws($t),Xt,ws(Xt)]}(n));p||g==="none"||V.push(...function($t,Xt,Pe,he){const Kt=wi($t);let yt=function(no,Ei,da){const Ms=["left","right"],Ls=["right","left"],ha=["top","bottom"],ua=["bottom","top"];switch(no){case"top":case"bottom":return da?Ei?Ls:Ms:Ei?Ms:Ls;case"left":case"right":return Ei?ha:ua;default:return[]}}(_e($t),Pe==="start",he);return Kt&&(yt=yt.map(no=>no+"-"+Kt),Xt&&(yt=yt.concat(yt.map(ws)))),yt}(n,m,g,T));const ot=[n,...V],it=await So(t,k),Ie=[];let de=((e=s.flip)==null?void 0:e.overflows)||[];if(d&&Ie.push(it[P]),l){const{main:$t,cross:Xt}=Tu(i,r,T);Ie.push(it[$t],it[Xt])}if(de=[...de,{placement:i,overflows:Ie}],!Ie.every($t=>$t<=0)){var ro,As;const $t=(((ro=s.flip)==null?void 0:ro.index)||0)+1,Xt=ot[$t];if(Xt)return{data:{index:$t,overflows:de},reset:{placement:Xt}};let Pe=(As=de.filter(he=>he.overflows[0]<=0).sort((he,Kt)=>he.overflows[1]-Kt.overflows[1])[0])==null?void 0:As.placement;if(!Pe)switch(f){case"bestFit":{var Es;const he=(Es=de.map(Kt=>[Kt.placement,Kt.overflows.filter(yt=>yt>0).reduce((yt,no)=>yt+no,0)]).sort((Kt,yt)=>Kt[1]-yt[1])[0])==null?void 0:Es[0];he&&(Pe=he);break}case"initialPlacement":Pe=n}if(i!==Pe)return{reset:{placement:Pe}}}return{}}}};function Ln(o,t){return{top:o.top-t.height,right:o.right-t.width,bottom:o.bottom-t.height,left:o.left-t.width}}function _n(o){return En.some(t=>o[t]>=0)}const Fu=function(o){return o===void 0&&(o={}),{name:"hide",options:o,async fn(t){const{strategy:e="referenceHidden",...i}=o,{rects:s}=t;switch(e){case"referenceHidden":{const r=Ln(await So(t,{...i,elementContext:"reference"}),s.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:_n(r)}}}case"escaped":{const r=Ln(await So(t,{...i,altBoundary:!0}),s.floating);return{data:{escapedOffsets:r,escaped:_n(r)}}}default:return{}}}}};function Ou(o){return o==="x"?"y":"x"}const Au=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){const{x:e,y:i,placement:s}=t,{mainAxis:r=!0,crossAxis:n=!1,limiter:c={fn:P=>{let{x:F,y:T}=P;return{x:F,y:T}}},...h}=o,d={x:e,y:i},l=await So(t,h),p=Ci(_e(s)),f=Ou(p);let g=d[p],m=d[f];if(r){const P=p==="y"?"bottom":"right";g=An(g+l[p==="y"?"top":"left"],g,g-l[P])}if(n){const P=f==="y"?"bottom":"right";m=An(m+l[f==="y"?"top":"left"],m,m-l[P])}const k=c.fn({...t,[p]:g,[f]:m});return{...k,data:{x:k.x-e,y:k.y-i}}}}},Rn=function(o){return o===void 0&&(o={}),{name:"size",options:o,async fn(t){const{placement:e,rects:i,platform:s,elements:r}=t,{apply:n=()=>{},...c}=o,h=await So(t,c),d=_e(e),l=wi(e),p=Ci(e)==="x",{width:f,height:g}=i.floating;let m,k;d==="top"||d==="bottom"?(m=d,k=l===(await(s.isRTL==null?void 0:s.isRTL(r.floating))?"start":"end")?"left":"right"):(k=d,m=l==="end"?"top":"bottom");const P=g-h[m],F=f-h[k];let T=P,V=F;if(p?V=ks(f-h.right-h.left,F):T=ks(g-h.bottom-h.top,P),!t.middlewareData.shift&&!l){const it=Re(h.left,0),Ie=Re(h.right,0),de=Re(h.top,0),ro=Re(h.bottom,0);p?V=f-2*(it!==0||Ie!==0?it+Ie:Re(h.left,h.right)):T=g-2*(de!==0||ro!==0?de+ro:Re(h.top,h.bottom))}await n({...t,availableWidth:V,availableHeight:T});const ot=await s.getDimensions(r.floating);return f!==ot.width||g!==ot.height?{reset:{rects:!0}}:{}}}};function vt(o){var t;return((t=o.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(o){return vt(o).getComputedStyle(o)}const Dn=Math.min,Io=Math.max,Ii=Math.round;function Hn(o){const t=Wt(o);let e=parseFloat(t.width),i=parseFloat(t.height);const s=o.offsetWidth,r=o.offsetHeight,n=Ii(e)!==s||Ii(i)!==r;return n&&(e=s,i=r),{width:e,height:i,fallback:n}}function xe(o){return Nn(o)?(o.nodeName||"").toLowerCase():""}let Pi;function Vn(){if(Pi)return Pi;const o=navigator.userAgentData;return o&&Array.isArray(o.brands)?(Pi=o.brands.map(t=>t.brand+"/"+t.version).join(" "),Pi):navigator.userAgent}function Gt(o){return o instanceof vt(o).HTMLElement}function Ft(o){return o instanceof vt(o).Element}function Nn(o){return o instanceof vt(o).Node}function jn(o){return typeof ShadowRoot>"u"?!1:o instanceof vt(o).ShadowRoot||o instanceof ShadowRoot}function Bi(o){const{overflow:t,overflowX:e,overflowY:i,display:s}=Wt(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+e)&&!["inline","contents"].includes(s)}function Eu(o){return["table","td","th"].includes(xe(o))}function Cs(o){const t=/firefox/i.test(Vn()),e=Wt(o),i=e.backdropFilter||e.WebkitBackdropFilter;return e.transform!=="none"||e.perspective!=="none"||!!i&&i!=="none"||t&&e.willChange==="filter"||t&&!!e.filter&&e.filter!=="none"||["transform","perspective"].some(s=>e.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const r=e.contain;return r!=null&&r.includes(s)})}function Ss(){return/^((?!chrome|android).)*safari/i.test(Vn())}function Is(o){return["html","body","#document"].includes(xe(o))}function qn(o){return Ft(o)?o:o.contextElement}const Wn={x:1,y:1};function so(o){const t=qn(o);if(!Gt(t))return Wn;const e=t.getBoundingClientRect(),{width:i,height:s,fallback:r}=Hn(t);let n=(r?Ii(e.width):e.width)/i,c=(r?Ii(e.height):e.height)/s;return n&&Number.isFinite(n)||(n=1),c&&Number.isFinite(c)||(c=1),{x:n,y:c}}function De(o,t,e,i){var s,r;t===void 0&&(t=!1),e===void 0&&(e=!1);const n=o.getBoundingClientRect(),c=qn(o);let h=Wn;t&&(i?Ft(i)&&(h=so(i)):h=so(o));const d=c?vt(c):window,l=Ss()&&e;let p=(n.left+(l&&((s=d.visualViewport)==null?void 0:s.offsetLeft)||0))/h.x,f=(n.top+(l&&((r=d.visualViewport)==null?void 0:r.offsetTop)||0))/h.y,g=n.width/h.x,m=n.height/h.y;if(c){const k=vt(c),P=i&&Ft(i)?vt(i):i;let F=k.frameElement;for(;F&&i&&P!==k;){const T=so(F),V=F.getBoundingClientRect(),ot=getComputedStyle(F);V.x+=(F.clientLeft+parseFloat(ot.paddingLeft))*T.x,V.y+=(F.clientTop+parseFloat(ot.paddingTop))*T.y,p*=T.x,f*=T.y,g*=T.x,m*=T.y,p+=V.x,f+=V.y,F=vt(F).frameElement}}return{width:g,height:m,top:f,right:p+g,bottom:f+m,left:p,x:p,y:f}}function ke(o){return((Nn(o)?o.ownerDocument:o.document)||window.document).documentElement}function Ti(o){return Ft(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Gn(o){return De(ke(o)).left+Ti(o).scrollLeft}function Po(o){if(xe(o)==="html")return o;const t=o.assignedSlot||o.parentNode||jn(o)&&o.host||ke(o);return jn(t)?t.host:t}function Un(o){const t=Po(o);return Is(t)?t.ownerDocument.body:Gt(t)&&Bi(t)?t:Un(t)}function Bo(o,t){var e;t===void 0&&(t=[]);const i=Un(o),s=i===((e=o.ownerDocument)==null?void 0:e.body),r=vt(i);return s?t.concat(r,r.visualViewport||[],Bi(i)?i:[]):t.concat(i,Bo(i))}function Xn(o,t,e){let i;if(t==="viewport")i=function(n,c){const h=vt(n),d=ke(n),l=h.visualViewport;let p=d.clientWidth,f=d.clientHeight,g=0,m=0;if(l){p=l.width,f=l.height;const k=Ss();(!k||k&&c==="fixed")&&(g=l.offsetLeft,m=l.offsetTop)}return{width:p,height:f,x:g,y:m}}(o,e);else if(t==="document")i=function(n){const c=ke(n),h=Ti(n),d=n.ownerDocument.body,l=Io(c.scrollWidth,c.clientWidth,d.scrollWidth,d.clientWidth),p=Io(c.scrollHeight,c.clientHeight,d.scrollHeight,d.clientHeight);let f=-h.scrollLeft+Gn(n);const g=-h.scrollTop;return Wt(d).direction==="rtl"&&(f+=Io(c.clientWidth,d.clientWidth)-l),{width:l,height:p,x:f,y:g}}(ke(o));else if(Ft(t))i=function(n,c){const h=De(n,!0,c==="fixed"),d=h.top+n.clientTop,l=h.left+n.clientLeft,p=Gt(n)?so(n):{x:1,y:1};return{width:n.clientWidth*p.x,height:n.clientHeight*p.y,x:l*p.x,y:d*p.y}}(t,e);else{const n={...t};if(Ss()){var s,r;const c=vt(o);n.x-=((s=c.visualViewport)==null?void 0:s.offsetLeft)||0,n.y-=((r=c.visualViewport)==null?void 0:r.offsetTop)||0}i=n}return xs(i)}function Kn(o,t){return Gt(o)&&Wt(o).position!=="fixed"?t?t(o):o.offsetParent:null}function Yn(o,t){const e=vt(o);let i=Kn(o,t);for(;i&&Eu(i)&&Wt(i).position==="static";)i=Kn(i,t);return i&&(xe(i)==="html"||xe(i)==="body"&&Wt(i).position==="static"&&!Cs(i))?e:i||function(s){let r=Po(s);for(;Gt(r)&&!Is(r);){if(Cs(r))return r;r=Po(r)}return null}(o)||e}function Mu(o,t,e){const i=Gt(t),s=ke(t),r=De(o,!0,e==="fixed",t);let n={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(i||!i&&e!=="fixed")if((xe(t)!=="body"||Bi(s))&&(n=Ti(t)),Gt(t)){const h=De(t,!0);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else s&&(c.x=Gn(s));return{x:r.left+n.scrollLeft-c.x,y:r.top+n.scrollTop-c.y,width:r.width,height:r.height}}const Lu={getClippingRect:function(o){let{element:t,boundary:e,rootBoundary:i,strategy:s}=o;const r=e==="clippingAncestors"?function(d,l){const p=l.get(d);if(p)return p;let f=Bo(d).filter(P=>Ft(P)&&xe(P)!=="body"),g=null;const m=Wt(d).position==="fixed";let k=m?Po(d):d;for(;Ft(k)&&!Is(k);){const P=Wt(k),F=Cs(k);(m?F||g:F||P.position!=="static"||!g||!["absolute","fixed"].includes(g.position))?g=P:f=f.filter(T=>T!==k),k=Po(k)}return l.set(d,f),f}(t,this._c):[].concat(e),n=[...r,i],c=n[0],h=n.reduce((d,l)=>{const p=Xn(t,l,s);return d.top=Io(p.top,d.top),d.right=Dn(p.right,d.right),d.bottom=Dn(p.bottom,d.bottom),d.left=Io(p.left,d.left),d},Xn(t,c,s));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(o){let{rect:t,offsetParent:e,strategy:i}=o;const s=Gt(e),r=ke(e);if(e===r)return t;let n={scrollLeft:0,scrollTop:0},c={x:1,y:1};const h={x:0,y:0};if((s||!s&&i!=="fixed")&&((xe(e)!=="body"||Bi(r))&&(n=Ti(e)),Gt(e))){const d=De(e);c=so(e),h.x=d.x+e.clientLeft,h.y=d.y+e.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-n.scrollLeft*c.x+h.x,y:t.y*c.y-n.scrollTop*c.y+h.y}},isElement:Ft,getDimensions:function(o){return Gt(o)?Hn(o):o.getBoundingClientRect()},getOffsetParent:Yn,getDocumentElement:ke,getScale:so,async getElementRects(o){let{reference:t,floating:e,strategy:i}=o;const s=this.getOffsetParent||Yn,r=this.getDimensions;return{reference:Mu(t,await s(e),i),floating:{x:0,y:0,...await r(e)}}},getClientRects:o=>Array.from(o.getClientRects()),isRTL:o=>Wt(o).direction==="rtl"};function Qn(o,t,e,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:r=!0,elementResize:n=!0,animationFrame:c=!1}=i,h=s&&!c,d=h||r?[...Ft(o)?Bo(o):o.contextElement?Bo(o.contextElement):[],...Bo(t)]:[];d.forEach(g=>{h&&g.addEventListener("scroll",e,{passive:!0}),r&&g.addEventListener("resize",e)});let l,p=null;if(n){let g=!0;p=new ResizeObserver(()=>{g||e(),g=!1}),Ft(o)&&!c&&p.observe(o),Ft(o)||!o.contextElement||c||p.observe(o.contextElement),p.observe(t)}let f=c?De(o):null;return c&&function g(){const m=De(o);!f||m.x===f.x&&m.y===f.y&&m.width===f.width&&m.height===f.height||e(),f=m,l=requestAnimationFrame(g)}(),e(),()=>{var g;d.forEach(m=>{h&&m.removeEventListener("scroll",e),r&&m.removeEventListener("resize",e)}),(g=p)==null||g.disconnect(),p=null,c&&cancelAnimationFrame(l)}}const Zn=(o,t,e)=>{const i=new Map,s={platform:Lu,...e},r={...s.platform,_c:i};return Iu(o,t,{...s,platform:r})},lt={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};lt.menuitem+"",lt.menuitemcheckbox+"",lt.menuitemradio+"";var _u=Object.defineProperty,Ru=Object.getOwnPropertyDescriptor,He=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ru(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&_u(t,e,s),s};class Ot extends I{constructor(){super(...arguments),this.role=lt.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case Qe:case Wo:return this.invoke(),!1;case Ke:return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case Pr:if(this.expanded)return this.closeSubMenu(),!1;break;case Xe:if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!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 lt.menuitemcheckbox:this.checked=!this.checked;break;case lt.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case lt.menuitemradio:this.checked||(this.checked=!0);break}}}expandedChanged(t,e){this.$fastController.isConnected&&(e&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(t,e){e.length&&(this.submenu=e[0],this.updateSubmenu())}disconnectedCallback(){this.cleanup?.(),super.disconnectedCallback()}updateSubmenu(){this.cleanup?.(),!(!this.submenu||!this.expanded)&&wt.enqueue(()=>{this.cleanup=Qn(this,this.submenuContainer,async()=>{const t=["left-start","right-start"],{x:e,y:i}=await Zn(this,this.submenuContainer,{middleware:[Au(),Rn({apply:({availableWidth:s,rects:r})=>{s<r.floating.width&&t.push("bottom-end","top-end")}}),Mn({fallbackPlacements:t})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:`${e}px`,position:"fixed",top:`${i}px`}),this.submenuLoaded()})})}}He([a({mode:"boolean"})],Ot.prototype,"disabled",2),He([a({mode:"boolean"})],Ot.prototype,"expanded",2),He([a],Ot.prototype,"role",2),He([a({mode:"boolean"})],Ot.prototype,"checked",2),He([a({mode:"boolean"})],Ot.prototype,"hidden",2),He([y],Ot.prototype,"slottedSubmenu",2),He([y],Ot.prototype,"submenu",2),Jt(Ot,Yt);const Du=u`
442
+ ${z("grid")}
443
+
444
+ :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${D};font:${M} ${E} / ${H} ${x};border-radius:${_};color:${_t};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${Ji}}.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:${_t}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Oe};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${nt};font:${M} ${Q} / ${mt} ${x};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:${Go}}:host([icon]:hover) ::slotted([slot='start']){color:${Or}}:host(:active){background-color:${Lr}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${Uo}}:host(:active) ::slotted([slot='start']){color:${Ar}}:host([disabled]){background-color:${co}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${S}}: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}`,Jn=v.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>'),Hu=v.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>');function Vu(o={}){return v`<template aria-haspopup="${t=>t.hasSubmenu?"menu":void 0}" aria-checked="${t=>t.role!==lt.menuitem?t.checked:void 0}" aria-disabled="${t=>t.disabled}" aria-expanded="${t=>t.expanded}" @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)}">${Xi(t=>t.role===lt.menuitemcheckbox,v`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${pt(o.checkboxIndicator)}</slot></span></div>`)} ${Xi(t=>t.role===lt.menuitemradio,v`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${pt(o.radioIndicator)}</slot></span></div>`)}</div>${Zt(o)}<span class="content" part="content"><slot></slot></span>${Qt(o)} ${Xi(t=>t.hasSubmenu,v`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${pt(o.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${t=>!t.expanded}" class="submenu-container" part="submenu-container" ${St("submenuContainer")}><slot name="submenu" ${ht({property:"slottedSubmenu",filter:ze("[role='menu']")})}></slot></span></template>`}const Nu=Vu({checkboxIndicator:Jn,expandCollapseGlyph:Hu,radioIndicator:Jn}),ju=Ot.compose({name:`${b.prefix}-menu-item`,template:Nu,styles:Du});ju.define(b.registry);var qu=Object.defineProperty,Wu=Object.getOwnPropertyDescriptor,Gu=(o,t,e,i)=>{for(var s=i>1?void 0:i?Wu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&qu(t,e,s),s};const Ps=class Os extends I{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>this.parentElement!==null&&Ir(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&this.menuItems!==void 0){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=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.handleExpandedChanged=t=>{if(t.defaultPrevented||t.target===null||this.menuItems===void 0||this.menuItems.indexOf(t.target)<0)return;t.preventDefault();const e=t.target;if(this.expandedItem!==null&&e===this.expandedItem&&e.expanded===!1){this.expandedItem=null;return}e.expanded&&(this.expandedItem!==null&&this.expandedItem!==e&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=e,this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.changeHandler=t=>{if(this.menuItems===void 0)return;const e=t.target,i=this.menuItems.indexOf(e);if(i!==-1&&e.role==="menuitemradio"&&e.checked===!0){for(let r=i-1;r>=0;--r){const n=this.menuItems[r],c=n.getAttribute("role");if(c===lt.menuitemradio&&(n.checked=!1),c==="separator")break}const s=this.menuItems.length-1;for(let r=i+1;r<=s;++r){const n=this.menuItems[r],c=n.getAttribute("role");if(c===lt.menuitemradio&&(n.checked=!1),c==="separator")break}}},this.isMenuItemElement=t=>t instanceof Ot||Ir(t)&&t.getAttribute("role")in Os.focusableElementRoles,this.isFocusableElement=t=>this.isMenuItemElement(t)}itemsChanged(t,e){this.$fastController.isConnected&&this.menuItems!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),wt.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(){this.expandedItem!==null&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(t){if(!(t.defaultPrevented||this.menuItems===void 0))switch(t.key){case Ue:this.setFocus(this.focusIndex+1,1);return;case Ye:this.setFocus(this.focusIndex-1,-1);return;case jo:this.setFocus(this.menuItems.length-1,-1);return;case qo:this.setFocus(0,1);return;default:return!0}}removeItemListeners(t=this.items){t.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),w.getNotifier(e).unsubscribe(this,"hidden")})}static elementIndent(t){const e=t.getAttribute("role"),i=t.querySelector("[slot=start]");return e&&e!==lt.menuitem?i?2:1:i?1:0}setItems(){const t=Array.from(this.children);this.removeItemListeners(t),t.forEach(r=>w.getNotifier(r).subscribe(this,"hidden"));const e=t.filter(r=>!r.hasAttribute("hidden"));this.menuItems=e;const i=this.menuItems.filter(this.isMenuItemElement);i.length&&(this.focusIndex=0),i.forEach((r,n)=>{r.setAttribute("tabindex",n===0?"0":"-1"),r.addEventListener("expanded-change",this.handleExpandedChanged),r.addEventListener("focus",this.handleItemFocus)});const s=this.menuItems?.filter(this.isMenuItemElement);s?.forEach((r,n)=>{const c=s?.reduce((h,d)=>{const l=Os.elementIndent(d);return Math.max(h,l)},0);r instanceof Ot&&r.setAttribute("data-indent",`${c}`)})}handleChange(t,e){e==="hidden"&&this.setItems()}setFocus(t,e){if(this.menuItems!==void 0)for(;t>=0&&t<this.menuItems.length;){const i=this.menuItems[t];if(this.isFocusableElement(i)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,i.setAttribute("tabindex","0"),i.focus();break}t+=e}}};Ps.focusableElementRoles=lt,Gu([y],Ps.prototype,"items",2);let Uu=Ps;const Xu=u`
445
+ ${z("flex")}
446
+
447
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${D};border:1px solid ${Rt};border-radius:${_};box-shadow:${cn};padding:4px;row-gap:2px}`;function Ku(){return v`<template slot="${o=>o.slot?o.slot:o.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(o,t)=>o.handleMenuKeyDown(t.event)}" @focusout="${(o,t)=>o.handleFocusOut(t.event)}"><slot ${ht("items")}></slot></template>`}const Yu=Ku(),Qu=Uu.compose({name:`${b.prefix}-menu-list`,template:Yu,styles:Xu});Qu.define(b.registry);var Zu=Object.defineProperty,Ju=Object.getOwnPropertyDescriptor,Ve=(o,t,e,i)=>{for(var s=i>1?void 0:i?Ju(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Zu(t,e,s),s};class we extends I{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=t=>{this.open=!0,t&&this.openOnContext&&t.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=t=>{if(t.defaultPrevented)return;switch(t.key){case Wo:case Qe:t.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=t=>{t&&!t.composedPath().includes(this._menuList)&&!t.composedPath().includes(this._trigger)&&this.closeMenu()}}connectedCallback(){super.connectedCallback(),wt.enqueue(()=>this.setComponent())}disconnectedCallback(){super.disconnectedCallback(),this.cleanup?.(),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&&wt.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&wt.enqueue(()=>{this._trigger.focus()})}openChanged(t,e){this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",`${this.open}`),this._menuList&&this.open&&wt.enqueue(this.setPositioningTask)),this.cleanup?.(),this.$emit("onOpenChange",{open:e})}openOnHoverChanged(t,e){e?this._trigger?.addEventListener("mouseover",this.openMenu):this._trigger?.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(t,e){e?this._menuList?.removeEventListener("click",this.closeMenu):this._menuList?.addEventListener("click",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)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=Qn(this,this.positioningContainer,async()=>{const{middlewareData:t,x:e,y:i}=await Zn(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[Mn(),Rn({apply:({availableHeight:s,rects:r})=>{this.positioningContainer?.style&&Object.assign(this.positioningContainer.style,{maxHeight:`${s}px`,width:`${r.reference.width}px`})}}),Fu()]});if(t.hide?.referenceHidden){this.open=!1;return}this.positioningContainer?.style&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${e}px, ${i}px)`})}))}addListeners(){document.addEventListener("click",this.handleDocumentClick),this._trigger?.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||this._menuList?.addEventListener("click",this.closeMenu),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu):this.openOnContext?this._trigger?.addEventListener("contextmenu",this.openMenu):this._trigger?.addEventListener("click",this.toggleMenu)}removeListeners(){document.removeEventListener("click",this.handleDocumentClick),this._trigger?.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||this._menuList?.removeEventListener("click",this.closeMenu),this.openOnHover&&this._trigger?.removeEventListener("mouseover",this.openMenu),this.openOnContext?this._trigger?.removeEventListener("contextmenu",this.openMenu):this._trigger?.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(t){if(t.defaultPrevented)return;switch(t.key){case Pr:t.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case Na:this.open&&this.closeMenu(),t.shiftKey&&this.focusTrigger();default:return!0}}}Ve([y,a({attribute:"open-on-hover",mode:"boolean"})],we.prototype,"openOnHover",2),Ve([y,a({attribute:"open-on-context",mode:"boolean"})],we.prototype,"openOnContext",2),Ve([y,a({attribute:"close-on-scroll",mode:"boolean"})],we.prototype,"closeOnScroll",2),Ve([y,a({attribute:"persist-on-item-click",mode:"boolean"})],we.prototype,"persistOnItemClick",2),Ve([y,a({mode:"boolean"})],we.prototype,"open",2),Ve([y],we.prototype,"slottedMenuList",2),Ve([y],we.prototype,"slottedTriggers",2);const tp=u`
448
+ :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`;function ep(){return v`<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.handleMenuKeydown(t.event)}"><slot name="trigger" ${ht({property:"slottedTriggers",filter:ze()})}></slot><span ${St("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${o=>!o.open}"><slot ${ht({property:"slottedMenuList",filter:ze()})}></slot></span></template>`}const op=ep(),ip=we.compose({name:`${b.prefix}-menu`,template:op,styles:tp});ip.define(b.registry);var sp=Object.defineProperty,rp=Object.getOwnPropertyDescriptor,Ne=(o,t,e,i)=>{for(var s=i>1?void 0:i?rp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&sp(t,e,s),s};class Ce extends I{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}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,i=this.value??0,s=e-t;return s===0?0:Math.fround((i-t)/s*100)}}Ne([a],Ce.prototype,"thickness",2),Ne([a],Ce.prototype,"shape",2),Ne([a({attribute:"validation-state"})],Ce.prototype,"validationState",2),Ne([a({converter:ut})],Ce.prototype,"value",2),Ne([a({converter:ut})],Ce.prototype,"min",2),Ne([a({converter:ut})],Ce.prototype,"max",2),Ne([ga],Ce.prototype,"percentComplete",1);const np=u`
449
+ ${z("block")}
450
+
451
+ :host{width:100%;height:2px;overflow-x:hidden;background-color:${Qo};border-radius:${_};contain:content}:host([thickness='large']){height:4px}:host([shape='square']){border-radius:${cs}}.indicator{background-color:${ho};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(
452
+ to right,${Qo} 0%,${It} 50%,${Qo} 100%
453
+ );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host([validation-state='error']) .indicator{background-color:${qr}}:host([validation-state='warning']) .indicator{background-color:${Xr}}:host([validation-state='success']) .indicator{background-color:${Ur}}@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(ft(u`
454
+ :host{background-color:CanvasText}.indicator,:host(:is([validation-state='success'],[validation-state='warning'],[validation-state='error'])) .indicator{background-color:Highlight}`));function ap(){return v`<div class="indicator" part="indicator" style="${o=>typeof o.value=="number"?`width: ${o.percentComplete}%`:void 0}"></div>`}const lp=ap(),cp=Ce.compose({name:`${b.prefix}-progress-bar`,template:lp,styles:np});cp.define(b.registry);const ta="form-associated-proxy",ea="ElementInternals",oa=ea in window&&"setFormValue"in window[ea].prototype,ia=new WeakMap;function sa(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 oa}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,i=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),s=e?i.concat(Array.from(e)):i;return Object.freeze(s)}else return Hs}valueChanged(e,i){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,i){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,i){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),wt.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,i){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,i){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),wt.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!oa)return null;let e=ia.get(this);return e||(e=this.attachInternals(),ia.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,i,s){this.elementInternals?this.elementInternals.setValidity(e,i,s):typeof i=="string"&&this.proxy.setCustomValidity(i)}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",ta),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",ta)),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,i){this.elementInternals&&this.elementInternals.setFormValue(e,i||e)}_keypressHandler(e){switch(e.key){case Qe: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"),y(t.prototype,"value"),t}function dp(o){class t extends sa(o){}class e extends t{constructor(...s){super(s),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(s,r){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),s!==void 0&&this.$emit("change"),this.validate()}currentCheckedChanged(s,r){this.checked=this.currentChecked}updateForm(){const s=this.checked?this.value:null;this.setFormValue(s,s)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return a({attribute:"checked",mode:"boolean"})(e.prototype,"checkedAttribute"),a({attribute:"current-checked",converter:gr})(e.prototype,"currentChecked"),y(e.prototype,"defaultChecked"),y(e.prototype,"checked"),e}class hp extends I{}class up extends dp(hp){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var pp=Object.defineProperty,fp=Object.getOwnPropertyDescriptor,ra=(o,t,e,i)=>{for(var s=i>1?void 0:i?fp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&pp(t,e,s),s};class le extends up{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=this.defaultChecked??!1,this.dirtyChecked=!1))}connectedCallback(){super.connectedCallback(),this.validate(),this.parentElement?.getAttribute("role")!=="radiogroup"&&this.getAttribute("tabindex")===null&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=this.defaultChecked??!1,this.dirtyChecked=!1))}isInsideRadioGroup(){return this.radioGroup!==null}keypressHandler(t){switch(t.key){case Wo:!this.checked&&!this.radioGroup?.readOnly&&(this.checked=!0);return}return!0}}ra([y],le.prototype,"name",2),ra([y],le.prototype,"defaultSlottedNodes",2);const na=st;var gp=Object.defineProperty,bp=Object.getOwnPropertyDescriptor,Se=(o,t,e,i)=>{for(var s=i>1?void 0:i?bp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&gp(t,e,s),s};class ce extends I{constructor(){super(...arguments),this.stacked=!1,this.orientation=na.horizontal,this.radioChangeHandler=t=>{const e=t.target;e.checked&&(this.slottedRadioButtons.forEach(i=>{i instanceof le&&i!==e&&(i.checked=!1,this.isInsideFoundationToolbar||i.setAttribute("tabindex","-1"))}),this.selectedRadio=e,this.value=e.value,e.setAttribute("tabindex","0"),this.focusedRadio=e),t.stopPropagation()},this.moveToRadioByIndex=(t,e)=>{const i=t[e];this.isInsideToolbar||(i.setAttribute("tabindex","0"),i.checked=!0,this.selectedRadio=i),this.focusedRadio=i,i.focus()},this.moveRightOffGroup=()=>{this.nextElementSibling?.focus()},this.moveLeftOffGroup=()=>{this.previousElementSibling?.focus()},this.focusOutHandler=t=>{const e=this.slottedRadioButtons,i=t.target,s=i!==null?e.indexOf(i):0,r=this.focusedRadio?e.indexOf(this.focusedRadio):-1;return(r===0&&s===r||r===e.length-1&&r===s)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),e.forEach(n=>{n!==this.selectedRadio&&n.setAttribute("tabindex","-1")}))):(this.focusedRadio=e[0],this.focusedRadio.setAttribute("tabindex","0"),e.forEach(n=>{i instanceof le&&n!==this.focusedRadio&&n.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=t=>{if(this.disabled){t.preventDefault();return}return!0},this.clickHandler=t=>{if(this.disabled)return;t.preventDefault();const e=t.target;e&&e instanceof le&&(e.checked=!0,e.setAttribute("tabindex","0"),this.selectedRadio=e,this.focusedRadio=e)},this.shouldMoveOffGroupToTheRight=(t,e,i)=>t===e.length&&this.isInsideToolbar&&i===Ke,this.shouldMoveOffGroupToTheLeft=(t,e)=>(this.focusedRadio?t.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&e===Xe,this.checkFocusedRadio=()=>{this.focusedRadio!==null&&!this.focusedRadio.checked&&(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(i,e,t.key)){this.moveRightOffGroup();return}else i===e.length&&(i=0);for(;i<e.length&&e.length>1;)if(e[i].disabled){if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;if(i+1>=e.length){if(this.isInsideToolbar)break;i=0}else i+=1}else{this.moveToRadioByIndex(e,i);break}},this.moveLeft=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)-1:0,i=i<0?e.length-1:i,this.shouldMoveOffGroupToTheLeft(e,t.key)){this.moveLeftOffGroup();return}for(;i>=0&&e.length>1;)if(e[i].disabled){if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;i-1<0?i=e.length-1:i-=1}else{this.moveToRadioByIndex(e,i);break}},this.keydownHandler=t=>{const e=t.key;if(e in ja&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(e){case Qe:{this.checkFocusedRadio();break}case Ke:case Ue:{this.direction===xt.ltr?this.moveRight(t):this.moveLeft(t);break}case Xe:case Ye:{this.direction===xt.ltr?this.moveLeft(t):this.moveRight(t);break}default:return!0}}}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t instanceof le&&t.value===this.value&&(t.checked=!0,this.selectedRadio=t)}),this.$emit("change")}slottedRadioButtonsChanged(t,e){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){return this.parentToolbar??!1}get isInsideFoundationToolbar(){return!!this.parentToolbar?.hasOwnProperty("$fastController")}connectedCallback(){super.connectedCallback(),this.direction=Br(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(t=>{t instanceof le&&t.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const t=this.slottedRadioButtons.filter(s=>s.hasAttribute("checked")),e=t?t.length:0;if(e>1){const s=t[e-1];s.checked=!0}let i=!1;if(this.slottedRadioButtons.forEach(s=>{s instanceof le&&(this.name!==void 0&&s.setAttribute("name",this.name),this.value&&this.value===s.value?(this.selectedRadio=s,this.focusedRadio=s,s.checked=!0,s.setAttribute("tabindex","0"),i=!0):(this.isInsideFoundationToolbar||s.setAttribute("tabindex","-1"),s.checked=!1),s.addEventListener("change",this.radioChangeHandler))}),this.value===void 0&&this.slottedRadioButtons.length>0){const s=this.slottedRadioButtons.filter(n=>n.hasAttribute("checked")),r=s!==null?s.length:0;if(r>0&&!i){const n=s[r-1];n.checked=!0,this.focusedRadio=n,n.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}Se([a({mode:"boolean"})],ce.prototype,"stacked",2),Se([a({attribute:"readonly",mode:"boolean"})],ce.prototype,"readOnly",2),Se([a({attribute:"disabled",mode:"boolean"})],ce.prototype,"disabled",2),Se([a],ce.prototype,"name",2),Se([a],ce.prototype,"value",2),Se([a],ce.prototype,"orientation",2),Se([y],ce.prototype,"childItems",2),Se([y],ce.prototype,"slottedRadioButtons",2);const mp=u`
455
+ ${z("flex")}
456
+
457
+ :host{align-items:flex-start;flex-direction:column;row-gap:${Z}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${S};--checked-indicator-background-color:${S};--state-color:${S}}::slotted([slot='label']){color:${R};padding:${Z} ${Dt} ${Z} ${se};font:${M} ${E} / ${H} ${x};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:${Dt}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${Dt};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`;function vp(){return v`<template role="radiogroup" tabindex="${o=>o.disabled?-1:void 0}" aria-disabled="${o=>o.disabled}" aria-readonly="${o=>o.readOnly}" aria-orientation="${o=>o.orientation}" @click="${(o,t)=>o.clickHandler(t.event)}" @mousedown="${(o,t)=>o.handleDisabledClick(t.event)}" @keydown="${(o,t)=>o.keydownHandler(t.event)}" @focusout="${(o,t)=>o.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${o=>o.orientation===na.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${ht({property:"slottedRadioButtons",filter:ze("[role=radio]")})}></slot></div></template>`}const $p=vp(),yp=ce.compose({name:`${b.prefix}-radio-group`,template:$p,styles:mp});yp.define(b.registry);const xp=u`
458
+ ${z("inline-grid")}
459
+
460
+ :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${se};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${nt});padding-inline-end:${Dt};--control-border-color:${ee};--checked-indicator-background-color:${Fr};--state-color:${nt}}:host([disabled]){--control-border-color:${S};--checked-indicator-background-color:${S};--state-color:${S}}.label{cursor:pointer;font-family:${x};font-size:${E};font-weight:${M};line-height:${H}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${ee});border-radius:${gt};display:flex;height:16px;justify-content:center;margin:${Z} ${Dt};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${gt};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${_t}}:host(:focus-visible){border-radius:${Pt};box-shadow:0 0 0 3px ${ie};outline:1px solid ${ti}}:host(:hover) .control{border-color:${fo}}:host(:active) .control{border-color:${go}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${ee})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Fr})}:host([aria-checked='true']:hover) .control{border-color:${ns}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${ns}}:host([aria-checked='true']:active) .control{border-color:${as}}:host([aria-checked='true']:active) .checked-indicator{background:${Ar}}:host([disabled]){color:${S};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${S}}:host([disabled]) .checked-indicator{background:${S}}`.withBehaviors(ft(u`
461
+ :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}`));function kp(o={}){return v`<template role="radio" aria-checked="${t=>t.checked}" aria-required="${t=>t.required}" aria-disabled="${t=>t.disabled}" @keypress="${(t,e)=>t.keypressHandler(e.event)}"><div part="control" class="control"><slot name="checked-indicator">${pt(o.checkedIndicator)}</slot></div><label part="label" class="${t=>["label",!t.defaultSlottedNodes?.length&&"label__hidden"].filter(Boolean).join(" ")}"><slot ${ht({property:"defaultSlottedNodes",filter:Tr})}></slot></label></template>`}const wp=kp({checkedIndicator:v`<div part="checked-indicator" class="checked-indicator"></div>`}),Cp=le.compose({name:`${b.prefix}-radio`,template:wp,styles:xp});Cp.define(b.registry);const Sp={singleValue:"single-value"};class Ip extends I{}class Pp extends sa(Ip){constructor(){super(...arguments),this.proxy=document.createElement("input")}}function aa(o,t,e,i){let s=Yi(0,1,(o-t)/(e-t));return i===xt.rtl&&(s=1-s),s}var Bp=Object.defineProperty,Tp=Object.getOwnPropertyDescriptor,J=(o,t,e,i)=>{for(var s=i>1?void 0:i?Tp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Bp(t,e,s),s};class K extends Pp{constructor(){super(...arguments),this.direction=xt.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=Sp.singleValue,this.keypressHandler=t=>{if(!(this.readOnly||this.disabled)){if(t.key===qo)t.preventDefault(),this.direction!==xt.rtl&&this.orientation!==st.vertical?this.value=`${this.min}`:this.value=`${this.max}`;else if(t.key===jo)t.preventDefault(),this.direction!==xt.rtl&&this.orientation!==st.vertical?this.value=`${this.max}`:this.value=`${this.min}`;else if(!t.shiftKey)switch(t.key){case Ke:case Ye:t.preventDefault(),this.increment();break;case Xe:case Ue: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,i=this.orientation===st.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=`${this.calculateNewValue(i)}`},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,i=t!==null?document.addEventListener:document.removeEventListener;if(e("mouseup",this.handleWindowMouseUp),i("mouseleave",this.handleWindowMouseUp),e("mousemove",this.handleMouseMove),t){this.setupTrackConstraints();const s=this.orientation===st.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=`${this.calculateNewValue(s)}`}}}}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=u`
462
+ :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 i=parseFloat(e),s=Yi(this.min,this.max,this.convertToConstrainedValue(i)).toString();if(s!==e){this.value=s;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=Br(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction),w.getNotifier(this).subscribe(this,"max"),w.getNotifier(this).subscribe(this,"min"),w.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),this.setupListeners(!0),w.getNotifier(this).unsubscribe(this,"max"),w.getNotifier(this).unsubscribe(this,"min"),w.getNotifier(this).unsubscribe(this,"step")}increment(){const t=this.direction!==xt.rtl&&this.orientation!==st.vertical?Number(this.value)+Number(this.stepValue):Number(this.value)+Number(this.stepValue),e=this.convertToConstrainedValue(t),i=e<Number(this.max)?`${e}`:`${this.max}`;this.value=i}decrement(){const t=this.direction!==xt.rtl&&this.orientation!==st.vertical?Number(this.value)-Number(this.stepValue):Number(this.value)-Number(this.stepValue),e=this.convertToConstrainedValue(t),i=e>Number(this.min)?`${e}`:`${this.min}`;this.value=i}get stepValue(){return this.step===void 0?1:this.step}setThumbPositionForOrientation(t){const i=(1-aa(Number(this.value),Number(this.min),Number(this.max),t))*100;this.orientation===st.horizontal?this.position=this.isDragging?`right: ${i}%; transition: none;`:`right: ${i}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${i}%; transition: none;`:`top: ${i}%; 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=aa(t,this.orientation===st.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===st.horizontal?this.trackWidth:this.trackHeight,this.direction),i=(this.max-this.min)*e+this.min;return this.convertToConstrainedValue(i)}convertToConstrainedValue(t){isNaN(t)&&(t=this.min);let e=t-this.min;const i=Math.round(e/this.stepValue),s=e-i*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return e=s>=Number(this.stepValue)/2?e-s+Number(this.stepValue):e-s,e+this.min}}J([a],K.prototype,"size",2),J([a({attribute:"readonly",mode:"boolean"})],K.prototype,"readOnly",2),J([y],K.prototype,"direction",2),J([y],K.prototype,"isDragging",2),J([y],K.prototype,"position",2),J([y],K.prototype,"trackWidth",2),J([y],K.prototype,"trackMinWidth",2),J([y],K.prototype,"trackHeight",2),J([y],K.prototype,"trackLeft",2),J([y],K.prototype,"trackMinHeight",2),J([y],K.prototype,"valueTextFormatter",2),J([a({converter:ut})],K.prototype,"min",2),J([a({converter:ut})],K.prototype,"max",2),J([a({converter:ut})],K.prototype,"step",2),J([a],K.prototype,"orientation",2),J([a],K.prototype,"mode",2);const zp=u`
463
+ ${z("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:${Pt};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 ${ie};outline:1px solid ${ti}}.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:${is};border-radius:${gt};box-shadow:inset 0 0 0 var(--thumb-padding) ${D},0 0 0 1px ${Ze}}.thumb-cursor:hover{background-color:${uo}}.thumb-cursor:active{background-color:${po}}:host([disabled]) .thumb-cursor{background-color:${S};box-shadow:inset 0 0 0 var(--thumb-padding) ${D},0 0 0 1px ${oe}}.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:${ee};border-radius:${_};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${_};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
464
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${D} calc(var(--step-rate) - 1px),${D} var(--step-rate)
465
+ )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${co}}: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:${ho};position:absolute;height:100%;left:0;border-radius:${_}}:host([disabled]) .track-start{background-color:${S}}:host(:hover) .track-start{background-color:${uo}}:host([disabled]:hover) .track-start{background-color:${S}}.track-start:active{background-color:${po}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(ft(u`
466
+ .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 Fp(o={}){return v`<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 ${St("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 ${St("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">${pt(o.thumb)}</slot></div></div></template>`}const Op=Fp({thumb:'<div class="thumb-cursor"></div>'}),Ap=K.compose({name:`${b.prefix}-slider`,template:Op,styles:zp});Ap.define(b.registry);var Ep=Object.defineProperty,Mp=Object.getOwnPropertyDescriptor,la=(o,t,e,i)=>{for(var s=i>1?void 0:i?Mp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Ep(t,e,s),s};class Bs extends I{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}la([a],Bs.prototype,"size",2),la([a],Bs.prototype,"appearance",2);const Lp=u`
467
+ ${z("flex")}
468
+
469
+ :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:${Nr};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.indicator{stroke:${Vr};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']) .indicator{stroke:${Cl}}@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)}}`,_p=v`<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>`,Rp=Bs.compose({name:`${b.prefix}-spinner`,template:_p,styles:Lp});Rp.define(b.registry);class Dp extends Tt{}function Hp(o={}){return v`<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">${pt(o.switch)}</slot></template>`}const Vp=Hp({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),ct=u.partial`:is([state--checked], :state(checked))`,Np=u`
470
+ ${z("inline-flex")}
471
+
472
+ :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${Ee};width:40px;height:20px;background-color:${It};border:1px solid ${ee};border-radius:${gt};cursor:pointer}:host(:hover){background:none;border-color:${fo}}:host(:active){border-color:${go}}:host(:disabled),:host([readonly]){border:1px solid ${oe};background-color:none;pointer:default}:host(${ct}){background:${ho};border-color:${ho}}:host(${ct}:hover){background:${uo};border-color:${uo}}:host(${ct}:active){background:${po};border-color:${po}}:host(${ct}:disabled){background:${co};border-color:${oe}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${nt};transition-duration:${pn};transition-timing-function:${ps};transition-property:margin-inline-start}:host(${ct}) .checked-indicator{background-color:${Yo};margin-inline-start:calc(100% - 14px)}:host(${ct}:hover) .checked-indicator{background:${dl}}:host(${ct}:active) .checked-indicator{background:${hl}}:host(:hover) .checked-indicator{background-color:${el}}:host(:active) .checked-indicator{background-color:${ol}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${S}}:host(${ct}:disabled) .checked-indicator{background:${S}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${Rt};outline:${Ae} solid ${Rt};box-shadow:${ri},0 0 0 2px ${ie}}`.withBehaviors(ft(u`
473
+ :host{border-color:InactiveBorder}:host(${ct}),:host(${ct}:active),:host(${ct}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${ct}) .checked-indicator,:host(${ct}:hover) .checked-indicator,:host(${ct}:active) .checked-indicator{background-color:ButtonFace}`)),jp=Dp.compose({name:`${b.prefix}-switch`,template:Vp,styles:Np});jp.define(b.registry);class qp extends I{}function Wp(){return v`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`}const Gp=Wp(),Up=u`
474
+ ${z("block")}
475
+
476
+ :host{box-sizing:border-box;padding:${fe} ${re}}`,Xp=qp.compose({name:`${b.prefix}-tab-panel`,template:Gp,styles:Up});Xp.define(b.registry);var Kp=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor,Qp=(o,t,e,i)=>{for(var s=i>1?void 0:i?Yp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&Kp(t,e,s),s};class Ts extends I{connectedCallback(){super.connectedCallback(),this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=u`
477
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}Qp([a({mode:"boolean"})],Ts.prototype,"disabled",2),Jt(Ts,Yt);function Zp(o={}){return v`<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">${Zt(o)}<span class="tab-content"><slot></slot></span>${Qt(o)}</template>`}const Jp=Zp({}),tf=u`
478
+ ${z("inline-flex")}
479
+
480
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${H};font-family:${x};font-size:${E};color:${_t};fill:currentcolor;grid-row:1;padding:${fe} ${re};border-radius:${_}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${R};font-weight:${q}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${H};font-weight:${q}}:host([aria-selected='true'])::after{background-color:${rs};border-radius:${gt};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Jo};border-radius:${gt};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${S}}::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:${S};color:${S}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Pt};box-shadow:0 0 0 3px ${ie};outline:1px solid ${ti}}`.withBehaviors(ft(u`
481
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),ef=Ts.compose({name:`${b.prefix}-tab`,template:Jp,styles:tf});ef.define(b.registry);const of={subtle:"subtle",transparent:"transparent"},zi=st;var sf=Object.defineProperty,rf=Object.getOwnPropertyDescriptor,je=(o,t,e,i)=>{for(var s=i>1?void 0:i?rf(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&sf(t,e,s),s};class To extends I{constructor(){super(...arguments),this.orientation=zi.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 Xe:t.preventDefault(),this.adjustBackward(t);break;case Ke:t.preventDefault(),this.adjustForward(t);break}else switch(t.key){case Ye:t.preventDefault(),this.adjustBackward(t);break;case Ue:t.preventDefault(),this.adjustForward(t);break}switch(t.key){case qo:t.preventDefault(),this.adjust(-this.activeTabIndex);break;case jo: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(i=>i.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",i=this.isHorizontal()?t:e;this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((s,r)=>{if(s.slot==="tab"){const n=this.activeTabIndex===r&&this.isFocusableElement(s),c=this.tabIds[r],h=this.tabpanelIds[r];s.setAttribute("id",c),s.setAttribute("aria-selected",n?"true":"false"),s.setAttribute("aria-controls",h),s.addEventListener("click",this.handleTabClick),s.addEventListener("keydown",this.handleTabKeyDown),s.setAttribute("tabindex",n?"0":"-1"),n&&(this.activetab=s,this.activeid=c)}s.style[t]="",s.style[e]="",s.style[i]=`${r+1}`,this.isHorizontal()?s.classList.remove("vertical"):s.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((t,e)=>{const i=this.tabIds[e],s=this.tabpanelIds[e];t.setAttribute("id",s),t.setAttribute("aria-labelledby",i),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(t=>t.getAttribute("id")??`tab-${Qi()}`)}getTabPanelIds(){return this.tabpanels.map(t=>t.getAttribute("id")??`panel-${Qi()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===zi.horizontal}adjust(t){const e=this.tabs.filter(n=>this.isFocusableElement(n)),i=e.indexOf(this.activetab),s=Yi(0,e.length-1,i+t),r=this.tabs.indexOf(e[s]);r>-1&&this.moveToTabByIndex(this.tabs,r)}adjustForward(t){const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)+1:1,i===e.length&&(i=0);i<e.length&&e.length>1;)if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}else{if(this.activetab&&i===e.indexOf(this.activetab))break;i+1>=e.length?i=0:i+=1}}adjustBackward(t){const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)-1:0,i=i<0?e.length-1:i;i>=0&&e.length>1;)if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}else i-1<0?i=e.length-1:i-=1}moveToTabByIndex(t,e){const i=t[e];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,i.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}je([a],To.prototype,"orientation",2),je([a],To.prototype,"activeid",2),je([y],To.prototype,"tabs",2),je([y],To.prototype,"tabpanels",2);class zo extends To{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=of.transparent}calculateAnimationProperties(t){this.activeTabOffset=this.getTabPosition(t),this.activeTabScale=this.getTabScale(t)}getTabPosition(t){return this.orientation===zi.horizontal?this.previousActiveTabData.x-(t.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(t.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(t){return this.orientation===zi.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,i=(this.activetab||t[0])?.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:i.x-s.x,y:i.y-s.y,height:i.height,width:i.width},this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=u`
482
+ :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=u`
483
+ :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()}}je([a],zo.prototype,"appearance",2),je([a({mode:"boolean"})],zo.prototype,"disabled",2),je([a],zo.prototype,"size",2),Jt(zo,Yt);function nf(o={}){return v` ${Zt(o)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${ht("tabs")}></slot></div>${Qt(o)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${ht("tabpanels")}></slot></div>`}const af=nf({}),lf=u`
484
+ ${z("grid")}
485
+
486
+ :host{box-sizing:border-box;font-family:${x};font-size:${E};line-height:${H};color:${_t};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${S}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${S}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${S}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${S}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${_}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${S}}.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:${ts};color:${zr};fill:${Or}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Zo};fill:${Zo};color:${R}}:host([size='small']) ::slotted(fluent-tab){font-size:${E};line-height:${H};padding:${vo} ${Me}}:host([size='large']) ::slotted(fluent-tab){font-size:${bt};line-height:${Bt};padding:${un} ${re}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${od};transition-timing-function:${gn}}:host ::slotted(fluent-tab)::after{height:${pe};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${pe};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${pe};border-radius:${gt};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${pe};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${pe};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:${pe}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${vo};padding-bottom:${vo}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${ni};padding-bottom:${ni}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${Z};padding-bottom:${Z}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${Me};left:${Me}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${re};left:${re}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${re};left:${re}}: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:${vo};bottom:${vo}}: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:${Z};bottom:${Z}}: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:${hn};bottom:${hn}}`,cf=zo.compose({name:`${b.prefix}-tabs`,template:af,styles:lf});cf.define(b.registry);const df={email:"email",password:"password",tel:"tel",text:"text",url:"url"},hf=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var uf=Object.defineProperty,pf=Object.getOwnPropertyDescriptor,L=(o,t,e,i)=>{for(var s=i>1?void 0:i?pf(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&uf(t,e,s),s};class B extends I{constructor(){super(...arguments),this.type=df.text,this._value=this.initialValue,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}defaultSlottedNodesChanged(t,e){this.$fastController.isConnected&&(this.controlLabel.hidden=!e?.length)}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!e}`)}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return w.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.control.value=t,this.setFormValue(t),this.setValidity(),w.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){this.isSameNode(t.target)&&this.control?.click()}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity()}focusinHandler(t){this.control?.focus()}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(s=>s.getAttribute("type")==="submit");if(e){e.click();return}t.filter(s=>hf.includes(s.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,i=this.control){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(t,e,i)}}}B.formAssociated=!0,L([a],B.prototype,"appearance",2),L([a],B.prototype,"autocomplete",2),L([a({mode:"boolean"})],B.prototype,"autofocus",2),L([a({attribute:"control-size"})],B.prototype,"controlSize",2),L([y],B.prototype,"defaultSlottedNodes",2),L([a],B.prototype,"dirname",2),L([a({mode:"boolean"})],B.prototype,"disabled",2),L([a({attribute:"form"})],B.prototype,"formAttribute",2),L([a({attribute:"value",mode:"fromView"})],B.prototype,"initialValue",2),L([a],B.prototype,"list",2),L([a({converter:ut})],B.prototype,"maxlength",2),L([a({converter:ut})],B.prototype,"minlength",2),L([a({mode:"boolean"})],B.prototype,"multiple",2),L([a],B.prototype,"name",2),L([a],B.prototype,"pattern",2),L([a],B.prototype,"placeholder",2),L([a({attribute:"readonly",mode:"boolean"})],B.prototype,"readOnly",2),L([a({mode:"boolean"})],B.prototype,"required",2),L([a({converter:ut})],B.prototype,"size",2),L([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],B.prototype,"spellcheck",2),L([a],B.prototype,"type",2),L([y],B.prototype,"controlLabel",2),Jt(B,Yt);const ff=u`
487
+ ${z("block")}
488
+
489
+ :host{font-family:${x};font-size:${E};font-weight:${M};line-height:${H};max-width:400px}.label{display:flex;color:${R};padding-bottom:${Jc};flex-shrink:0;padding-inline-end:${se}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${D};border:${et} solid ${Ze};border-bottom-color:${ee};border-radius:${_};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${Ee};padding:0 ${re};position:relative;width:100%}:has(.control:user-invalid){border-color:${Bl}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${_});border-radius:0 0 ${_} ${_};border-bottom:2px solid ${rs};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${td};transition-delay:${hs}}.control{width:100%;height:100%;box-sizing:border-box;color:${R};border-radius:${_};background:${It};font-family:${x};font-weight:${M};font-size:${E};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${il}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${nt};font-size:${Oe}}:host ::slotted([slot='start']){padding-right:${Ee}}:host ::slotted([slot='end']){padding-left:${Ee};gap:${se}}:host(:hover) .root{border-color:${Jo};border-bottom-color:${fo}}:host(:active) .root{border-color:${ss}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${pn};transition-delay:${us}}:host(:focus-within:active) .root:after{border-bottom-color:${as}}:host([appearance='outline']:focus-within) .root{border:${et} solid ${Ze}}:host(:focus-within) .control{color:${R}}:host([disabled]) .root{background:${It};border:${et} solid ${oe}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${S}}::selection{color:${Yo};background-color:${bl}}:host([control-size='small']) .control{font-size:${Q};font-weight:${M};line-height:${mt}}:host([control-size='small']) .root{height:24px;gap:${Ee};padding:0 ${Me}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${bt}}:host([control-size='large']) .control{font-size:${bt};font-weight:${M};line-height:${Bt}}:host([control-size='large']) .root{height:40px;gap:${Dt};padding:0 ${fe}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${ei}}:host([appearance='underline']) .root{background:${It};border:0;border-radius:0;border-bottom:${et} solid ${ee}}:host([appearance='underline']:hover) .root{border-bottom-color:${fo}}:host([appearance='underline']:active) .root{border-bottom-color:${go}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${go}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${oe}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${et} solid ${Rt};box-shadow:${ln}}:host([appearance='filled-lighter']) .root{background:${D}}:host([appearance='filled-darker']) .root{background:${_r}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${jr}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${jr};background:${_r}}`;function gf(o={}){return v`<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" ${St("controlLabel")}><slot ${ht({property:"defaultSlottedNodes",filter:Tr})}></slot></label><div class="root" part="root">${Zt(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}" ${St("control")} />${Qt(o)}</div></template>`}const bf=gf(),mf=B.compose({name:`${b.prefix}-text-input`,template:bf,styles:ff,shadowOptions:{delegatesFocus:!0}});mf.define(b.registry);var vf=Object.defineProperty,$f=Object.getOwnPropertyDescriptor,Ut=(o,t,e,i)=>{for(var s=i>1?void 0:i?$f(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&vf(t,e,s),s};class At extends I{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Ut([a({mode:"boolean"})],At.prototype,"nowrap",2),Ut([a({mode:"boolean"})],At.prototype,"truncate",2),Ut([a({mode:"boolean"})],At.prototype,"italic",2),Ut([a({mode:"boolean"})],At.prototype,"underline",2),Ut([a({mode:"boolean"})],At.prototype,"strikethrough",2),Ut([a({mode:"boolean"})],At.prototype,"block",2),Ut([a],At.prototype,"size",2),Ut([a],At.prototype,"font",2),Ut([a],At.prototype,"weight",2),Ut([a],At.prototype,"align",2);const yf=u`
490
+ ${z("inline")}
491
+
492
+ :host{contain:content}::slotted(*){font-family:${x};font-size:${E};line-height:${H};font-weight:${M};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*),:host([nowrap]){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*),:host([truncate]){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*),:host([block]){display:block}:host([italic]) ::slotted(*),:host([italic]){font-style:italic}:host([underline]) ::slotted(*),:host([underline]){text-decoration-line:underline}:host([strikethrough]) ::slotted(*),:host([strikethrough]){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*),:host([underline][strikethrough]){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*),:host([size='100']){font-size:${mo};line-height:${ii}}:host([size='200']) ::slotted(*),:host([size='200']){font-size:${Q};line-height:${mt}}:host([size='400']) ::slotted(*),:host([size='400']){font-size:${bt};line-height:${Bt}}:host([size='500']) ::slotted(*),:host([size='500']){font-size:${Oe};line-height:${si}}:host([size='600']) ::slotted(*),:host([size='600']){font-size:${ei};line-height:${on}}:host([size='700']) ::slotted(*),:host([size='700']){font-size:${Zr};line-height:${sn}}:host([size='800']) ::slotted(*),:host([size='800']){font-size:${Jr};line-height:${rn}}:host([size='900']) ::slotted(*),:host([size='900']){font-size:${tn};line-height:${nn}}:host([size='1000']) ::slotted(*),:host([size='1000']){font-size:${en};line-height:${an}}:host([font='monospace']) ::slotted(*),:host([font='monospace']){font-family:${Wc}}:host([font='numeric']) ::slotted(*),:host([font='numeric']){font-family:${Gc}}:host([weight='medium']) ::slotted(*),:host([weight='medium']){font-weight:${Uc}}:host([weight='semibold']) ::slotted(*),:host([weight='semibold']){font-weight:${q}}:host([weight='bold']) ::slotted(*),:host([weight='bold']){font-weight:${oi}}:host([align='center']) ::slotted(*),:host([align='center']){text-align:center}:host([align='end']) ::slotted(*),:host([align='end']){text-align:end}:host([align='justify']) ::slotted(*),:host([align='justify']){text-align:justify}`,xf=v`<slot></slot>`,kf=At.compose({name:`${b.prefix}-text`,template:xf,styles:yf});kf.define(b.registry);var wf=Object.defineProperty,Cf=Object.getOwnPropertyDescriptor,ca=(o,t,e,i)=>{for(var s=i>1?void 0:i?Cf(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(s=(i?n(t,e,s):n(s))||s);return i&&s&&wf(t,e,s),s};class zs extends A{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,$(this.elementInternals,"pressed",!!this.pressed||!!this.mixed)}}}ca([a({mode:"boolean"})],zs.prototype,"pressed",2),ca([a({mode:"boolean"})],zs.prototype,"mixed",2);const Sf=u`
493
+ ${mi}
494
+
495
+ :host(${O}){border-color:${Ze};background-color:${Lr};color:${R};border-width:${et}}:host(${O}:hover){border-color:${Jo};background-color:${Ji}}:host(${O}:active){border-color:${ss};background-color:${Mr}}:host(${O}${at}){border-color:transparent;background-color:${xl};color:${te}}:host(${O}${at}:hover){background-color:${Rr}}:host(${O}${at}:active){background-color:${Dr}}:host(${O}${W}){border-color:transparent;background-color:${vl};color:${Ja}}:host(${O}${W}:hover){background-color:${ts};color:${Go}}:host(${O}${W}:active){background-color:${Zo};color:${Uo}}:host(${O}${G}),:host(${O}${U}){background-color:${$l}}:host(${O}${G}:hover),:host(${O}${U}:hover){background-color:${es}}:host(${O}${G}:active),:host(${O}${U}:active){background-color:${os}}:host(${O}${U}){border-color:transparent;color:${tl}}:host(${O}${U}:hover){color:${Xo}}:host(${O}${U}:active){color:${Ko}}`.withBehaviors(ft(u`
496
+ :host(${O}),:host(${O}${at}),:host(${O}${W}),:host(${O}${G}),:host(${O}${U}){background:SelectedItem;color:SelectedItemText}`)),If=ms(),Pf=zs.compose({name:`${b.prefix}-toggle-button`,template:If,styles:Sf});Pf.define(b.registry);