@fluentui/web-components 3.0.0-beta.5 → 3.0.0-beta.51
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.
- package/CHANGELOG.md +616 -103
- package/README.md +46 -15
- package/dist/dts/accordion/accordion.bench.d.ts +3 -0
- package/dist/dts/accordion/accordion.d.ts +70 -3
- package/dist/dts/accordion/accordion.definition.d.ts +0 -4
- package/dist/dts/accordion/accordion.options.d.ts +14 -0
- package/dist/dts/accordion/accordion.template.d.ts +4 -0
- package/dist/dts/accordion/index.d.ts +2 -1
- package/dist/dts/accordion-item/accordion-item.bench.d.ts +3 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +120 -12
- package/dist/dts/accordion-item/accordion-item.definition.d.ts +0 -3
- package/dist/dts/accordion-item/accordion-item.options.d.ts +4 -4
- package/dist/dts/accordion-item/accordion-item.template.d.ts +2 -1
- package/dist/dts/accordion-item/index.d.ts +3 -2
- package/dist/dts/anchor-button/anchor-button.bench.d.ts +3 -0
- package/dist/dts/anchor-button/anchor-button.d.ts +185 -26
- package/dist/dts/anchor-button/anchor-button.definition.d.ts +0 -3
- package/dist/dts/anchor-button/anchor-button.options.d.ts +43 -6
- package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -2
- package/dist/dts/anchor-button/index.d.ts +4 -3
- package/dist/dts/avatar/avatar.bench.d.ts +3 -0
- package/dist/dts/avatar/avatar.d.ts +51 -23
- package/dist/dts/avatar/avatar.options.d.ts +7 -7
- package/dist/dts/avatar/index.d.ts +2 -2
- package/dist/dts/badge/badge.bench.d.ts +3 -0
- package/dist/dts/badge/badge.d.ts +31 -1
- package/dist/dts/badge/badge.definition.d.ts +0 -3
- package/dist/dts/badge/badge.options.d.ts +7 -7
- package/dist/dts/badge/index.d.ts +2 -2
- package/dist/dts/button/button.bench.d.ts +3 -0
- package/dist/dts/button/button.d.ts +284 -23
- package/dist/dts/button/button.definition.d.ts +2 -3
- package/dist/dts/button/button.options.d.ts +42 -7
- package/dist/dts/button/button.styles.d.ts +9 -0
- package/dist/dts/button/button.template.d.ts +8 -0
- package/dist/dts/button/index.d.ts +5 -4
- package/dist/dts/checkbox/checkbox.bench.d.ts +3 -0
- package/dist/dts/checkbox/checkbox.d.ts +343 -15
- package/dist/dts/checkbox/checkbox.options.d.ts +15 -12
- package/dist/dts/checkbox/checkbox.template.d.ts +7 -1
- package/dist/dts/checkbox/index.d.ts +4 -3
- package/dist/dts/compound-button/compound-button.bench.d.ts +3 -0
- package/dist/dts/compound-button/compound-button.definition.d.ts +0 -3
- package/dist/dts/compound-button/compound-button.options.d.ts +5 -10
- package/dist/dts/compound-button/index.d.ts +2 -2
- package/dist/dts/counter-badge/counter-badge.bench.d.ts +3 -0
- package/dist/dts/counter-badge/counter-badge.d.ts +37 -1
- package/dist/dts/counter-badge/counter-badge.definition.d.ts +0 -4
- package/dist/dts/counter-badge/counter-badge.options.d.ts +6 -6
- package/dist/dts/counter-badge/index.d.ts +2 -2
- package/dist/dts/dialog/define.d.ts +1 -0
- package/dist/dts/dialog/dialog.bench.d.ts +3 -0
- package/dist/dts/dialog/dialog.d.ts +58 -0
- package/dist/dts/dialog/dialog.definition.d.ts +9 -0
- package/dist/dts/dialog/dialog.options.d.ts +11 -0
- package/dist/dts/dialog/dialog.styles.d.ts +4 -0
- package/dist/dts/dialog/dialog.template.d.ts +7 -0
- package/dist/dts/dialog/index.d.ts +5 -0
- package/dist/dts/dialog-body/define.d.ts +1 -0
- package/dist/dts/dialog-body/dialog-body.bench.d.ts +3 -0
- package/dist/dts/dialog-body/dialog-body.d.ts +14 -0
- package/dist/dts/dialog-body/dialog-body.definition.d.ts +9 -0
- package/dist/dts/dialog-body/dialog-body.styles.d.ts +4 -0
- package/dist/dts/dialog-body/dialog-body.template.d.ts +6 -0
- package/dist/dts/dialog-body/index.d.ts +4 -0
- package/dist/dts/divider/divider.bench.d.ts +3 -0
- package/dist/dts/divider/divider.d.ts +74 -12
- package/dist/dts/divider/divider.options.d.ts +32 -8
- package/dist/dts/divider/divider.template.d.ts +1 -0
- package/dist/dts/divider/index.d.ts +2 -2
- package/dist/dts/drawer/define.d.ts +1 -0
- package/dist/dts/drawer/drawer.d.ts +93 -0
- package/dist/dts/drawer/drawer.definition.d.ts +8 -0
- package/dist/dts/drawer/drawer.options.d.ts +40 -0
- package/dist/dts/drawer/drawer.styles.d.ts +4 -0
- package/dist/dts/drawer/drawer.template.d.ts +8 -0
- package/dist/dts/drawer/index.d.ts +5 -0
- package/dist/dts/drawer-body/define.d.ts +1 -0
- package/dist/dts/drawer-body/drawer-body.d.ts +20 -0
- package/dist/dts/drawer-body/drawer-body.definition.d.ts +8 -0
- package/dist/dts/drawer-body/drawer-body.styles.d.ts +4 -0
- package/dist/dts/drawer-body/drawer-body.template.d.ts +8 -0
- package/dist/dts/drawer-body/index.d.ts +4 -0
- package/dist/dts/field/define.d.ts +1 -0
- package/dist/dts/field/field.bench.d.ts +3 -0
- package/dist/dts/field/field.d.ts +128 -0
- package/dist/dts/field/field.definition.d.ts +9 -0
- package/dist/dts/field/field.options.d.ts +43 -0
- package/dist/dts/field/field.styles.d.ts +6 -0
- package/dist/dts/field/field.template.d.ts +6 -0
- package/dist/dts/field/index.d.ts +6 -0
- package/dist/dts/form-associated/form-associated.d.ts +104 -0
- package/dist/dts/image/image.bench.d.ts +3 -0
- package/dist/dts/image/image.d.ts +36 -0
- package/dist/dts/image/image.options.d.ts +3 -3
- package/dist/dts/image/index.d.ts +2 -2
- package/dist/dts/index-rollup.d.ts +36 -1
- package/dist/dts/index.d.ts +56 -30
- package/dist/dts/label/index.d.ts +2 -1
- package/dist/dts/label/label.bench.d.ts +3 -0
- package/dist/dts/label/label.d.ts +24 -2
- package/dist/dts/label/label.options.d.ts +3 -3
- package/dist/dts/link/define.d.ts +1 -0
- package/dist/dts/link/index.d.ts +4 -0
- package/dist/dts/link/link.bench.d.ts +3 -0
- package/dist/dts/link/link.d.ts +45 -0
- package/dist/dts/link/link.definition.d.ts +7 -0
- package/dist/dts/link/link.options.d.ts +52 -0
- package/dist/dts/link/link.styles.d.ts +1 -0
- package/dist/dts/link/link.template.d.ts +12 -0
- package/dist/dts/menu/index.d.ts +1 -1
- package/dist/dts/menu/menu.bench.d.ts +3 -0
- package/dist/dts/menu/menu.d.ts +78 -60
- package/dist/dts/menu-button/index.d.ts +4 -3
- package/dist/dts/menu-button/menu-button.bench.d.ts +3 -0
- package/dist/dts/menu-button/menu-button.definition.d.ts +0 -3
- package/dist/dts/menu-button/menu-button.options.d.ts +6 -7
- package/dist/dts/menu-item/index.d.ts +5 -3
- package/dist/dts/menu-item/menu-item.bench.d.ts +3 -0
- package/dist/dts/menu-item/menu-item.d.ts +145 -5
- package/dist/dts/menu-item/menu-item.definition.d.ts +0 -4
- package/dist/dts/menu-item/menu-item.options.d.ts +30 -0
- package/dist/dts/menu-item/menu-item.styles.d.ts +5 -0
- package/dist/dts/menu-item/menu-item.template.d.ts +2 -1
- package/dist/dts/menu-list/index.d.ts +1 -1
- package/dist/dts/menu-list/menu-list.bench.d.ts +3 -0
- package/dist/dts/menu-list/menu-list.d.ts +73 -4
- package/dist/dts/menu-list/menu-list.definition.d.ts +0 -4
- package/dist/dts/menu-list/menu-list.template.d.ts +1 -0
- package/dist/dts/message-bar/define.d.ts +1 -0
- package/dist/dts/message-bar/index.d.ts +5 -0
- package/dist/dts/message-bar/message-bar.bench.d.ts +3 -0
- package/dist/dts/message-bar/message-bar.d.ts +66 -0
- package/dist/dts/message-bar/message-bar.definition.d.ts +9 -0
- package/dist/dts/message-bar/message-bar.options.d.ts +30 -0
- package/dist/dts/message-bar/message-bar.styles.d.ts +7 -0
- package/dist/dts/message-bar/message-bar.template.d.ts +14 -0
- package/dist/dts/patterns/aria-globals.d.ts +189 -0
- package/dist/dts/patterns/index.d.ts +2 -0
- package/dist/dts/patterns/start-end.d.ts +44 -0
- package/dist/dts/progress-bar/index.d.ts +2 -2
- package/dist/dts/progress-bar/progress-bar.bench.d.ts +3 -0
- package/dist/dts/progress-bar/progress-bar.d.ts +89 -13
- package/dist/dts/progress-bar/progress-bar.options.d.ts +4 -4
- package/dist/dts/progress-bar/progress-bar.template.d.ts +1 -0
- package/dist/dts/radio/index.d.ts +2 -1
- package/dist/dts/radio/radio.bench.d.ts +3 -0
- package/dist/dts/radio/radio.d.ts +57 -3
- package/dist/dts/radio/radio.options.d.ts +14 -0
- package/dist/dts/radio/radio.styles.d.ts +3 -1
- package/dist/dts/radio/radio.template.d.ts +13 -0
- package/dist/dts/radio-group/index.d.ts +2 -2
- package/dist/dts/radio-group/radio-group.bench.d.ts +3 -0
- package/dist/dts/radio-group/radio-group.d.ts +257 -6
- package/dist/dts/radio-group/radio-group.options.d.ts +17 -0
- package/dist/dts/radio-group/radio-group.template.d.ts +2 -1
- package/dist/dts/rating-display/define.d.ts +1 -0
- package/dist/dts/rating-display/index.d.ts +5 -0
- package/dist/dts/rating-display/rating-display.d.ts +94 -0
- package/dist/dts/rating-display/rating-display.definition.d.ts +9 -0
- package/dist/dts/rating-display/rating-display.options.d.ts +29 -0
- package/dist/dts/rating-display/rating-display.styles.d.ts +6 -0
- package/dist/dts/rating-display/rating-display.template.d.ts +14 -0
- package/dist/dts/slider/index.d.ts +3 -2
- package/dist/dts/slider/slider-utilities.d.ts +5 -0
- package/dist/dts/slider/slider.bench.d.ts +3 -0
- package/dist/dts/slider/slider.d.ts +341 -6
- package/dist/dts/slider/slider.form-associated.d.ts +14 -0
- package/dist/dts/slider/slider.options.d.ts +44 -3
- package/dist/dts/slider/slider.template.d.ts +4 -2
- package/dist/dts/spinner/index.d.ts +2 -2
- package/dist/dts/spinner/spinner.bench.d.ts +3 -0
- package/dist/dts/spinner/spinner.d.ts +29 -4
- package/dist/dts/spinner/spinner.definition.d.ts +0 -4
- package/dist/dts/spinner/spinner.options.d.ts +3 -3
- package/dist/dts/spinner/spinner.template.d.ts +1 -2
- package/dist/dts/styles/partials/index.d.ts +1 -0
- package/dist/dts/styles/partials/typography.partials.d.ts +18 -0
- package/dist/dts/styles/states/index.d.ts +220 -0
- package/dist/dts/switch/index.d.ts +3 -2
- package/dist/dts/switch/switch.bench.d.ts +3 -0
- package/dist/dts/switch/switch.d.ts +7 -12
- package/dist/dts/switch/switch.form-associated.d.ts +14 -0
- package/dist/dts/switch/switch.options.d.ts +2 -2
- package/dist/dts/switch/switch.template.d.ts +2 -1
- package/dist/dts/tab/index.d.ts +4 -3
- package/dist/dts/tab/tab.bench.d.ts +3 -0
- package/dist/dts/tab/tab.d.ts +17 -2
- package/dist/dts/tab/tab.template.d.ts +3 -3
- package/dist/dts/tab-panel/index.d.ts +1 -1
- package/dist/dts/tab-panel/tab-panel.bench.d.ts +3 -0
- package/dist/dts/tab-panel/tab-panel.d.ts +2 -2
- package/dist/dts/tab-panel/tab-panel.template.d.ts +4 -1
- package/dist/dts/tabs/index.d.ts +5 -4
- package/dist/dts/tabs/tabs.bench.d.ts +3 -0
- package/dist/dts/tabs/tabs.d.ts +102 -13
- package/dist/dts/tabs/tabs.options.d.ts +23 -5
- package/dist/dts/tabs/tabs.template.d.ts +5 -1
- package/dist/dts/text/index.d.ts +2 -2
- package/dist/dts/text/text.bench.d.ts +3 -0
- package/dist/dts/text/text.d.ts +40 -1
- package/dist/dts/text/text.options.d.ts +5 -5
- package/dist/dts/text-input/index.d.ts +5 -5
- package/dist/dts/text-input/text-input.bench.d.ts +3 -0
- package/dist/dts/text-input/text-input.d.ts +415 -11
- package/dist/dts/text-input/text-input.definition.d.ts +2 -3
- package/dist/dts/text-input/text-input.options.d.ts +31 -10
- package/dist/dts/text-input/text-input.styles.d.ts +5 -2
- package/dist/dts/text-input/text-input.template.d.ts +8 -1
- package/dist/dts/theme/design-tokens.d.ts +2180 -384
- package/dist/dts/theme/index.d.ts +1 -1
- package/dist/dts/theme/set-theme.bench.d.ts +3 -0
- package/dist/dts/theme/set-theme.d.ts +12 -4
- package/dist/dts/toggle-button/index.d.ts +5 -4
- package/dist/dts/toggle-button/toggle-button.bench.d.ts +3 -0
- package/dist/dts/toggle-button/toggle-button.d.ts +29 -26
- package/dist/dts/toggle-button/toggle-button.definition.d.ts +0 -2
- package/dist/dts/toggle-button/toggle-button.options.d.ts +6 -7
- package/dist/dts/toggle-button/toggle-button.styles.d.ts +7 -0
- package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
- package/dist/dts/utils/benchmark-dependencies/tokens.d.ts +1 -0
- package/dist/dts/utils/benchmark-wrapper.d.ts +2 -0
- package/dist/dts/utils/converters.d.ts +17 -0
- package/dist/dts/utils/direction.d.ts +10 -0
- package/dist/dts/utils/display.d.ts +17 -0
- package/dist/dts/utils/element-internals.d.ts +20 -0
- package/dist/dts/utils/index.d.ts +7 -0
- package/dist/dts/utils/root-active-element.d.ts +1 -0
- package/dist/dts/utils/template-helpers.d.ts +16 -0
- package/dist/dts/utils/typings.d.ts +6 -0
- package/dist/dts/utils/whitespace-filter.d.ts +12 -0
- package/dist/esm/accordion/accordion.bench.js +30 -0
- package/dist/esm/accordion/accordion.bench.js.map +1 -0
- package/dist/esm/accordion/accordion.definition.js +0 -4
- package/dist/esm/accordion/accordion.definition.js.map +1 -1
- package/dist/esm/accordion/accordion.js +172 -3
- package/dist/esm/accordion/accordion.js.map +1 -1
- package/dist/esm/accordion/accordion.options.js +9 -0
- package/dist/esm/accordion/accordion.options.js.map +1 -0
- package/dist/esm/accordion/accordion.styles.js +1 -1
- package/dist/esm/accordion/accordion.styles.js.map +1 -1
- package/dist/esm/accordion/accordion.template.js +11 -1
- package/dist/esm/accordion/accordion.template.js.map +1 -1
- package/dist/esm/accordion/index.js +2 -1
- package/dist/esm/accordion/index.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.bench.js +14 -0
- package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.definition.js +0 -3
- package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.js +138 -13
- package/dist/esm/accordion-item/accordion-item.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.options.js +1 -1
- package/dist/esm/accordion-item/accordion-item.options.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.js +42 -64
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.template.js +30 -4
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
- package/dist/esm/accordion-item/index.js +2 -2
- package/dist/esm/accordion-item/index.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.bench.js +11 -0
- package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -0
- package/dist/esm/anchor-button/anchor-button.definition.js +0 -6
- package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.js +193 -60
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.options.js +26 -0
- package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.styles.js +12 -5
- package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.template.js +21 -1
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
- package/dist/esm/anchor-button/index.js +3 -3
- package/dist/esm/anchor-button/index.js.map +1 -1
- package/dist/esm/avatar/avatar.bench.js +10 -0
- package/dist/esm/avatar/avatar.bench.js.map +1 -0
- package/dist/esm/avatar/avatar.js +66 -37
- package/dist/esm/avatar/avatar.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +36 -36
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.template.js +2 -4
- package/dist/esm/avatar/avatar.template.js.map +1 -1
- package/dist/esm/avatar/index.js +2 -2
- package/dist/esm/avatar/index.js.map +1 -1
- package/dist/esm/badge/badge.bench.js +11 -0
- package/dist/esm/badge/badge.bench.js.map +1 -0
- package/dist/esm/badge/badge.definition.js +0 -3
- package/dist/esm/badge/badge.definition.js.map +1 -1
- package/dist/esm/badge/badge.js +61 -7
- package/dist/esm/badge/badge.js.map +1 -1
- package/dist/esm/badge/badge.styles.js +14 -6
- package/dist/esm/badge/badge.styles.js.map +1 -1
- package/dist/esm/badge/badge.template.js +2 -2
- package/dist/esm/badge/badge.template.js.map +1 -1
- package/dist/esm/badge/index.js +2 -2
- package/dist/esm/badge/index.js.map +1 -1
- package/dist/esm/button/button.bench.js +11 -0
- package/dist/esm/button/button.bench.js.map +1 -0
- package/dist/esm/button/button.definition.js +2 -6
- package/dist/esm/button/button.definition.js.map +1 -1
- package/dist/esm/button/button.js +331 -38
- package/dist/esm/button/button.js.map +1 -1
- package/dist/esm/button/button.options.js +20 -1
- package/dist/esm/button/button.options.js.map +1 -1
- package/dist/esm/button/button.styles.js +78 -78
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/button/button.template.js +23 -1
- package/dist/esm/button/button.template.js.map +1 -1
- package/dist/esm/button/index.js +4 -4
- package/dist/esm/button/index.js.map +1 -1
- package/dist/esm/checkbox/checkbox.bench.js +11 -0
- package/dist/esm/checkbox/checkbox.bench.js.map +1 -0
- package/dist/esm/checkbox/checkbox.definition.js +1 -1
- package/dist/esm/checkbox/checkbox.definition.js.map +1 -1
- package/dist/esm/checkbox/checkbox.js +447 -13
- package/dist/esm/checkbox/checkbox.js.map +1 -1
- package/dist/esm/checkbox/checkbox.options.js +0 -8
- package/dist/esm/checkbox/checkbox.options.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.js +143 -125
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.template.js +34 -17
- package/dist/esm/checkbox/checkbox.template.js.map +1 -1
- package/dist/esm/checkbox/index.js +3 -3
- package/dist/esm/checkbox/index.js.map +1 -1
- package/dist/esm/compound-button/compound-button.bench.js +15 -0
- package/dist/esm/compound-button/compound-button.bench.js.map +1 -0
- package/dist/esm/compound-button/compound-button.definition.js +0 -6
- package/dist/esm/compound-button/compound-button.definition.js.map +1 -1
- package/dist/esm/compound-button/compound-button.options.js.map +1 -1
- package/dist/esm/compound-button/compound-button.styles.js +16 -17
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
- package/dist/esm/compound-button/compound-button.template.js +4 -40
- package/dist/esm/compound-button/compound-button.template.js.map +1 -1
- package/dist/esm/compound-button/index.js +2 -2
- package/dist/esm/compound-button/index.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.bench.js +11 -0
- package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js +0 -4
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.js +69 -7
- package/dist/esm/counter-badge/counter-badge.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.styles.js +12 -6
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
- package/dist/esm/counter-badge/index.js +2 -2
- package/dist/esm/counter-badge/index.js.map +1 -1
- package/dist/esm/dialog/define.js +4 -0
- package/dist/esm/dialog/define.js.map +1 -0
- package/dist/esm/dialog/dialog.bench.js +11 -0
- package/dist/esm/dialog/dialog.bench.js.map +1 -0
- package/dist/esm/dialog/dialog.definition.js +17 -0
- package/dist/esm/dialog/dialog.definition.js.map +1 -0
- package/dist/esm/dialog/dialog.js +91 -0
- package/dist/esm/dialog/dialog.js.map +1 -0
- package/dist/esm/dialog/dialog.options.js +10 -0
- package/dist/esm/dialog/dialog.options.js.map +1 -0
- package/dist/esm/dialog/dialog.styles.js +86 -0
- package/dist/esm/dialog/dialog.styles.js.map +1 -0
- package/dist/esm/dialog/dialog.template.js +24 -0
- package/dist/esm/dialog/dialog.template.js.map +1 -0
- package/dist/esm/dialog/index.js +6 -0
- package/dist/esm/dialog/index.js.map +1 -0
- package/dist/esm/dialog-body/define.js +4 -0
- package/dist/esm/dialog-body/define.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.bench.js +11 -0
- package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.definition.js +17 -0
- package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.js +22 -0
- package/dist/esm/dialog-body/dialog-body.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.styles.js +79 -0
- package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.template.js +42 -0
- package/dist/esm/dialog-body/dialog-body.template.js.map +1 -0
- package/dist/esm/dialog-body/index.js +5 -0
- package/dist/esm/dialog-body/index.js.map +1 -0
- package/dist/esm/divider/divider.bench.js +10 -0
- package/dist/esm/divider/divider.bench.js.map +1 -0
- package/dist/esm/divider/divider.js +113 -12
- package/dist/esm/divider/divider.js.map +1 -1
- package/dist/esm/divider/divider.options.js +14 -5
- package/dist/esm/divider/divider.options.js.map +1 -1
- package/dist/esm/divider/divider.styles.js +32 -31
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/divider/divider.template.js +4 -1
- package/dist/esm/divider/divider.template.js.map +1 -1
- package/dist/esm/divider/index.js +2 -2
- package/dist/esm/divider/index.js.map +1 -1
- package/dist/esm/drawer/define.js +4 -0
- package/dist/esm/drawer/define.js.map +1 -0
- package/dist/esm/drawer/drawer.definition.js +16 -0
- package/dist/esm/drawer/drawer.definition.js.map +1 -0
- package/dist/esm/drawer/drawer.js +132 -0
- package/dist/esm/drawer/drawer.js.map +1 -0
- package/dist/esm/drawer/drawer.options.js +25 -0
- package/dist/esm/drawer/drawer.options.js.map +1 -0
- package/dist/esm/drawer/drawer.styles.js +138 -0
- package/dist/esm/drawer/drawer.styles.js.map +1 -0
- package/dist/esm/drawer/drawer.template.js +28 -0
- package/dist/esm/drawer/drawer.template.js.map +1 -0
- package/dist/esm/drawer/index.js +6 -0
- package/dist/esm/drawer/index.js.map +1 -0
- package/dist/esm/drawer-body/define.js +4 -0
- package/dist/esm/drawer-body/define.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.definition.js +16 -0
- package/dist/esm/drawer-body/drawer-body.definition.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.js +21 -0
- package/dist/esm/drawer-body/drawer-body.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.styles.js +31 -0
- package/dist/esm/drawer-body/drawer-body.styles.js.map +1 -0
- package/dist/esm/drawer-body/drawer-body.template.js +21 -0
- package/dist/esm/drawer-body/drawer-body.template.js.map +1 -0
- package/dist/esm/drawer-body/index.js +5 -0
- package/dist/esm/drawer-body/index.js.map +1 -0
- package/dist/esm/field/define.js +4 -0
- package/dist/esm/field/define.js.map +1 -0
- package/dist/esm/field/field.bench.js +10 -0
- package/dist/esm/field/field.bench.js.map +1 -0
- package/dist/esm/field/field.definition.js +20 -0
- package/dist/esm/field/field.definition.js.map +1 -0
- package/dist/esm/field/field.js +201 -0
- package/dist/esm/field/field.js.map +1 -0
- package/dist/esm/field/field.options.js +27 -0
- package/dist/esm/field/field.options.js.map +1 -0
- package/dist/esm/field/field.styles.js +200 -0
- package/dist/esm/field/field.styles.js.map +1 -0
- package/dist/esm/field/field.template.js +26 -0
- package/dist/esm/field/field.template.js.map +1 -0
- package/dist/esm/field/index.js +6 -0
- package/dist/esm/field/index.js.map +1 -0
- package/dist/esm/form-associated/form-associated.js +458 -0
- package/dist/esm/form-associated/form-associated.js.map +1 -0
- package/dist/esm/image/image.bench.js +14 -0
- package/dist/esm/image/image.bench.js.map +1 -0
- package/dist/esm/image/image.js +69 -6
- package/dist/esm/image/image.js.map +1 -1
- package/dist/esm/image/image.styles.js +10 -9
- package/dist/esm/image/image.styles.js.map +1 -1
- package/dist/esm/image/index.js +2 -2
- package/dist/esm/image/index.js.map +1 -1
- package/dist/esm/index-rollup.js +36 -1
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.js +42 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/label/index.js +2 -1
- package/dist/esm/label/index.js.map +1 -1
- package/dist/esm/label/label.bench.js +11 -0
- package/dist/esm/label/label.bench.js.map +1 -0
- package/dist/esm/label/label.js +42 -6
- package/dist/esm/label/label.js.map +1 -1
- package/dist/esm/label/label.styles.js +19 -11
- package/dist/esm/label/label.styles.js.map +1 -1
- package/dist/esm/link/define.js +4 -0
- package/dist/esm/link/define.js.map +1 -0
- package/dist/esm/link/index.js +5 -0
- package/dist/esm/link/index.js.map +1 -0
- package/dist/esm/link/link.bench.js +11 -0
- package/dist/esm/link/link.bench.js.map +1 -0
- package/dist/esm/link/link.definition.js +15 -0
- package/dist/esm/link/link.definition.js.map +1 -0
- package/dist/esm/link/link.js +58 -0
- package/dist/esm/link/link.js.map +1 -0
- package/dist/esm/link/link.options.js +21 -0
- package/dist/esm/link/link.options.js.map +1 -0
- package/dist/esm/link/link.styles.js +74 -0
- package/dist/esm/link/link.styles.js.map +1 -0
- package/dist/esm/link/link.template.js +22 -0
- package/dist/esm/link/link.template.js.map +1 -0
- package/dist/esm/menu/index.js +1 -1
- package/dist/esm/menu/index.js.map +1 -1
- package/dist/esm/menu/menu.bench.js +31 -0
- package/dist/esm/menu/menu.bench.js.map +1 -0
- package/dist/esm/menu/menu.js +133 -157
- package/dist/esm/menu/menu.js.map +1 -1
- package/dist/esm/menu/menu.styles.js +22 -8
- package/dist/esm/menu/menu.styles.js.map +1 -1
- package/dist/esm/menu/menu.template.js +3 -10
- package/dist/esm/menu/menu.template.js.map +1 -1
- package/dist/esm/menu-button/index.js +3 -3
- package/dist/esm/menu-button/index.js.map +1 -1
- package/dist/esm/menu-button/menu-button.bench.js +11 -0
- package/dist/esm/menu-button/menu-button.bench.js.map +1 -0
- package/dist/esm/menu-button/menu-button.definition.js +0 -6
- package/dist/esm/menu-button/menu-button.definition.js.map +1 -1
- package/dist/esm/menu-button/menu-button.options.js.map +1 -1
- package/dist/esm/menu-button/menu-button.template.js +6 -2
- package/dist/esm/menu-button/menu-button.template.js.map +1 -1
- package/dist/esm/menu-item/index.js +4 -3
- package/dist/esm/menu-item/index.js.map +1 -1
- package/dist/esm/menu-item/menu-item.bench.js +11 -0
- package/dist/esm/menu-item/menu-item.bench.js.map +1 -0
- package/dist/esm/menu-item/menu-item.definition.js +0 -4
- package/dist/esm/menu-item/menu-item.definition.js.map +1 -1
- package/dist/esm/menu-item/menu-item.js +254 -4
- package/dist/esm/menu-item/menu-item.js.map +1 -1
- package/dist/esm/menu-item/menu-item.options.js +27 -0
- package/dist/esm/menu-item/menu-item.options.js.map +1 -0
- package/dist/esm/menu-item/menu-item.styles.js +103 -122
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-item/menu-item.template.js +28 -7
- package/dist/esm/menu-item/menu-item.template.js.map +1 -1
- package/dist/esm/menu-list/index.js +1 -1
- package/dist/esm/menu-list/index.js.map +1 -1
- package/dist/esm/menu-list/menu-list.bench.js +21 -0
- package/dist/esm/menu-list/menu-list.bench.js.map +1 -0
- package/dist/esm/menu-list/menu-list.definition.js +0 -4
- package/dist/esm/menu-list/menu-list.definition.js.map +1 -1
- package/dist/esm/menu-list/menu-list.js +239 -16
- package/dist/esm/menu-list/menu-list.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.js +1 -1
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.template.js +12 -1
- package/dist/esm/menu-list/menu-list.template.js.map +1 -1
- package/dist/esm/message-bar/define.js +4 -0
- package/dist/esm/message-bar/define.js.map +1 -0
- package/dist/esm/message-bar/index.js +6 -0
- package/dist/esm/message-bar/index.js.map +1 -0
- package/dist/esm/message-bar/message-bar.bench.js +56 -0
- package/dist/esm/message-bar/message-bar.bench.js.map +1 -0
- package/dist/esm/message-bar/message-bar.definition.js +20 -0
- package/dist/esm/message-bar/message-bar.definition.js.map +1 -0
- package/dist/esm/message-bar/message-bar.js +79 -0
- package/dist/esm/message-bar/message-bar.js.map +1 -0
- package/dist/esm/message-bar/message-bar.options.js +27 -0
- package/dist/esm/message-bar/message-bar.options.js.map +1 -0
- package/dist/esm/message-bar/message-bar.styles.js +108 -0
- package/dist/esm/message-bar/message-bar.styles.js.map +1 -0
- package/dist/esm/message-bar/message-bar.template.js +25 -0
- package/dist/esm/message-bar/message-bar.template.js.map +1 -0
- package/dist/esm/patterns/aria-globals.js +72 -0
- package/dist/esm/patterns/aria-globals.js.map +1 -0
- package/dist/esm/patterns/index.js +3 -0
- package/dist/esm/patterns/index.js.map +1 -0
- package/dist/esm/patterns/start-end.js +29 -0
- package/dist/esm/patterns/start-end.js.map +1 -0
- package/dist/esm/progress-bar/index.js +2 -2
- package/dist/esm/progress-bar/index.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.bench.js +10 -0
- package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +117 -16
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +50 -128
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.template.js +11 -5
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/esm/radio/index.js +1 -1
- package/dist/esm/radio/index.js.map +1 -1
- package/dist/esm/radio/radio.bench.js +11 -0
- package/dist/esm/radio/radio.bench.js.map +1 -0
- package/dist/esm/radio/radio.js +78 -3
- package/dist/esm/radio/radio.js.map +1 -1
- package/dist/esm/radio/radio.options.js +2 -0
- package/dist/esm/radio/radio.options.js.map +1 -0
- package/dist/esm/radio/radio.styles.js +95 -88
- package/dist/esm/radio/radio.styles.js.map +1 -1
- package/dist/esm/radio/radio.template.js +27 -4
- package/dist/esm/radio/radio.template.js.map +1 -1
- package/dist/esm/radio-group/index.js +2 -2
- package/dist/esm/radio-group/index.js.map +1 -1
- package/dist/esm/radio-group/radio-group.bench.js +21 -0
- package/dist/esm/radio-group/radio-group.bench.js.map +1 -0
- package/dist/esm/radio-group/radio-group.js +457 -15
- package/dist/esm/radio-group/radio-group.js.map +1 -1
- package/dist/esm/radio-group/radio-group.options.js +7 -0
- package/dist/esm/radio-group/radio-group.options.js.map +1 -0
- package/dist/esm/radio-group/radio-group.styles.js +28 -33
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
- package/dist/esm/radio-group/radio-group.template.js +15 -1
- package/dist/esm/radio-group/radio-group.template.js.map +1 -1
- package/dist/esm/rating-display/define.js +4 -0
- package/dist/esm/rating-display/define.js.map +1 -0
- package/dist/esm/rating-display/index.js +6 -0
- package/dist/esm/rating-display/index.js.map +1 -0
- package/dist/esm/rating-display/rating-display.definition.js +17 -0
- package/dist/esm/rating-display/rating-display.definition.js.map +1 -0
- package/dist/esm/rating-display/rating-display.js +97 -0
- package/dist/esm/rating-display/rating-display.js.map +1 -0
- package/dist/esm/rating-display/rating-display.options.js +19 -0
- package/dist/esm/rating-display/rating-display.options.js.map +1 -0
- package/dist/esm/rating-display/rating-display.styles.js +120 -0
- package/dist/esm/rating-display/rating-display.styles.js.map +1 -0
- package/dist/esm/rating-display/rating-display.template.js +32 -0
- package/dist/esm/rating-display/rating-display.template.js.map +1 -0
- package/dist/esm/slider/index.js +2 -2
- package/dist/esm/slider/index.js.map +1 -1
- package/dist/esm/slider/slider-utilities.js +12 -0
- package/dist/esm/slider/slider-utilities.js.map +1 -0
- package/dist/esm/slider/slider.bench.js +10 -0
- package/dist/esm/slider/slider.bench.js.map +1 -0
- package/dist/esm/slider/slider.form-associated.js +14 -0
- package/dist/esm/slider/slider.form-associated.js.map +1 -0
- package/dist/esm/slider/slider.js +660 -27
- package/dist/esm/slider/slider.js.map +1 -1
- package/dist/esm/slider/slider.options.js +11 -1
- package/dist/esm/slider/slider.options.js.map +1 -1
- package/dist/esm/slider/slider.styles.js +108 -133
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/slider/slider.template.js +22 -2
- package/dist/esm/slider/slider.template.js.map +1 -1
- package/dist/esm/spinner/index.js +2 -2
- package/dist/esm/spinner/index.js.map +1 -1
- package/dist/esm/spinner/spinner.bench.js +10 -0
- package/dist/esm/spinner/spinner.bench.js.map +1 -0
- package/dist/esm/spinner/spinner.definition.js +0 -4
- package/dist/esm/spinner/spinner.definition.js.map +1 -1
- package/dist/esm/spinner/spinner.js +48 -9
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +123 -61
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.template.js +16 -21
- package/dist/esm/spinner/spinner.template.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.js +48 -48
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/styles/partials/index.js +1 -0
- package/dist/esm/styles/partials/index.js.map +1 -1
- package/dist/esm/styles/partials/typography.partials.js +105 -0
- package/dist/esm/styles/partials/typography.partials.js.map +1 -0
- package/dist/esm/styles/states/index.js +222 -0
- package/dist/esm/styles/states/index.js.map +1 -0
- package/dist/esm/switch/index.js +2 -2
- package/dist/esm/switch/index.js.map +1 -1
- package/dist/esm/switch/switch.bench.js +11 -0
- package/dist/esm/switch/switch.bench.js.map +1 -0
- package/dist/esm/switch/switch.form-associated.js +14 -0
- package/dist/esm/switch/switch.form-associated.js.map +1 -0
- package/dist/esm/switch/switch.js +6 -12
- package/dist/esm/switch/switch.js.map +1 -1
- package/dist/esm/switch/switch.styles.js +32 -56
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/switch/switch.template.js +15 -1
- package/dist/esm/switch/switch.template.js.map +1 -1
- package/dist/esm/tab/index.js +3 -3
- package/dist/esm/tab/index.js.map +1 -1
- package/dist/esm/tab/tab.bench.js +11 -0
- package/dist/esm/tab/tab.bench.js.map +1 -0
- package/dist/esm/tab/tab.js +9 -3
- package/dist/esm/tab/tab.js.map +1 -1
- package/dist/esm/tab/tab.styles.js +1 -1
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tab/tab.template.js +1 -1
- package/dist/esm/tab/tab.template.js.map +1 -1
- package/dist/esm/tab-panel/index.js +1 -1
- package/dist/esm/tab-panel/index.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.bench.js +13 -0
- package/dist/esm/tab-panel/tab-panel.bench.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.js +2 -2
- package/dist/esm/tab-panel/tab-panel.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.template.js +8 -1
- package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
- package/dist/esm/tabs/index.js +4 -4
- package/dist/esm/tabs/index.js.map +1 -1
- package/dist/esm/tabs/tabs.bench.js +32 -0
- package/dist/esm/tabs/tabs.bench.js.map +1 -0
- package/dist/esm/tabs/tabs.js +292 -20
- package/dist/esm/tabs/tabs.js.map +1 -1
- package/dist/esm/tabs/tabs.options.js +6 -2
- package/dist/esm/tabs/tabs.options.js.map +1 -1
- package/dist/esm/tabs/tabs.styles.js +1 -1
- package/dist/esm/tabs/tabs.styles.js.map +1 -1
- package/dist/esm/tabs/tabs.template.js +14 -1
- package/dist/esm/tabs/tabs.template.js.map +1 -1
- package/dist/esm/text/index.js +2 -2
- package/dist/esm/text/index.js.map +1 -1
- package/dist/esm/text/text.bench.js +13 -0
- package/dist/esm/text/text.bench.js.map +1 -0
- package/dist/esm/text/text.js +92 -7
- package/dist/esm/text/text.js.map +1 -1
- package/dist/esm/text/text.styles.js +57 -34
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/esm/text-input/index.js +4 -5
- package/dist/esm/text-input/index.js.map +1 -1
- package/dist/esm/text-input/text-input.bench.js +10 -0
- package/dist/esm/text-input/text-input.bench.js.map +1 -0
- package/dist/esm/text-input/text-input.definition.js +5 -3
- package/dist/esm/text-input/text-input.definition.js.map +1 -1
- package/dist/esm/text-input/text-input.js +439 -12
- package/dist/esm/text-input/text-input.js.map +1 -1
- package/dist/esm/text-input/text-input.options.js +35 -2
- package/dist/esm/text-input/text-input.options.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.js +45 -34
- package/dist/esm/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/text-input/text-input.template.js +55 -2
- package/dist/esm/text-input/text-input.template.js.map +1 -1
- package/dist/esm/theme/design-tokens.js +2181 -386
- package/dist/esm/theme/design-tokens.js.map +1 -1
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/set-theme.bench.js +23 -0
- package/dist/esm/theme/set-theme.bench.js.map +1 -0
- package/dist/esm/theme/set-theme.js +40 -4
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/toggle-button/index.js +4 -4
- package/dist/esm/toggle-button/index.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.bench.js +11 -0
- package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -0
- package/dist/esm/toggle-button/toggle-button.definition.js +0 -5
- package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.js +44 -91
- package/dist/esm/toggle-button/toggle-button.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.options.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js +32 -26
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.template.js +1 -1
- package/dist/esm/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +142 -0
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -0
- package/dist/esm/utils/benchmark-dependencies/tokens.js +2 -0
- package/dist/esm/utils/benchmark-dependencies/tokens.js.map +1 -0
- package/dist/esm/utils/benchmark-wrapper.js +18 -0
- package/dist/esm/utils/benchmark-wrapper.js.map +1 -0
- package/dist/esm/utils/converters.js +26 -0
- package/dist/esm/utils/converters.js.map +1 -0
- package/dist/esm/utils/direction.js +15 -0
- package/dist/esm/utils/direction.js.map +1 -0
- package/dist/esm/utils/display.js +15 -0
- package/dist/esm/utils/display.js.map +1 -0
- package/dist/esm/utils/element-internals.js +32 -0
- package/dist/esm/utils/element-internals.js.map +1 -0
- package/dist/esm/utils/get-initials.js.map +1 -1
- package/dist/esm/utils/index.js +8 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/root-active-element.js +9 -0
- package/dist/esm/utils/root-active-element.js.map +1 -0
- package/dist/esm/utils/template-helpers.js +19 -0
- package/dist/esm/utils/template-helpers.js.map +1 -0
- package/dist/esm/utils/typings.js +3 -0
- package/dist/esm/utils/typings.js.map +1 -0
- package/dist/esm/utils/whitespace-filter.js +13 -0
- package/dist/esm/utils/whitespace-filter.js.map +1 -0
- package/dist/web-components.d.ts +7126 -1468
- package/dist/web-components.js +5954 -7163
- package/dist/web-components.min.js +411 -243
- package/package.json +72 -15
- package/dist/fluent-web-components.api.json +0 -19686
- package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +0 -1
- package/dist/storybook/108.b31ec3a1.iframe.bundle.js +0 -1
- package/dist/storybook/316.bc4aabd3.iframe.bundle.js +0 -2
- package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +0 -17
- package/dist/storybook/401.7edec720.iframe.bundle.js +0 -2
- package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +0 -12
- package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +0 -2
- package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +0 -12
- package/dist/storybook/491.77b24750.iframe.bundle.js +0 -1
- package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +0 -2
- package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +0 -94
- package/dist/storybook/677.939f187f.iframe.bundle.js +0 -462
- package/dist/storybook/677.939f187f.iframe.bundle.js.LICENSE.txt +0 -46
- package/dist/storybook/677.939f187f.iframe.bundle.js.map +0 -1
- package/dist/storybook/709.22096ad4.iframe.bundle.js +0 -2
- package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +0 -8
- package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +0 -2
- package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +0 -8
- package/dist/storybook/721.46fa9f53.iframe.bundle.js +0 -2
- package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +0 -31
- package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +0 -2
- package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +0 -31
- package/dist/storybook/858.da40ed98.iframe.bundle.js +0 -1
- package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +0 -1
- package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +0 -1
- package/dist/storybook/954.630c5748.iframe.bundle.js +0 -1
- package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +0 -1
- package/dist/storybook/SegoeUI-VF.ttf +0 -0
- package/dist/storybook/favicon.ico +0 -0
- package/dist/storybook/favicon.png +0 -0
- package/dist/storybook/iframe.html +0 -364
- package/dist/storybook/index.html +0 -165
- package/dist/storybook/main.49f4b1e6.iframe.bundle.js +0 -2
- package/dist/storybook/main.49f4b1e6.iframe.bundle.js.LICENSE.txt +0 -1
- package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +0 -1
- package/dist/storybook/project.json +0 -1
- package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +0 -1
- package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +0 -1
- package/dist/storybook/shell.css +0 -83
- package/dist/storybook/theme-switch.ts +0 -13
- package/docs/api-report.md +0 -2427
- package/playwright.config.ts +0 -25
|
@@ -1,35 +1,64 @@
|
|
|
1
|
-
function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}function t(e,t,o,r){return new(o||(o=Promise))((function(i,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(n,s)}l((r=r.apply(e,t||[])).next())}))}let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(jh){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function u(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)throw c.error(1201);m=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class x{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const w=Object.freeze({unknown:void 0,coupled:1}),B=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,n=e=>{throw c.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=n(e):o.set(e,r=new $(e))),r}const l=u();class d{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends x{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==w.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return p(h),Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){a(t)&&(t=new d(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=c.getById(r.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class I extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function A(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class F extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new F(e,t)}let L;p(F);class N{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof N?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(L),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof N?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){L=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new N(e):e instanceof N?e:new N([e])}}N.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const O=h(),D=Object.freeze({getForInstance:O.getForInstance,getByType:O.getByType,define:e=>(O.register({type:e}),e)});function E(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class M{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>E(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){E(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){E(this,t.controller,t)}}D.define(M);const R=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${R}${++H}`;function _(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new M(A(s),V()).createCSS(n):s instanceof T?s=new M(s,V()).createCSS(n):void 0!==D.getForInstance(s)&&(s=s.createCSS(n)),s instanceof N||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:a}}const j=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t),i=new N(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new N(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}D.define(G),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=_(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),W=q+"{",X="}"+q,U=X.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${W}${e}${X}`,attribute:e=>`${K()}="${W}${e}${X}"`,comment:e=>`\x3c!--${W}${e}${X}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(W);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(X);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+U)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=w.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){ie(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),B.defineProperty(ae.prototype,"index"),B.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;r.content.firstChild||r.content.lastChild||r.content.appendChild(document.createComment(""));const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const c=new re(r);return ee.assignAspect(c,o),c}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class ve{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(A(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e),Be=()=>null;function Ce(e){return void 0===e?Be:i(e)?e:()=>e}function Se(e,t,o){const r=i(e)?e:()=>e,a=Ce(t),n=Ce(o);return(e,t)=>r(e,t)?a(e,t):n(e,t)}const Pe=e=>1===e.nodeType,Te=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Ie extends te{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,d),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Ae extends Ie{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Fe(e){return a(e)&&(e={property:e}),new Ae(e)}ee.define(Ae);const ze=Object.freeze({locate:u()}),Le={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ne(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Oe={toView(e){const t=Ne(e);return t?t.toString():t},fromView:Ne};class De{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Le)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return B.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(ze.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new De(e,r)):o.push(new De(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ee(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),ze.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Me={mode:"open"},Re={},He=new Set,Ve=c.getById(r.elementRegistry,()=>h());class _e{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,i=De.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Me:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Me),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Re:Object.assign(Object.assign({},Re),t.elementOptions),this.styles=N.normalize(t.styles),Ve.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return He.has(e)||Ve.getByType(e)?new _e(class extends e{},t):new _e(e,t)}static registerBaseType(e){He.add(e)}}_e.getByType=Ve.getByType,_e.getForInstance=Ve.getForInstance;const je={bubbles:!0,composed:!0,cancelable:!0},Ge=new WeakMap;function qe(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ge.get(e))&&void 0!==o?o:null}let We;class Xe extends ${constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&Ge.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return B.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,i+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=qe(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=qe(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},je),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=qe(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=_e.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new We(e,o)}static setStrategy(e){We=e}}function Ue(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=qe(e))&&void 0!==t?t:e.getRootNode()}p(Xe),Xe.setStrategy(Xe);class Ye{constructor(e){const t=Ye.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Je(Ue(e),this.sheets)}removeStylesFrom(e){et(Ue(e),this.sheets)}}Ye.styleSheetCache=new Map;let Ke=0;function Qe(e){return e===document?document.body:e}class Ze{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ke}addStylesTo(e){e=Qe(Ue(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Qe(Ue(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Je=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},et=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(N.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Je=(e,t)=>{e.adoptedStyleSheets.push(...t)},et=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(jh){}N.setDefaultStrategy(Ye)}else N.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),Xe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return _e.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return i(e)?_e.compose(e,t).define().type:_e.compose(this,e).define().type},compose:function(e,t){return i(e)?_e.compose(e,t):_e.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function it(...e){return e.every(e=>e instanceof HTMLElement)}const at={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var nt;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(nt||(nt={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ht(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}e([Ee({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([Ee({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([Ee({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([Ee({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([Ee({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([Ee({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([Ee({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([Ee({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([Ee({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([Ee({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([Ee({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([Ee({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([Ee({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([Ee({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([Ee({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([Ee({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([Ee({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([Ee({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([Ee({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ut{}function pt(e){return xe`<slot name="end" ${we("end")}>${ht(e.end)}</slot>`.inline()}function gt(e){return xe`<slot name="start" ${we("start")}>${ht(e.start)}</slot>`.inline()}function bt(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}class ft extends ot{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ct("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}e([Ee({attribute:"heading-level",mode:"fromView",converter:Oe})],ft.prototype,"headinglevel",void 0),e([Ee({mode:"boolean"})],ft.prototype,"expanded",void 0),e([Ee({mode:"boolean"})],ft.prototype,"disabled",void 0),e([Ee],ft.prototype,"id",void 0),bt(ft,ut);const mt="single",vt="multi";class yt extends ot{constructor(){super(...arguments),this.expandmode=vt,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof ft&&(e.addEventListener("click",this.activeItemChange),B.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof ft&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==mt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof ft&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===mt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof ft&&e.expandbutton.focus()}}e([Ee({attribute:"expand-mode"})],yt.prototype,"expandmode",void 0),e([C],yt.prototype,"slottedAccordionItems",void 0);class kt extends yt{}const xt=xe`<template><slot ${Fe({property:"slottedAccordionItems",filter:Te()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?nt.rtl:nt.ltr};class wt extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new wt(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const Bt=wt.with(window.matchMedia("(forced-colors)"));wt.with(window.matchMedia("(prefers-color-scheme: dark)")),wt.with(window.matchMedia("(prefers-color-scheme: light)"));function Ct(e){return`:host([hidden]){display:none}:host{display:${e}}`}const St=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)},Pt=j`
|
|
2
|
-
${
|
|
3
|
-
|
|
4
|
-
:host{flex-direction:column;width:100%;contain:content}`,Tt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),It=kt.compose({name:Tt.prefix+"-accordion",template:xt,styles:Pt});var At=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,zt=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ft(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&At(t,o,a),a};class Lt extends ft{constructor(){super(...arguments),this.block=!1}}zt([Ee],Lt.prototype,"size",2),zt([Ee({mode:"boolean"})],Lt.prototype,"block",2),zt([Ee({attribute:"expand-icon-position"})],Lt.prototype,"expandIconPosition",2);const Nt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ot={start:"start",end:"end"};function Dt(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}Object.freeze({create(e){const t=[],o={};let r=null,i=!1;return{source:e,context:P.default,targets:o,get isBound(){return i},addBehaviorFactory(e,t){var o,r,i,a;const n=e;n.id=null!==(o=n.id)&&void 0!==o?o:K(),n.targetNodeId=null!==(r=n.targetNodeId)&&void 0!==r?r:K(),n.targetTagName=null!==(i=t.tagName)&&void 0!==i?i:null,n.policy=null!==(a=n.policy)&&void 0!==a?a:y.policy,this.addTarget(n.targetNodeId,t),this.addBehavior(n.createBehavior())},addTarget(e,t){o[e]=t},addBehavior(e){t.push(e),i&&e.bind(this)},onUnbind(e){null===r&&(r=[]),r.push(e)},connectedCallback(e){i||(i=!0,t.forEach(e=>e.bind(this)))},disconnectedCallback(e){i&&(i=!1,null!==r&&r.forEach(e=>e.unbind(this)))}}}});class Et{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Et.cache.get(e);return t||(t=new Et(e),Et.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}Et.cache=new WeakMap;class Mt{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Rt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Ht{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=Ht.getAssignedTokensForNode(e),r=e.parent;do{const e=Ht.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ht.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Ht.isAssigned(e,t)?Ht.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(Ht.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ht.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=Ht.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ht.composeAssignedTokensForNode(this),a=Ht.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new Rt(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Rt(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ht.notify()}removeChild(e){if(e.parent===this){const t=Ht.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Rt(this,2,o));Ht.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=Ht.isAssigned(this,e)||Ht.isDerivedFor(this,e)?1:0,r=Ht.getLocalTokenValue(this,e);this._values.set(e,t),Ht.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ht.isDerivedTokenValue(t),a=Ht.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ht.queueNotification(new Rt(this,o,e,t)),this.dispatch(new Rt(this,o,e,t)),a.forEach((e,t)=>{if(!Ht.isDerivedFor(this,t)){Ht.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ht.queueNotification(new Rt(this,1,t,e.evaluator.value)),this.dispatch(new Rt(this,0,t,e.evaluator.value))}}),Ht.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ht.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ht.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(Ht.isAssigned(this,e)){const t=Ht.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ht.queueNotification(new Rt(this,2,e)),t!==o&&this.dispatch(new Rt(this,2,e)),Ht.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ht.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&Ht.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ht.queueNotification(new Rt(this,2,i))),n&&(e=new Rt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ht.isDerivedTokenValue(s)){const t=Et.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ht.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new Rt(this,void 0===t?0:1,i,o.evaluator.value);Ht.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ht.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ht.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Rt(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(Ht.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ht.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Mt(e,Et.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Rt(this,1,r.token,r.evaluator.value);Ht.queueNotification(e),this.dispatch(e),Ht.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ht.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ht._notifications=[];class Vt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class _t extends Vt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class jt extends Vt{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class Gt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}e([C],Gt.prototype,"target",void 0);class qt{setProperty(e,t){qt.properties[e]=t;for(const o of qt.roots.values())o.setProperty(e,t)}removeProperty(e){delete qt.properties[e];for(const t of qt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=qt;if(!t.has(e)){t.add(e);for(const t in qt.properties)e.setProperty(t,qt.properties[t])}}static unregisterRoot(e){const{roots:t}=qt;if(t.has(e)){t.delete(e);for(const t in qt.properties)e.removeProperty(t)}}}qt.roots=new Set,qt.properties={};const Wt=new WeakMap,Xt=N.supportsAdoptedStyleSheets?class extends Vt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new N([t]))}}:Gt,Ut=Object.freeze({getOrCreate(e){if(Wt.has(e))return Wt.get(e);let t;return t=e instanceof Document?N.supportsAdoptedStyleSheets?new _t:new jt:new Xt(e),Wt.set(e,t),t}});class Yt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Jt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Jt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Kt({name:e,cssCustomPropertyName:e}):Yt.isCSSDesignTokenConfiguration(e)?new Kt(e):new Yt(e)}static withStrategy(e){Jt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.unregisterRoot(e)}getValueFor(e){return Jt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Jt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Jt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Jt.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof Yt&&(e=this.alias(e)),e}}let Kt=class extends Yt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Jt.defaultNode?Jt.rootStyleSheetTarget:t.target instanceof Jt?Ut.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,B.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var Qt;Kt=e([function(e){D.define(e)},function(e){ee.define(e,Qt)}],Kt);const Zt={contains:function(e,t){let o=t;for(;null!==o;){if(o===e)return!0;o=Dt(o)}return!1},parent(e){let t=Dt(e);for(;null!==t;){if(t instanceof ot)return t;t=Dt(t)}return null}};class Jt extends Ht{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Jt.withStrategy(Zt),this._strategy}connectedCallback(e){let t=Jt.findParent(e.source);if(null===t&&(t=Jt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Jt&&Jt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Jt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Jt.cache.get(e);return t||(t=new Jt(e),Jt.cache.set(e,t),e.$fastController.addBehavior(Jt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Jt.strategy.parent(e);for(;null!==t;){const e=Jt.cache.get(t);if(e)return e;t=Jt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Jt.defaultNode.appendChild(this),e.apply(this,t))}}Jt.defaultNode=new Ht,Jt.rootStyleSheetTarget=new qt,Jt.cache=new WeakMap;const{create:eo}=Yt,to=eo("borderRadiusNone"),oo=eo("borderRadiusSmall"),ro=eo("borderRadiusMedium"),io=eo("borderRadiusLarge"),ao=eo("borderRadiusXLarge"),no=eo("borderRadiusCircular"),so=eo("fontSizeBase100"),lo=eo("fontSizeBase200"),co=eo("fontSizeBase300"),ho=eo("fontSizeBase400"),uo=eo("fontSizeBase500"),po=eo("fontSizeBase600"),go=eo("fontSizeHero700"),bo=eo("fontSizeHero800"),fo=eo("fontSizeHero900"),mo=eo("fontSizeHero1000"),vo=eo("lineHeightBase100"),yo=eo("lineHeightBase200"),ko=eo("lineHeightBase300"),xo=eo("lineHeightBase400"),$o=eo("lineHeightBase500"),wo=eo("lineHeightBase600"),Bo=eo("lineHeightHero700"),Co=eo("lineHeightHero800"),So=eo("lineHeightHero900"),Po=eo("lineHeightHero1000"),To=eo("fontFamilyBase"),Io=eo("fontFamilyMonospace"),Ao=eo("fontFamilyNumeric"),Fo=eo("fontWeightRegular"),zo=eo("fontWeightMedium"),Lo=eo("fontWeightSemibold"),No=eo("fontWeightBold"),Oo=eo("strokeWidthThin"),Do=eo("strokeWidthThick"),Eo=eo("strokeWidthThicker"),Mo=eo("strokeWidthThickest"),Ro=eo("spacingHorizontalNone"),Ho=eo("spacingHorizontalXXS"),Vo=eo("spacingHorizontalXS"),_o=eo("spacingHorizontalSNudge"),jo=eo("spacingHorizontalS"),Go=eo("spacingHorizontalMNudge"),qo=eo("spacingHorizontalM"),Wo=eo("spacingHorizontalL"),Xo=eo("spacingHorizontalXL"),Uo=eo("spacingHorizontalXXL"),Yo=eo("spacingHorizontalXXXL"),Ko=eo("spacingVerticalNone"),Qo=eo("spacingVerticalXXS"),Zo=eo("spacingVerticalXS"),Jo=eo("spacingVerticalSNudge"),er=eo("spacingVerticalS"),tr=eo("spacingVerticalMNudge"),or=eo("spacingVerticalM"),rr=eo("spacingVerticalL"),ir=eo("spacingVerticalXL"),ar=eo("spacingVerticalXXL"),nr=eo("spacingVerticalXXXL"),sr=eo("durationUltraFast"),lr=eo("durationFaster"),cr=eo("durationFast"),dr=eo("durationNormal"),hr=eo("durationSlow"),ur=eo("durationSlower"),pr=eo("durationUltraSlow"),gr=eo("curveAccelerateMax"),br=eo("curveAccelerateMid"),fr=eo("curveAccelerateMin"),mr=eo("curveDecelerateMax"),vr=eo("curveDecelerateMid"),yr=eo("curveDecelerateMin"),kr=eo("curveEasyEaseMax"),xr=eo("curveEasyEase"),$r=eo("curveLinear"),wr=eo("colorNeutralForeground1"),Br=eo("colorNeutralForeground1Hover"),Cr=eo("colorNeutralForeground1Pressed"),Sr=eo("colorNeutralForeground1Selected"),Pr=eo("colorNeutralForeground2"),Tr=eo("colorNeutralForeground2Hover"),Ir=eo("colorNeutralForeground2Pressed"),Ar=eo("colorNeutralForeground2Selected"),Fr=eo("colorNeutralForeground2BrandHover"),zr=eo("colorNeutralForeground2BrandPressed"),Lr=eo("colorNeutralForeground2BrandSelected"),Nr=eo("colorNeutralForeground3"),Or=eo("colorNeutralForeground3Hover"),Dr=eo("colorNeutralForeground3Pressed"),Er=eo("colorNeutralForeground3Selected"),Mr=eo("colorNeutralForeground3BrandHover"),Rr=eo("colorNeutralForeground3BrandPressed"),Hr=eo("colorNeutralForeground3BrandSelected"),Vr=eo("colorNeutralForeground4"),_r=eo("colorNeutralForegroundDisabled"),jr=eo("colorNeutralForegroundInvertedDisabled"),Gr=eo("colorBrandForegroundLink"),qr=eo("colorBrandForegroundLinkHover"),Wr=eo("colorBrandForegroundLinkPressed"),Xr=eo("colorBrandForegroundLinkSelected"),Ur=eo("colorNeutralForeground2Link"),Yr=eo("colorNeutralForeground2LinkHover"),Kr=eo("colorNeutralForeground2LinkPressed"),Qr=eo("colorNeutralForeground2LinkSelected"),Zr=eo("colorCompoundBrandForeground1"),Jr=eo("colorCompoundBrandForeground1Hover"),ei=eo("colorCompoundBrandForeground1Pressed"),ti=eo("colorBrandForeground1"),oi=eo("colorBrandForeground2"),ri=eo("colorNeutralForeground1Static"),ii=eo("colorNeutralForegroundStaticInverted"),ai=eo("colorNeutralForegroundInverted"),ni=eo("colorNeutralForegroundInvertedHover"),si=eo("colorNeutralForegroundInvertedPressed"),li=eo("colorNeutralForegroundInvertedSelected"),ci=eo("colorNeutralForegroundInverted2"),di=eo("colorNeutralForegroundOnBrand"),hi=eo("colorNeutralForegroundInvertedLink"),ui=eo("colorNeutralForegroundInvertedLinkHover"),pi=eo("colorNeutralForegroundInvertedLinkPressed"),gi=eo("colorNeutralForegroundInvertedLinkSelected"),bi=eo("colorBrandForegroundInverted"),fi=eo("colorBrandForegroundInvertedHover"),mi=eo("colorBrandForegroundInvertedPressed"),vi=eo("colorBrandForegroundOnLight"),yi=eo("colorBrandForegroundOnLightHover"),ki=eo("colorBrandForegroundOnLightPressed"),xi=eo("colorBrandForegroundOnLightSelected"),$i=eo("colorNeutralBackground1"),wi=eo("colorNeutralBackground1Hover"),Bi=eo("colorNeutralBackground1Pressed"),Ci=eo("colorNeutralBackground1Selected"),Si=eo("colorNeutralBackground2"),Pi=eo("colorNeutralBackground2Hover"),Ti=eo("colorNeutralBackground2Pressed"),Ii=eo("colorNeutralBackground2Selected"),Ai=eo("colorNeutralBackground3"),Fi=eo("colorNeutralBackground3Hover"),zi=eo("colorNeutralBackground3Pressed"),Li=eo("colorNeutralBackground3Selected"),Ni=eo("colorNeutralBackground4"),Oi=eo("colorNeutralBackground4Hover"),Di=eo("colorNeutralBackground4Pressed"),Ei=eo("colorNeutralBackground4Selected"),Mi=eo("colorNeutralBackground5"),Ri=eo("colorNeutralBackground5Hover"),Hi=eo("colorNeutralBackground5Pressed"),Vi=eo("colorNeutralBackground5Selected"),_i=eo("colorNeutralBackground6"),ji=eo("colorNeutralBackgroundInverted"),Gi=eo("colorNeutralBackgroundStatic"),qi=eo("colorSubtleBackground"),Wi=eo("colorSubtleBackgroundHover"),Xi=eo("colorSubtleBackgroundPressed"),Ui=eo("colorSubtleBackgroundSelected"),Yi=eo("colorSubtleBackgroundLightAlphaHover"),Ki=eo("colorSubtleBackgroundLightAlphaPressed"),Qi=eo("colorSubtleBackgroundLightAlphaSelected"),Zi=eo("colorSubtleBackgroundInverted"),Ji=eo("colorSubtleBackgroundInvertedHover"),ea=eo("colorSubtleBackgroundInvertedPressed"),ta=eo("colorSubtleBackgroundInvertedSelected"),oa=eo("colorTransparentBackground"),ra=eo("colorTransparentBackgroundHover"),ia=eo("colorTransparentBackgroundPressed"),aa=eo("colorTransparentBackgroundSelected"),na=eo("colorNeutralBackgroundDisabled"),sa=eo("colorNeutralBackgroundInvertedDisabled"),la=eo("colorNeutralStencil1"),ca=eo("colorNeutralStencil2"),da=eo("colorNeutralStencil1Alpha"),ha=eo("colorNeutralStencil2Alpha"),ua=eo("colorBackgroundOverlay"),pa=eo("colorScrollbarOverlay"),ga=eo("colorBrandBackground"),ba=eo("colorBrandBackgroundHover"),fa=eo("colorBrandBackgroundPressed"),ma=eo("colorBrandBackgroundSelected"),va=eo("colorCompoundBrandBackground"),ya=eo("colorCompoundBrandBackgroundHover"),ka=eo("colorCompoundBrandBackgroundPressed"),xa=eo("colorBrandBackgroundStatic"),$a=eo("colorBrandBackground2"),wa=eo("colorBrandBackgroundInverted"),Ba=eo("colorBrandBackgroundInvertedHover"),Ca=eo("colorBrandBackgroundInvertedPressed"),Sa=eo("colorBrandBackgroundInvertedSelected"),Pa=eo("colorNeutralStrokeAccessible"),Ta=eo("colorNeutralStrokeAccessibleHover"),Ia=eo("colorNeutralStrokeAccessiblePressed"),Aa=eo("colorNeutralStrokeAccessibleSelected"),Fa=eo("colorNeutralStroke1"),za=eo("colorNeutralStroke1Hover"),La=eo("colorNeutralStroke1Pressed"),Na=eo("colorNeutralStroke1Selected"),Oa=eo("colorNeutralStroke2"),Da=eo("colorNeutralStroke3"),Ea=eo("colorNeutralStrokeOnBrand"),Ma=eo("colorNeutralStrokeOnBrand2"),Ra=eo("colorNeutralStrokeOnBrand2Hover"),Ha=eo("colorNeutralStrokeOnBrand2Pressed"),Va=eo("colorNeutralStrokeOnBrand2Selected"),_a=eo("colorBrandStroke1"),ja=eo("colorBrandStroke2"),Ga=eo("colorCompoundBrandStroke"),qa=eo("colorCompoundBrandStrokeHover"),Wa=eo("colorCompoundBrandStrokePressed"),Xa=eo("colorNeutralStrokeDisabled"),Ua=eo("colorNeutralStrokeInvertedDisabled"),Ya=eo("colorTransparentStroke"),Ka=eo("colorTransparentStrokeInteractive"),Qa=eo("colorTransparentStrokeDisabled"),Za=eo("colorStrokeFocus1"),Ja=eo("colorStrokeFocus2"),en=eo("colorNeutralShadowAmbient"),tn=eo("colorNeutralShadowKey"),on=eo("colorNeutralShadowAmbientLighter"),rn=eo("colorNeutralShadowKeyLighter"),an=eo("colorNeutralShadowAmbientDarker"),nn=eo("colorNeutralShadowKeyDarker"),sn=eo("colorBrandShadowAmbient"),ln=eo("colorBrandShadowKey"),cn=eo("colorPaletteRedBackground1"),dn=eo("colorPaletteRedBackground2"),hn=eo("colorPaletteRedBackground3"),un=eo("colorPaletteRedForeground1"),pn=eo("colorPaletteRedForeground2"),gn=eo("colorPaletteRedForeground3"),bn=eo("colorPaletteRedBorderActive"),fn=eo("colorPaletteRedBorder1"),mn=eo("colorPaletteRedBorder2"),vn=eo("colorPaletteGreenBackground1"),yn=eo("colorPaletteGreenBackground2"),kn=eo("colorPaletteGreenBackground3"),xn=eo("colorPaletteGreenForeground1"),$n=eo("colorPaletteGreenForeground2"),wn=eo("colorPaletteGreenForeground3"),Bn=eo("colorPaletteGreenBorderActive"),Cn=eo("colorPaletteGreenBorder1"),Sn=eo("colorPaletteGreenBorder2"),Pn=eo("colorPaletteDarkOrangeBackground1"),Tn=eo("colorPaletteDarkOrangeBackground2"),In=eo("colorPaletteDarkOrangeBackground3"),An=eo("colorPaletteDarkOrangeForeground1"),Fn=eo("colorPaletteDarkOrangeForeground2"),zn=eo("colorPaletteDarkOrangeForeground3"),Ln=eo("colorPaletteDarkOrangeBorderActive"),Nn=eo("colorPaletteDarkOrangeBorder1"),On=eo("colorPaletteDarkOrangeBorder2"),Dn=eo("colorPaletteYellowBackground1"),En=eo("colorPaletteYellowBackground2"),Mn=eo("colorPaletteYellowBackground3"),Rn=eo("colorPaletteYellowForeground1"),Hn=eo("colorPaletteYellowForeground2"),Vn=eo("colorPaletteYellowForeground3"),_n=eo("colorPaletteYellowBorderActive"),jn=eo("colorPaletteYellowBorder1"),Gn=eo("colorPaletteYellowBorder2"),qn=eo("colorPaletteBerryBackground1"),Wn=eo("colorPaletteBerryBackground2"),Xn=eo("colorPaletteBerryBackground3"),Un=eo("colorPaletteBerryForeground1"),Yn=eo("colorPaletteBerryForeground2"),Kn=eo("colorPaletteBerryForeground3"),Qn=eo("colorPaletteBerryBorderActive"),Zn=eo("colorPaletteBerryBorder1"),Jn=eo("colorPaletteBerryBorder2"),es=eo("colorPaletteLightGreenBackground1"),ts=eo("colorPaletteLightGreenBackground2"),os=eo("colorPaletteLightGreenBackground3"),rs=eo("colorPaletteLightGreenForeground1"),is=eo("colorPaletteLightGreenForeground2"),as=eo("colorPaletteLightGreenForeground3"),ns=eo("colorPaletteLightGreenBorderActive"),ss=eo("colorPaletteLightGreenBorder1"),ls=eo("colorPaletteLightGreenBorder2"),cs=eo("colorPaletteMarigoldBackground1"),ds=eo("colorPaletteMarigoldBackground2"),hs=eo("colorPaletteMarigoldBackground3"),us=eo("colorPaletteMarigoldForeground1"),ps=eo("colorPaletteMarigoldForeground2"),gs=eo("colorPaletteMarigoldForeground3"),bs=eo("colorPaletteMarigoldBorderActive"),fs=eo("colorPaletteMarigoldBorder1"),ms=eo("colorPaletteMarigoldBorder2"),vs=eo("colorPaletteDarkRedBackground2"),ys=eo("colorPaletteDarkRedForeground2"),ks=eo("colorPaletteDarkRedBorderActive"),xs=eo("colorPaletteCranberryBackground2"),$s=eo("colorPaletteCranberryForeground2"),ws=eo("colorPaletteCranberryBorderActive"),Bs=eo("colorPalettePumpkinBackground2"),Cs=eo("colorPalettePumpkinForeground2"),Ss=eo("colorPalettePumpkinBorderActive"),Ps=eo("colorPalettePeachBackground2"),Ts=eo("colorPalettePeachForeground2"),Is=eo("colorPalettePeachBorderActive"),As=eo("colorPaletteGoldBackground2"),Fs=eo("colorPaletteGoldForeground2"),zs=eo("colorPaletteGoldBorderActive"),Ls=eo("colorPaletteBrassBackground2"),Ns=eo("colorPaletteBrassForeground2"),Os=eo("colorPaletteBrassBorderActive"),Ds=eo("colorPaletteBrownBackground2"),Es=eo("colorPaletteBrownForeground2"),Ms=eo("colorPaletteBrownBorderActive"),Rs=eo("colorPaletteForestBackground2"),Hs=eo("colorPaletteForestForeground2"),Vs=eo("colorPaletteForestBorderActive"),_s=eo("colorPaletteSeafoamBackground2"),js=eo("colorPaletteSeafoamForeground2"),Gs=eo("colorPaletteSeafoamBorderActive"),qs=eo("colorPaletteDarkGreenBackground2"),Ws=eo("colorPaletteDarkGreenForeground2"),Xs=eo("colorPaletteDarkGreenBorderActive"),Us=eo("colorPaletteLightTealBackground2"),Ys=eo("colorPaletteLightTealForeground2"),Ks=eo("colorPaletteLightTealBorderActive"),Qs=eo("colorPaletteTealBackground2"),Zs=eo("colorPaletteTealForeground2"),Js=eo("colorPaletteTealBorderActive"),el=eo("colorPaletteSteelBackground2"),tl=eo("colorPaletteSteelForeground2"),ol=eo("colorPaletteSteelBorderActive"),rl=eo("colorPaletteBlueBackground2"),il=eo("colorPaletteBlueForeground2"),al=eo("colorPaletteBlueBorderActive"),nl=eo("colorPaletteRoyalBlueBackground2"),sl=eo("colorPaletteRoyalBlueForeground2"),ll=eo("colorPaletteRoyalBlueBorderActive"),cl=eo("colorPaletteCornflowerBackground2"),dl=eo("colorPaletteCornflowerForeground2"),hl=eo("colorPaletteCornflowerBorderActive"),ul=eo("colorPaletteNavyBackground2"),pl=eo("colorPaletteNavyForeground2"),gl=eo("colorPaletteNavyBorderActive"),bl=eo("colorPaletteLavenderBackground2"),fl=eo("colorPaletteLavenderForeground2"),ml=eo("colorPaletteLavenderBorderActive"),vl=eo("colorPalettePurpleBackground2"),yl=eo("colorPalettePurpleForeground2"),kl=eo("colorPalettePurpleBorderActive"),xl=eo("colorPaletteGrapeBackground2"),$l=eo("colorPaletteGrapeForeground2"),wl=eo("colorPaletteGrapeBorderActive"),Bl=eo("colorPaletteLilacBackground2"),Cl=eo("colorPaletteLilacForeground2"),Sl=eo("colorPaletteLilacBorderActive"),Pl=eo("colorPalettePinkBackground2"),Tl=eo("colorPalettePinkForeground2"),Il=eo("colorPalettePinkBorderActive"),Al=eo("colorPaletteMagentaBackground2"),Fl=eo("colorPaletteMagentaForeground2"),zl=eo("colorPaletteMagentaBorderActive"),Ll=eo("colorPalettePlumBackground2"),Nl=eo("colorPalettePlumForeground2"),Ol=eo("colorPalettePlumBorderActive"),Dl=eo("colorPaletteBeigeBackground2"),El=eo("colorPaletteBeigeForeground2"),Ml=eo("colorPaletteBeigeBorderActive"),Rl=eo("colorPaletteMinkBackground2"),Hl=eo("colorPaletteMinkForeground2"),Vl=eo("colorPaletteMinkBorderActive"),_l=eo("colorPalettePlatinumBackground2"),jl=eo("colorPalettePlatinumForeground2"),Gl=eo("colorPalettePlatinumBorderActive"),ql=eo("colorPaletteAnchorBackground2"),Wl=eo("colorPaletteAnchorForeground2"),Xl=eo("colorPaletteAnchorBorderActive"),Ul=eo("colorPaletteRedForegroundInverted"),Yl=eo("colorPaletteGreenForegroundInverted"),Kl=eo("colorPaletteYellowForegroundInverted"),Ql=eo("shadow2"),Zl=eo("shadow4"),Jl=eo("shadow8"),ec=eo("shadow16"),tc=eo("shadow28"),oc=eo("shadow64"),rc=eo("shadow2Brand"),ic=eo("shadow4Brand"),ac=eo("shadow8Brand"),nc=eo("shadow16Brand"),sc=eo("shadow28Brand"),lc=eo("shadow64Brand");var cc=Object.freeze({__proto__:null,borderRadiusNone:to,borderRadiusSmall:oo,borderRadiusMedium:ro,borderRadiusLarge:io,borderRadiusXLarge:ao,borderRadiusCircular:no,fontSizeBase100:so,fontSizeBase200:lo,fontSizeBase300:co,fontSizeBase400:ho,fontSizeBase500:uo,fontSizeBase600:po,fontSizeHero700:go,fontSizeHero800:bo,fontSizeHero900:fo,fontSizeHero1000:mo,lineHeightBase100:vo,lineHeightBase200:yo,lineHeightBase300:ko,lineHeightBase400:xo,lineHeightBase500:$o,lineHeightBase600:wo,lineHeightHero700:Bo,lineHeightHero800:Co,lineHeightHero900:So,lineHeightHero1000:Po,fontFamilyBase:To,fontFamilyMonospace:Io,fontFamilyNumeric:Ao,fontWeightRegular:Fo,fontWeightMedium:zo,fontWeightSemibold:Lo,fontWeightBold:No,strokeWidthThin:Oo,strokeWidthThick:Do,strokeWidthThicker:Eo,strokeWidthThickest:Mo,spacingHorizontalNone:Ro,spacingHorizontalXXS:Ho,spacingHorizontalXS:Vo,spacingHorizontalSNudge:_o,spacingHorizontalS:jo,spacingHorizontalMNudge:Go,spacingHorizontalM:qo,spacingHorizontalL:Wo,spacingHorizontalXL:Xo,spacingHorizontalXXL:Uo,spacingHorizontalXXXL:Yo,spacingVerticalNone:Ko,spacingVerticalXXS:Qo,spacingVerticalXS:Zo,spacingVerticalSNudge:Jo,spacingVerticalS:er,spacingVerticalMNudge:tr,spacingVerticalM:or,spacingVerticalL:rr,spacingVerticalXL:ir,spacingVerticalXXL:ar,spacingVerticalXXXL:nr,durationUltraFast:sr,durationFaster:lr,durationFast:cr,durationNormal:dr,durationSlow:hr,durationSlower:ur,durationUltraSlow:pr,curveAccelerateMax:gr,curveAccelerateMid:br,curveAccelerateMin:fr,curveDecelerateMax:mr,curveDecelerateMid:vr,curveDecelerateMin:yr,curveEasyEaseMax:kr,curveEasyEase:xr,curveLinear:$r,colorNeutralForeground1:wr,colorNeutralForeground1Hover:Br,colorNeutralForeground1Pressed:Cr,colorNeutralForeground1Selected:Sr,colorNeutralForeground2:Pr,colorNeutralForeground2Hover:Tr,colorNeutralForeground2Pressed:Ir,colorNeutralForeground2Selected:Ar,colorNeutralForeground2BrandHover:Fr,colorNeutralForeground2BrandPressed:zr,colorNeutralForeground2BrandSelected:Lr,colorNeutralForeground3:Nr,colorNeutralForeground3Hover:Or,colorNeutralForeground3Pressed:Dr,colorNeutralForeground3Selected:Er,colorNeutralForeground3BrandHover:Mr,colorNeutralForeground3BrandPressed:Rr,colorNeutralForeground3BrandSelected:Hr,colorNeutralForeground4:Vr,colorNeutralForegroundDisabled:_r,colorNeutralForegroundInvertedDisabled:jr,colorBrandForegroundLink:Gr,colorBrandForegroundLinkHover:qr,colorBrandForegroundLinkPressed:Wr,colorBrandForegroundLinkSelected:Xr,colorNeutralForeground2Link:Ur,colorNeutralForeground2LinkHover:Yr,colorNeutralForeground2LinkPressed:Kr,colorNeutralForeground2LinkSelected:Qr,colorCompoundBrandForeground1:Zr,colorCompoundBrandForeground1Hover:Jr,colorCompoundBrandForeground1Pressed:ei,colorBrandForeground1:ti,colorBrandForeground2:oi,colorNeutralForeground1Static:ri,colorNeutralForegroundStaticInverted:ii,colorNeutralForegroundInverted:ai,colorNeutralForegroundInvertedHover:ni,colorNeutralForegroundInvertedPressed:si,colorNeutralForegroundInvertedSelected:li,colorNeutralForegroundInverted2:ci,colorNeutralForegroundOnBrand:di,colorNeutralForegroundInvertedLink:hi,colorNeutralForegroundInvertedLinkHover:ui,colorNeutralForegroundInvertedLinkPressed:pi,colorNeutralForegroundInvertedLinkSelected:gi,colorBrandForegroundInverted:bi,colorBrandForegroundInvertedHover:fi,colorBrandForegroundInvertedPressed:mi,colorBrandForegroundOnLight:vi,colorBrandForegroundOnLightHover:yi,colorBrandForegroundOnLightPressed:ki,colorBrandForegroundOnLightSelected:xi,colorNeutralBackground1:$i,colorNeutralBackground1Hover:wi,colorNeutralBackground1Pressed:Bi,colorNeutralBackground1Selected:Ci,colorNeutralBackground2:Si,colorNeutralBackground2Hover:Pi,colorNeutralBackground2Pressed:Ti,colorNeutralBackground2Selected:Ii,colorNeutralBackground3:Ai,colorNeutralBackground3Hover:Fi,colorNeutralBackground3Pressed:zi,colorNeutralBackground3Selected:Li,colorNeutralBackground4:Ni,colorNeutralBackground4Hover:Oi,colorNeutralBackground4Pressed:Di,colorNeutralBackground4Selected:Ei,colorNeutralBackground5:Mi,colorNeutralBackground5Hover:Ri,colorNeutralBackground5Pressed:Hi,colorNeutralBackground5Selected:Vi,colorNeutralBackground6:_i,colorNeutralBackgroundInverted:ji,colorNeutralBackgroundStatic:Gi,colorSubtleBackground:qi,colorSubtleBackgroundHover:Wi,colorSubtleBackgroundPressed:Xi,colorSubtleBackgroundSelected:Ui,colorSubtleBackgroundLightAlphaHover:Yi,colorSubtleBackgroundLightAlphaPressed:Ki,colorSubtleBackgroundLightAlphaSelected:Qi,colorSubtleBackgroundInverted:Zi,colorSubtleBackgroundInvertedHover:Ji,colorSubtleBackgroundInvertedPressed:ea,colorSubtleBackgroundInvertedSelected:ta,colorTransparentBackground:oa,colorTransparentBackgroundHover:ra,colorTransparentBackgroundPressed:ia,colorTransparentBackgroundSelected:aa,colorNeutralBackgroundDisabled:na,colorNeutralBackgroundInvertedDisabled:sa,colorNeutralStencil1:la,colorNeutralStencil2:ca,colorNeutralStencil1Alpha:da,colorNeutralStencil2Alpha:ha,colorBackgroundOverlay:ua,colorScrollbarOverlay:pa,colorBrandBackground:ga,colorBrandBackgroundHover:ba,colorBrandBackgroundPressed:fa,colorBrandBackgroundSelected:ma,colorCompoundBrandBackground:va,colorCompoundBrandBackgroundHover:ya,colorCompoundBrandBackgroundPressed:ka,colorBrandBackgroundStatic:xa,colorBrandBackground2:$a,colorBrandBackgroundInverted:wa,colorBrandBackgroundInvertedHover:Ba,colorBrandBackgroundInvertedPressed:Ca,colorBrandBackgroundInvertedSelected:Sa,colorNeutralStrokeAccessible:Pa,colorNeutralStrokeAccessibleHover:Ta,colorNeutralStrokeAccessiblePressed:Ia,colorNeutralStrokeAccessibleSelected:Aa,colorNeutralStroke1:Fa,colorNeutralStroke1Hover:za,colorNeutralStroke1Pressed:La,colorNeutralStroke1Selected:Na,colorNeutralStroke2:Oa,colorNeutralStroke3:Da,colorNeutralStrokeOnBrand:Ea,colorNeutralStrokeOnBrand2:Ma,colorNeutralStrokeOnBrand2Hover:Ra,colorNeutralStrokeOnBrand2Pressed:Ha,colorNeutralStrokeOnBrand2Selected:Va,colorBrandStroke1:_a,colorBrandStroke2:ja,colorCompoundBrandStroke:Ga,colorCompoundBrandStrokeHover:qa,colorCompoundBrandStrokePressed:Wa,colorNeutralStrokeDisabled:Xa,colorNeutralStrokeInvertedDisabled:Ua,colorTransparentStroke:Ya,colorTransparentStrokeInteractive:Ka,colorTransparentStrokeDisabled:Qa,colorStrokeFocus1:Za,colorStrokeFocus2:Ja,colorNeutralShadowAmbient:en,colorNeutralShadowKey:tn,colorNeutralShadowAmbientLighter:on,colorNeutralShadowKeyLighter:rn,colorNeutralShadowAmbientDarker:an,colorNeutralShadowKeyDarker:nn,colorBrandShadowAmbient:sn,colorBrandShadowKey:ln,colorPaletteRedBackground1:cn,colorPaletteRedBackground2:dn,colorPaletteRedBackground3:hn,colorPaletteRedForeground1:un,colorPaletteRedForeground2:pn,colorPaletteRedForeground3:gn,colorPaletteRedBorderActive:bn,colorPaletteRedBorder1:fn,colorPaletteRedBorder2:mn,colorPaletteGreenBackground1:vn,colorPaletteGreenBackground2:yn,colorPaletteGreenBackground3:kn,colorPaletteGreenForeground1:xn,colorPaletteGreenForeground2:$n,colorPaletteGreenForeground3:wn,colorPaletteGreenBorderActive:Bn,colorPaletteGreenBorder1:Cn,colorPaletteGreenBorder2:Sn,colorPaletteDarkOrangeBackground1:Pn,colorPaletteDarkOrangeBackground2:Tn,colorPaletteDarkOrangeBackground3:In,colorPaletteDarkOrangeForeground1:An,colorPaletteDarkOrangeForeground2:Fn,colorPaletteDarkOrangeForeground3:zn,colorPaletteDarkOrangeBorderActive:Ln,colorPaletteDarkOrangeBorder1:Nn,colorPaletteDarkOrangeBorder2:On,colorPaletteYellowBackground1:Dn,colorPaletteYellowBackground2:En,colorPaletteYellowBackground3:Mn,colorPaletteYellowForeground1:Rn,colorPaletteYellowForeground2:Hn,colorPaletteYellowForeground3:Vn,colorPaletteYellowBorderActive:_n,colorPaletteYellowBorder1:jn,colorPaletteYellowBorder2:Gn,colorPaletteBerryBackground1:qn,colorPaletteBerryBackground2:Wn,colorPaletteBerryBackground3:Xn,colorPaletteBerryForeground1:Un,colorPaletteBerryForeground2:Yn,colorPaletteBerryForeground3:Kn,colorPaletteBerryBorderActive:Qn,colorPaletteBerryBorder1:Zn,colorPaletteBerryBorder2:Jn,colorPaletteLightGreenBackground1:es,colorPaletteLightGreenBackground2:ts,colorPaletteLightGreenBackground3:os,colorPaletteLightGreenForeground1:rs,colorPaletteLightGreenForeground2:is,colorPaletteLightGreenForeground3:as,colorPaletteLightGreenBorderActive:ns,colorPaletteLightGreenBorder1:ss,colorPaletteLightGreenBorder2:ls,colorPaletteMarigoldBackground1:cs,colorPaletteMarigoldBackground2:ds,colorPaletteMarigoldBackground3:hs,colorPaletteMarigoldForeground1:us,colorPaletteMarigoldForeground2:ps,colorPaletteMarigoldForeground3:gs,colorPaletteMarigoldBorderActive:bs,colorPaletteMarigoldBorder1:fs,colorPaletteMarigoldBorder2:ms,colorPaletteDarkRedBackground2:vs,colorPaletteDarkRedForeground2:ys,colorPaletteDarkRedBorderActive:ks,colorPaletteCranberryBackground2:xs,colorPaletteCranberryForeground2:$s,colorPaletteCranberryBorderActive:ws,colorPalettePumpkinBackground2:Bs,colorPalettePumpkinForeground2:Cs,colorPalettePumpkinBorderActive:Ss,colorPalettePeachBackground2:Ps,colorPalettePeachForeground2:Ts,colorPalettePeachBorderActive:Is,colorPaletteGoldBackground2:As,colorPaletteGoldForeground2:Fs,colorPaletteGoldBorderActive:zs,colorPaletteBrassBackground2:Ls,colorPaletteBrassForeground2:Ns,colorPaletteBrassBorderActive:Os,colorPaletteBrownBackground2:Ds,colorPaletteBrownForeground2:Es,colorPaletteBrownBorderActive:Ms,colorPaletteForestBackground2:Rs,colorPaletteForestForeground2:Hs,colorPaletteForestBorderActive:Vs,colorPaletteSeafoamBackground2:_s,colorPaletteSeafoamForeground2:js,colorPaletteSeafoamBorderActive:Gs,colorPaletteDarkGreenBackground2:qs,colorPaletteDarkGreenForeground2:Ws,colorPaletteDarkGreenBorderActive:Xs,colorPaletteLightTealBackground2:Us,colorPaletteLightTealForeground2:Ys,colorPaletteLightTealBorderActive:Ks,colorPaletteTealBackground2:Qs,colorPaletteTealForeground2:Zs,colorPaletteTealBorderActive:Js,colorPaletteSteelBackground2:el,colorPaletteSteelForeground2:tl,colorPaletteSteelBorderActive:ol,colorPaletteBlueBackground2:rl,colorPaletteBlueForeground2:il,colorPaletteBlueBorderActive:al,colorPaletteRoyalBlueBackground2:nl,colorPaletteRoyalBlueForeground2:sl,colorPaletteRoyalBlueBorderActive:ll,colorPaletteCornflowerBackground2:cl,colorPaletteCornflowerForeground2:dl,colorPaletteCornflowerBorderActive:hl,colorPaletteNavyBackground2:ul,colorPaletteNavyForeground2:pl,colorPaletteNavyBorderActive:gl,colorPaletteLavenderBackground2:bl,colorPaletteLavenderForeground2:fl,colorPaletteLavenderBorderActive:ml,colorPalettePurpleBackground2:vl,colorPalettePurpleForeground2:yl,colorPalettePurpleBorderActive:kl,colorPaletteGrapeBackground2:xl,colorPaletteGrapeForeground2:$l,colorPaletteGrapeBorderActive:wl,colorPaletteLilacBackground2:Bl,colorPaletteLilacForeground2:Cl,colorPaletteLilacBorderActive:Sl,colorPalettePinkBackground2:Pl,colorPalettePinkForeground2:Tl,colorPalettePinkBorderActive:Il,colorPaletteMagentaBackground2:Al,colorPaletteMagentaForeground2:Fl,colorPaletteMagentaBorderActive:zl,colorPalettePlumBackground2:Ll,colorPalettePlumForeground2:Nl,colorPalettePlumBorderActive:Ol,colorPaletteBeigeBackground2:Dl,colorPaletteBeigeForeground2:El,colorPaletteBeigeBorderActive:Ml,colorPaletteMinkBackground2:Rl,colorPaletteMinkForeground2:Hl,colorPaletteMinkBorderActive:Vl,colorPalettePlatinumBackground2:_l,colorPalettePlatinumForeground2:jl,colorPalettePlatinumBorderActive:Gl,colorPaletteAnchorBackground2:ql,colorPaletteAnchorForeground2:Wl,colorPaletteAnchorBorderActive:Xl,colorPaletteRedForegroundInverted:Ul,colorPaletteGreenForegroundInverted:Yl,colorPaletteYellowForegroundInverted:Kl,shadow2:Ql,shadow4:Zl,shadow8:Jl,shadow16:ec,shadow28:tc,shadow64:oc,shadow2Brand:rc,shadow4Brand:ic,shadow8Brand:ac,shadow16Brand:nc,shadow28Brand:sc,shadow64Brand:lc});const dc=j`
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
const p=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements});let vo;const xi="fast-kernel";try{if(document.currentScript)vo=document.currentScript.getAttribute(xi);else{const o=document.getElementsByTagName("script");vo=o[o.length-1].getAttribute(xi)}}catch{vo="isolate"}let ae;switch(vo){case"share":ae=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":ae=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)}`;ae=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}const we=o=>typeof o=="function",zt=o=>typeof o=="string",wi=()=>{};var ms=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof ms<"u")ms.globalThis=ms;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 Ci={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},Ci));const Q=globalThis.FAST;if(Q.getById===void 0){const o=Object.create(null);Reflect.defineProperty(Q,"getById",Object.assign({value(t,e){let s=o[t];return s===void 0&&(s=e?o[t]=e():null),s}},Ci))}Q.error===void 0&&Object.assign(Q,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const vn=Object.freeze([]);function $s(){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 Si(){const o=new WeakMap;return function(t){let e=o.get(t);if(e===void 0){let s=Reflect.getPrototypeOf(t);for(;e===void 0&&s!==null;)e=o.get(s),s=Reflect.getPrototypeOf(s);e=e===void 0?[]:e.slice(0),o.set(t,e)}return e}}function Ce(o){o.prototype.toJSON=wi}const et=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),Ii=o=>o,yn=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:Ii}):{createHTML:Ii};let yo=Object.freeze({createHTML(o){return yn.createHTML(o)},protect(o,t,e,s){return s}});const kn=yo,Se=Object.freeze({get policy(){return yo},setPolicy(o){if(yo!==kn)throw Q.error(1201);yo=o},setAttribute(o,t,e){e==null?o.removeAttribute(t):o.setAttribute(t,e)},setBooleanAttribute(o,t,e){e?o.setAttribute(t,""):o.removeAttribute(t)}}),Bt=Q.getById(ae.updateQueue,()=>{const o=[],t=[],e=globalThis.requestAnimationFrame;let s=!0;function i(){if(t.length)throw t.shift()}function r(g){try{g.call()}catch(u){if(s)t.push(u),setTimeout(i,0);else throw o.length=0,u}}function n(){let u=0;for(;u<o.length;)if(r(o[u]),u++,u>1024){for(let d=0,b=o.length-u;d<b;d++)o[d]=o[d+u];o.length-=u,u=0}o.length=0}function h(g){o.push(g),o.length<2&&(s?e(n):n())}return Object.freeze({enqueue:h,next:()=>new Promise(h),process:n,setMode:g=>s=g})});class vs{constructor(t,e){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=t,this.sub1=e}has(t){return this.spillover===void 0?this.sub1===t||this.sub2===t:this.spillover.indexOf(t)!==-1}subscribe(t){const e=this.spillover;if(e===void 0){if(this.has(t))return;if(this.sub1===void 0){this.sub1=t;return}if(this.sub2===void 0){this.sub2=t;return}this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else e.indexOf(t)===-1&&e.push(t)}unsubscribe(t){const e=this.spillover;if(e===void 0)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{const s=e.indexOf(t);s!==-1&&e.splice(s,1)}}notify(t){const e=this.spillover,s=this.subject;if(e===void 0){const i=this.sub1,r=this.sub2;i!==void 0&&i.handleChange(s,t),r!==void 0&&r.handleChange(s,t)}else for(let i=0,r=e.length;i<r;++i)e[i].handleChange(s,t)}}class Pi{constructor(t){this.subscribers={},this.subjectSubscribers=null,this.subject=t}notify(t){var e,s;(e=this.subscribers[t])===null||e===void 0||e.notify(t),(s=this.subjectSubscribers)===null||s===void 0||s.notify(t)}subscribe(t,e){var s,i;let r;e?r=(s=this.subscribers[e])!==null&&s!==void 0?s:this.subscribers[e]=new vs(this.subject):r=(i=this.subjectSubscribers)!==null&&i!==void 0?i:this.subjectSubscribers=new vs(this.subject),r.subscribe(t)}unsubscribe(t,e){var s,i;e?(s=this.subscribers[e])===null||s===void 0||s.unsubscribe(t):(i=this.subjectSubscribers)===null||i===void 0||i.unsubscribe(t)}}const ys=Object.freeze({unknown:void 0,coupled:1}),m=Q.getById(ae.observable,()=>{const o=Bt.enqueue,t=/(:|&&|\|\||if|\?\.)/,e=new WeakMap;let s,i=u=>{throw Q.error(1101)};function r(u){var d;let b=(d=u.$fastController)!==null&&d!==void 0?d:e.get(u);return b===void 0&&(Array.isArray(u)?b=i(u):e.set(u,b=new Pi(u))),b}const n=Si();class h{constructor(d){this.name=d,this.field=`_${d}`,this.callback=`${d}Changed`}getValue(d){return s!==void 0&&s.watch(d,this.name),d[this.field]}setValue(d,b){const I=this.field,j=d[I];if(j!==b){d[I]=b;const ee=d[this.callback];we(ee)&&ee.call(d,j,b),r(d).notify(this.name)}}}class g extends vs{constructor(d,b,I=!1){super(d,b),this.expression=d,this.isVolatileBinding=I,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(d){this.isAsync=this.needsQueue=d}bind(d){this.controller=d;const b=this.observe(d.source,d.context);return!d.isBound&&this.requiresUnbind(d)&&d.onUnbind(this),b}requiresUnbind(d){return d.sourceLifetime!==ys.coupled||this.first!==this.last||this.first.propertySource!==d.source}unbind(d){this.dispose()}observe(d,b){this.needsRefresh&&this.last!==null&&this.dispose();const I=s;s=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let j;try{j=this.expression(d,b)}finally{s=I}return j}disconnect(){this.dispose()}dispose(){if(this.last!==null){let d=this.first;for(;d!==void 0;)d.notifier.unsubscribe(this,d.propertyName),d=d.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(d,b){const I=this.last,j=r(d),ee=I===null?this.first:{};if(ee.propertySource=d,ee.propertyName=b,ee.notifier=j,j.subscribe(this,b),I!==null){if(!this.needsRefresh){let ki;s=void 0,ki=I.propertySource[I.propertyName],s=this,d===ki&&(this.needsRefresh=!0)}I.next=ee}this.last=ee}handleChange(){this.needsQueue?(this.needsQueue=!1,o(this)):this.isAsync||this.call()}call(){this.last!==null&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let d=this.first;for(;d!==void 0;)yield d,d=d.next}}return Ce(g),Object.freeze({setArrayObserverFactory(u){i=u},getNotifier:r,track(u,d){s&&s.watch(u,d)},trackVolatile(){s&&(s.needsRefresh=!0)},notify(u,d){r(u).notify(d)},defineProperty(u,d){zt(d)&&(d=new h(d)),n(u).push(d),Reflect.defineProperty(u,d.name,{enumerable:!0,get(){return d.getValue(this)},set(b){d.setValue(this,b)}})},getAccessors:n,binding(u,d,b=this.isVolatileBinding(u)){return new g(u,d,b)},isVolatileBinding(u){return t.test(u.toString())}})});function k(o,t){m.defineProperty(o,t)}function xn(o,t,e){return Object.assign({},e,{get(){return m.trackVolatile(),e.get.apply(this)}})}const zi=Q.getById(ae.contextEvent,()=>{let o=null;return{get(){return o},set(t){o=t}}}),De=Object.freeze({default:{index:0,length:0,get event(){return De.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return zi.get()},setEvent(o){zi.set(o)}});class ko{constructor(t,e,s=!1){this.evaluate=t,this.policy=e,this.isVolatile=s}}class wn extends ko{createObserver(t){return m.binding(this.evaluate,t,this.isVolatile)}}function Bi(o,t,e=m.isVolatileBinding(o)){return new wn(o,t,e)}class Ti extends ko{createObserver(){return this}bind(t){return this.evaluate(t.source,t.context)}}Ce(Ti);function Ai(o,t){return new Ti(o,t)}let Fi;function _i(o){return o.map(t=>t instanceof at?_i(t.styles):[t]).reduce((t,e)=>t.concat(e),[])}class at{constructor(t){this.styles=t,this.targets=new WeakSet,this._strategy=null,this.behaviors=t.map(e=>e instanceof at?e.behaviors:null).reduce((e,s)=>s===null?e:e===null?s:e.concat(s),null)}get strategy(){return this._strategy===null&&this.withStrategy(Fi),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(_i(this.styles)),this}static setDefaultStrategy(t){Fi=t}static normalize(t){return t===void 0?void 0:Array.isArray(t)?new at(t):t instanceof at?t:new at([t])}}at.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const ks=$s(),xs=Object.freeze({getForInstance:ks.getForInstance,getByType:ks.getByType,define(o){return ks.register({type:o}),o}});function ws(o,t,e){t.source.style.setProperty(o.targetAspect,e.bind(t))}class Cs{constructor(t,e){this.dataBinding=t,this.targetAspect=e}createCSS(t){return t(this),`var(${this.targetAspect})`}addedCallback(t){var e;const s=t.source;if(!s.$cssBindings){s.$cssBindings=new Map;const r=s.setAttribute;s.setAttribute=(n,h)=>{r.call(s,n,h),n==="style"&&s.$cssBindings.forEach((g,u)=>ws(u,g.controller,g.observer))}}const i=(e=t[this.targetAspect])!==null&&e!==void 0?e:t[this.targetAspect]=this.dataBinding.createObserver(this,this);i.controller=t,t.source.$cssBindings.set(this,{controller:t,observer:i})}connectedCallback(t){ws(this,t,t[this.targetAspect])}removedCallback(t){t.source.$cssBindings&&t.source.$cssBindings.delete(this)}handleChange(t,e){ws(this,e.controller,e)}}xs.define(Cs);const Cn=`${Math.random().toString(36).substring(2,8)}`;let Sn=0;const Oi=()=>`--v${Cn}${++Sn}`;function Mi(o,t){const e=[];let s="";const i=[],r=n=>{i.push(n)};for(let n=0,h=o.length-1;n<h;++n){s+=o[n];let g=t[n];we(g)?g=new Cs(Bi(g),Oi()).createCSS(r):g instanceof ko?g=new Cs(g,Oi()).createCSS(r):xs.getForInstance(g)!==void 0&&(g=g.createCSS(r)),g instanceof at||g instanceof CSSStyleSheet?(s.trim()!==""&&(e.push(s),s=""),e.push(g)):s+=g}return s+=o[o.length-1],s.trim()!==""&&e.push(s),{styles:e,behaviors:i}}const l=(o,...t)=>{const{styles:e,behaviors:s}=Mi(o,t),i=new at(e);return s.length?i.withBehaviors(...s):i};class Ni{constructor(t,e){this.behaviors=e,this.css="";const s=t.reduce((i,r)=>(zt(r)?this.css+=r:i.push(r),i),[]);s.length&&(this.styles=new at(s))}createCSS(t){return this.behaviors.forEach(t),this.styles&&t(this),this.css}addedCallback(t){t.addStyles(this.styles)}removedCallback(t){t.removeStyles(this.styles)}}xs.define(Ni),l.partial=(o,...t)=>{const{styles:e,behaviors:s}=Mi(o,t);return new Ni(e,s)};const Ss=`fast-${Math.random().toString(36).substring(2,8)}`,xo=`${Ss}{`,Ve=`}${Ss}`,In=Ve.length;let Pn=0;const Is=()=>`${Ss}-${++Pn}`,Ei=Object.freeze({interpolation:o=>`${xo}${o}${Ve}`,attribute:o=>`${Is()}="${xo}${o}${Ve}"`,comment:o=>`<!--${xo}${o}${Ve}-->`}),wo=Object.freeze({parse(o,t){const e=o.split(xo);if(e.length===1)return null;const s=[];for(let i=0,r=e.length;i<r;++i){const n=e[i],h=n.indexOf(Ve);let g;if(h===-1)g=n;else{const u=n.substring(0,h);s.push(t[u]),g=n.substring(h+In)}g!==""&&s.push(g)}return s}}),Ps=$s(),$t=Object.freeze({getForInstance:Ps.getForInstance,getByType:Ps.getByType,define(o,t){return t=t||{},t.type=o,Ps.register(t),o},assignAspect(o,t){if(!t){o.aspectType=et.content;return}switch(o.sourceAspect=t,t[0]){case":":o.targetAspect=t.substring(1),o.aspectType=o.targetAspect==="classList"?et.tokenList:et.property;break;case"?":o.targetAspect=t.substring(1),o.aspectType=et.booleanAttribute;break;case"@":o.targetAspect=t.substring(1),o.aspectType=et.event;break;default:o.targetAspect=t,o.aspectType=et.attribute;break}}});class zs{constructor(t){this.options=t}createHTML(t){return Ei.attribute(t(this))}createBehavior(){return this}}Ce(zs);function zn(o,t,e,s){if(e==null&&(e=""),e.create){o.textContent="";let i=o.$fastView;i===void 0?i=e.create():o.$fastTemplate!==e&&(i.isComposed&&(i.remove(),i.unbind()),i=e.create()),i.isComposed?i.needsBindOnly&&(i.needsBindOnly=!1,i.bind(s.source,s.context)):(i.isComposed=!0,i.bind(s.source,s.context),i.insertBefore(o),o.$fastView=i,o.$fastTemplate=e)}else{const i=o.$fastView;i!==void 0&&i.isComposed&&(i.isComposed=!1,i.remove(),i.needsBindOnly?i.needsBindOnly=!1:i.unbind()),o.textContent=e}}function Bn(o,t,e){var s;const i=`${this.id}-t`,r=(s=o[i])!==null&&s!==void 0?s:o[i]={v:0,cv:Object.create(null)},n=r.cv;let h=r.v;const g=o[t];if(e!=null&&e.length){const u=e.split(/\s+/);for(let d=0,b=u.length;d<b;++d){const I=u[d];I!==""&&(n[I]=h,g.add(I))}}if(r.v=h+1,h!==0){h-=1;for(const u in n)n[u]===h&&g.remove(u)}}const Tn={[et.attribute]:Se.setAttribute,[et.booleanAttribute]:Se.setBooleanAttribute,[et.property]:(o,t,e)=>o[t]=e,[et.content]:zn,[et.tokenList]:Bn,[et.event]:()=>{}};class Ie{constructor(t){this.dataBinding=t,this.updateTarget=null,this.aspectType=et.content}createHTML(t){return Ei.interpolation(t(this))}createBehavior(){var t;if(this.updateTarget===null){const e=Tn[this.aspectType],s=(t=this.dataBinding.policy)!==null&&t!==void 0?t:this.policy;if(!e)throw Q.error(1205);this.data=`${this.id}-d`,this.updateTarget=s.protect(this.targetTagName,this.aspectType,this.targetAspect,e)}return this}bind(t){var e;const s=t.targets[this.targetNodeId];switch(this.aspectType){case et.event:s[this.data]=t,s.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case et.content:t.onUnbind(this);default:const i=(e=s[this.data])!==null&&e!==void 0?e:s[this.data]=this.dataBinding.createObserver(this,this);i.target=s,i.controller=t,this.updateTarget(s,this.targetAspect,i.bind(t),t);break}}unbind(t){const s=t.targets[this.targetNodeId].$fastView;s!==void 0&&s.isComposed&&(s.unbind(),s.needsBindOnly=!0)}handleEvent(t){const e=t.currentTarget[this.data];if(e.isBound){De.setEvent(t);const s=this.dataBinding.evaluate(e.source,e.context);De.setEvent(null),s!==!0&&t.preventDefault()}}handleChange(t,e){const s=e.target,i=e.controller;this.updateTarget(s,this.targetAspect,e.bind(i),i)}}$t.define(Ie,{aspected:!0});function Li(o,t){const e=o.parentNode;let s=o,i;for(;s!==t;)i=s.nextSibling,e.removeChild(s),s=i;e.removeChild(t)}class Co{constructor(t,e,s){this.fragment=t,this.factories=e,this.targets=s,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=ys.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=t.firstChild,this.lastChild=t.lastChild}get event(){return De.getEvent()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(t){t.appendChild(this.fragment)}insertBefore(t){if(this.fragment.hasChildNodes())t.parentNode.insertBefore(this.fragment,t);else{const e=this.lastChild;if(t.previousSibling===e)return;const s=t.parentNode;let i=this.firstChild,r;for(;i!==e;)r=i.nextSibling,s.insertBefore(i,t),i=r;s.insertBefore(e,t)}}remove(){const t=this.fragment,e=this.lastChild;let s=this.firstChild,i;for(;s!==e;)i=s.nextSibling,t.appendChild(s),s=i;t.appendChild(e)}dispose(){Li(this.firstChild,this.lastChild),this.unbind()}onUnbind(t){this.unbindables.push(t)}bind(t,e=this){if(this.source===t)return;let s=this.behaviors;if(s===null){this.source=t,this.context=e,this.behaviors=s=new Array(this.factories.length);const i=this.factories;for(let r=0,n=i.length;r<n;++r){const h=i[r].createBehavior();h.bind(this),s[r]=h}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=t,this.context=e;for(let i=0,r=s.length;i<r;++i)s[i].bind(this)}this.isBound=!0}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const t=this.unbindables;for(let e=0,s=t.length;e<s;++e)t[e].unbind(this);t.length=0}static disposeContiguousBatch(t){if(t.length!==0){Li(t[0].firstChild,t[t.length-1].lastChild);for(let e=0,s=t.length;e<s;++e)t[e].unbind()}}}Ce(Co),m.defineProperty(Co.prototype,"index"),m.defineProperty(Co.prototype,"length");const Hi=(o,t)=>`${o}.${t}`,Di={},Tt={index:0,node:null};function Vi(o){o.startsWith("fast-")||Q.warn(1204,{name:o})}const An=new Proxy(document.createElement("div"),{get(o,t){Vi(t);const e=Reflect.get(o,t);return we(e)?e.bind(o):e},set(o,t,e){return Vi(t),Reflect.set(o,t,e)}});class Fn{constructor(t,e,s){this.fragment=t,this.directives=e,this.policy=s,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(t,e,s,i,r){var n,h;this.nodeIds.has(s)||(this.nodeIds.add(s),this.addTargetDescriptor(e,s,i)),t.id=(n=t.id)!==null&&n!==void 0?n:Is(),t.targetNodeId=s,t.targetTagName=r,t.policy=(h=t.policy)!==null&&h!==void 0?h:this.policy,this.factories.push(t)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(t,e,s){const i=this.descriptors;if(e==="r"||e==="h"||i[e])return;if(!i[t]){const n=t.lastIndexOf("."),h=t.substring(0,n),g=parseInt(t.substring(n+1));this.addTargetDescriptor(h,t,g)}let r=Di[e];if(!r){const n=`_${e}`;Di[e]=r={get(){var h;return(h=this[n])!==null&&h!==void 0?h:this[n]=this[t].childNodes[s]}}}i[e]=r}createView(t){const e=this.fragment.cloneNode(!0),s=Object.create(this.proto);s.r=e,s.h=t??An;for(const i of this.nodeIds)s[i];return new Co(e,this.factories,s)}}function ji(o,t,e,s,i,r=!1){const n=e.attributes,h=o.directives;for(let g=0,u=n.length;g<u;++g){const d=n[g],b=d.value,I=wo.parse(b,h);let j=null;I===null?r&&(j=new Ie(Ai(()=>b,o.policy)),$t.assignAspect(j,d.name)):j=Bs.aggregate(I,o.policy),j!==null&&(e.removeAttributeNode(d),g--,u--,o.addFactory(j,t,s,i,e.tagName))}}function _n(o,t,e,s,i){const r=wo.parse(t.textContent,o.directives);if(r===null)return Tt.node=t.nextSibling,Tt.index=i+1,Tt;let n,h=n=t;for(let g=0,u=r.length;g<u;++g){const d=r[g];g!==0&&(i++,s=Hi(e,i),n=h.parentNode.insertBefore(document.createTextNode(""),h.nextSibling)),zt(d)?n.textContent=d:(n.textContent=" ",$t.assignAspect(d),o.addFactory(d,e,s,i,null)),h=n}return Tt.index=i+1,Tt.node=h.nextSibling,Tt}function Ri(o,t,e){let s=0,i=t.firstChild;for(;i;){const r=On(o,e,i,s);i=r.node,s=r.index}}function On(o,t,e,s){const i=Hi(t,s);switch(e.nodeType){case 1:ji(o,t,e,i,s),Ri(o,e,i);break;case 3:return _n(o,e,t,i,s);case 8:const r=wo.parse(e.data,o.directives);r!==null&&o.addFactory(Bs.aggregate(r),t,i,s,null);break}return Tt.index=s+1,Tt.node=e.nextSibling,Tt}function Mn(o,t){return o&&o.nodeType==8&&wo.parse(o.data,t)!==null}const qi="TEMPLATE",Bs={compile(o,t,e=Se.policy){let s;if(zt(o)){s=document.createElement(qi),s.innerHTML=e.createHTML(o);const n=s.content.firstElementChild;n!==null&&n.tagName===qi&&(s=n)}else s=o;!s.content.firstChild&&!s.content.lastChild&&s.content.appendChild(document.createComment(""));const i=document.adoptNode(s.content),r=new Fn(i,t,e);return ji(r,"",s,"h",0,!0),(Mn(i.firstChild,t)||i.childNodes.length===1&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),Ri(r,i,"r"),Tt.node=null,r.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,t=Se.policy){if(o.length===1)return o[0];let e,s,i=!1,r;const n=o.length,h=o.map(d=>zt(d)?()=>d:(e=d.sourceAspect||e,s=d.dataBinding||s,i=i||d.dataBinding.isVolatile,r=r||d.dataBinding.policy,d.dataBinding.evaluate)),g=(d,b)=>{let I="";for(let j=0;j<n;++j)I+=h[j](d,b);return I};s.evaluate=g,s.isVolatile=i,s.policy=r??t;const u=new Ie(s);return $t.assignAspect(u,e),u}},Nn=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,En=Object.create(null);class le{constructor(t,e=En){this.html=t,this.factories=e}createHTML(t){const e=this.factories;for(const s in e)t(e[s]);return this.html}}le.empty=new le(""),$t.define(le);function Ln(o,t,e,s=$t.getForInstance(o)){if(s.aspected){const i=Nn.exec(t);i!==null&&$t.assignAspect(o,i[2])}return o.createHTML(e)}class gs{constructor(t,e={},s){this.policy=s,this.result=null,this.html=t,this.factories=e}create(t){return this.result===null&&(this.result=Bs.compile(this.html,this.factories,this.policy)),this.result.createView(t)}inline(){return new le(zt(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(t){if(this.result)throw Q.error(1208);if(this.policy)throw Q.error(1207);return this.policy=t,this}render(t,e,s){const i=this.create(s);return i.bind(t),i.appendTo(e),i}static create(t,e,s){let i="";const r=Object.create(null),n=h=>{var g;const u=(g=h.id)!==null&&g!==void 0?g:h.id=Is();return r[u]=h,u};for(let h=0,g=t.length-1;h<g;++h){const u=t[h];let d=e[h],b;if(i+=u,we(d))d=new Ie(Bi(d));else if(d instanceof ko)d=new Ie(d);else if(!(b=$t.getForInstance(d))){const I=d;d=new Ie(Ai(()=>I))}i+=Ln(d,u,n,b)}return new gs(i+t[t.length-1],r,s)}}Ce(gs);const f=(o,...t)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return gs.create(o,t);throw Q.error(1206)};f.partial=o=>new le(o);class Gi extends zs{bind(t){t.source[this.options]=t.targets[this.targetNodeId]}}$t.define(Gi);const At=o=>new Gi(o),Hn=o=>o.nodeType===1,je=o=>o?t=>t.nodeType===1&&t.matches(o):Hn;class Wi extends zs{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,vn),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 Xi="slotchange";class Ui extends Wi{observe(t){t.addEventListener(Xi,this)}disconnect(t){t.removeEventListener(Xi,this)}getNodes(t){return t.assignedNodes(this.options)}handleEvent(t){const e=t.currentTarget;this.updateTarget(this.getSource(e),this.computeNodes(e))}}$t.define(Ui);function ut(o){return zt(o)&&(o={property:o}),new Ui(o)}class Ki extends Wi{constructor(t){super(t),this.observerProperty=Symbol(),this.handleEvent=(e,s)=>{const i=s.target;this.updateTarget(this.getSource(i),this.computeNodes(i))},t.childList=!0}observe(t){let e=t[this.observerProperty];e||(e=new MutationObserver(this.handleEvent),e.toJSON=wi,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)}}$t.define(Ki);function Dn(o){return zt(o)&&(o={property:o}),new Ki(o)}const Yi="boolean",Qi="reflect",So=Object.freeze({locate:Si()}),Vn={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function Zi(o){if(o==null)return null;const t=o*1;return isNaN(t)?null:t}const st={toView(o){const t=Zi(o);return t&&t.toString()},fromView:Zi};class fs{constructor(t,e,s=e.toLowerCase(),i=Qi,r){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=s,this.mode=i,this.converter=r,this.fieldName=`_${e}`,this.callbackName=`${e}Changed`,this.hasCallback=this.callbackName in t.prototype,i===Yi&&r===void 0&&(this.converter=Vn)}setValue(t,e){const s=t[this.fieldName],i=this.converter;i!==void 0&&(e=i.fromView(e)),s!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](s,e),t.$fastController.notify(this.name))}getValue(t){return m.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,s=this.guards;s.has(t)||e==="fromView"||Bt.enqueue(()=>{s.add(t);const i=t[this.fieldName];switch(e){case Qi:const r=this.converter;Se.setAttribute(t,this.attribute,r!==void 0?r.toView(i):i);break;case Yi:Se.setBooleanAttribute(t,this.attribute,i);break}s.delete(t)})}static collect(t,...e){const s=[];e.push(So.locate(t));for(let i=0,r=e.length;i<r;++i){const n=e[i];if(n!==void 0)for(let h=0,g=n.length;h<g;++h){const u=n[h];zt(u)?s.push(new fs(t,u)):s.push(new fs(t,u.property,u.attribute,u.mode,u.converter))}}return s}}function a(o,t){let e;function s(i,r){arguments.length>1&&(e.property=r),So.locate(i.constructor).push(e)}if(arguments.length>1){e={},s(o,t);return}return e=o===void 0?{}:o,s}const Ji={mode:"open"},tr={},er=new Set,Io=Q.getById(ae.elementRegistry,()=>$s());class Pt{constructor(t,e=t.definition){var s;this.platformDefined=!1,zt(e)&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template,this.registry=(s=e.registry)!==null&&s!==void 0?s:customElements;const i=t.prototype,r=fs.collect(t,e.attributes),n=new Array(r.length),h={},g={};for(let u=0,d=r.length;u<d;++u){const b=r[u];n[u]=b.attribute,h[b.name]=b,g[b.attribute]=b,m.defineProperty(i,b)}Reflect.defineProperty(t,"observedAttributes",{value:n,enumerable:!0}),this.attributes=r,this.propertyLookup=h,this.attributeLookup=g,this.shadowOptions=e.shadowOptions===void 0?Ji:e.shadowOptions===null?void 0:Object.assign(Object.assign({},Ji),e.shadowOptions),this.elementOptions=e.elementOptions===void 0?tr:Object.assign(Object.assign({},tr),e.elementOptions),this.styles=at.normalize(e.styles),Io.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 er.has(t)||Io.getByType(t)?new Pt(class extends t{},e):new Pt(t,e)}static registerBaseType(t){er.add(t)}}Pt.getByType=Io.getByType,Pt.getForInstance=Io.getForInstance;const jn={bubbles:!0,composed:!0,cancelable:!0},Ts="isConnected",or=new WeakMap;function Po(o){var t,e;return(e=(t=o.shadowRoot)!==null&&t!==void 0?t:or.get(o))!==null&&e!==void 0?e:null}let sr;class zo extends Pi{constructor(t,e){super(t),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=t,this.definition=e;const s=e.shadowOptions;if(s!==void 0){let r=t.shadowRoot;r?this.hasExistingShadowRoot=!0:(r=t.attachShadow(s),s.mode==="closed"&&or.set(t,r))}const i=m.getAccessors(t);if(i.length>0){const r=this.boundObservables=Object.create(null);for(let n=0,h=i.length;n<h;++n){const g=i[n].name,u=t[g];u!==void 0&&(delete t[g],r[g]=u)}}}get isConnected(){return m.track(this,Ts),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:De.default}get isBound(){var t,e;return(e=(t=this.view)===null||t===void 0?void 0:t.isBound)!==null&&e!==void 0?e:!1}get sourceLifetime(){var t;return(t=this.view)===null||t===void 0?void 0:t.sourceLifetime}get template(){var t;if(this._template===null){const e=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():e.template&&(this._template=(t=e.template)!==null&&t!==void 0?t:null)}return this._template}set template(t){this._template!==t&&(this._template=t,this.needsInitialization||this.renderTemplate(t))}get mainStyles(){var t;if(this._mainStyles===null){const e=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():e.styles&&(this._mainStyles=(t=e.styles)!==null&&t!==void 0?t:null)}return this._mainStyles}set mainStyles(t){this._mainStyles!==t&&(this._mainStyles!==null&&this.removeStyles(this._mainStyles),this._mainStyles=t,this.needsInitialization||this.addStyles(t))}onUnbind(t){var e;(e=this.view)===null||e===void 0||e.onUnbind(t)}addBehavior(t){var e,s;const i=(e=this.behaviors)!==null&&e!==void 0?e:this.behaviors=new Map,r=(s=i.get(t))!==null&&s!==void 0?s:0;r===0?(i.set(t,1),t.addedCallback&&t.addedCallback(this),t.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===1||this.stage===0)&&t.connectedCallback(this)):i.set(t,r+1)}removeBehavior(t,e=!1){const s=this.behaviors;if(s===null)return;const i=s.get(t);i!==void 0&&(i===1||e?(s.delete(t),t.disconnectedCallback&&this.stage!==3&&t.disconnectedCallback(this),t.removedCallback&&t.removedCallback(this)):s.set(t,i-1))}addStyles(t){var e;if(!t)return;const s=this.source;if(t instanceof HTMLElement)((e=Po(s))!==null&&e!==void 0?e:this.source).append(t);else if(!t.isAttachedTo(s)){const i=t.behaviors;if(t.addStylesTo(s),i!==null)for(let r=0,n=i.length;r<n;++r)this.addBehavior(i[r])}}removeStyles(t){var e;if(!t)return;const s=this.source;if(t instanceof HTMLElement)((e=Po(s))!==null&&e!==void 0?e:s).removeChild(t);else if(t.isAttachedTo(s)){const i=t.behaviors;if(t.removeStylesFrom(s),i!==null)for(let r=0,n=i.length;r<n;++r)this.removeBehavior(i[r])}}connect(){if(this.stage!==3)return;if(this.stage=0,this.boundObservables!==null){const e=this.source,s=this.boundObservables,i=Object.keys(s);for(let r=0,n=i.length;r<n;++r){const h=i[r];e[h]=s[h]}this.boundObservables=null}const t=this.behaviors;if(t!==null){this.guardBehaviorConnection=!0;for(const e of t.keys())e.connectedCallback&&e.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=1,m.notify(this,Ts)}disconnect(){if(this.stage!==1)return;this.stage=2,m.notify(this,Ts),this.view!==null&&this.view.unbind();const t=this.behaviors;if(t!==null)for(const e of t.keys())e.disconnectedCallback&&e.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(t,e,s){const i=this.definition.attributeLookup[t];i!==void 0&&i.onAttributeChangedCallback(this.source,s)}emit(t,e,s){return this.stage===1?this.source.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},jn),s))):!1}renderTemplate(t){var e;const s=this.source,i=(e=Po(s))!==null&&e!==void 0?e:s;if(this.view!==null)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let r=i.firstChild;r!==null;r=i.firstChild)i.removeChild(r)}t&&(this.view=t.render(s,i,s),this.view.sourceLifetime=ys.coupled)}static forCustomElement(t){const e=t.$fastController;if(e!==void 0)return e;const s=Pt.getForInstance(t);if(s===void 0)throw Q.error(1401);return t.$fastController=new sr(t,s)}static setStrategy(t){sr=t}}Ce(zo),zo.setStrategy(zo);function Bo(o){var t;return"adoptedStyleSheets"in o?o:(t=Po(o))!==null&&t!==void 0?t:o.getRootNode()}class bs{constructor(t){const e=bs.styleSheetCache;this.sheets=t.map(s=>{if(s instanceof CSSStyleSheet)return s;let i=e.get(s);return i===void 0&&(i=new CSSStyleSheet,i.replaceSync(s),e.set(s,i)),i})}addStylesTo(t){rr(Bo(t),this.sheets)}removeStylesFrom(t){nr(Bo(t),this.sheets)}}bs.styleSheetCache=new Map;let Rn=0;const qn=()=>`fast-${++Rn}`;function ir(o){return o===document?document.body:o}class Gn{constructor(t){this.styles=t,this.styleClass=qn()}addStylesTo(t){t=ir(Bo(t));const e=this.styles,s=this.styleClass;for(let i=0;i<e.length;i++){const r=document.createElement("style");r.innerHTML=e[i],r.className=s,t.append(r)}}removeStylesFrom(t){t=ir(Bo(t));const e=t.querySelectorAll(`.${this.styleClass}`);for(let s=0,i=e.length;s<i;++s)t.removeChild(e[s])}}let rr=(o,t)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...t]},nr=(o,t)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(e=>t.indexOf(e)===-1)};if(at.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),rr=(o,t)=>{o.adoptedStyleSheets.push(...t)},nr=(o,t)=>{for(const e of t){const s=o.adoptedStyleSheets.indexOf(e);s!==-1&&o.adoptedStyleSheets.splice(s,1)}}}catch{}at.setDefaultStrategy(bs)}else at.setDefaultStrategy(Gn);function ar(o){const t=class extends o{constructor(){super(),zo.forCustomElement(this)}$emit(e,s,i){return this.$fastController.emit(e,s,i)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,s,i){this.$fastController.onAttributeChangedCallback(e,s,i)}};return Pt.registerBaseType(t),t}function Wn(o,t){return we(o)?Pt.compose(o,t):Pt.compose(this,o)}function Xn(o,t){return we(o)?Pt.compose(o,t).define().type:Pt.compose(this,o).define().type}function Un(o){return ar(o)}const x=Object.assign(ar(HTMLElement),{from:Un,define:Xn,compose:Wn}),pt={horizontal:"horizontal",vertical:"vertical"};function Kn(o,t){let e=o.length;for(;e--;)if(t(o[e],e,o))return e;return-1}function lr(...o){return o.every(t=>t instanceof HTMLElement)}const As="ArrowDown",Fs="ArrowLeft",_s="ArrowRight",Os="ArrowUp",Ms="End",To="Enter",Yn="Escape",Ns="Home",Es=" ",Qn="Tab";var vt;(function(o){o.ltr="ltr",o.rtl="rtl"})(vt||(vt={}));function Ls(o,t,e){return Math.min(Math.max(e,o),t)}let Zn=0;function Ao(o=""){return`${o}${Zn++}`}var Jn=Object.defineProperty,ta=Object.getOwnPropertyDescriptor,E=(o,t,e,s)=>{for(var i=s>1?void 0:s?ta(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Jn(t,e,i),i};class L{}E([a({attribute:"aria-atomic"})],L.prototype,"ariaAtomic",2),E([a({attribute:"aria-busy"})],L.prototype,"ariaBusy",2),E([a({attribute:"aria-controls"})],L.prototype,"ariaControls",2),E([a({attribute:"aria-current"})],L.prototype,"ariaCurrent",2),E([a({attribute:"aria-describedby"})],L.prototype,"ariaDescribedby",2),E([a({attribute:"aria-details"})],L.prototype,"ariaDetails",2),E([a({attribute:"aria-disabled"})],L.prototype,"ariaDisabled",2),E([a({attribute:"aria-errormessage"})],L.prototype,"ariaErrormessage",2),E([a({attribute:"aria-flowto"})],L.prototype,"ariaFlowto",2),E([a({attribute:"aria-haspopup"})],L.prototype,"ariaHaspopup",2),E([a({attribute:"aria-hidden"})],L.prototype,"ariaHidden",2),E([a({attribute:"aria-invalid"})],L.prototype,"ariaInvalid",2),E([a({attribute:"aria-keyshortcuts"})],L.prototype,"ariaKeyshortcuts",2),E([a({attribute:"aria-label"})],L.prototype,"ariaLabel",2),E([a({attribute:"aria-labelledby"})],L.prototype,"ariaLabelledby",2),E([a({attribute:"aria-live"})],L.prototype,"ariaLive",2),E([a({attribute:"aria-owns"})],L.prototype,"ariaOwns",2),E([a({attribute:"aria-relevant"})],L.prototype,"ariaRelevant",2),E([a({attribute:"aria-roledescription"})],L.prototype,"ariaRoledescription",2);const Hs={fromView(o){const t=parseFloat(o);return Number.isNaN(t)?"":t.toString()},toView(o){const t=parseFloat(o);return Number.isNaN(t)?void 0:t.toString()}},cr=o=>o.closest("[dir]")?.dir==="rtl"?vt.rtl:vt.ltr;function gt(o){return o?typeof o=="string"?new le(o):"inline"in o?o.inline():o:le.empty}const ea=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length,oa=":host([hidden]){display:none}";function w(o){return`${oa}:host{display:${o}}`}class sa{constructor(t){this.listenerCache=new WeakMap,this.query=t}connectedCallback(t){const{query:e}=this;let s=this.listenerCache.get(t);s||(s=this.constructListener(t),this.listenerCache.set(t,s)),s.bind(e)(),e.addEventListener("change",s)}disconnectedCallback(t){const e=this.listenerCache.get(t);e&&this.query.removeEventListener("change",e)}}class $o extends sa{constructor(t,e){super(t),this.styles=e}static with(t){return e=>new $o(t,e)}constructListener(t){let e=!1;const s=this.styles;return function(){const{matches:r}=this;r&&!e?(t.addStyles(s),e=r):!r&&e&&(t.removeStyles(s),e=r)}}removedCallback(t){t.removeStyles(this.styles)}}const Z=$o.with(window.matchMedia("(forced-colors)"));$o.with(window.matchMedia("(prefers-color-scheme: dark)")),$o.with(window.matchMedia("(prefers-color-scheme: light)"));class Dt{}function oe(o){return f`<slot name="end" ${At("end")}>${gt(o.end)}</slot>`.inline()}function Vt(o){return f`<slot name="start" ${At("start")}>${gt(o.start)}</slot>`.inline()}function jt(o,...t){const e=So.locate(o);t.forEach(s=>{Object.getOwnPropertyNames(s.prototype).forEach(r=>{r!=="constructor"&&Object.defineProperty(o.prototype,r,Object.getOwnPropertyDescriptor(s.prototype,r))}),So.locate(s).forEach(r=>e.push(r))})}const ia=CSS.supports("selector(:state(g))");function c(o,t,e){if(!ia){o.shadowRoot.host.toggleAttribute(`state--${t}`,e);return}if(e=e??!o.states.has(t),e){o.states.add(t);return}o.states.delete(t)}var ra=Object.defineProperty,na=Object.getOwnPropertyDescriptor,ce=(o,t,e,s)=>{for(var i=s>1?void 0:s?na(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&ra(t,e,i),i};class Rt extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=Ao("accordion-")}expandedChanged(t,e){c(this.elementInternals,"expanded",e)}disabledChanged(t,e){c(this.elementInternals,"disabled",e)}}ce([a({attribute:"heading-level",mode:"fromView",converter:st})],Rt.prototype,"headinglevel",2),ce([a({mode:"boolean"})],Rt.prototype,"expanded",2),ce([a({mode:"boolean"})],Rt.prototype,"disabled",2),ce([a],Rt.prototype,"id",2);class Re extends Rt{constructor(){super(...arguments),this.block=!1}sizeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}markerPositionChanged(t,e){t&&c(this.elementInternals,`align-${t}`,!1),e&&c(this.elementInternals,`align-${e}`,!0)}blockChanged(t,e){c(this.elementInternals,"block",e)}}ce([a],Re.prototype,"size",2),ce([a({attribute:"marker-position"})],Re.prototype,"markerPosition",2),ce([a({mode:"boolean"})],Re.prototype,"block",2),jt(Re,Dt);const v=l.partial`:is([state--checked], :state(checked))`,W=l.partial`:is([state--disabled], :state(disabled))`,Fo=l.partial`:is([state--filled-lighter], :state(filled-lighter))`,_o=l.partial`:is([state--filled-darker], :state(filled-darker))`,qt=l.partial`:is([state--ghost], :state(ghost))`,dr=l.partial`:is([state--inverted], :state(inverted))`,it=l.partial`:is([state--primary], :state(primary))`,R=l.partial`:is([state--outline], :state(outline))`,qe=l.partial`:is([state--strong], :state(strong))`,C=l.partial`:is([state--subtle], :state(subtle))`,se=l.partial`:is([state--tint], :state(tint))`,Ge=l.partial`:is([state--underline], :state(underline))`,X=l.partial`:is([state--transparent], :state(transparent))`,We=l.partial`:is([state--circular], :state(circular))`,Gt=l.partial`:is([state--rounded], :state(rounded))`,Xe=l.partial`:is([state--square], :state(square))`,Ue=l.partial`:is([state--tiny], :state(tiny))`,Ke=l.partial`:is([state--extra-small], :state(extra-small))`,_=l.partial`:is([state--small], :state(small))`;l.partial`:is([state--medium], :state(medium))`;const S=l.partial`:is([state--large], :state(large))`,Oo=l.partial`:is([state--extra-large], :state(extra-large))`,aa=l.partial`:is([state--huge], :state(huge))`,hr=l.partial`:is([state--align-start], :state(align-start))`,Wt=l.partial`:is([state--align-end], :state(align-end))`,Ds=l.partial`:is([state--inset], :state(inset))`,Pe=l.partial`:is([state--icon], :state(icon))`,P=l.partial`:is([state--pressed], :state(pressed))`,Xt=l.partial`:is([state--brand], :state(brand))`,Vs=l.partial`:is([state--error], :state(error))`,Mo=l.partial`:is([state--danger], :state(danger))`,No=l.partial`:is([state--important], :state(important))`,Eo=l.partial`:is([state--informative], :state(informative))`;l.partial`:is([state--marigold], :state(marigold))`;const Lo=l.partial`:is([state--neutral], :state(neutral))`,Ho=l.partial`:is([state--severe], :state(severe))`,de=l.partial`:is([state--success], :state(success))`,he=l.partial`:is([state--warning], :state(warning))`,J=l.partial`:is([state--vertical], :state(vertical))`;l.partial`:is([state--horizontal], :state(horizontal))`,l.partial`:is([state--singleline], :state(singleline))`;const Ye=l.partial`:is([state--multiline], :state(multiline))`,ue=l.partial`:is([state--expanded], :state(expanded))`,la=l.partial`:is([state--block], :state(block))`,z="var(--colorNeutralForeground1)",ur="var(--colorNeutralForeground1Hover)",ca="var(--colorNeutralForeground1Pressed)",Ut="var(--colorNeutralForeground2)",Do="var(--colorNeutralForeground2Hover)",Vo="var(--colorNeutralForeground2Pressed)",da="var(--colorNeutralForeground2Selected)",jo="var(--colorNeutralForeground2BrandHover)",Ro="var(--colorNeutralForeground2BrandPressed)",ha="var(--colorNeutralForeground2BrandSelected)",rt="var(--colorNeutralForeground3)",ua="var(--colorNeutralForeground3Hover)",pa="var(--colorNeutralForeground3Pressed)",ga="var(--colorNeutralForeground4)",H="var(--colorNeutralForegroundDisabled)",fa="var(--colorBrandForegroundLink)",ba="var(--colorBrandForegroundLinkHover)",ma="var(--colorBrandForegroundLinkPressed)",$a="var(--colorNeutralForeground2Link)",va="var(--colorNeutralForeground2LinkHover)",ya="var(--colorNeutralForeground2LinkPressed)",ka="var(--colorCompoundBrandForeground1Hover)",xa="var(--colorCompoundBrandForeground1Pressed)",Kt="var(--colorNeutralForegroundOnBrand)",Qe="var(--colorNeutralForegroundInverted)",wa="var(--colorNeutralForegroundInvertedHover)",Ca="var(--colorNeutralForegroundInvertedPressed)",pr="var(--colorNeutralForegroundStaticInverted)",js="var(--colorBrandForeground1)",Sa="var(--colorBrandForeground2)",Ia="var(--colorNeutralForeground1Static)",O="var(--colorNeutralBackground1)",Rs="var(--colorNeutralBackground1Hover)",qs="var(--colorNeutralBackground1Pressed)",gr="var(--colorNeutralBackground1Selected)",Gs="var(--colorNeutralBackground3)",Pa="var(--colorNeutralBackground4)",za="var(--colorNeutralBackground5)",qo="var(--colorNeutralBackground6)",Ba="var(--colorNeutralBackgroundInverted)",Ta="var(--colorSubtleBackground)",Ws="var(--colorSubtleBackgroundHover)",Go="var(--colorSubtleBackgroundPressed)",Aa="var(--colorSubtleBackgroundSelected)",yt="var(--colorTransparentBackground)",Xs="var(--colorTransparentBackgroundHover)",Us="var(--colorTransparentBackgroundPressed)",Fa="var(--colorTransparentBackgroundSelected)",ze="var(--colorNeutralBackgroundDisabled)",Ks="var(--colorBackgroundOverlay)",Ys="var(--colorBrandBackground)",fr="var(--colorBrandBackgroundHover)",br="var(--colorBrandBackgroundPressed)",_a="var(--colorBrandBackgroundSelected)",Be="var(--colorCompoundBrandBackground)",Ze="var(--colorCompoundBrandBackgroundHover)",Je="var(--colorCompoundBrandBackgroundPressed)",mr="var(--colorBrandBackgroundStatic)",Oa="var(--colorBrandBackground2)",pe="var(--colorNeutralStrokeAccessible)",to="var(--colorNeutralStrokeAccessibleHover)",eo="var(--colorNeutralStrokeAccessiblePressed)",ge="var(--colorNeutralStroke1)",Wo="var(--colorNeutralStroke1Hover)",Qs="var(--colorNeutralStroke1Pressed)",oo="var(--colorNeutralStroke2)",Ma="var(--colorNeutralStroke3)",Na="var(--colorNeutralStrokeOnBrand2)",$r="var(--colorBrandStroke1)",Zs="var(--colorBrandStroke2)",Xo="var(--colorCompoundBrandStroke)",Ea="var(--colorCompoundBrandStrokeHover)",vr="var(--colorCompoundBrandStrokePressed)",Ft="var(--colorNeutralStrokeDisabled)",nt="var(--colorTransparentStroke)",yr="var(--colorTransparentStrokeInteractive)",Js="var(--colorStrokeFocus1)",_t="var(--colorStrokeFocus2)",kr="var(--colorPaletteRedBackground1)",La="var(--colorPaletteRedBackground2)",xr="var(--colorPaletteRedBackground3)",wr="var(--colorPaletteRedBorder1)",Ha="var(--colorPaletteRedBorder2)",Cr="var(--colorPaletteRedForeground1)",Da="var(--colorPaletteRedForeground2)",Sr="var(--colorPaletteRedForeground3)",Ir="var(--colorPaletteGreenBackground1)",Pr="var(--colorPaletteGreenBackground3)",Va="var(--colorPaletteGreenBorder1)",ja="var(--colorPaletteGreenBorder2)",Ra="var(--colorPaletteGreenForeground1)",qa="var(--colorPaletteGreenForeground2)",Ga="var(--colorPaletteGreenForeground3)",zr="var(--colorPaletteDarkOrangeBackground1)",Br="var(--colorPaletteDarkOrangeBackground3)",Tr="var(--colorPaletteDarkOrangeBorder1)",Wa="var(--colorPaletteDarkOrangeForeground1)",Ar="var(--colorPaletteDarkOrangeForeground3)",Xa="var(--colorPaletteYellowBackground1)",Ua="var(--colorPaletteYellowBackground3)",Ka="var(--colorPaletteYellowBorder1)",ti="var(--colorPaletteYellowForeground2)",Fr="var(--colorPaletteMarigoldBackground2)",Ya="var(--colorPaletteMarigoldBackground3)",Qa="var(--colorPaletteMarigoldForeground2)",Za="var(--colorPaletteAnchorBackground2)",Ja="var(--colorPaletteAnchorForeground2)",tl="var(--colorPaletteBeigeBackground2)",el="var(--colorPaletteBeigeForeground2)",ol="var(--colorPaletteBlueBackground2)",sl="var(--colorPaletteBlueForeground2)",il="var(--colorPaletteBrassBackground2)",rl="var(--colorPaletteBrassForeground2)",nl="var(--colorPaletteBrownBackground2)",al="var(--colorPaletteBrownForeground2)",ll="var(--colorPaletteCornflowerBackground2)",cl="var(--colorPaletteCornflowerForeground2)",dl="var(--colorPaletteCranberryBackground2)",hl="var(--colorPaletteCranberryForeground2)",ul="var(--colorPaletteDarkGreenBackground2)",pl="var(--colorPaletteDarkGreenForeground2)",gl="var(--colorPaletteDarkRedBackground2)",fl="var(--colorPaletteDarkRedForeground2)",bl="var(--colorPaletteForestBackground2)",ml="var(--colorPaletteForestForeground2)",$l="var(--colorPaletteGoldBackground2)",vl="var(--colorPaletteGoldForeground2)",yl="var(--colorPaletteGrapeBackground2)",kl="var(--colorPaletteGrapeForeground2)",xl="var(--colorPaletteLavenderBackground2)",wl="var(--colorPaletteLavenderForeground2)",Cl="var(--colorPaletteLightTealBackground2)",Sl="var(--colorPaletteLightTealForeground2)",Il="var(--colorPaletteLilacBackground2)",Pl="var(--colorPaletteLilacForeground2)",zl="var(--colorPaletteMagentaBackground2)",Bl="var(--colorPaletteMagentaForeground2)",Tl="var(--colorPaletteMinkBackground2)",Al="var(--colorPaletteMinkForeground2)",Fl="var(--colorPaletteNavyBackground2)",_l="var(--colorPaletteNavyForeground2)",Ol="var(--colorPalettePeachBackground2)",Ml="var(--colorPalettePeachForeground2)",Nl="var(--colorPalettePinkBackground2)",El="var(--colorPalettePinkForeground2)",Ll="var(--colorPalettePlatinumBackground2)",Hl="var(--colorPalettePlatinumForeground2)",Dl="var(--colorPalettePlumBackground2)",Vl="var(--colorPalettePlumForeground2)",jl="var(--colorPalettePumpkinBackground2)",Rl="var(--colorPalettePumpkinForeground2)",ql="var(--colorPalettePurpleBackground2)",Gl="var(--colorPalettePurpleForeground2)",Wl="var(--colorPaletteRoyalBlueBackground2)",Xl="var(--colorPaletteRoyalBlueForeground2)",Ul="var(--colorPaletteSeafoamBackground2)",Kl="var(--colorPaletteSeafoamForeground2)",Yl="var(--colorPaletteSteelBackground2)",Ql="var(--colorPaletteSteelForeground2)",Zl="var(--colorPaletteTealBackground2)",Jl="var(--colorPaletteTealForeground2)",ei="var(--borderRadiusNone)",Ot="var(--borderRadiusSmall)",B="var(--borderRadiusMedium)",_r="var(--borderRadiusLarge)",Or="var(--borderRadiusXLarge)",lt="var(--borderRadiusCircular)",$="var(--fontFamilyBase)",tc="var(--fontFamilyMonospace)",ec="var(--fontFamilyNumeric)",so="var(--fontSizeBase100)",q="var(--fontSizeBase200)",T="var(--fontSizeBase300)",ct="var(--fontSizeBase400)",Te="var(--fontSizeBase500)",Uo="var(--fontSizeBase600)",Mr="var(--fontSizeHero700)",Nr="var(--fontSizeHero800)",Er="var(--fontSizeHero900)",Lr="var(--fontSizeHero1000)",M="var(--fontWeightRegular)",oc="var(--fontWeightMedium)",N="var(--fontWeightSemibold)",Ko="var(--fontWeightBold)",Yo="var(--lineHeightBase100)",ot="var(--lineHeightBase200)",D="var(--lineHeightBase300)",kt="var(--lineHeightBase400)",Qo="var(--lineHeightBase500)",Hr="var(--lineHeightBase600)",Dr="var(--lineHeightHero700)",Vr="var(--lineHeightHero800)",jr="var(--lineHeightHero900)",Rr="var(--lineHeightHero1000)",qr="var(--shadow2)",Zo="var(--shadow4)",sc="var(--shadow8)",Gr="var(--shadow16)",ic="var(--shadow28)",Wr="var(--shadow64)",U="var(--strokeWidthThin)",xt="var(--strokeWidthThick)",wt="var(--strokeWidthThicker)",oi="var(--strokeWidthThickest)",dt="var(--spacingHorizontalXXS)",Yt="var(--spacingHorizontalXS)",Qt="var(--spacingHorizontalSNudge)",Zt="var(--spacingHorizontalS)",Mt="var(--spacingHorizontalMNudge)",ht="var(--spacingHorizontalM)",rc="var(--spacingHorizontalL)",nc="var(--spacingHorizontalXL)",ac="var(--spacingHorizontalXXL)",Jo="var(--spacingVerticalXXS)",lc="var(--spacingVerticalXS)",io="var(--spacingVerticalSNudge)",ft="var(--spacingVerticalS)",ro="var(--spacingVerticalMNudge)",cc="var(--spacingVerticalM)",si="var(--spacingVerticalL)",no="var(--spacingVerticalXXL)",dc="var(--durationUltraFast)",ii="var(--durationFaster)",Xr="var(--durationNormal)",ri="var(--durationGentle)",hc="var(--durationSlow)",Ur="var(--durationSlower)",ts="var(--durationUltraSlow)",uc="var(--curveAccelerateMax)",ao="var(--curveAccelerateMid)",pc="var(--curveAccelerateMin)",Kr="var(--curveDecelerateMax)",lo="var(--curveDecelerateMid)",gc="var(--curveDecelerateMin)",fc="var(--curveEasyEaseMax)",es="var(--curveEasyEase)",ni="var(--curveLinear)",bc=l`
|
|
2
|
+
${w("block")}
|
|
3
|
+
|
|
4
|
+
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${ht} ${Mt};border-radius:${B};font-family:${$};font-size:${T};font-weight:${M};line-height:${D};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${yt};border:none;box-sizing:border-box;color:${z};cursor:pointer;font:inherit;grid-column:auto / span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Ot}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${Zt};grid-column:1 / span 1;grid-row:1}.content{margin:0 ${ht}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${Zt};grid-column:2 / span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Ot};outline:none;border:2px solid ${Js};box-shadow:inset 0 0 0 1px ${_t}}:host(${W}) .button{color:${H}}:host(${W}) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host(${ue}) .content{display:block}:host(${ue}) .default-marker-collapsed,:host(${ue}) ::slotted([slot='marker-collapsed']),:host(:not(${ue})) :is(.default-marker-expanded,.content),:host(:not(${ue})) ::slotted([slot='marker-expanded']){display:none}:host(${ue}) ::slotted([slot='marker-expanded']),:host(:not(${ue})) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${T};line-height:${D}}:host(${_}) .heading{font-size:${q};line-height:${ot}}:host(${S}) .heading{font-size:${ct};line-height:${kt}}:host(${Oo}) .heading{font-size:${Te};line-height:${Qo}}:host(${Wt}) :slotted([slot='start']){grid-column:1 / span 1}:host(${Wt}) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4 / span 1;padding-inline-start:${Zt};padding-inline-end:0}:host(${Wt}) .button{grid-column:2 / span 3}:host([block]){max-width:100%}:host(${Wt}) .heading{grid-template-columns:auto auto 28px;padding-inline:${ht}}:host(${Wt}:has([slot='start'])) .heading{padding-inline:${Mt} ${ht}}:host(${la}${Wt}) .heading{grid-template-columns:auto 1fr}:host(${Wt}) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5 / span 1}`,mc=f.partial(`<svg
|
|
5
|
+
width="20"
|
|
6
|
+
height="20"
|
|
7
|
+
viewBox="0 0 20 20"
|
|
8
|
+
fill="none"
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
class="default-marker-collapsed"
|
|
11
|
+
aria-hidden="true"
|
|
12
|
+
>
|
|
13
|
+
<path
|
|
14
|
+
d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
/>
|
|
17
|
+
</svg>`),$c=f.partial(`<svg
|
|
18
|
+
width="20"
|
|
19
|
+
height="20"
|
|
20
|
+
viewBox="0 0 20 20"
|
|
21
|
+
fill="none"
|
|
22
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
23
|
+
class="default-marker-expanded"
|
|
24
|
+
aria-hidden="true"
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</svg>`);function vc(o={}){return f`<div class="heading" part="heading" role="heading" aria-level="${t=>t.headinglevel}"><button class="button" part="button" ${At("expandbutton")} ?disabled="${t=>t.disabled?"true":void 0}" aria-expanded="${t=>t.expanded}" aria-controls="${t=>t.id}-panel" id="${t=>t.id}"><slot name="heading"></slot></button>${Vt(o)}<slot name="marker-expanded">${gt(o.expandedIcon)}</slot><slot name="marker-collapsed">${gt(o.collapsedIcon)}</slot></div><div class="content" part="content" id="${t=>t.id}-panel" role="region" aria-labelledby="${t=>t.id}"><slot></slot></div>`}const yc=vc({collapsedIcon:mc,expandedIcon:$c}),kc=Re.compose({name:`${p.prefix}-accordion-item`,template:yc,styles:bc});kc.define(p.registry);const ai={single:"single",multi:"multi"};var xc=Object.defineProperty,wc=Object.getOwnPropertyDescriptor,Yr=(o,t,e,s)=>{for(var i=s>1?void 0:s?wc(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&xc(t,e,i),i};class li extends x{constructor(){super(...arguments),this.expandmode=ai.multi,this.activeItemIndex=0,this.setItems=()=>{if(this.slottedAccordionItems.length===0)return;const t=Array.from(this.children);if(this.removeItemListeners(t),t.forEach(e=>m.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=t.filter(e=>!e.hasAttribute("disabled")),this.accordionItems.forEach((e,s)=>{e instanceof Rt&&(e.addEventListener("click",this.expandedChangedHandler),m.getNotifier(e).subscribe(this,"expanded"))}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=t=>{t.forEach((e,s)=>{m.getNotifier(e).unsubscribe(this,"disabled"),m.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.expandedChangedHandler)})},this.expandedChangedHandler=t=>{const e=t.target;e instanceof Rt&&(this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.$emit("change"))}}expandmodeChanged(t,e){if(!this.$fastController.isConnected)return;const s=this.findExpandedItem();if(s){if(e===ai.single){this.setSingleExpandMode(s);return}s?.expandbutton.removeAttribute("aria-disabled")}}slottedAccordionItemsChanged(t,e){this.$fastController.isConnected&&this.setItems()}handleChange(t,e){e==="disabled"?this.setItems():e==="expanded"&&t.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(t)}findExpandedItem(){return this.accordionItems.length===0?null:this.accordionItems.find(t=>t instanceof Rt&&t.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===ai.single}setSingleExpandMode(t){if(this.accordionItems.length===0)return;const e=Array.from(this.accordionItems);this.activeItemIndex=e.indexOf(t),e.forEach((s,i)=>{s instanceof Rt&&(this.activeItemIndex===i?(s.expanded=!0,s.expandbutton.setAttribute("aria-disabled","true")):(s.expanded=!1,s.hasAttribute("disabled")||s.expandbutton.removeAttribute("aria-disabled")))})}}Yr([a({attribute:"expand-mode"})],li.prototype,"expandmode",2),Yr([k],li.prototype,"slottedAccordionItems",2);const Cc=l`
|
|
31
|
+
${w("flex")}
|
|
32
|
+
|
|
33
|
+
:host{flex-direction:column;width:100%;contain:content}`;function Sc(){return f`<template><slot ${ut({property:"slottedAccordionItems",filter:je()})}></slot></template>`}const Ic=Sc(),Pc=li.compose({name:`${p.prefix}-accordion`,template:Ic,styles:Cc});Pc.define(p.registry);const os={submit:"submit",reset:"reset",button:"button"},zc={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"};var Bc=Object.defineProperty,Tc=Object.getOwnPropertyDescriptor,bt=(o,t,e,s)=>{for(var i=s>1?void 0:s?Tc(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Bc(t,e,i),i};class Nt extends x{constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){if(e in zc){const s=this.$fastController.definition.attributeLookup[e]?.attribute;s&&this.handleProxyAttributeChange(s,this[e])}}clickHandler(t){if(this.href){const e=this.isMac?t.metaKey:t.ctrlKey;this.handleNavigation(e)}return!0}keydownHandler(t){if(this.href&&t.key===To){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}}bt([a],Nt.prototype,"download",2),bt([a],Nt.prototype,"href",2),bt([a],Nt.prototype,"hreflang",2),bt([a],Nt.prototype,"ping",2),bt([a],Nt.prototype,"referrerpolicy",2),bt([a],Nt.prototype,"rel",2),bt([a],Nt.prototype,"target",2),bt([a],Nt.prototype,"type",2);class Ae extends Nt{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}iconOnlyChanged(t,e){c(this.elementInternals,"icon",!!e)}}bt([a],Ae.prototype,"appearance",2),bt([a],Ae.prototype,"shape",2),bt([a],Ae.prototype,"size",2),bt([a({attribute:"icon-only",mode:"boolean"})],Ae.prototype,"iconOnly",2),jt(Ae,Dt);const Qr=l`
|
|
34
|
+
${w("inline-flex")}
|
|
35
|
+
|
|
36
|
+
:host{--icon-spacing:${Qt};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${O};color:${z};border:${U} solid ${ge};padding:0 ${ht};min-width:96px;border-radius:${B};font-size:${T};font-family:${$};font-weight:${N};line-height:${D};transition-duration:${ii};transition-property:background,border,color;transition-timing-function:${es};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${Rs};color:${ur};border-color:${Wo}}:host(:hover:active){background-color:${qs};border-color:${Qs};color:${ca};outline-style:none}:host(:focus-visible){border-color:${nt};outline:${xt} solid ${nt};box-shadow:${Zo},0 0 0 2px ${_t}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}:is([slot='start'],::slotted([slot='start'])){margin-inline-end:var(--icon-spacing)}:is([slot='end'],::slotted([slot='end'])){margin-inline-start:var(--icon-spacing)}:host(${Pe}){min-width:32px;max-width:32px}:host(${_}){--icon-spacing:${Yt};min-height:24px;min-width:64px;padding:0 ${Zt};border-radius:${Ot};font-size:${q};line-height:${ot};font-weight:${M}}:host(${_}${Pe}){min-width:24px;max-width:24px}:host(${S}){min-height:40px;border-radius:${_r};padding:0 ${rc};font-size:${ct};line-height:${kt}}:host(${S}${Pe}){min-width:40px;max-width:40px}:host(${S}) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is(${We},${We}:focus-visible)){border-radius:${lt}}:host(:is(${Xe},${Xe}:focus-visible)){border-radius:${ei}}:host(${it}){background-color:${Ys};color:${Kt};border-color:transparent}:host(${it}:hover){background-color:${fr}}:host(${it}:is(:hover,:hover:active)){border-color:transparent;color:${Kt}}:host(${it}:hover:active){background-color:${br}}:host(${it}:focus-visible){border-color:${Kt};box-shadow:${qr},0 0 0 2px ${_t}}:host(${R}){background-color:${yt}}:host(${R}:hover){background-color:${Xs}}:host(${R}:hover:active){background-color:${Us}}:host(${C}){background-color:${Ta};color:${Ut};border-color:transparent}:host(${C}:hover){background-color:${Ws};color:${Do};border-color:transparent}:host(${C}:hover:active){background-color:${Go};color:${Vo};border-color:transparent}:host(${C}:hover) ::slotted(svg){fill:${jo}}:host(${C}:hover:active) ::slotted(svg){fill:${Ro}}:host(${X}){background-color:${yt};color:${Ut}}:host(${X}:hover){background-color:${Xs};color:${jo}}:host(${X}:hover:active){background-color:${Us};color:${Ro}}:host(:is(${X},${X}:is(:hover,:active))){border-color:transparent}`,ss=l`
|
|
37
|
+
${Qr}
|
|
38
|
+
|
|
39
|
+
:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${ze};border-color:${Ft};color:${H};cursor:not-allowed}:host(${it}:is(:disabled,[disabled-focusable])),:host(${it}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host(${R}:is(:disabled,[disabled-focusable])),:host(${R}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${yt}}:host(${C}:is(:disabled,[disabled-focusable])),:host(${C}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${yt};border-color:transparent}:host(${X}:is(:disabled,[disabled-focusable])),:host(${X}:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${yt}}`.withBehaviors(Z(l`
|
|
40
|
+
:host{background:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight}`)),Ac=l`
|
|
41
|
+
${Qr}
|
|
42
|
+
|
|
43
|
+
::slotted(a){position:absolute;inset:0}`.withBehaviors(Z(l`
|
|
44
|
+
:host{border-color:LinkText;color:LinkText}`));function Fc(o={}){return f`<template tabindex="0" @click="${(t,e)=>t.clickHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}">${Vt(o)}<span class="content" part="content"><slot></slot></span>${oe(o)}</template>`}const _c=Fc(),Oc=Ae.compose({name:`${p.prefix}-anchor-button`,template:_c,styles:Ac});Oc.define(p.registry);const Mc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Nc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Ec=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,Lc=/\s+/g,Hc=/[\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 Dc(o,t,e){let s="";const i=o.split(" ");return i.length!==0&&(s+=i[0].charAt(0).toUpperCase()),e||(i.length===2?s+=i[1].charAt(0).toUpperCase():i.length===3&&(s+=i[2].charAt(0).toUpperCase())),t&&s.length>1?s.charAt(1)+s.charAt(0):s}function Vc(o){return o=o.replace(Mc,""),o=o.replace(Nc,""),o=o.replace(Lc," "),o=o.trim(),o}function jc(o,t,e){return!o||(o=Vc(o),Hc.test(o)||!e?.allowPhoneInitials&&Ec.test(o))?"":Dc(o,t,e?.firstInitialOnly)}const Zr={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"},Jr={neutral:"neutral",brand:"brand",colorful:"colorful",...Zr};var Rc=Object.defineProperty,qc=Object.getOwnPropertyDescriptor,ie=(o,t,e,s)=>{for(var i=s>1?void 0:s?qc(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Rc(t,e,i),i};class is extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}}ie([a],is.prototype,"name",2),ie([a],is.prototype,"initials",2),ie([a],is.prototype,"active",2);const fe=class vi extends is{handleChange(t,e){switch(e){case"color":case"colorId":this.generateColor();break}}generateInitials(){if(!this.name&&!this.initials)return;const t=this.size??32;return this.initials??jc(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:t<=16})}generateColor(){const t=this.color===Jr.colorful,e=this.currentColor;c(this.elementInternals,`${e}`,!1),this.currentColor=t&&this.colorId?this.colorId:t?vi.colors[Wc(this.name??"")%vi.colors.length]:this.color??Jr.neutral,c(this.elementInternals,`${this.currentColor}`,!0)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}};fe.colors=Object.values(Zr),ie([a],fe.prototype,"shape",2),ie([a],fe.prototype,"appearance",2),ie([a({converter:st})],fe.prototype,"size",2),ie([a],fe.prototype,"color",2),ie([a({attribute:"color-id"})],fe.prototype,"colorId",2);let Gc=fe;const Wc=o=>{let t=0;for(let e=o.length-1;e>=0;e--){const s=o.charCodeAt(e),i=e%8;t^=(s<<i)+(s>>8-i)}return t},re={fastOutSlowInMax:Kr,fastOutSlowInMid:lo,fastOutSlowInMin:gc,slowOutFastInMax:uc,slowOutFastInMid:ao,slowOutFastInMin:pc,fastEase:fc,normalEase:es,nullEasing:ni},Xc=l`
|
|
45
|
+
${w("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${$};font-weight:${N};font-size:${T};border-radius:${lt};color:${rt};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:${lt}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${U}) ${O}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${xt}) ${O}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${M}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${q}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ct}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Te}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Uo}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${B}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Ot}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${_r}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Or}}:host(:is([state--brand],:state(brand))){color:${pr};background-color:${mr}}:host(:is([state--dark-red],:state(dark-red))){color:${fl};background-color:${gl}}:host(:is([state--cranberry],:state(cranberry))){color:${hl};background-color:${dl}}:host(:is([state--red],:state(red))){color:${Da};background-color:${La}}:host(:is([state--pumpkin],:state(pumpkin))){color:${Rl};background-color:${jl}}:host(:is([state--peach],:state(peach))){color:${Ml};background-color:${Ol}}:host(:is([state--marigold],:state(marigold))){color:${Qa};background-color:${Fr}}:host(:is([state--gold],:state(gold))){color:${vl};background-color:${$l}}:host(:is([state--brass],:state(brass))){color:${rl};background-color:${il}}:host(:is([state--brown],:state(brown))){color:${al};background-color:${nl}}:host(:is([state--forest],:state(forest))){color:${ml};background-color:${bl}}:host(:is([state--seafoam],:state(seafoam))){color:${Kl};background-color:${Ul}}:host(:is([state--dark-green],:state(dark-green))){color:${pl};background-color:${ul}}:host(:is([state--light-teal],:state(light-teal))){color:${Sl};background-color:${Cl}}:host(:is([state--teal],:state(teal))){color:${Jl};background-color:${Zl}}:host(:is([state--steel],:state(steel))){color:${Ql};background-color:${Yl}}:host(:is([state--blue],:state(blue))){color:${sl};background-color:${ol}}:host(:is([state--royal-blue],:state(royal-blue))){color:${Xl};background-color:${Wl}}:host(:is([state--cornflower],:state(cornflower))){color:${cl};background-color:${ll}}:host(:is([state--navy],:state(navy))){color:${_l};background-color:${Fl}}:host(:is([state--lavender],:state(lavender))){color:${wl};background-color:${xl}}:host(:is([state--purple],:state(purple))){color:${Gl};background-color:${ql}}:host(:is([state--grape],:state(grape))){color:${kl};background-color:${yl}}:host(:is([state--lilac],:state(lilac))){color:${Pl};background-color:${Il}}:host(:is([state--pink],:state(pink))){color:${El};background-color:${Nl}}:host(:is([state--magenta],:state(magenta))){color:${Bl};background-color:${zl}}:host(:is([state--plum],:state(plum))){color:${Vl};background-color:${Dl}}:host(:is([state--beige],:state(beige))){color:${el};background-color:${tl}}:host(:is([state--mink],:state(mink))){color:${Al};background-color:${Tl}}:host(:is([state--platinum],:state(platinum))){color:${Hl};background-color:${Ll}}:host(:is([state--anchor],:state(anchor))){color:${Ja};background-color:${Za}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${ts},${ii};transition-delay:${re.fastEase},${re.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${ts}),${Ur};transition-delay:${re.fastEase}),${re.nullEasing})}:host([active])::before{box-shadow:${sc};border-style:solid;border-color:${mr}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${xt});border-width:${xt}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${wt});border-width:${wt}}: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 * ${oi});border-width:${oi}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Zo}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Gr}}: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:${ic}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${ts},${ii};transition-delay:${re.fastOutSlowInMin},${re.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${ts},${Ur};transition-delay:${re.fastOutSlowInMin},${re.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Uc=f`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;function Kc(){return f`<slot>${o=>o.name||o.initials?o.generateInitials():Uc}</slot><slot name="badge"></slot>`}const Yc=Kc(),Qc=Gc.compose({name:`${p.prefix}-avatar`,template:Yc,styles:Xc});Qc.define(p.registry);const Zc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Jc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"};var td=Object.defineProperty,ed=Object.getOwnPropertyDescriptor,rs=(o,t,e,s)=>{for(var i=s>1?void 0:s?ed(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&td(t,e,i),i};class Fe extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.appearance=Zc.filled,this.color=Jc.brand}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}colorChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}rs([a],Fe.prototype,"appearance",2),rs([a],Fe.prototype,"color",2),rs([a],Fe.prototype,"shape",2),rs([a],Fe.prototype,"size",2),jt(Fe,Dt);const tn=l.partial`
|
|
46
|
+
${w("inline-flex")} :host {
|
|
18
47
|
position: relative;
|
|
19
48
|
box-sizing: border-box;
|
|
20
49
|
align-items: center;
|
|
21
50
|
justify-content: center;
|
|
22
|
-
font-family: ${
|
|
23
|
-
font-weight: ${
|
|
24
|
-
font-size: ${
|
|
25
|
-
line-height: ${
|
|
51
|
+
font-family: ${$};
|
|
52
|
+
font-weight: ${N};
|
|
53
|
+
font-size: ${q};
|
|
54
|
+
line-height: ${ot};
|
|
26
55
|
min-width: 20px;
|
|
27
56
|
height: 20px;
|
|
28
|
-
padding-inline: calc(${
|
|
29
|
-
border-radius: ${
|
|
30
|
-
border-color: ${
|
|
31
|
-
background-color: ${
|
|
32
|
-
color: ${
|
|
57
|
+
padding-inline: calc(${Yt} + ${dt});
|
|
58
|
+
border-radius: ${lt};
|
|
59
|
+
border-color: ${nt};
|
|
60
|
+
background-color: ${Ys};
|
|
61
|
+
color: ${Kt};
|
|
33
62
|
contain: content;
|
|
34
63
|
}
|
|
35
64
|
|
|
@@ -37,7 +66,7 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
|
|
|
37
66
|
font-size: 12px;
|
|
38
67
|
}
|
|
39
68
|
|
|
40
|
-
:host(:not(
|
|
69
|
+
:host(:not(${qt}))::after {
|
|
41
70
|
position: absolute;
|
|
42
71
|
content: '';
|
|
43
72
|
top: 0;
|
|
@@ -45,12 +74,12 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
|
|
|
45
74
|
bottom: 0;
|
|
46
75
|
right: 0;
|
|
47
76
|
border-style: solid;
|
|
48
|
-
border-width: ${
|
|
77
|
+
border-width: ${U};
|
|
49
78
|
border-color: inherit;
|
|
50
79
|
border-radius: inherit;
|
|
51
80
|
}
|
|
52
|
-
`,
|
|
53
|
-
:host(
|
|
81
|
+
`,en=l.partial`
|
|
82
|
+
:host(${Ue}) {
|
|
54
83
|
width: 6px;
|
|
55
84
|
height: 6px;
|
|
56
85
|
font-size: 4px;
|
|
@@ -58,10 +87,10 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
|
|
|
58
87
|
padding-inline: 0;
|
|
59
88
|
min-width: unset;
|
|
60
89
|
}
|
|
61
|
-
:host(
|
|
90
|
+
:host(${Ue}) ::slotted(svg) {
|
|
62
91
|
font-size: 6px;
|
|
63
92
|
}
|
|
64
|
-
:host(
|
|
93
|
+
:host(${Ke}) {
|
|
65
94
|
width: 10px;
|
|
66
95
|
height: 10px;
|
|
67
96
|
font-size: 6px;
|
|
@@ -69,281 +98,420 @@ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPro
|
|
|
69
98
|
padding-inline: 0;
|
|
70
99
|
min-width: unset;
|
|
71
100
|
}
|
|
72
|
-
:host(
|
|
101
|
+
:host(${Ke}) ::slotted(svg) {
|
|
73
102
|
font-size: 10px;
|
|
74
103
|
}
|
|
75
|
-
:host(
|
|
104
|
+
:host(${_}) {
|
|
76
105
|
min-width: 16px;
|
|
77
106
|
height: 16px;
|
|
78
107
|
font-size: ${so};
|
|
79
|
-
line-height: ${
|
|
80
|
-
padding-inline: calc(${
|
|
108
|
+
line-height: ${Yo};
|
|
109
|
+
padding-inline: calc(${dt} + ${dt});
|
|
81
110
|
}
|
|
82
|
-
:host(
|
|
111
|
+
:host(${_}) ::slotted(svg) {
|
|
83
112
|
font-size: 12px;
|
|
84
113
|
}
|
|
85
|
-
:host(
|
|
114
|
+
:host(${S}) {
|
|
86
115
|
min-width: 24px;
|
|
87
116
|
height: 24px;
|
|
88
|
-
font-size: ${
|
|
89
|
-
line-height: ${
|
|
90
|
-
padding-inline: calc(${
|
|
117
|
+
font-size: ${q};
|
|
118
|
+
line-height: ${ot};
|
|
119
|
+
padding-inline: calc(${Yt} + ${dt});
|
|
91
120
|
}
|
|
92
|
-
:host(
|
|
121
|
+
:host(${S}) ::slotted(svg) {
|
|
93
122
|
font-size: 16px;
|
|
94
123
|
}
|
|
95
|
-
:host(
|
|
124
|
+
:host(${Oo}) {
|
|
96
125
|
min-width: 32px;
|
|
97
126
|
height: 32px;
|
|
98
|
-
font-size: ${
|
|
99
|
-
line-height: ${
|
|
100
|
-
padding-inline: calc(${
|
|
127
|
+
font-size: ${q};
|
|
128
|
+
line-height: ${ot};
|
|
129
|
+
padding-inline: calc(${Qt} + ${dt});
|
|
101
130
|
}
|
|
102
|
-
:host(
|
|
131
|
+
:host(${Oo}) ::slotted(svg) {
|
|
103
132
|
font-size: 20px;
|
|
104
133
|
}
|
|
105
|
-
`,
|
|
106
|
-
:host(
|
|
107
|
-
background-color: ${
|
|
108
|
-
color: ${
|
|
134
|
+
`,on=l.partial`
|
|
135
|
+
:host(${Mo}) {
|
|
136
|
+
background-color: ${xr};
|
|
137
|
+
color: ${Kt};
|
|
109
138
|
}
|
|
110
139
|
|
|
111
|
-
:host(
|
|
112
|
-
background-color: ${
|
|
113
|
-
color: ${
|
|
140
|
+
:host(${No}) {
|
|
141
|
+
background-color: ${z};
|
|
142
|
+
color: ${O};
|
|
114
143
|
}
|
|
115
144
|
|
|
116
|
-
:host(
|
|
117
|
-
background-color: ${
|
|
118
|
-
color: ${
|
|
145
|
+
:host(${Eo}) {
|
|
146
|
+
background-color: ${za};
|
|
147
|
+
color: ${rt};
|
|
119
148
|
}
|
|
120
149
|
|
|
121
|
-
:host(
|
|
122
|
-
background-color: ${
|
|
123
|
-
color: ${
|
|
150
|
+
:host(${Ho}) {
|
|
151
|
+
background-color: ${Br};
|
|
152
|
+
color: ${Kt};
|
|
124
153
|
}
|
|
125
154
|
|
|
126
|
-
:host(
|
|
127
|
-
background-color: ${
|
|
128
|
-
color: ${
|
|
155
|
+
:host(${C}) {
|
|
156
|
+
background-color: ${O};
|
|
157
|
+
color: ${z};
|
|
129
158
|
}
|
|
130
159
|
|
|
131
|
-
:host(
|
|
132
|
-
background-color: ${
|
|
133
|
-
color: ${
|
|
160
|
+
:host(${de}) {
|
|
161
|
+
background-color: ${Pr};
|
|
162
|
+
color: ${Kt};
|
|
134
163
|
}
|
|
135
164
|
|
|
136
|
-
:host(
|
|
137
|
-
background-color: ${
|
|
138
|
-
color: ${
|
|
165
|
+
:host(${he}) {
|
|
166
|
+
background-color: ${Ua};
|
|
167
|
+
color: ${Ia};
|
|
139
168
|
}
|
|
140
|
-
`,
|
|
141
|
-
:host(
|
|
142
|
-
color: ${
|
|
169
|
+
`,sn=l.partial`
|
|
170
|
+
:host(${qt}) {
|
|
171
|
+
color: ${js};
|
|
143
172
|
background-color: initial;
|
|
144
173
|
}
|
|
145
174
|
|
|
146
|
-
:host(
|
|
147
|
-
color: ${
|
|
175
|
+
:host(${qt}${Mo}) {
|
|
176
|
+
color: ${Sr};
|
|
148
177
|
}
|
|
149
178
|
|
|
150
|
-
:host(
|
|
151
|
-
color: ${
|
|
179
|
+
:host(${qt}${No}) {
|
|
180
|
+
color: ${z};
|
|
152
181
|
}
|
|
153
182
|
|
|
154
|
-
:host(
|
|
155
|
-
color: ${
|
|
183
|
+
:host(${qt}${Eo}) {
|
|
184
|
+
color: ${rt};
|
|
156
185
|
}
|
|
157
186
|
|
|
158
|
-
:host(
|
|
159
|
-
color: ${
|
|
187
|
+
:host(${qt}${Ho}) {
|
|
188
|
+
color: ${Ar};
|
|
160
189
|
}
|
|
161
190
|
|
|
162
|
-
:host(
|
|
163
|
-
color: ${
|
|
191
|
+
:host(${qt}${C}) {
|
|
192
|
+
color: ${Qe};
|
|
164
193
|
}
|
|
165
194
|
|
|
166
|
-
:host(
|
|
167
|
-
color: ${
|
|
195
|
+
:host(${qt}${de}) {
|
|
196
|
+
color: ${Ga};
|
|
168
197
|
}
|
|
169
198
|
|
|
170
|
-
:host(
|
|
171
|
-
color: ${
|
|
199
|
+
:host(${qt}${he}) {
|
|
200
|
+
color: ${ti};
|
|
172
201
|
}
|
|
173
|
-
`,
|
|
174
|
-
:host(
|
|
202
|
+
`,od=l.partial`
|
|
203
|
+
:host(${R}) {
|
|
175
204
|
border-color: currentColor;
|
|
176
|
-
color: ${
|
|
205
|
+
color: ${js};
|
|
177
206
|
background-color: initial;
|
|
178
207
|
}
|
|
179
208
|
|
|
180
|
-
:host(
|
|
181
|
-
color: ${
|
|
209
|
+
:host(${R}${Mo}) {
|
|
210
|
+
color: ${Sr};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:host(${R}${No}) {
|
|
214
|
+
color: ${rt};
|
|
215
|
+
border-color: ${pe};
|
|
182
216
|
}
|
|
183
217
|
|
|
184
|
-
:host(
|
|
185
|
-
color: ${
|
|
186
|
-
border-color: ${
|
|
218
|
+
:host(${R}${Eo}) {
|
|
219
|
+
color: ${rt};
|
|
220
|
+
border-color: ${oo};
|
|
187
221
|
}
|
|
188
222
|
|
|
189
|
-
:host(
|
|
190
|
-
color: ${
|
|
191
|
-
border-color: ${Oa};
|
|
223
|
+
:host(${R}${Ho}) {
|
|
224
|
+
color: ${Ar};
|
|
192
225
|
}
|
|
193
226
|
|
|
194
|
-
:host(
|
|
195
|
-
color: ${
|
|
227
|
+
:host(${R}${C}) {
|
|
228
|
+
color: ${pr};
|
|
196
229
|
}
|
|
197
230
|
|
|
198
|
-
:host(
|
|
199
|
-
color: ${
|
|
231
|
+
:host(${R}${de}) {
|
|
232
|
+
color: ${qa};
|
|
200
233
|
}
|
|
201
234
|
|
|
202
|
-
:host(
|
|
203
|
-
color: ${
|
|
235
|
+
:host(${R}${he}) {
|
|
236
|
+
color: ${ti};
|
|
237
|
+
}
|
|
238
|
+
`,sd=l.partial`
|
|
239
|
+
:host(${se}) {
|
|
240
|
+
background-color: ${Oa};
|
|
241
|
+
color: ${Sa};
|
|
242
|
+
border-color: ${Zs};
|
|
204
243
|
}
|
|
205
244
|
|
|
206
|
-
:host(
|
|
207
|
-
color: ${
|
|
245
|
+
:host(${se}${Mo}) {
|
|
246
|
+
background-color: ${kr};
|
|
247
|
+
color: ${Cr};
|
|
248
|
+
border-color: ${wr};
|
|
208
249
|
}
|
|
209
|
-
|
|
210
|
-
:host(
|
|
211
|
-
background-color: ${
|
|
212
|
-
color: ${
|
|
250
|
+
|
|
251
|
+
:host(${se}${No}) {
|
|
252
|
+
background-color: ${rt};
|
|
253
|
+
color: ${O};
|
|
254
|
+
border-color: ${nt};
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
:host(${se}${Eo}) {
|
|
258
|
+
background-color: ${Pa};
|
|
259
|
+
color: ${rt};
|
|
260
|
+
border-color: ${oo};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
:host(${se}${Ho}) {
|
|
264
|
+
background-color: ${zr};
|
|
265
|
+
color: ${Wa};
|
|
266
|
+
border-color: ${Tr};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
:host(${se}${C}) {
|
|
270
|
+
background-color: ${O};
|
|
271
|
+
color: ${rt};
|
|
272
|
+
border-color: ${oo};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
:host(${se}${de}) {
|
|
276
|
+
background-color: ${Ir};
|
|
277
|
+
color: ${Ra};
|
|
213
278
|
border-color: ${ja};
|
|
214
279
|
}
|
|
215
280
|
|
|
216
|
-
:host(
|
|
217
|
-
background-color: ${
|
|
218
|
-
color: ${
|
|
219
|
-
border-color: ${
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
:
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
:
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
:
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
:
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
${
|
|
260
|
-
${
|
|
261
|
-
|
|
262
|
-
${
|
|
263
|
-
${
|
|
264
|
-
`,yd=ld.compose({name:Tt.prefix+"-badge",template:dd,styles:vd}),kd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,xd=new WeakMap;function $d(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return kd}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return d}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),k.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!kd)return null;let e=xd.get(this);return e||(e=this.attachInternals(),xd.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Ee({mode:"boolean"})(t.prototype,"disabled"),Ee({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ee({attribute:"current-value"})(t.prototype,"currentValue"),Ee(t.prototype,"name"),Ee({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wd(e){class t extends($d(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Ee({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ee({attribute:"current-checked",converter:Le})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bd extends ot{}class Cd extends($d(Bd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Sd="submit",Pd="reset";class Td extends Cd{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===Sd&&this.addEventListener("click",this.handleSubmission),e===Sd&&this.removeEventListener("click",this.handleSubmission),t===Pd&&this.addEventListener("click",this.handleFormReset),e===Pd&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([Ee({mode:"boolean"})],Td.prototype,"autofocus",void 0),e([Ee({attribute:"form"})],Td.prototype,"formId",void 0),e([Ee],Td.prototype,"formaction",void 0),e([Ee],Td.prototype,"formenctype",void 0),e([Ee],Td.prototype,"formmethod",void 0),e([Ee({mode:"boolean"})],Td.prototype,"formnovalidate",void 0),e([Ee],Td.prototype,"formtarget",void 0),e([Ee],Td.prototype,"type",void 0),e([C],Td.prototype,"defaultSlottedContent",void 0);class Id{}function Ad(e={}){return xe`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Fe("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([Ee({attribute:"aria-expanded"})],Id.prototype,"ariaExpanded",void 0),e([Ee({attribute:"aria-pressed"})],Id.prototype,"ariaPressed",void 0),bt(Id,dt),bt(Td,ut,Id);var Fd=Object.defineProperty,zd=Object.getOwnPropertyDescriptor,Ld=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?zd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Fd(t,o,a),a};class Nd extends Td{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Ld([Ee],Nd.prototype,"appearance",2),Ld([Ee],Nd.prototype,"shape",2),Ld([Ee],Nd.prototype,"size",2),Ld([Ee({attribute:"icon-only",mode:"boolean"})],Nd.prototype,"iconOnly",2),Ld([Ee({attribute:"disabled-focusable",mode:"boolean"})],Nd.prototype,"disabledFocusable",2);const Od=Ad(),Dd=Nd.compose({name:Tt.prefix+"-button",template:Od,styles:Sc,shadowOptions:{delegatesFocus:!0}});class Ed extends ot{}class Md extends(wd(Ed)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Rd extends Md{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}e([C],Rd.prototype,"defaultSlottedNodes",void 0),e([C],Rd.prototype,"indeterminate",void 0);var Hd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,_d=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Vd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Hd(t,o,a),a};class jd extends Rd{}_d([Ee],jd.prototype,"shape",2),_d([Ee],jd.prototype,"size",2),_d([Ee({attribute:"label-position"})],jd.prototype,"labelPosition",2);const Gd={circular:"circular",square:"square"},qd={medium:"medium",large:"large"},Wd={before:"before",after:"after"},Xd=function(e={}){return xe`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${ht(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ht(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Fe("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:xe.partial('\n <div class="checked-indicator">\n <svg fill="currentColor" \n aria-hidden="true" \n width="1em" \n height="1em" \n viewBox="0 0 12 12" \n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:xe.partial('\n <div class="indeterminate-indicator"></div>\n')}),Ud=j`
|
|
265
|
-
${
|
|
266
|
-
|
|
267
|
-
${
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
${
|
|
275
|
-
${
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
${
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
${
|
|
285
|
-
|
|
286
|
-
:host{font-family:${To};font-size:${co};line-height:${ko};font-weight:${Fo};color:${wr}}.asterisk{color:${un};margin-left:${Vo}}:host([size='small']){font-size:${lo};line-height:${yo}}:host([size='large']){font-size:${ho};line-height:${xo};font-weight:${Lo}}:host([weight='semibold']){font-weight:${Lo}}:host([disabled]),:host([disabled]) .asterisk{color:${_r}}`;const Hh=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Vh=Mh.compose({name:Tt.prefix+"-label",template:Hh,styles:Rh});function _h(e){return e.split("-")[1]}function jh(e){return"y"===e?"height":"width"}function Gh(e){return e.split("-")[0]}function qh(e){return["top","bottom"].includes(Gh(e))?"x":"y"}function Wh(e,t,o){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,n=r.y+r.height/2-i.height/2,s=qh(t),l=jh(s),c=r[l]/2-i[l]/2,d="x"===s;let h;switch(Gh(t)){case"top":h={x:a,y:r.y-i.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:n};break;case"left":h={x:r.x-i.width,y:n};break;default:h={x:r.x,y:r.y}}switch(_h(t)){case"start":h[s]-=c*(o&&d?-1:1);break;case"end":h[s]+=c*(o&&d?-1:1)}return h}function Xh(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Uh(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),b=s[u?"floating"===h?"reference":"floating":h],f=Xh(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(b)))||o?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===h?{...n.floating,x:r,y:i}:n.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},k=Xh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return{top:(f.top-k.top+g.top)/y.y,bottom:(k.bottom-f.bottom+g.bottom)/y.y,left:(f.left-k.left+g.left)/y.x,right:(k.right-f.right+g.right)/y.x}}const Yh=Math.min,Kh=Math.max;function Qh(e,t,o){return Kh(e,Yh(t,o))}const Zh=["top","right","bottom","left"];Zh.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Jh={left:"right",right:"left",bottom:"top",top:"bottom"};function eu(e){return e.replace(/left|right|bottom|top/g,e=>Jh[e])}function tu(e,t,o){void 0===o&&(o=!1);const r=_h(e),i=qh(e),a=jh(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=eu(n)),{main:n,cross:eu(n)}}const ou={start:"end",end:"start"};function ru(e){return e.replace(/start|end/g,e=>ou[e])}const iu=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:n,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Gh(r),m=Gh(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[eu(n)]:function(e){const t=eu(e);return[ru(e),t,ru(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=_h(e);let a=function(e,t,o){const r=["left","right"],i=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?a:n;default:return[]}}(Gh(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(ru)))),a}(n,g,p,v));const k=[n,...y],x=await Uh(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&$.push(x[f]),d){const{main:e,cross:t}=tu(r,a,v);$.push(x[e],x[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=n}if(r!==o)return{reset:{placement:o}}}return{}}}};function au(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nu(e){return Zh.some(t=>e[t]>=0)}const su=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:i}=t;switch(o){case"referenceHidden":{const e=au(await Uh(t,{...r,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:nu(e)}}}case"escaped":{const e=au(await Uh(t,{...r,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:nu(e)}}}default:return{}}}}};const lu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await Uh(t,l),h=qh(Gh(i)),u=function(e){return"x"===e?"y":"x"}(h);let p=c[h],g=c[u];if(a){const e="y"===h?"bottom":"right";p=Qh(p+d["y"===h?"top":"left"],p,p-d[e])}if(n){const e="y"===u?"bottom":"right";g=Qh(g+d["y"===u?"top":"left"],g,g-d[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},cu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:a}=t,{apply:n=(()=>{}),...s}=e,l=await Uh(t,s),c=Gh(o),d=_h(o),h="x"===qh(o),{width:u,height:p}=r.floating;let g,b;"top"===c||"bottom"===c?(g=c,b=d===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=c,g="end"===d?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=Yh(u-l.right-l.left,m):v=Yh(p-l.bottom-l.top,f),!t.middlewareData.shift&&!d){const e=Kh(l.left,0),t=Kh(l.right,0),o=Kh(l.top,0),r=Kh(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:Kh(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:Kh(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const k=await i.getDimensions(a.floating);return u!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function du(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function hu(e){return du(e).getComputedStyle(e)}const uu=Math.min,pu=Math.max,gu=Math.round;function bu(e){const t=hu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=gu(o)!==i||gu(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function fu(e){return xu(e)?(e.nodeName||"").toLowerCase():""}let mu;function vu(){if(mu)return mu;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(mu=e.brands.map(e=>e.brand+"/"+e.version).join(" "),mu):navigator.userAgent}function yu(e){return e instanceof du(e).HTMLElement}function ku(e){return e instanceof du(e).Element}function xu(e){return e instanceof du(e).Node}function $u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof du(e).ShadowRoot||e instanceof ShadowRoot)}function wu(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=hu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function Bu(e){return["table","td","th"].includes(fu(e))}function Cu(e){const t=/firefox/i.test(vu()),o=hu(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function Su(){return/^((?!chrome|android).)*safari/i.test(vu())}function Pu(e){return["html","body","#document"].includes(fu(e))}function Tu(e){return ku(e)?e:e.contextElement}const Iu={x:1,y:1};function Au(e){const t=Tu(e);if(!yu(t))return Iu;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=bu(t);let n=(a?gu(o.width):o.width)/r,s=(a?gu(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function Fu(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=Tu(e);let l=Iu;t&&(r?ku(r)&&(l=Au(r)):l=Au(e));const c=s?du(s):window,d=Su()&&o;let h=(n.left+(d&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(d&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=du(s),t=r&&ku(r)?du(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=Au(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=du(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function zu(e){return((xu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lu(e){return ku(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nu(e){return Fu(zu(e)).left+Lu(e).scrollLeft}function Ou(e){if("html"===fu(e))return e;const t=e.assignedSlot||e.parentNode||$u(e)&&e.host||zu(e);return $u(t)?t.host:t}function Du(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=Ou(t);return Pu(o)?o.ownerDocument.body:yu(o)&&wu(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=du(r);return i?t.concat(a,a.visualViewport||[],wu(r)?r:[]):t.concat(r,Du(r))}function Eu(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=du(e),r=zu(e),i=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,s=0,l=0;if(i){a=i.width,n=i.height;const e=Su();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:n,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=zu(e),o=Lu(e),r=e.ownerDocument.body,i=pu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=pu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Nu(e);const s=-o.scrollTop;return"rtl"===hu(r).direction&&(n+=pu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(zu(e));else if(ku(t))r=function(e,t){const o=Fu(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=yu(e)?Au(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,o);else{const o={...t};if(Su()){var i,a;const t=du(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}r=o}return Xh(r)}function Mu(e,t){return yu(e)&&"fixed"!==hu(e).position?t?t(e):e.offsetParent:null}function Ru(e,t){const o=du(e);let r=Mu(e,t);for(;r&&Bu(r)&&"static"===hu(r).position;)r=Mu(r,t);return r&&("html"===fu(r)||"body"===fu(r)&&"static"===hu(r).position&&!Cu(r))?o:r||function(e){let t=Ou(e);for(;yu(t)&&!Pu(t);){if(Cu(t))return t;t=Ou(t)}return null}(e)||o}function Hu(e,t,o){const r=yu(t),i=zu(t),a=Fu(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==fu(t)||wu(i))&&(n=Lu(t)),yu(t)){const e=Fu(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Nu(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const Vu={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Du(e).filter(e=>ku(e)&&"body"!==fu(e)),i=null;const a="fixed"===hu(e).position;let n=a?Ou(e):e;for(;ku(n)&&!Pu(n);){const e=hu(n),t=Cu(n);(a?t||i:t||"static"!==e.position||!i||!["absolute","fixed"].includes(i.position))?i=e:r=r.filter(e=>e!==n),n=Ou(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=Eu(t,o,i);return e.top=pu(r.top,e.top),e.right=uu(r.right,e.right),e.bottom=uu(r.bottom,e.bottom),e.left=pu(r.left,e.left),e},Eu(t,n,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const i=yu(o),a=zu(o);if(o===a)return t;let n={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==fu(o)||wu(a))&&(n=Lu(o)),yu(o))){const e=Fu(o);s=Au(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-n.scrollLeft*s.x+l.x,y:t.y*s.y-n.scrollTop*s.y+l.y}},isElement:ku,getDimensions:function(e){return yu(e)?bu(e):e.getBoundingClientRect()},getOffsetParent:Ru,getDocumentElement:zu,getScale:Au,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||Ru,a=this.getDimensions;return{reference:Hu(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===hu(e).direction};function _u(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=!0,animationFrame:s=!1}=r,l=i&&!s,c=l||a?[...ku(e)?Du(e):e.contextElement?Du(e.contextElement):[],...Du(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let d,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),ku(e)&&!s&&h.observe(e),ku(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?Fu(e):null;return s&&function t(){const r=Fu(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o(),u=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(d)}}const ju=(e,t,o)=>{const r=new Map,i={platform:Vu,...o},a={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=o,s=a.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));let c=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=Wh(c,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:a,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:d,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:c,platform:n,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:h}=Wh(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};var Gu=Object.defineProperty,qu=Object.getOwnPropertyDescriptor,Wu=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?qu(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Gu(t,o,a),a};class Xu extends ot{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),k.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&k.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&k.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&k.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=_u(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:i}=await ju(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[iu(),cu({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),su()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${i}px)`})}))}addListeners(){var e,t,o,r,i;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(i=this._trigger)||i.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,i;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(i=this._trigger)||i.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}Wu([C,Ee({attribute:"open-on-hover",mode:"boolean"})],Xu.prototype,"openOnHover",2),Wu([C,Ee({attribute:"open-on-context",mode:"boolean"})],Xu.prototype,"openOnContext",2),Wu([C,Ee({attribute:"close-on-scroll",mode:"boolean"})],Xu.prototype,"closeOnScroll",2),Wu([C,Ee({attribute:"persist-on-item-click",mode:"boolean"})],Xu.prototype,"persistOnItemClick",2),Wu([C,Ee({mode:"boolean"})],Xu.prototype,"open",2),Wu([C],Xu.prototype,"slottedMenuList",2),Wu([C],Xu.prototype,"slottedTriggers",2);const Uu=xe`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Fe({property:"slottedTriggers",filter:Te()})}></slot><span ${we("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Fe({property:"slottedMenuList",filter:Te()})}></slot></span></template>`,Yu=j`
|
|
287
|
-
|
|
288
|
-
${
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
${
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
${
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
${
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
${
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
:host{
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
:host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),$b=fb.compose({name:Tt.prefix+"-toggle-button",template:kb,styles:xb,shadowOptions:{delegatesFocus:!0}}),wb=Object.keys(cc),Bb=e=>{for(const t of wb)cc[t].withDefault(e[t])},Cb=(e,t)=>{for(const o of wb)cc[o].setValueFor(e,t[o])};export{kt as Accordion,Lt as AccordionItem,Ot as AccordionItemExpandIconPosition,Nt as AccordionItemSize,vc as AnchorButton,$c as AnchorButtonAppearance,Tc as AnchorButtonDefinition,wc as AnchorButtonShape,Bc as AnchorButtonSize,Cc as AnchorButtonTemplate,qc as Avatar,Oc as AvatarActive,Ec as AvatarAppearance,Rc as AvatarColor,Jc as AvatarDefinition,Mc as AvatarNamedColor,Dc as AvatarShape,Hc as AvatarSize,Zc as AvatarStyles,Uc as AvatarTemplate,ld as Badge,td as BadgeAppearance,od as BadgeColor,yd as BadgeDefinition,rd as BadgeShape,id as BadgeSize,vd as BadgeStyles,dd as BadgeTemplate,Nd as Button,yc as ButtonAppearance,Dd as ButtonDefinition,kc as ButtonShape,xc as ButtonSize,Sc as ButtonStyles,Od as ButtonTemplate,jd as Checkbox,Yd as CheckboxDefinition,Wd as CheckboxLabelPosition,Gd as CheckboxShape,qd as CheckboxSize,Ud as CheckboxStyles,Xd as CheckboxTemplate,Kd as CompoundButton,Qd as CompoundButtonAppearance,oh as CompoundButtonDefinition,Zd as CompoundButtonShape,Jd as CompoundButtonSize,th as CompoundButtonStyles,eh as CompoundButtonTemplate,nh as CounterBadge,sh as CounterBadgeAppearance,lh as CounterBadgeColor,ph as CounterBadgeDefinition,ch as CounterBadgeShape,dh as CounterBadgeSize,uh as CounterBadgeStyles,hh as CounterBadgeTemplate,kh as Divider,xh as DividerAlignContent,$h as DividerAppearance,Ch as DividerDefinition,bh as DividerOrientation,gh as DividerRole,Bh as DividerStyles,wh as DividerTemplate,Tt as FluentDesignSystem,Ih as Image,Nh as ImageDefinition,Ah as ImageFit,Fh as ImageShape,Lh as ImageStyles,zh as ImageTemplate,Mh as Label,Vh as LabelDefinition,Rh as LabelStyles,Hh as LabelTemplate,Xu as Menu,Qu as MenuButton,Zu as MenuButtonAppearance,op as MenuButtonDefinition,Ju as MenuButtonShape,ep as MenuButtonSize,Sc as MenuButtonStyles,tp as MenuButtonTemplate,Ku as MenuDefinition,ap as MenuItem,cp as MenuItemDefinition,rp as MenuItemRole,lp as MenuItemStyles,sp as MenuItemTemplate,hp as MenuList,gp as MenuListDefinition,pp as MenuListStyles,up as MenuListTemplate,Yu as MenuStyles,Uu as MenuTemplate,kp as ProgressBar,Sp as ProgressBarDefinition,$p as ProgressBarShape,Bp as ProgressBarStyles,Cp as ProgressBarTemplate,xp as ProgressBarThickness,wp as ProgressBarValidationState,Ap as Radio,Lp as RadioDefinition,Mp as RadioGroup,Vp as RadioGroupDefinition,Np as RadioGroupOrientation,Rp as RadioGroupStyles,Hp as RadioGroupTemplate,Fp as RadioStyles,zp as RadioTemplate,Kp as Slider,eg as SliderDefinition,qp as SliderOrientation,Qp as SliderSize,Zp as SliderStyles,Jp as SliderTemplate,ag as Spinner,ng as SpinnerAppearance,dg as SpinnerDefinition,sg as SpinnerSize,cg as SpinnerStyles,lg as SpinnerTemplate,fg as Switch,kg as SwitchDefinition,mg as SwitchLabelPosition,yg as SwitchStyles,vg as SwitchTemplate,Lg as Tab,Dg as TabDefinition,Mg as TabPanel,Vg as TabPanelDefinition,Hg as TabPanelStyles,Rg as TabPanelTemplate,Og as TabStyles,Ng as TabTemplate,Tg as Tabs,wg as TabsAppearance,Fg as TabsDefinition,xg as TabsOrientation,Bg as TabsSize,Ag as TabsStyles,Ig as TabsTemplate,qg as Text,Yg as TextAlign,Zg as TextDefinition,Xg as TextFont,sb as TextInput,cb as TextInputAppearance,lb as TextInputControlSize,ub as TextInputDefinition,hb as TextInputStyles,db as TextInputTemplate,tb as TextInputType,Wg as TextSize,Qg as TextStyles,Kg as TextTemplate,Ug as TextWeight,fb as ToggleButton,mb as ToggleButtonAppearance,$b as ToggleButtonDefinition,vb as ToggleButtonShape,yb as ToggleButtonSize,xb as ToggleButtonStyles,kb as ToggleButtonTemplate,It as accordionDefinition,uc as accordionItemDefinition,dc as accordionItemStyles,hc as accordionItemTemplate,Pt as accordionStyles,xt as accordionTemplate,no as borderRadiusCircular,io as borderRadiusLarge,ro as borderRadiusMedium,to as borderRadiusNone,oo as borderRadiusSmall,ao as borderRadiusXLarge,ua as colorBackgroundOverlay,ga as colorBrandBackground,$a as colorBrandBackground2,ba as colorBrandBackgroundHover,wa as colorBrandBackgroundInverted,Ba as colorBrandBackgroundInvertedHover,Ca as colorBrandBackgroundInvertedPressed,Sa as colorBrandBackgroundInvertedSelected,fa as colorBrandBackgroundPressed,ma as colorBrandBackgroundSelected,xa as colorBrandBackgroundStatic,ti as colorBrandForeground1,oi as colorBrandForeground2,bi as colorBrandForegroundInverted,fi as colorBrandForegroundInvertedHover,mi as colorBrandForegroundInvertedPressed,Gr as colorBrandForegroundLink,qr as colorBrandForegroundLinkHover,Wr as colorBrandForegroundLinkPressed,Xr as colorBrandForegroundLinkSelected,vi as colorBrandForegroundOnLight,yi as colorBrandForegroundOnLightHover,ki as colorBrandForegroundOnLightPressed,xi as colorBrandForegroundOnLightSelected,sn as colorBrandShadowAmbient,ln as colorBrandShadowKey,_a as colorBrandStroke1,ja as colorBrandStroke2,va as colorCompoundBrandBackground,ya as colorCompoundBrandBackgroundHover,ka as colorCompoundBrandBackgroundPressed,Zr as colorCompoundBrandForeground1,Jr as colorCompoundBrandForeground1Hover,ei as colorCompoundBrandForeground1Pressed,Ga as colorCompoundBrandStroke,qa as colorCompoundBrandStrokeHover,Wa as colorCompoundBrandStrokePressed,$i as colorNeutralBackground1,wi as colorNeutralBackground1Hover,Bi as colorNeutralBackground1Pressed,Ci as colorNeutralBackground1Selected,Si as colorNeutralBackground2,Pi as colorNeutralBackground2Hover,Ti as colorNeutralBackground2Pressed,Ii as colorNeutralBackground2Selected,Ai as colorNeutralBackground3,Fi as colorNeutralBackground3Hover,zi as colorNeutralBackground3Pressed,Li as colorNeutralBackground3Selected,Ni as colorNeutralBackground4,Oi as colorNeutralBackground4Hover,Di as colorNeutralBackground4Pressed,Ei as colorNeutralBackground4Selected,Mi as colorNeutralBackground5,Ri as colorNeutralBackground5Hover,Hi as colorNeutralBackground5Pressed,Vi as colorNeutralBackground5Selected,_i as colorNeutralBackground6,na as colorNeutralBackgroundDisabled,ji as colorNeutralBackgroundInverted,sa as colorNeutralBackgroundInvertedDisabled,Gi as colorNeutralBackgroundStatic,wr as colorNeutralForeground1,Br as colorNeutralForeground1Hover,Cr as colorNeutralForeground1Pressed,Sr as colorNeutralForeground1Selected,ri as colorNeutralForeground1Static,Pr as colorNeutralForeground2,Fr as colorNeutralForeground2BrandHover,zr as colorNeutralForeground2BrandPressed,Lr as colorNeutralForeground2BrandSelected,Tr as colorNeutralForeground2Hover,Ur as colorNeutralForeground2Link,Yr as colorNeutralForeground2LinkHover,Kr as colorNeutralForeground2LinkPressed,Qr as colorNeutralForeground2LinkSelected,Ir as colorNeutralForeground2Pressed,Ar as colorNeutralForeground2Selected,Nr as colorNeutralForeground3,Mr as colorNeutralForeground3BrandHover,Rr as colorNeutralForeground3BrandPressed,Hr as colorNeutralForeground3BrandSelected,Or as colorNeutralForeground3Hover,Dr as colorNeutralForeground3Pressed,Er as colorNeutralForeground3Selected,Vr as colorNeutralForeground4,_r as colorNeutralForegroundDisabled,ai as colorNeutralForegroundInverted,ci as colorNeutralForegroundInverted2,jr as colorNeutralForegroundInvertedDisabled,ni as colorNeutralForegroundInvertedHover,hi as colorNeutralForegroundInvertedLink,ui as colorNeutralForegroundInvertedLinkHover,pi as colorNeutralForegroundInvertedLinkPressed,gi as colorNeutralForegroundInvertedLinkSelected,si as colorNeutralForegroundInvertedPressed,li as colorNeutralForegroundInvertedSelected,di as colorNeutralForegroundOnBrand,ii as colorNeutralForegroundStaticInverted,en as colorNeutralShadowAmbient,an as colorNeutralShadowAmbientDarker,on as colorNeutralShadowAmbientLighter,tn as colorNeutralShadowKey,nn as colorNeutralShadowKeyDarker,rn as colorNeutralShadowKeyLighter,la as colorNeutralStencil1,da as colorNeutralStencil1Alpha,ca as colorNeutralStencil2,ha as colorNeutralStencil2Alpha,Fa as colorNeutralStroke1,za as colorNeutralStroke1Hover,La as colorNeutralStroke1Pressed,Na as colorNeutralStroke1Selected,Oa as colorNeutralStroke2,Da as colorNeutralStroke3,Pa as colorNeutralStrokeAccessible,Ta as colorNeutralStrokeAccessibleHover,Ia as colorNeutralStrokeAccessiblePressed,Aa as colorNeutralStrokeAccessibleSelected,Xa as colorNeutralStrokeDisabled,Ua as colorNeutralStrokeInvertedDisabled,Ea as colorNeutralStrokeOnBrand,Ma as colorNeutralStrokeOnBrand2,Ra as colorNeutralStrokeOnBrand2Hover,Ha as colorNeutralStrokeOnBrand2Pressed,Va as colorNeutralStrokeOnBrand2Selected,ql as colorPaletteAnchorBackground2,Xl as colorPaletteAnchorBorderActive,Wl as colorPaletteAnchorForeground2,Dl as colorPaletteBeigeBackground2,Ml as colorPaletteBeigeBorderActive,El as colorPaletteBeigeForeground2,qn as colorPaletteBerryBackground1,Wn as colorPaletteBerryBackground2,Xn as colorPaletteBerryBackground3,Zn as colorPaletteBerryBorder1,Jn as colorPaletteBerryBorder2,Qn as colorPaletteBerryBorderActive,Un as colorPaletteBerryForeground1,Yn as colorPaletteBerryForeground2,Kn as colorPaletteBerryForeground3,rl as colorPaletteBlueBackground2,al as colorPaletteBlueBorderActive,il as colorPaletteBlueForeground2,Ls as colorPaletteBrassBackground2,Os as colorPaletteBrassBorderActive,Ns as colorPaletteBrassForeground2,Ds as colorPaletteBrownBackground2,Ms as colorPaletteBrownBorderActive,Es as colorPaletteBrownForeground2,cl as colorPaletteCornflowerBackground2,hl as colorPaletteCornflowerBorderActive,dl as colorPaletteCornflowerForeground2,xs as colorPaletteCranberryBackground2,ws as colorPaletteCranberryBorderActive,$s as colorPaletteCranberryForeground2,qs as colorPaletteDarkGreenBackground2,Xs as colorPaletteDarkGreenBorderActive,Ws as colorPaletteDarkGreenForeground2,Pn as colorPaletteDarkOrangeBackground1,Tn as colorPaletteDarkOrangeBackground2,In as colorPaletteDarkOrangeBackground3,Nn as colorPaletteDarkOrangeBorder1,On as colorPaletteDarkOrangeBorder2,Ln as colorPaletteDarkOrangeBorderActive,An as colorPaletteDarkOrangeForeground1,Fn as colorPaletteDarkOrangeForeground2,zn as colorPaletteDarkOrangeForeground3,vs as colorPaletteDarkRedBackground2,ks as colorPaletteDarkRedBorderActive,ys as colorPaletteDarkRedForeground2,Rs as colorPaletteForestBackground2,Vs as colorPaletteForestBorderActive,Hs as colorPaletteForestForeground2,As as colorPaletteGoldBackground2,zs as colorPaletteGoldBorderActive,Fs as colorPaletteGoldForeground2,xl as colorPaletteGrapeBackground2,wl as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,vn as colorPaletteGreenBackground1,yn as colorPaletteGreenBackground2,kn as colorPaletteGreenBackground3,Cn as colorPaletteGreenBorder1,Sn as colorPaletteGreenBorder2,Bn as colorPaletteGreenBorderActive,xn as colorPaletteGreenForeground1,$n as colorPaletteGreenForeground2,wn as colorPaletteGreenForeground3,Yl as colorPaletteGreenForegroundInverted,bl as colorPaletteLavenderBackground2,ml as colorPaletteLavenderBorderActive,fl as colorPaletteLavenderForeground2,es as colorPaletteLightGreenBackground1,ts as colorPaletteLightGreenBackground2,os as colorPaletteLightGreenBackground3,ss as colorPaletteLightGreenBorder1,ls as colorPaletteLightGreenBorder2,ns as colorPaletteLightGreenBorderActive,rs as colorPaletteLightGreenForeground1,is as colorPaletteLightGreenForeground2,as as colorPaletteLightGreenForeground3,Us as colorPaletteLightTealBackground2,Ks as colorPaletteLightTealBorderActive,Ys as colorPaletteLightTealForeground2,Bl as colorPaletteLilacBackground2,Sl as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Al as colorPaletteMagentaBackground2,zl as colorPaletteMagentaBorderActive,Fl as colorPaletteMagentaForeground2,cs as colorPaletteMarigoldBackground1,ds as colorPaletteMarigoldBackground2,hs as colorPaletteMarigoldBackground3,fs as colorPaletteMarigoldBorder1,ms as colorPaletteMarigoldBorder2,bs as colorPaletteMarigoldBorderActive,us as colorPaletteMarigoldForeground1,ps as colorPaletteMarigoldForeground2,gs as colorPaletteMarigoldForeground3,Rl as colorPaletteMinkBackground2,Vl as colorPaletteMinkBorderActive,Hl as colorPaletteMinkForeground2,ul as colorPaletteNavyBackground2,gl as colorPaletteNavyBorderActive,pl as colorPaletteNavyForeground2,Ps as colorPalettePeachBackground2,Is as colorPalettePeachBorderActive,Ts as colorPalettePeachForeground2,Pl as colorPalettePinkBackground2,Il as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,_l as colorPalettePlatinumBackground2,Gl as colorPalettePlatinumBorderActive,jl as colorPalettePlatinumForeground2,Ll as colorPalettePlumBackground2,Ol as colorPalettePlumBorderActive,Nl as colorPalettePlumForeground2,Bs as colorPalettePumpkinBackground2,Ss as colorPalettePumpkinBorderActive,Cs as colorPalettePumpkinForeground2,vl as colorPalettePurpleBackground2,kl as colorPalettePurpleBorderActive,yl as colorPalettePurpleForeground2,cn as colorPaletteRedBackground1,dn as colorPaletteRedBackground2,hn as colorPaletteRedBackground3,fn as colorPaletteRedBorder1,mn as colorPaletteRedBorder2,bn as colorPaletteRedBorderActive,un as colorPaletteRedForeground1,pn as colorPaletteRedForeground2,gn as colorPaletteRedForeground3,Ul as colorPaletteRedForegroundInverted,nl as colorPaletteRoyalBlueBackground2,ll as colorPaletteRoyalBlueBorderActive,sl as colorPaletteRoyalBlueForeground2,_s as colorPaletteSeafoamBackground2,Gs as colorPaletteSeafoamBorderActive,js as colorPaletteSeafoamForeground2,el as colorPaletteSteelBackground2,ol as colorPaletteSteelBorderActive,tl as colorPaletteSteelForeground2,Qs as colorPaletteTealBackground2,Js as colorPaletteTealBorderActive,Zs as colorPaletteTealForeground2,Dn as colorPaletteYellowBackground1,En as colorPaletteYellowBackground2,Mn as colorPaletteYellowBackground3,jn as colorPaletteYellowBorder1,Gn as colorPaletteYellowBorder2,_n as colorPaletteYellowBorderActive,Rn as colorPaletteYellowForeground1,Hn as colorPaletteYellowForeground2,Vn as colorPaletteYellowForeground3,Kl as colorPaletteYellowForegroundInverted,pa as colorScrollbarOverlay,Za as colorStrokeFocus1,Ja as colorStrokeFocus2,qi as colorSubtleBackground,Wi as colorSubtleBackgroundHover,Zi as colorSubtleBackgroundInverted,Ji as colorSubtleBackgroundInvertedHover,ea as colorSubtleBackgroundInvertedPressed,ta as colorSubtleBackgroundInvertedSelected,Yi as colorSubtleBackgroundLightAlphaHover,Ki as colorSubtleBackgroundLightAlphaPressed,Qi as colorSubtleBackgroundLightAlphaSelected,Xi as colorSubtleBackgroundPressed,Ui as colorSubtleBackgroundSelected,oa as colorTransparentBackground,ra as colorTransparentBackgroundHover,ia as colorTransparentBackgroundPressed,aa as colorTransparentBackgroundSelected,Ya as colorTransparentStroke,Qa as colorTransparentStrokeDisabled,Ka as colorTransparentStrokeInteractive,gr as curveAccelerateMax,br as curveAccelerateMid,fr as curveAccelerateMin,mr as curveDecelerateMax,vr as curveDecelerateMid,yr as curveDecelerateMin,xr as curveEasyEase,kr as curveEasyEaseMax,$r as curveLinear,cr as durationFast,lr as durationFaster,dr as durationNormal,hr as durationSlow,ur as durationSlower,sr as durationUltraFast,pr as durationUltraSlow,To as fontFamilyBase,Io as fontFamilyMonospace,Ao as fontFamilyNumeric,so as fontSizeBase100,lo as fontSizeBase200,co as fontSizeBase300,ho as fontSizeBase400,uo as fontSizeBase500,po as fontSizeBase600,mo as fontSizeHero1000,go as fontSizeHero700,bo as fontSizeHero800,fo as fontSizeHero900,No as fontWeightBold,zo as fontWeightMedium,Fo as fontWeightRegular,Lo as fontWeightSemibold,vo as lineHeightBase100,yo as lineHeightBase200,ko as lineHeightBase300,xo as lineHeightBase400,$o as lineHeightBase500,wo as lineHeightBase600,Po as lineHeightHero1000,Bo as lineHeightHero700,Co as lineHeightHero800,So as lineHeightHero900,Bb as setTheme,Cb as setThemeFor,ec as shadow16,nc as shadow16Brand,Ql as shadow2,tc as shadow28,sc as shadow28Brand,rc as shadow2Brand,Zl as shadow4,ic as shadow4Brand,oc as shadow64,lc as shadow64Brand,Jl as shadow8,ac as shadow8Brand,Wo as spacingHorizontalL,qo as spacingHorizontalM,Go as spacingHorizontalMNudge,Ro as spacingHorizontalNone,jo as spacingHorizontalS,_o as spacingHorizontalSNudge,Xo as spacingHorizontalXL,Vo as spacingHorizontalXS,Uo as spacingHorizontalXXL,Ho as spacingHorizontalXXS,Yo as spacingHorizontalXXXL,rr as spacingVerticalL,or as spacingVerticalM,tr as spacingVerticalMNudge,Ko as spacingVerticalNone,er as spacingVerticalS,Jo as spacingVerticalSNudge,ir as spacingVerticalXL,Zo as spacingVerticalXS,ar as spacingVerticalXXL,Qo as spacingVerticalXXS,nr as spacingVerticalXXXL,Do as strokeWidthThick,Eo as strokeWidthThicker,Mo as strokeWidthThickest,Oo as strokeWidthThin};
|
|
281
|
+
:host(${se}${he}) {
|
|
282
|
+
background-color: ${Xa};
|
|
283
|
+
color: ${ti};
|
|
284
|
+
border-color: ${Ka};
|
|
285
|
+
}
|
|
286
|
+
`;l.partial`
|
|
287
|
+
font-family: ${$};
|
|
288
|
+
font-size: ${T};
|
|
289
|
+
line-height: ${D};
|
|
290
|
+
font-weight: ${M};
|
|
291
|
+
`,l.partial`
|
|
292
|
+
font-family: ${$};
|
|
293
|
+
font-size: ${T};
|
|
294
|
+
line-height: ${D};
|
|
295
|
+
font-weight: ${N};
|
|
296
|
+
`,l.partial`
|
|
297
|
+
font-family: ${$};
|
|
298
|
+
font-size: ${T};
|
|
299
|
+
line-height: ${D};
|
|
300
|
+
font-weight: ${Ko};
|
|
301
|
+
`,l.partial`
|
|
302
|
+
font-family: ${$};
|
|
303
|
+
font-size: ${ct};
|
|
304
|
+
line-height: ${kt};
|
|
305
|
+
font-weight: ${M};
|
|
306
|
+
`,l.partial`
|
|
307
|
+
font-family: ${$};
|
|
308
|
+
font-size: ${q};
|
|
309
|
+
line-height: ${ot};
|
|
310
|
+
font-weight: ${M};
|
|
311
|
+
`,l.partial`
|
|
312
|
+
font-family: ${$};
|
|
313
|
+
font-size: ${q};
|
|
314
|
+
line-height: ${ot};
|
|
315
|
+
font-weight: ${N};
|
|
316
|
+
`,l.partial`
|
|
317
|
+
font-family: ${$};
|
|
318
|
+
font-size: ${q};
|
|
319
|
+
line-height: ${ot};
|
|
320
|
+
font-weight: ${Ko};
|
|
321
|
+
`,l.partial`
|
|
322
|
+
font-family: ${$};
|
|
323
|
+
font-size: ${so};
|
|
324
|
+
line-height: ${Yo};
|
|
325
|
+
font-weight: ${M};
|
|
326
|
+
`,l.partial`
|
|
327
|
+
font-family: ${$};
|
|
328
|
+
font-size: ${so};
|
|
329
|
+
line-height: ${Yo};
|
|
330
|
+
font-weight: ${N};
|
|
331
|
+
`;const id=l.partial`
|
|
332
|
+
font-family: ${$};
|
|
333
|
+
font-size: ${Te};
|
|
334
|
+
line-height: ${Qo};
|
|
335
|
+
font-weight: ${N};
|
|
336
|
+
`;l.partial`
|
|
337
|
+
font-family: ${$};
|
|
338
|
+
font-size: ${ct};
|
|
339
|
+
line-height: ${kt};
|
|
340
|
+
font-weight: ${N};
|
|
341
|
+
`,l.partial`
|
|
342
|
+
font-family: ${$};
|
|
343
|
+
font-size: ${ct};
|
|
344
|
+
line-height: ${kt};
|
|
345
|
+
font-weight: ${Ko};
|
|
346
|
+
`,l.partial`
|
|
347
|
+
font-family: ${$};
|
|
348
|
+
font-size: ${Nr};
|
|
349
|
+
line-height: ${Vr};
|
|
350
|
+
font-weight: ${N};
|
|
351
|
+
`,l.partial`
|
|
352
|
+
font-family: ${$};
|
|
353
|
+
font-size: ${Mr};
|
|
354
|
+
line-height: ${Dr};
|
|
355
|
+
font-weight: ${N};
|
|
356
|
+
`,l.partial`
|
|
357
|
+
font-family: ${$};
|
|
358
|
+
font-size: ${Uo};
|
|
359
|
+
line-height: ${Hr};
|
|
360
|
+
font-weight: ${N};
|
|
361
|
+
`,l.partial`
|
|
362
|
+
font-family: ${$};
|
|
363
|
+
font-size: ${Er};
|
|
364
|
+
line-height: ${jr};
|
|
365
|
+
font-weight: ${N};
|
|
366
|
+
`,l.partial`
|
|
367
|
+
font-family: ${$};
|
|
368
|
+
font-size: ${Lr};
|
|
369
|
+
line-height: ${Rr};
|
|
370
|
+
font-weight: ${N};
|
|
371
|
+
`;const rd=l`
|
|
372
|
+
:host(${Xe}){border-radius:${ei}}:host(${Gt}){border-radius:${B}}:host(${Gt}${Ue}),:host(${Gt}${Ke}),:host(${Gt}${_}){border-radius:${Ot}}${en}
|
|
373
|
+
${on}
|
|
374
|
+
${sn}
|
|
375
|
+
${od}
|
|
376
|
+
${sd}
|
|
377
|
+
${tn}
|
|
378
|
+
`.withBehaviors(Z(l`
|
|
379
|
+
:host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}`));function rn(o={}){return f` ${Vt(o)}<slot>${gt(o.defaultContent)}</slot>${oe(o)} `}const nd=rn(),ad=Fe.compose({name:`${p.prefix}-badge`,template:nd,styles:rd});ad.define(p.registry);var ld=Object.defineProperty,cd=Object.getOwnPropertyDescriptor,G=(o,t,e,s)=>{for(var i=s>1?void 0:s?cd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&ld(t,e,i),i};class tt extends x{constructor(){super(),this.disabledFocusable=!1,this.tabIndex=0,this.elementInternals=this.attachInternals(),this.elementInternals.role="button"}disabledFocusableChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=`${!!e}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(t,e){e!==os.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===To||t.key===Es){this.click();return}return!0}press(){switch(this.type){case os.reset:{this.resetForm();break}case os.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==os.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)}}}}tt.formAssociated=!0,G([a({mode:"boolean"})],tt.prototype,"autofocus",2),G([k],tt.prototype,"defaultSlottedContent",2),G([a({mode:"boolean"})],tt.prototype,"disabled",2),G([a({attribute:"disabled-focusable",mode:"boolean"})],tt.prototype,"disabledFocusable",2),G([a({attribute:"tabindex",mode:"fromView",converter:st})],tt.prototype,"tabIndex",2),G([a({attribute:"formaction"})],tt.prototype,"formAction",2),G([a({attribute:"form"})],tt.prototype,"formAttribute",2),G([a({attribute:"formenctype"})],tt.prototype,"formEnctype",2),G([a({attribute:"formmethod"})],tt.prototype,"formMethod",2),G([a({attribute:"formnovalidate",mode:"boolean"})],tt.prototype,"formNoValidate",2),G([a({attribute:"formtarget"})],tt.prototype,"formTarget",2),G([a],tt.prototype,"name",2),G([a],tt.prototype,"type",2),G([a],tt.prototype,"value",2);class Jt extends tt{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}iconOnlyChanged(t,e){c(this.elementInternals,"icon",e)}}G([a],Jt.prototype,"appearance",2),G([a],Jt.prototype,"shape",2),G([a],Jt.prototype,"size",2),G([a({attribute:"icon-only",mode:"boolean"})],Jt.prototype,"iconOnly",2),jt(Jt,Dt);function ci(o={}){return f`<template tabindex="${t=>t.disabled?null:t.tabIndex??0}" @click="${(t,e)=>t.clickHandler(e.event)}" @keypress="${(t,e)=>t.keypressHandler(e.event)}">${Vt(o)}<span class="content" part="content"><slot ${ut("defaultSlottedContent")}></slot></span>${oe(o)}</template>`}const dd=ci(),hd=Jt.compose({name:`${p.prefix}-button`,template:dd,styles:ss});hd.define(p.registry);var ud=Object.defineProperty,pd=Object.getOwnPropertyDescriptor,Ct=(o,t,e,s)=>{for(var i=s>1?void 0:s?pd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&ud(t,e,i),i};class mt extends x{constructor(){super(...arguments),this.initialValue="on",this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue}get checked(){return m.track(this,"checked"),!!this._checked}set checked(t){this._checked=t,this.setFormValue(t?this.value:null),this.setValidity(),this.setAriaChecked(),c(this.elementInternals,"checked",t),m.notify(this,"checked")}disabledChanged(t,e){this.elementInternals.ariaDisabled=this.disabled?"true":"false",c(this.elementInternals,"disabled",this.disabled)}disabledAttributeChanged(t,e){this.disabled=!!e}initialCheckedChanged(t,e){this.dirtyChecked||(this.checked=!!e)}initialValueChanged(t,e){this._value=e}requiredChanged(t,e){this.$fastController.isConnected&&(this.setValidity(),this.elementInternals.ariaRequired=this.required?"true":"false")}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const t=document.createElement("input");t.type="checkbox",t.required=!0,t.checked=!1,this._validationFallbackMessage=t.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.setFormValue(t),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){if(this.disabled)return;this.dirtyChecked=!0;const e=this.checked;return this.toggleChecked(),e!==this.checked&&(this.$emit("change"),this.$emit("input")),!0}connectedCallback(){super.connectedCallback(),this.setAriaChecked(),this.setValidity()}inputHandler(t){return this.setFormValue(this.value),this.setValidity(),!0}keydownHandler(t){if(t.key!==" ")return!0}keyupHandler(t){if(t.key!==" ")return!0;this.click()}formResetCallback(){this.checked=this.initialChecked??!1,this.dirtyChecked=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setAriaChecked(t=this.checked){this.elementInternals.ariaChecked=t?"true":"false"}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setCustomValidity(t){this.elementInternals.setValidity({customError:!0},t),this.setValidity()}setValidity(t,e,s){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:!!this.required&&!this.checked,...t},e??this.validationMessage,s)}}toggleChecked(t=!this.checked){this.checked=t}}mt.formAssociated=!0,Ct([a({mode:"boolean"})],mt.prototype,"autofocus",2),Ct([k],mt.prototype,"disabled",2),Ct([a({attribute:"disabled",mode:"boolean"})],mt.prototype,"disabledAttribute",2),Ct([a({attribute:"form"})],mt.prototype,"formAttribute",2),Ct([a({attribute:"checked",mode:"boolean"})],mt.prototype,"initialChecked",2),Ct([a({attribute:"value",mode:"fromView"})],mt.prototype,"initialValue",2),Ct([a],mt.prototype,"name",2),Ct([a({mode:"boolean"})],mt.prototype,"required",2);class ns extends mt{indeterminateChanged(t,e){this.setAriaChecked(),c(this.elementInternals,"indeterminate",e)}shapeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}sizeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}constructor(){super(),this.elementInternals.role="checkbox"}setAriaChecked(t=this.checked){if(this.indeterminate){this.elementInternals.ariaChecked="mixed";return}super.setAriaChecked(t)}toggleChecked(t=!this.checked){this.indeterminate=!1,super.toggleChecked(t)}}Ct([k],ns.prototype,"indeterminate",2),Ct([a],ns.prototype,"shape",2),Ct([a],ns.prototype,"size",2);const be=l.partial`:is([state--indeterminate], :state(indeterminate))`,gd=l`
|
|
380
|
+
${w("inline-flex")}
|
|
381
|
+
|
|
382
|
+
:host{--size:16px;background-color:${O};border-radius:${Ot};border:${U} solid ${pe};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${to}}:host(:active){border-color:${eo}}:host(${v}:hover){background-color:${Ze};border-color:${Ea}}:host(${v}:active){background-color:${Je};border-color:${vr}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${xt} solid ${nt};border-radius:${B}}:host(:not([slot='input']):focus-visible)::after{border-color:${_t}}.indeterminate-indicator,.checked-indicator{color:${Qe};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${v})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${v}),:host(${be}){border-color:${Xo}}:host(${v}),:host(${be}) .indeterminate-indicator{background-color:${Be}}:host(${be}) .indeterminate-indicator{border-radius:${Ot};position:absolute;width:calc(var(--size) / 2);inset:0}:host(${S}){--size:20px}:host(${S}) ::slotted([slot='checked-indicator']),:host(${S}) .checked-indicator{width:16px}:host(${We}),:host(${We}) .indeterminate-indicator{border-radius:${lt}}:host([disabled]),:host([disabled]${v}){background-color:${ze};border-color:${Ft}}:host([disabled]){cursor:unset}:host([disabled]${be}) .indeterminate-indicator{background-color:${Ft}}:host([disabled]${v}) .checked-indicator{color:${Ft}}`.withBehaviors(Z(l`
|
|
383
|
+
:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${v}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${v}),:host(${be}) .indeterminate-indicator{background-color:FieldText}:host(${v}:not([disabled]):hover),:host(${be}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${be}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${v}) .checked-indicator{color:GrayText}`)),fd=f.partial(`
|
|
384
|
+
<svg
|
|
385
|
+
fill="currentColor"
|
|
386
|
+
aria-hidden="true"
|
|
387
|
+
class="checked-indicator"
|
|
388
|
+
width="1em"
|
|
389
|
+
height="1em"
|
|
390
|
+
viewBox="0 0 12 12"
|
|
391
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
392
|
+
<path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor"></path>
|
|
393
|
+
</svg>
|
|
394
|
+
`),bd=f.partial(`
|
|
395
|
+
<span class="indeterminate-indicator"></span>
|
|
396
|
+
`);function md(o={}){return f`<template tabindex="${t=>t.disabled?void 0:0}" @click="${(t,e)=>t.clickHandler(e.event)}" @input="${(t,e)=>t.inputHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @keyup="${(t,e)=>t.keyupHandler(e.event)}"><slot name="checked-indicator">${gt(o.checkedIndicator)}</slot><slot name="indeterminate-indicator">${gt(o.indeterminateIndicator)}</slot></template>`}const $d=md({checkedIndicator:fd,indeterminateIndicator:bd}),vd=ns.compose({name:`${p.prefix}-checkbox`,template:$d,styles:gd});vd.define(p.registry);class yd extends Jt{}const kd=l`
|
|
397
|
+
${ss}
|
|
398
|
+
|
|
399
|
+
:host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${T};line-height:${D}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Ut};line-height:100%;font-size:${q};font-weight:${M}}::slotted(svg),:host(${S}) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Do}}:host(:active) ::slotted([slot='description']){color:${Vo}}:host(:is(${it},${it}:hover,${it}:active)) ::slotted([slot='description']){color:${Kt}}:host(:is(${C},${C}:hover,${C}:active)) ::slotted([slot='description']),:host(${X}) ::slotted([slot='description']){color:${Ut}}:host(${X}:hover) ::slotted([slot='description']){color:${jo}}:host(${X}:active) ::slotted([slot='description']){color:${Ro}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance]))
|
|
400
|
+
::slotted([slot='description']){color:${H}}:host(${_}){padding:8px;padding-bottom:10px}:host(${Pe}){min-width:52px;max-width:52px;padding:${Qt}}:host(${Pe}${_}){min-width:48px;max-width:48px;padding:${Yt}}:host(${Pe}${S}){min-width:56px;max-width:56px;padding:${Zt}}:host(${S}){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${ct};line-height:${kt}}:host(${S}) ::slotted([slot='description']){font-size:${T}}`;function xd(o={}){return f`<template ?disabled="${t=>t.disabled}" tabindex="${t=>t.disabled?null:t.tabIndex??0}">${Vt(o)}<span class="content" part="content"><slot ${ut("defaultSlottedContent")}></slot><slot name="description"></slot></span>${oe(o)}</template>`}const wd=xd(),Cd=yd.compose({name:`${p.prefix}-compound-button`,template:wd,styles:kd});Cd.define(p.registry);var Sd=Object.defineProperty,Id=Object.getOwnPropertyDescriptor,ne=(o,t,e,s)=>{for(var i=s>1?void 0:s?Id(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Sd(t,e,i),i};class Et extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}colorChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}dotChanged(t,e){c(this.elementInternals,"dot",!!e)}setCount(){const t=this.count??0;if((t!==0||this.showZero)&&!this.dot)return t>this.overflowCount?`${this.overflowCount}+`:`${t}`}}ne([a],Et.prototype,"appearance",2),ne([a],Et.prototype,"color",2),ne([a],Et.prototype,"shape",2),ne([a],Et.prototype,"size",2),ne([a({converter:st})],Et.prototype,"count",2),ne([a({attribute:"overflow-count",converter:st})],Et.prototype,"overflowCount",2),ne([a({attribute:"show-zero",mode:"boolean"})],Et.prototype,"showZero",2),ne([a({mode:"boolean"})],Et.prototype,"dot",2),jt(Et,Dt);const nn=l.partial`:is([state--dot], :state(dot))`,Pd=l`
|
|
401
|
+
:host(${Gt}){border-radius:${B}}:host(${Gt}${Ue}),:host(${Gt}${Ke}),:host(${Gt}${_}){border-radius:${Ot}}${en}
|
|
402
|
+
${on}
|
|
403
|
+
${sn}
|
|
404
|
+
${tn}
|
|
405
|
+
|
|
406
|
+
:host(${nn}),:host(${nn}[appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`;function zd(o={}){return rn({defaultContent:f`${t=>t.setCount()}`})}const Bd=zd(),Td=Et.compose({name:`${p.prefix}-counter-badge`,template:Bd,styles:Pd});Td.define(p.registry);const Lt={modal:"modal",nonModal:"non-modal",alert:"alert"};var Ad=Object.defineProperty,Fd=Object.getOwnPropertyDescriptor,as=(o,t,e,s)=>{for(var i=s>1?void 0:s?Fd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Ad(t,e,i),i};class co extends x{constructor(){super(...arguments),this.type=Lt.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(){Bt.enqueue(()=>{this.emitBeforeToggle(),this.type===Lt.alert||this.type===Lt.modal?this.dialog.showModal():this.type===Lt.nonModal&&this.dialog.show(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(t){return t.preventDefault(),this.dialog.open&&this.type!==Lt.alert&&t.target===this.dialog&&this.hide(),!0}}as([k],co.prototype,"dialog",2),as([a({attribute:"aria-describedby"})],co.prototype,"ariaDescribedby",2),as([a({attribute:"aria-labelledby"})],co.prototype,"ariaLabelledby",2),as([a],co.prototype,"type",2);const _d=f`<dialog role="${o=>o.type===Lt.alert?"alertdialog":"dialog"}" type="${o=>o.type}" class="dialog" part="dialog" aria-modal="${o=>o.type===Lt.modal||o.type===Lt.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===Lt.alert?t.event.preventDefault():o.hide()}" ${At("dialog")}><slot></slot></dialog>`,Od=l`
|
|
407
|
+
@layer base{:host{--dialog-backdrop:${Ks};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${O};border-radius:${Or};border:none;box-shadow:${Wr};color:${z};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:${ri};transition-timing-function:${lo};opacity:0}::backdrop{transition-timing-function:${ni}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${ao}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}`.withBehaviors(Z(l`
|
|
408
|
+
@layer base{dialog{border:${U} solid ${nt}}}`)),Md=co.compose({name:`${p.prefix}-dialog`,template:_d,styles:Od});Md.define(p.registry);var Nd=Object.defineProperty,Ed=Object.getOwnPropertyDescriptor,Ld=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ed(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Nd(t,e,i),i};class an extends x{constructor(){super(...arguments),this.noTitleAction=!1}}Ld([a({mode:"boolean",attribute:"no-title-action"})],an.prototype,"noTitleAction",2);const Hd=f.partial(`
|
|
409
|
+
<svg
|
|
410
|
+
fill="currentColor"
|
|
411
|
+
aria-hidden="true"
|
|
412
|
+
width="20"
|
|
413
|
+
height="20"
|
|
414
|
+
viewBox="0 0 20 20"
|
|
415
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
416
|
+
>
|
|
417
|
+
<path
|
|
418
|
+
d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"
|
|
419
|
+
fill="currentColor"
|
|
420
|
+
></path>
|
|
421
|
+
</svg>`),Dd=f`<div class="title" part="title"><slot name="title"></slot><slot name="title-action"><fluent-button ?hidden=${o=>o.noTitleAction||o.parentNode?.type===Lt.alert} tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${o=>o.parentNode?.hide()} ${At("defaultTitleAction")}>${Hd}</fluent-button></slot></div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div>`,Vd=l`
|
|
422
|
+
${w("grid")}
|
|
423
|
+
|
|
424
|
+
:host{background:${O};box-sizing:border-box;gap:${ft};padding:${no} ${ac};container:dialog-body / inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${O};color:${z};column-gap:8px;display:flex;font-family:${$};font-size:${Te};font-weight:${N};inset-block-start:0;justify-content:space-between;line-height:${Qo};margin-block-end:calc(${ft} * -1);margin-block-start:calc(${no} * -1);padding-block-end:${ft};padding-block-start:${no};position:sticky;z-index:1}.content{box-sizing:border-box;color:${z};font-family:${$};font-size:${T};font-weight:${M};line-height:${D};min-height:32px}.actions{box-sizing:border-box;background:${O};display:flex;flex-direction:column;gap:${ft};inset-block-end:0;margin-block-end:calc(${no} * -1);padding-block-end:${no};padding-block-start:${si};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(${ft} * -1);padding-block-start:${ft}}}`,jd=an.compose({name:`${p.prefix}-dialog-body`,template:Dd,styles:Vd});jd.define(p.registry);const ho={separator:"separator",presentation:"presentation"},Rd=pt;var qd=Object.defineProperty,Gd=Object.getOwnPropertyDescriptor,uo=(o,t,e,s)=>{for(var i=s>1?void 0:s?Gd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&qd(t,e,i),i};class di extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??ho.separator,this.role!==ho.presentation&&(this.elementInternals.ariaOrientation=this.orientation??Rd.horizontal)}roleChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.role=`${e??ho.separator}`),e===ho.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(t,e){this.elementInternals.ariaOrientation=this.role!==ho.presentation?e:null,t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}uo([a],di.prototype,"role",2),uo([a],di.prototype,"orientation",2);class ls extends di{constructor(){super(...arguments),this.inset=!1}alignContentChanged(t,e){t&&c(this.elementInternals,`align-${t}`,!1),e&&c(this.elementInternals,`align-${e}`,!0)}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}insetChanged(t,e){c(this.elementInternals,"inset",e)}}uo([a({attribute:"align-content"})],ls.prototype,"alignContent",2),uo([a],ls.prototype,"appearance",2),uo([a({mode:"boolean"})],ls.prototype,"inset",2);function Wd(){return f`<slot></slot>`}const Xd=Wd(),Ud=l`
|
|
425
|
+
${w("flex")}
|
|
426
|
+
|
|
427
|
+
:host{contain:content}:host::after,:host::before{align-self:center;background:${oo};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${U}}:host(${Ds}){padding:0 12px}:host ::slotted(*){color:${Ut};font-family:${$};font-size:${q};font-weight:${M};margin:0;padding:0 12px}:host(${hr})::before,:host(${Wt})::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host(${J}){height:100%;min-height:84px}:host(${J}):empty{min-height:20px}:host(${J}){flex-direction:column;align-items:center}:host(${J}${Ds})::before{margin-top:12px}:host(${J}${Ds})::after{margin-bottom:12px}:host(${J}):empty::before,:host(${J}):empty::after{height:10px;min-height:10px;flex-grow:0}:host(${J})::before,:host(${J})::after{width:${U};min-height:20px;height:100%}:host(${J}) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host(${J}${hr})::before{min-height:8px}:host(${J}${Wt})::after{min-height:8px}:host(${qe})::before,:host(${qe})::after{background:${ge}}:host(${qe}) ::slotted(*){color:${z}}:host(${Xt})::before,:host(${Xt})::after{background:${$r}}:host(${Xt}) ::slotted(*){color:${js}}:host(${C})::before,:host(${C})::after{background:${Ma}}:host(${C}) ::slotted(*){color:${rt}}`.withBehaviors(Z(l`
|
|
428
|
+
:host(${qe})::before,:host(${qe})::after,:host(${Xt})::before,:host(${Xt})::after,:host(${C})::before,:host(${C})::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),Kd=ls.compose({name:`${p.prefix}-divider`,template:Xd,styles:Ud});Kd.define(p.registry);const Yd={start:"start",end:"end"},Qd={small:"small",medium:"medium",large:"large",full:"full"},hi={nonModal:"non-modal",modal:"modal",inline:"inline"};var Zd=Object.defineProperty,Jd=Object.getOwnPropertyDescriptor,_e=(o,t,e,s)=>{for(var i=s>1?void 0:s?Jd(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Zd(t,e,i),i};class me extends x{constructor(){super(...arguments),this.type=hi.modal,this.position=Yd.start,this.size=Qd.medium,this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})},this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}}show(){Bt.enqueue(()=>{this.emitBeforeToggle(),this.type===hi.inline||this.type===hi.nonModal?this.dialog.show():this.dialog.showModal(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(t){return t.preventDefault(),this.dialog.open&&t.target===this.dialog&&this.hide(),!0}}_e([a],me.prototype,"type",2),_e([a({attribute:"aria-labelledby"})],me.prototype,"ariaLabelledby",2),_e([a({attribute:"aria-describedby"})],me.prototype,"ariaDescribedby",2),_e([a],me.prototype,"position",2),_e([a({attribute:"size"})],me.prototype,"size",2),_e([k],me.prototype,"dialog",2);const th=l`
|
|
429
|
+
${w("block")}
|
|
430
|
+
|
|
431
|
+
:host{--dialog-backdrop:${Ks}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{box-sizing:border-box;z-index:var(--drawer-elevation,1000);font-size:${T};line-height:${D};font-family:${$};font-weight:${M};color:${z};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${nt};border-inline-start-color:var(--drawer-separator,${nt});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${Wr};border:${U} solid ${nt};background:${O}}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${ri};transition-timing-function:${lo}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${ao}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${ao}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${ri};transition-timing-function:${lo};background:var(--dialog-backdrop,${Ks});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${ni}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function eh(){return f`<dialog class="dialog" part="dialog" role="${o=>o.type==="modal"?"dialog":o.role}" aria-modal="${o=>o.type==="modal"?"true":void 0}" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" size="${o=>o.size}" position="${o=>o.position}" type="${o=>o.type}" @click="${(o,t)=>o.clickHandler(t.event)}" @cancel="${(o,t)=>o.hide()}" ${At("dialog")}><slot></slot></dialog>`}const oh=eh(),sh=me.compose({name:`${p.prefix}-drawer`,template:oh,styles:th});sh.define(p.registry);class ih extends x{}const rh=l`
|
|
432
|
+
${w("grid")}
|
|
433
|
+
:host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${nc};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${id}}.footer{display:flex;justify-content:flex-start;gap:${ht}}`;function nh(){return f`<div class="header" part="header"><slot name="title"></slot><slot name="close"></slot></div><div class="content" part="content"><slot></slot></div><div class="footer" part="footer"><slot name="footer"></slot></div>`}const ah=nh(),lh=ih.compose({name:`${p.prefix}-drawer-body`,template:ah,styles:rh});lh.define(p.registry);const ch={above:"above",after:"after",before:"before"},y={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"};var dh=Object.defineProperty,hh=Object.getOwnPropertyDescriptor,po=(o,t,e,s)=>{for(var i=s>1?void 0:s?hh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&dh(t,e,i),i};class Oe extends x{constructor(){super(),this.labelPosition=ch.above,this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}labelSlotChanged(t,e){e&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(t,e){if(c(this.elementInternals,"has-message",!!e.length),!e.length){this.removeEventListener("invalid",this.invalidHandler,{capture:!0});return}this.addEventListener("invalid",this.invalidHandler,{capture:!0})}slottedInputsChanged(t,e){e?.length&&(this.input=e?.[0],this.setStates())}inputChanged(t,e){e&&(this.setStates(),this.setLabelProperties())}changeHandler(t){return this.setStates(),this.setValidationStates(),!0}clickHandler(t){return this===t.target&&this.input.click(),!0}focusinHandler(t){return this.matches(":focus-within:has(> :focus-visible)")&&c(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(t){return c(this.elementInternals,"focus-visible",!1),!0}invalidHandler(t){this.messageSlot.length&&t.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||Ao("input"),this.labelSlot?.forEach(t=>{t instanceof HTMLLabelElement&&(t.htmlFor=t.htmlFor||this.input.id,t.id=t.id||`${this.input.id}--label`,t.setAttribute("aria-hidden","true"),this.input.setAttribute("aria-labelledby",t.id))}))}setStates(){this.$fastController.isConnected&&(c(this.elementInternals,"disabled",!!this.input.disabled),c(this.elementInternals,"readonly",!!this.input.readOnly),c(this.elementInternals,"required",!!this.input.required),c(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input.validity)for(const[t,e]of Object.entries(y))c(this.elementInternals,e,this.input.validity[t])}}po([a({attribute:"label-position"})],Oe.prototype,"labelPosition",2),po([k],Oe.prototype,"labelSlot",2),po([k],Oe.prototype,"messageSlot",2),po([k],Oe.prototype,"slottedInputs",2),po([k],Oe.prototype,"input",2);const uh=l.partial`:is([state--focus-visible], :state(focus-visible))`,ph=l.partial`:is([state--${y.badInput}], :state(${y.badInput}))`,gh=l.partial`:is([state--${y.customError}], :state(${y.customError}))`,fh=l.partial`:is([state--${y.patternMismatch}], :state(${y.patternMismatch}))`,bh=l.partial`:is([state--${y.rangeOverflow}], :state(${y.rangeOverflow}))`,mh=l.partial`:is([state--${y.rangeUnderflow}], :state(${y.rangeUnderflow}))`,$h=l.partial`:is([state--${y.stepMismatch}], :state(${y.stepMismatch}))`,vh=l.partial`:is([state--${y.tooLong}], :state(${y.tooLong}))`,yh=l.partial`:is([state--${y.tooShort}], :state(${y.tooShort}))`,kh=l.partial`:is([state--${y.typeMismatch}], :state(${y.typeMismatch}))`,xh=l.partial`:is([state-${y.valid}], :state(${y.valid}))`,wh=l.partial`:is([state--${y.valueMissing}], :state(${y.valueMissing}))`,Ch=l.partial`:is([state--has-message], :state(has-message))`,Sh=l`
|
|
434
|
+
${w("inline-grid")}
|
|
435
|
+
|
|
436
|
+
:host{color:${z};align-items:center;gap:0 ${ht};justify-items:start;position:relative}:has([slot='message']){color:${z};row-gap:${ft}}: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:${ht}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${Jo}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${cc}}:host([label-position='below']:not(${Ch})){grid-template-areas:'input' 'label'}::slotted([slot='label'])::after{content:'';display:block;position:absolute;inset:0}::slotted([slot='input']){grid-area:input;position:relative;z-index:1}::slotted([slot='message']){margin-block-start:${Jo};grid-area:message}:host(${uh}:focus-within){border-radius:${B};outline:${xt} solid ${_t}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${$};font-size:${T};font-weight:${M};grid-area:label;line-height:${D};user-select:none}:host([size='small']) ::slotted(label){font-size:${q};line-height:${ot}}:host([size='large']) ::slotted(label){font-size:${ct};line-height:${kt}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${N}}:host(${W}){cursor:default}::slotted([flag]){display:none}:host(${ph}) ::slotted([flag='${y.badInput}']),:host(${gh}) ::slotted([flag='${y.customError}']),:host(${fh}) ::slotted([flag='${y.patternMismatch}']),:host(${bh}) ::slotted([flag='${y.rangeOverflow}']),:host(${mh}) ::slotted([flag='${y.rangeUnderflow}']),:host(${$h}) ::slotted([flag='${y.stepMismatch}']),:host(${vh}) ::slotted([flag='${y.tooLong}']),:host(${yh}) ::slotted([flag='${y.tooShort}']),:host(${kh}) ::slotted([flag='${y.typeMismatch}']),:host(${wh}) ::slotted([flag='${y.valueMissing}']),:host(${xh}) ::slotted([flag='${y.valid}']){display:block}`,Ih=f`<template @click="${(o,t)=>o.clickHandler(t.event)}" @change="${(o,t)=>o.changeHandler(t.event)}" @focusin="${(o,t)=>o.focusinHandler(t.event)}" @focusout="${(o,t)=>o.focusoutHandler(t.event)}" ${Dn({property:"slottedInputs",attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0,selector:'[slot="input"]',filter:je()})}><slot name="label" part="label" ${ut("labelSlot")}></slot><slot name="input" part="input"></slot><slot name="message" part="message" ${ut({property:"messageSlot",filter:je("[flag]")})}></slot></template>`,Ph=Oe.compose({name:`${p.prefix}-field`,template:Ih,styles:Sh,shadowOptions:{delegatesFocus:!0}});Ph.define(p.registry);var zh=Object.defineProperty,Bh=Object.getOwnPropertyDescriptor,go=(o,t,e,s)=>{for(var i=s>1?void 0:s?Bh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&zh(t,e,i),i};class Me extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.block=!1}blockChanged(t,e){c(this.elementInternals,"block",e)}borderedChanged(t,e){c(this.elementInternals,"bordered",e)}shadowChanged(t,e){c(this.elementInternals,"shadow",e)}fitChanged(t,e){t&&c(this.elementInternals,`fit-${t}`,!1),e&&c(this.elementInternals,`fit-${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}go([a({mode:"boolean"})],Me.prototype,"block",2),go([a({mode:"boolean"})],Me.prototype,"bordered",2),go([a({mode:"boolean"})],Me.prototype,"shadow",2),go([a],Me.prototype,"fit",2),go([a],Me.prototype,"shape",2);const Th=f`<slot></slot>`,Ah=l`
|
|
437
|
+
:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host(:is([state--block],:state(block))) ::slotted(img){width:100%;height:auto}:host(:is([state--bordered],:state(bordered))) ::slotted(img){border:${U} solid ${oo}}:host(:is([state--fit-none],:state(fit-none))) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host(:is([state--fit-center],:state(fit-center))) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host(:is([state--fit-contain],:state(fit-contain))) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host(:is([state--fit-cover],:state(fit-cover))) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host(:is([state--shadowed],:state(shadowed))) ::slotted(img){box-shadow:${Zo}}:host(${We}) ::slotted(img){border-radius:${lt}}:host(${Gt}) ::slotted(img){border-radius:${B}}`,Fh=Me.compose({name:`${p.prefix}-image`,template:Th,styles:Ah});Fh.define(p.registry);var _h=Object.defineProperty,Oh=Object.getOwnPropertyDescriptor,cs=(o,t,e,s)=>{for(var i=s>1?void 0:s?Oh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&_h(t,e,i),i};class fo extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.disabled=!1,this.required=!1}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}weightChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}disabledChanged(t,e){c(this.elementInternals,"disabled",e)}}cs([a],fo.prototype,"size",2),cs([a],fo.prototype,"weight",2),cs([a({mode:"boolean"})],fo.prototype,"disabled",2),cs([a({mode:"boolean"})],fo.prototype,"required",2);const Mh=l`
|
|
438
|
+
${w("inline-flex")}
|
|
439
|
+
|
|
440
|
+
:host{color:${z};cursor:pointer;font-family:${$};font-size:${T};font-weight:${M};line-height:${D};user-select:none}.asterisk{color:${Cr};margin-inline-start:${Yt}}:host(${_}){font-size:${q};line-height:${ot}}:host(${S}){font-size:${ct};line-height:${kt}}:host(${S}),:host(:is([state--semibold],:state(semibold))){font-weight:${N}}:host(:is([state--disabled],:state(disabled))),:host(:is([state--disabled],:state(disabled))) .asterisk{color:${H}}`;function Nh(){return f`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${o=>!o.required}">*</span>`}const Eh=Nh(),Lh=fo.compose({name:`${p.prefix}-label`,template:Eh,styles:Mh});Lh.define(p.registry);var Hh=Object.defineProperty,Dh=Object.getOwnPropertyDescriptor,ln=(o,t,e,s)=>{for(var i=s>1?void 0:s?Dh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Hh(t,e,i),i};class ui extends Nt{constructor(){super(...arguments),this.inline=!1}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}inlineChanged(t,e){c(this.elementInternals,"inline",e)}}ln([a],ui.prototype,"appearance",2),ln([a({mode:"boolean"})],ui.prototype,"inline",2);const Vh=l`
|
|
441
|
+
${w("inline")}
|
|
442
|
+
|
|
443
|
+
:host{position:relative;box-sizing:border-box;background-color:transparent;color:${fa};cursor:pointer;font-family:${$};font-size:${T};font-weight:${M};margin:0;padding:0;overflow:inherit;text-align:left;text-decoration:none;text-decoration-thinkness:${U};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${ba}}:host(:active){color:${ma}}:host(${C}:hover){color:${va}}:host(${C}:active){color:${ya}}}:host(${C}){color:${$a}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host(:is([state--inline],:state(inline))){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}`.withBehaviors(Z(l`
|
|
444
|
+
:host{color:LinkText}`));function jh(){return f`<template tabindex="0" @click="${(o,t)=>o.clickHandler(t.event)}" @keydown="${(o,t)=>o.keydownHandler(t.event)}"><slot></slot></template>`}const Rh=jh(),qh=ui.compose({name:`${p.prefix}-link`,template:Rh,styles:Vh});qh.define(p.registry);class Gh extends Jt{}const Wh=ci({end:f.partial(`
|
|
445
|
+
<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
446
|
+
<path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path>
|
|
447
|
+
</svg>
|
|
448
|
+
`)}),Xh=Gh.compose({name:`${p.prefix}-menu-button`,template:Wh,styles:ss});Xh.define(p.registry);const K={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};K.menuitem+"",K.menuitemcheckbox+"",K.menuitemradio+"";var Uh=Object.defineProperty,Kh=Object.getOwnPropertyDescriptor,Ne=(o,t,e,s)=>{for(var i=s>1?void 0:s?Kh(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Uh(t,e,i),i};const Yh=()=>o=>o.nodeType===1&&o.elementInternals.role==="menu";class St extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=K.menuitem,this.checked=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case To:case Es:return this.invoke(),!1;case _s:return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case Fs:return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=t=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=t=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.toggleHandler=t=>{t instanceof ToggleEvent&&t.newState==="open"&&(this.setAttribute("tabindex","-1"),this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),t instanceof ToggleEvent&&t.newState==="closed"&&(this.elementInternals.ariaExpanded="false",this.setAttribute("tabindex","0"))},this.invoke=()=>{if(!this.disabled)switch(this.role){case K.menuitemcheckbox:this.checked=!this.checked;break;case K.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case K.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const t=this.getBoundingClientRect(),e=this.submenu.getBoundingClientRect(),s=getComputedStyle(this).direction==="ltr"?"right":"left";if(t.width+e.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(t[s]+e.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${t.width-8}px 0`}}}disabledChanged(t,e){this.elementInternals.ariaDisabled=e?`${e}`:null,c(this.elementInternals,"disabled",e)}roleChanged(t,e){this.elementInternals.role=e??K.menuitem}checkedChanged(t,e){const s=this.role!==K.menuitem;this.elementInternals.ariaChecked=s?`${!!e}`:null,c(this.elementInternals,"checked",s?e:!1),this.$fastController.isConnected&&this.$emit("change")}slottedSubmenuChanged(t,e){this.submenu?.removeEventListener("toggle",this.toggleHandler),e.length?(this.submenu=e[0],this.submenu.toggleAttribute("popover",!0),this.submenu.addEventListener("toggle",this.toggleHandler),this.elementInternals.ariaHasPopup="menu",c(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,c(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??K.menuitem,this.elementInternals.ariaChecked=this.role!==K.menuitem?`${!!this.checked}`:null}}Ne([a({mode:"boolean"})],St.prototype,"disabled",2),Ne([a],St.prototype,"role",2),Ne([a({mode:"boolean"})],St.prototype,"checked",2),Ne([a({mode:"boolean"})],St.prototype,"hidden",2),Ne([k],St.prototype,"slottedSubmenu",2),Ne([k],St.prototype,"submenu",2),jt(St,Dt);const ds=l.partial`:is([state--submenu], :state(submenu))`,Qh=l`
|
|
449
|
+
${w("grid")}
|
|
450
|
+
|
|
451
|
+
:host{--indent:0;align-items:center;background:${O};border-radius:${B};color:${Ut};contain:layout;cursor:pointer;flex-shrink:0;font:${M} ${T} / ${D} ${$};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${Rs};color:${Do}}:host(:active){background-color:${gr};color:${Vo}}:host(:active) ::slotted([slot='start']){color:${xa}}:host(${W}){background-color:${ze};color:${H}}:host(${W}) ::slotted([slot='start']),:host(${W}) ::slotted([slot='end']){color:${H}}:host(:focus-visible){border-radius:${B};outline:2px solid ${_t}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}:host(:not(${v})) .indicator,:host(:not(${v})) ::slotted([slot='indicator']),:host(:not(${ds})) .submenu-glyph,:host(:not(${ds})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${rt};font:${M} ${q} / ${ot} ${$};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${ds}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${ds}){grid-template-columns:20px 20px auto auto 20px}.indicator,::slotted([slot='indicator']){grid-column:1 / span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:calc(var(--indent)) / span 1}.content{grid-column:calc(var(--indent) + 1) / span 1}::slotted([slot='end']){grid-column:calc(var(--indent) + 2) / span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:-2 / span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}::slotted([popover]){inset-area:inline-end span-block-end;margin:0;max-height:var(--menu-max-height,auto);position:absolute;position-anchor:--menu-trigger;position-try-options:flip-inline,inset-area(block-start);z-index:1}::slotted([popover]:not(:popover-open)){display:none}::slotted([popover]:popover-open){inset:unset}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}`.withBehaviors(Z(l`
|
|
452
|
+
:host(${W}),:host(${W}) ::slotted([slot='start']),:host(${W}) ::slotted([slot='end']){color:GrayText}`)),Zh=f.partial('<svg class="indicator" fill="currentColor" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>'),Jh=f.partial('<svg class="submenu-glyph" fill="currentColor" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>');function tu(o={}){return f`<template @keydown="${(t,e)=>t.handleMenuItemKeyDown(e.event)}" @click="${(t,e)=>t.handleMenuItemClick(e.event)}" @mouseover="${(t,e)=>t.handleMouseOver(e.event)}" @mouseout="${(t,e)=>t.handleMouseOut(e.event)}" @toggle="${(t,e)=>t.toggleHandler(e.event)}"><slot name="indicator">${gt(o.indicator)}</slot>${Vt(o)}<div part="content" class="content"><slot></slot></div>${oe(o)}<slot name="submenu-glyph">${gt(o.submenuGlyph)}</slot><slot name="submenu" ${ut({property:"slottedSubmenu",filter:Yh()})}></slot></template>`}const eu=tu({indicator:Zh,submenuGlyph:Jh}),ou=St.compose({name:`${p.prefix}-menu-item`,template:eu,styles:Qh});ou.define(p.registry);var su=Object.defineProperty,iu=Object.getOwnPropertyDescriptor,ru=(o,t,e,s)=>{for(var i=s>1?void 0:s?iu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&su(t,e,i),i};const pi=class yi extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.focusIndex=-1,this.isNestedMenu=()=>this.parentElement!==null&&lr(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&this.menuItems!==void 0){const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=t=>{const e=t.target;this.menuItems!==void 0&&e!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.changedMenuItemHandler=t=>{if(this.menuItems===void 0)return;const e=t.target,s=this.menuItems.indexOf(e);if(s!==-1&&e.role==="menuitemradio"&&e.checked===!0){for(let r=s-1;r>=0;--r){const n=this.menuItems[r],h=n.getAttribute("role");if(h===K.menuitemradio&&(n.checked=!1),h==="separator")break}const i=this.menuItems.length-1;for(let r=s+1;r<=i;++r){const n=this.menuItems[r],h=n.getAttribute("role");if(h===K.menuitemradio&&(n.checked=!1),h==="separator")break}}},this.isMenuItemElement=t=>t instanceof St||lr(t)&&t.getAttribute("role")in yi.focusableElementRoles,this.isFocusableElement=t=>this.isMenuItemElement(t),this.elementInternals.role="menu"}itemsChanged(t,e){this.$fastController.isConnected&&this.menuItems!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),Bt.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changedMenuItemHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changedMenuItemHandler)}focus(){this.setFocus(0,1)}handleMenuKeyDown(t){if(!(t.defaultPrevented||this.menuItems===void 0))switch(t.key){case As:this.setFocus(this.focusIndex+1,1);return;case Os:this.setFocus(this.focusIndex-1,-1);return;case Ms:this.setFocus(this.menuItems.length-1,-1);return;case Ns:this.setFocus(0,1);return;default:return!0}}removeItemListeners(t=this.items){t.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),m.getNotifier(e).unsubscribe(this,"hidden")})}static elementIndent(t){const e=t.getAttribute("role"),s=t.querySelector("[slot=start]");return e&&e!==K.menuitem?s?2:1:s?1:0}setItems(){const t=Array.from(this.children);this.removeItemListeners(t),t.forEach(n=>m.getNotifier(n).subscribe(this,"hidden"));const e=t.filter(n=>!n.hasAttribute("hidden"));this.menuItems=e;const s=this.menuItems.filter(this.isMenuItemElement);s.length&&(this.focusIndex=0),s.forEach((n,h)=>{n.setAttribute("tabindex",h===0?"0":"-1"),n.addEventListener("focus",this.handleItemFocus)});const i=this.menuItems?.filter(this.isMenuItemElement),r=i?.reduce((n,h)=>{const g=yi.elementIndent(h);return Math.max(n,g)},0);i?.forEach(n=>{n instanceof St&&n.setAttribute("data-indent",`${r}`)})}handleChange(t,e){e==="hidden"&&this.setItems()}setFocus(t,e){if(this.menuItems!==void 0)for(;t>=0&&t<this.menuItems.length;){const s=this.menuItems[t];if(this.isFocusableElement(s)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,s.setAttribute("tabindex","0"),s.focus();break}t+=e}}};pi.focusableElementRoles=K,ru([k],pi.prototype,"items",2);let nu=pi;const au=l`
|
|
453
|
+
${w("flex")}
|
|
454
|
+
|
|
455
|
+
:host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${O};border:1px solid ${nt};border-radius:${B};box-shadow:${Gr};padding:4px;row-gap:2px}`;function lu(){return f`<template slot="${o=>o.slot?o.slot:o.isNestedMenu()?"submenu":void 0}" @keydown="${(o,t)=>o.handleMenuKeyDown(t.event)}" @focusout="${(o,t)=>o.handleFocusOut(t.event)}"><slot ${ut("items")}></slot></template>`}const cu=lu(),du=nu.compose({name:`${p.prefix}-menu-list`,template:cu,styles:au});du.define(p.registry);var hu=Object.defineProperty,uu=Object.getOwnPropertyDescriptor,Ee=(o,t,e,s)=>{for(var i=s>1?void 0:s?uu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&hu(t,e,i),i};class $e extends x{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.slottedMenuList=[],this.slottedTriggers=[],this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=t=>{t?.target instanceof St&&(t.target.getAttribute("role")===K.menuitemcheckbox||t.target.getAttribute("role")===K.menuitemradio)||(this._menuList?.togglePopover(!1),this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu))},this.openMenu=t=>{this._menuList?.togglePopover(!0),t&&this.openOnContext&&t.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.toggleHandler=t=>{if(t instanceof ToggleEvent){const e=t.newState==="open";this._trigger?.setAttribute("aria-expanded",`${e}`),this._open=e,this.focusMenuList()}},this.triggerKeydownHandler=t=>{if(t.defaultPrevented)return;switch(t.key){case Es:case To:t.preventDefault(),this.toggleMenu();break;default:return!0}},this.documentClickHandler=t=>{t.composedPath().some(e=>e===this._trigger||e===this._menuList)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),Bt.enqueue(()=>this.setComponent())}disconnectedCallback(){super.disconnectedCallback(),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this._open}`),this._menuList.setAttribute("popover",this.openOnContext?"manual":""),this.addListeners())}focusMenuList(){Bt.enqueue(()=>{this._menuList.focus()})}focusTrigger(){Bt.enqueue(()=>{this._trigger.focus()})}openOnHoverChanged(t,e){e?this._trigger?.addEventListener("mouseover",this.openMenu):this._trigger?.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(t,e){e?this._menuList?.removeEventListener("change",this.closeMenu):this._menuList?.addEventListener("change",this.closeMenu)}openOnContextChanged(t,e){e?this._trigger?.addEventListener("contextmenu",this.openMenu):this._trigger?.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(t,e){e?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}addListeners(){this._menuList?.addEventListener("toggle",this.toggleHandler),this._trigger?.addEventListener("keydown",this.triggerKeydownHandler),this.persistOnItemClick||this._menuList?.addEventListener("change",this.closeMenu),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu):this.openOnContext?(this._trigger?.addEventListener("contextmenu",this.openMenu),document.addEventListener("click",this.documentClickHandler)):this._trigger?.addEventListener("click",this.toggleMenu)}removeListeners(){this._menuList?.removeEventListener("toggle",this.toggleHandler),this._trigger?.removeEventListener("keydown",this.triggerKeydownHandler),this.persistOnItemClick||this._menuList?.removeEventListener("change",this.closeMenu),this.openOnHover&&this._trigger?.removeEventListener("mouseover",this.openMenu),this.openOnContext?(this._trigger?.removeEventListener("contextmenu",this.openMenu),document.removeEventListener("click",this.documentClickHandler)):this._trigger?.removeEventListener("click",this.toggleMenu)}menuKeydownHandler(t){if(t.defaultPrevented)return;switch(t.key){case Yn:t.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case Qn:if(this._open&&this.closeMenu(),t.shiftKey&&t.composedPath()[0]!==this._trigger)this.focusTrigger();else if(t.shiftKey)return!0;default:return!0}}}Ee([a({attribute:"open-on-hover",mode:"boolean"})],$e.prototype,"openOnHover",2),Ee([a({attribute:"open-on-context",mode:"boolean"})],$e.prototype,"openOnContext",2),Ee([a({attribute:"close-on-scroll",mode:"boolean"})],$e.prototype,"closeOnScroll",2),Ee([a({attribute:"persist-on-item-click",mode:"boolean"})],$e.prototype,"persistOnItemClick",2),Ee([k],$e.prototype,"slottedMenuList",2),Ee([k],$e.prototype,"slottedTriggers",2);const pu=l`
|
|
456
|
+
${w("inline-block")}
|
|
457
|
+
|
|
458
|
+
::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){inset-area:block-end span-inline-end;margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;position-try-options:flip-block;position:absolute;z-index:1}::slotted([popover]:popover-open){inset:unset}::slotted([popover]:not(:popover-open)){display:none}`;function gu(){return f`<template ?open-on-hover="${o=>o.openOnHover}" ?open-on-context="${o=>o.openOnContext}" ?close-on-scroll="${o=>o.closeOnScroll}" ?persist-on-item-click="${o=>o.persistOnItemClick}" @keydown="${(o,t)=>o.menuKeydownHandler(t.event)}"><slot name="trigger" ${ut({property:"slottedTriggers",filter:je()})}></slot><slot ${ut({property:"slottedMenuList",filter:je()})}></slot></template>`}const fu=gu(),bu=$e.compose({name:`${p.prefix}-menu`,template:fu,styles:pu});bu.define(p.registry);var mu=Object.defineProperty,$u=Object.getOwnPropertyDescriptor,gi=(o,t,e,s)=>{for(var i=s>1?void 0:s?$u(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&mu(t,e,i),i};class hs extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.dismissMessageBar=()=>{this.$emit("dismiss",{})},this.elementInternals.role="status"}shapeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}layoutChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}intentChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}}gi([a],hs.prototype,"shape",2),gi([a],hs.prototype,"layout",2),gi([a],hs.prototype,"intent",2);const vu=l`
|
|
459
|
+
:host{display:grid;box-sizing:border-box;font-family:${$};font-size:${q};line-height:${ot};width:100%;background:${Gs};border:1px solid ${ge};padding-inline:${ht};border-radius:${B};min-height:36px;align-items:center;grid-template:'icon body actions dismiss' / auto 1fr auto auto;contain:layout style paint}:host(${Xe}){border-radius:0}:host(${de}){background-color:${Ir};border-color:${Va}}:host(${he}){background-color:${zr};border-color:${Tr}}:host(${Vs}){background-color:${kr};border-color:${wr}}:host(${Ye}){grid-template-areas:'icon body dismiss'
|
|
460
|
+
'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${ro};padding-inline:${ht}}.content{grid-area:body;max-width:520px;padding-block:${ro};padding-inline:0}:host(${Ye}) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${rt};margin-inline-end:${Zt}}:host(${Ye}) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${Zt};gap:${Zt}}:host(${Ye}) .actions{margin-block-start:${ro};margin-inline-end:0}:host(${Ye}) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${ft}}::slotted(*){font-size:inherit}`;function yu(){return f`<slot name="icon"></slot><div class="content"><slot></slot></div><div class="actions"><slot name="actions"></slot></div><slot name="dismiss"></slot>`}const ku=yu(),xu=hs.compose({name:`${p.prefix}-message-bar`,template:ku,styles:vu,shadowOptions:{mode:p.shadowRootMode}});xu.define(p.registry);var wu=Object.defineProperty,Cu=Object.getOwnPropertyDescriptor,ve=(o,t,e,s)=>{for(var i=s>1?void 0:s?Cu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&wu(t,e,i),i};class Le extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}validationStateChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}valueChanged(t,e){this.elementInternals.ariaValueNow=typeof e=="number"?`${e}`:null}minChanged(t,e){this.elementInternals.ariaValueMin=typeof e=="number"?`${e}`:null}maxChanged(t,e){this.elementInternals.ariaValueMax=typeof e=="number"?`${e}`:null}get percentComplete(){const t=this.min??0,e=this.max??100,s=this.value??0,i=e-t;return i===0?0:Math.fround((s-t)/i*100)}}ve([a({attribute:"validation-state"})],Le.prototype,"validationState",2),ve([a({converter:st})],Le.prototype,"value",2),ve([a({converter:st})],Le.prototype,"min",2),ve([a({converter:st})],Le.prototype,"max",2),ve([xn],Le.prototype,"percentComplete",1);class fi extends Le{thicknessChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}shapeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}ve([a],fi.prototype,"thickness",2),ve([a],fi.prototype,"shape",2);const Su=l`
|
|
461
|
+
${w("block")}
|
|
462
|
+
|
|
463
|
+
:host{width:100%;height:2px;overflow-x:hidden;background-color:${qo};border-radius:${B};contain:content}:host(${S}){height:4px}:host(${Xe}){border-radius:${ei}}.indicator{background-color:${Be};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient(
|
|
464
|
+
to right,${qo} 0%,${yt} 50%,${qo} 100%
|
|
465
|
+
);animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host(${Vs}) .indicator{background-color:${xr}}:host(${he}) .indicator{background-color:${Br}}:host(${de}) .indicator{background-color:${Pr}}@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(Z(l`
|
|
466
|
+
:host{background-color:CanvasText}.indicator,:host(:is(${de},${he},${Vs})) .indicator{background-color:Highlight}`));function Iu(){return f`<div class="indicator" part="indicator" style="${o=>typeof o.value=="number"?`width: ${o.percentComplete}%`:void 0}"></div>`}const Pu=Iu(),zu=fi.compose({name:`${p.prefix}-progress-bar`,template:Pu,styles:Su});zu.define(p.registry);class cn extends mt{connectedCallback(){super.connectedCallback(),this.tabIndex=this.disabled?-1:0}constructor(){super(),this.elementInternals.role="radio"}disabledChanged(t,e){super.disabledChanged(t,e),e&&(this.checked=!1,this.tabIndex=-1),this.$emit("disabled",e,{bubbles:!0})}requiredChanged(){}setFormValue(){}setValidity(){this.elementInternals.setValidity({})}toggleChecked(t=!0){super.toggleChecked(t)}}function dn(o){const t=o.getRootNode();return t instanceof ShadowRoot?t.activeElement:document.activeElement}const hn=pt;var Bu=Object.defineProperty,Tu=Object.getOwnPropertyDescriptor,ye=(o,t,e,s)=>{for(var i=s>1?void 0:s?Tu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Bu(t,e,i),i};class te extends x{constructor(){super(),this.dirtyState=!1,this.disabled=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??hn.horizontal}checkedIndexChanged(t,e){this.enabledRadios&&this.checkRadio(e)}disabledChanged(t,e){this.$fastController.isConnected&&(this.checkedIndex=-1,this.radios?.forEach(s=>{s.disabled=s.disabledAttribute||this.disabled}),this.restrictFocus())}initialValueChanged(t,e){this.value=e??""}nameChanged(t,e){this.isConnected&&e&&this.radios?.forEach(s=>{s.name=this.name})}orientationChanged(t,e){this.elementInternals.ariaOrientation=this.orientation??hn.horizontal}radiosChanged(t,e){const s=e?.length;if(!s)return;!this.name&&e.every(n=>n.name===e[0].name)&&(this.name=e[0].name);const i=Kn(this.enabledRadios,n=>n.initialChecked);e.forEach((n,h)=>{n.ariaPosInSet=`${h+1}`,n.ariaSetSize=`${s}`,this.initialValue&&!this.dirtyState?n.checked=n.value===this.initialValue:n.checked=h===i,n.name=this.name??n.name,n.disabled=this.disabled||n.disabledAttribute}),!this.dirtyState&&this.initialValue&&(this.value=this.initialValue),this.value||(this.checkedIndex=i);const r=e.map(n=>n.id).join(" ").trim();r&&this.setAttribute("aria-owns",r),Bt.enqueue(()=>{this.restrictFocus()})}requiredChanged(t,e){this.elementInternals.ariaRequired=e?"true":null,this.setValidity()}get enabledRadios(){return this.disabled?[]:this.radios?.filter(t=>!t.disabled)??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(this.enabledRadios?.[0]?.validationMessage)return this.enabledRadios[0].validationMessage;if(!this._validationFallbackMessage){const t=document.createElement("input");t.type="radio",t.required=!0,t.checked=!1,this._validationFallbackMessage=t.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledRadios.find(t=>t.checked)?.value??null}set value(t){const e=this.enabledRadios.findIndex(s=>s.value===t);this.checkedIndex=e,this.$fastController.isConnected&&(this.setFormValue(t),this.setValidity()),m.track(this,"value")}changeHandler(t){if(this===t.target)return!0;this.dirtyState=!0;const e=this.enabledRadios.indexOf(t.target);return this.checkRadio(e),!0}checkRadio(t=this.checkedIndex){let e=this.checkedIndex;this.enabledRadios.forEach((s,i)=>{const r=i===t;s.checked=r,r&&(e=i)}),this.checkedIndex=e,this.setFormValue(this.value),this.setValidity()}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){return this===t.target&&this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus(),!0}focus(){this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus()}focusinHandler(t){return this.disabled||this.enabledRadios.forEach(e=>{e.tabIndex=0}),!0}focusoutHandler(t){return this.radios?.includes(t.relatedTarget)&&this.radios?.some(e=>e.checked)&&this.restrictFocus(),!0}formResetCallback(){this.dirtyState=!1,this.checkedIndex=-1,this.setFormValue(this.value),this.setValidity()}getEnabledIndexInBounds(t,e=this.enabledRadios.length){return e===0?-1:(t+e)%e}keydownHandler(t){const e=cr(this)==="rtl",s=this.enabledRadios.findIndex(n=>n===dn(this))??this.checkedIndex;let i=0;switch(t.key){case"ArrowLeft":{i=e?1:-1;break}case"ArrowUp":{i=-1;break}case"ArrowRight":{i=e?-1:1;break}case"ArrowDown":{i=1;break}case"Tab":{this.restrictFocus();break}case" ":{this.checkRadio();break}}if(!i)return!0;const r=s+i;this.checkedIndex=this.getEnabledIndexInBounds(r),this.enabledRadios[this.checkedIndex]?.focus()}disabledRadioHandler(t){t.detail===!0&&t.target.checked&&(this.checkedIndex=-1)}reportValidity(){return this.elementInternals.reportValidity()}restrictFocus(){let t=Math.max(this.checkedIndex,0);const e=this.enabledRadios.indexOf(dn(this));e!==-1&&(t=e),t=this.getEnabledIndexInBounds(t),this.enabledRadios.forEach((s,i)=>{s.tabIndex=i===t?0:-1})}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setValidity(t,e,s){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:this.required&&!this.value,...t},e??this.validationMessage,s??this.enabledRadios[0])}}slotchangeHandler(t){Bt.enqueue(()=>{this.radios=[...this.querySelectorAll("*")].filter(e=>e instanceof cn)})}}te.formAssociated=!0,ye([k],te.prototype,"checkedIndex",2),ye([a({attribute:"disabled",mode:"boolean"})],te.prototype,"disabled",2),ye([a({attribute:"value",mode:"fromView"})],te.prototype,"initialValue",2),ye([a],te.prototype,"name",2),ye([a],te.prototype,"orientation",2),ye([k],te.prototype,"radios",2),ye([a({mode:"boolean"})],te.prototype,"required",2);const Au=l`
|
|
467
|
+
${w("flex")}
|
|
468
|
+
|
|
469
|
+
:host{-webkit-tap-highlight-color:transparent;cursor:pointer;gap:${si}}:host(${W}),:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${rt}}::slotted(:hover){color:${Ut}}::slotted(:active){color:${z}}::slotted(${W}){color:${H}}::slotted(${v}){color:${z}}`;function Fu(){return f`<template @disabled="${(o,t)=>o.disabledRadioHandler(t.event)}" @change="${(o,t)=>o.changeHandler(t.event)}" @click="${(o,t)=>o.clickHandler(t.event)}" @focusin="${(o,t)=>o.focusinHandler(t.event)}" @focusout="${(o,t)=>o.focusoutHandler(t.event)}" @keydown="${(o,t)=>o.keydownHandler(t.event)}"><slot @slotchange="${(o,t)=>o.slotchangeHandler(t.event)}"></slot></template>`}const _u=Fu(),Ou=te.compose({name:`${p.prefix}-radio-group`,template:_u,styles:Au});Ou.define(p.registry);const Mu=l`
|
|
470
|
+
${w("inline-flex")}
|
|
471
|
+
|
|
472
|
+
:host{--size:16px;aspect-ratio:1;background-color:${O};border:${U} solid ${pe};border-radius:${lt};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${lt};color:${Qe};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:'' / '';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${xt} solid ${nt};border-radius:${B}}:host(:not([slot='input']):focus-visible)::after{border-color:${_t}}:host(:hover){border-color:${to}}:host(${v}){border-color:${Xo}}:host(${v}) .checked-indicator{background-color:${Be}}:host(${v}:hover) .checked-indicator{background-color:${Ze}}:host(:active){border-color:${eo}}:host(${v}:active) .checked-indicator{background-color:${Je}}:host(:focus-visible){outline:none}:host(${W}){background-color:${ze};border-color:${Ft}}:host(${v}${W}) .checked-indicator{background-color:${Ft}}`.withBehaviors(Z(l`
|
|
473
|
+
:host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${W}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${v}) .checked-indicator{background-color:FieldText}:host(${v}:not(${W}):hover) .checked-indicator{background-color:Highlight}:host(${W}){border-color:GrayText;color:GrayText}:host(${W}${v}) .checked-indicator{background-color:GrayText}`)),Nu=f.partial(`
|
|
474
|
+
<span part="checked-indicator" class="checked-indicator" role="presentation"></span>
|
|
475
|
+
`);function Eu(o={}){return f`<template @click="${(t,e)=>t.clickHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @keyup="${(t,e)=>t.keyupHandler(e.event)}"><slot name="checked-indicator">${gt(o.checkedIndicator)}</slot></template>`}const Lu=Eu({checkedIndicator:Nu}),Hu=cn.compose({name:`${p.prefix}-radio`,template:Lu,styles:Mu});Hu.define(p.registry);var Du=Object.defineProperty,Vu=Object.getOwnPropertyDescriptor,He=(o,t,e,s)=>{for(var i=s>1?void 0:s?Vu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Du(t,e,i),i};class ke extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.compact=!1,this.intlNumberFormatter=new Intl.NumberFormat,this.elementInternals.role="img"}colorChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}sizeChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}get formattedCount(){return this.count?this.intlNumberFormatter.format(this.count):""}generateIcons(){let t="";const e=Math.round((this.compact?1:this.value??0)*2)/2;for(let s=0;s<(this.compact?1:this.max??5)*2;s++){const i=(s+1)/2;t+=`<svg aria-hidden="true" ${i===e?"selected":""}><use href="#star"></use></svg>`}return t}}He([a],ke.prototype,"color",2),He([a({mode:"boolean"})],ke.prototype,"compact",2),He([a({converter:st})],ke.prototype,"count",2),He([a({converter:st})],ke.prototype,"max",2),He([a],ke.prototype,"size",2),He([a({converter:st})],ke.prototype,"value",2);const ju=l`
|
|
476
|
+
${w("inline-flex")}
|
|
477
|
+
|
|
478
|
+
:host{--icon-size:16px;align-items:center;color:${z};font-family:${$};font-size:${q};line-height:${ot};contain:layout style;user-select:none}:host(${_}){--icon-size:12px}:host(${S}){--icon-size:20px;font-size:${T};line-height:${D}}svg{width:var(--icon-size);height:var(--icon-size);fill:${Ya};margin-inline-end:${dt}}svg:nth-child(even){clip-path:inset(0 50% 0 0);margin-inline-end:calc(0px - var(--icon-size))}:host(${Lo}) svg{fill:${z}}:host(${Xt}) svg{fill:${Ys}}:host(:is([value^='-'],[value='0'])) svg,:host(:not([value])) svg,svg[selected] ~ svg{fill:${Fr}}:host(${Lo}:is([value^='-'],[value='0'])) svg,:host(${Lo}:not([value])) svg,:host(${Lo}) svg[selected] ~ svg{fill:${qs}}:host(${Xt}:is([value^='-'],[value='0'])) svg,:host(${Xt}:not([value])) svg,:host(${Xt}) svg[selected] ~ svg{fill:${Zs}}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${Yt};font-weight:${N}}:host(${_}) .value-label,:host(${_}) ::slotted([slot='value']){margin-inline-start:${dt}}:host(${S}) .value-label,:host(${S}) ::slotted([slot='value']){margin-inline-start:${Qt}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${Yt}}:host(${_}) .count-label::before,:host(${_}) ::slotted([slot='count'])::before{margin-inline:${dt}}:host(${S}) .count-label::before,:host(${S}) ::slotted([slot='count'])::before{margin-inline:${Qt}}`.withBehaviors(Z(l`
|
|
479
|
+
:host([color]) svg{fill:CanvasText}:host([color]:is([value^='-'],[value='0'])) svg,:host(:not([value])) svg,:host([color]) svg[selected] ~ svg{fill:Canvas;stroke:CanvasText}`)),Ru=f`<svg xmlns="http://www.w3.org/2000/svg" style="display: none"><symbol id="star" viewBox="0 0 12 12"><path d="M5.28347 1.54556C5.57692 0.95096 6.42479 0.950961 6.71825 1.54556L7.82997 3.79817L10.3159 4.15939C10.9721 4.25474 11.2341 5.06112 10.7592 5.52394L8.96043 7.27736L9.38507 9.75321C9.49716 10.4067 8.81122 10.9051 8.22431 10.5966L6.00086 9.42761L3.7774 10.5966C3.19049 10.9051 2.50455 10.4067 2.61664 9.75321L3.04128 7.27736L1.24246 5.52394C0.767651 5.06111 1.02966 4.25474 1.68584 4.15939L4.17174 3.79817L5.28347 1.54556Z" /></symbol></svg>`;function qu(){return f` ${Ru} ${o=>f`${f.partial(o.generateIcons())}`}<slot name="value"><span class="value-label" aria-hidden="true">${o=>o.value}</span></slot><slot name="count"><span class="count-label" aria-hidden="true">${o=>o.formattedCount}</span></slot>`}const Gu=qu(),Wu=ke.compose({name:`${p.prefix}-rating-display`,template:Gu,styles:ju});Wu.define(p.registry);const Xu=pt,Uu={singleValue:"single-value"};function un(o,t,e,s){let i=Ls(0,1,(o-t)/(e-t));return s===vt.rtl&&(i=1-i),i}var Ku=Object.defineProperty,Yu=Object.getOwnPropertyDescriptor,Y=(o,t,e,s)=>{for(var i=s>1?void 0:s?Yu(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Ku(t,e,i),i};class V extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.direction=vt.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>"",this.disabled=!1,this.min="",this.max="",this.step="",this.mode=Uu.singleValue,this.keypressHandler=t=>{if(!this.disabled)switch(t.key){case Ns:t.preventDefault(),this.value=this.direction!==vt.rtl&&this.orientation!==pt.vertical?`${this.minAsNumber}`:`${this.maxAsNumber}`;break;case Ms:t.preventDefault(),this.value=this.direction!==vt.rtl&&this.orientation!==pt.vertical?`${this.maxAsNumber}`:`${this.minAsNumber}`;break;case _s:case Os:t.shiftKey||(t.preventDefault(),this.increment());break;case Fs:case As:t.shiftKey||(t.preventDefault(),this.decrement());break}},this.setupTrackConstraints=()=>{const t=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=t.top,this.trackMinHeight=t.bottom,this.trackLeft=this.getBoundingClientRect().left,this.trackWidth===0&&(this.trackWidth=1)},this.setupListeners=(t=!1)=>{this.addEventListener("keydown",this.keypressHandler),t&&this.removeEventListener("keydown",this.keypressHandler)},this.handleThumbPointerDown=t=>{const e=t!==null?window.addEventListener:window.removeEventListener;e("pointerup",this.handleWindowPointerUp),e("pointermove",this.handlePointerMove,{passive:!0}),e("touchmove",this.handlePointerMove,{passive:!0}),e("touchend",this.handleWindowPointerUp),this.isDragging=t!==null},this.handlePointerMove=t=>{if(this.disabled||t.defaultPrevented)return;const e=window.TouchEvent&&t instanceof TouchEvent?t.touches[0]:t,s=this.orientation===pt.vertical?e.pageY-document.documentElement.scrollTop:e.pageX-document.documentElement.scrollLeft-this.trackLeft;this.value=`${this.calculateNewValue(s)}`},this.handleWindowPointerUp=()=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handlePointerDown(null),this.handleThumbPointerDown(null)},this.handlePointerDown=t=>{if(t===null||!this.disabled){const e=t!==null?window.addEventListener:window.removeEventListener,s=t!==null?document.addEventListener:document.removeEventListener;if(e("pointerup",this.handleWindowPointerUp),s("mouseleave",this.handleWindowPointerUp),e("pointermove",this.handlePointerMove),t){this.setupTrackConstraints();const i=this.orientation===pt.vertical?t.pageY-document.documentElement.scrollTop:t.pageX-document.documentElement.scrollLeft-this.trackLeft;this.value=`${this.calculateNewValue(i)}`}}},this.elementInternals.role="slider",this.elementInternals.ariaOrientation=this.orientation??Xu.horizontal}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}handleChange(t,e){switch(e){case"min":case"max":this.setSliderPosition(this.direction);case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const t=100/Math.floor((this.maxAsNumber-this.minAsNumber)/this.stepAsNumber);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=l`
|
|
480
|
+
:host{--step-rate:${t}%}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}initialValueChanged(t,e){this.$fastController.isConnected?this.value=e:this._value=e}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(t){this.setValidity({customError:!!t},t)}setValidity(t,e,s){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({customError:!!e,...t},e??this.validationMessage,s)}}get value(){return m.track(this,"value"),this._value.toString()}set value(t){if(!this.$fastController.isConnected){this._value=t.toString();return}const e=parseFloat(t),s=Ls(this.minAsNumber,this.maxAsNumber,this.convertToConstrainedValue(e)).toString();if(s!==t){this.value=s;return}this._value=t.toString(),this.elementInternals.ariaValueNow=this._value,this.elementInternals.ariaValueText=this.valueTextFormatter(this._value),this.setSliderPosition(this.direction),this.$emit("change"),this.setFormValue(t),m.notify(this,"value")}formResetCallback(){this.value=this.initialValue??this.midpoint}formDisabledCallback(t){this.setDisabledSideEffect(t)}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(t){this.value=t.toString()}valueTextFormatterChanged(){typeof this.valueTextFormatter=="function"?this.elementInternals.ariaValueText=this.valueTextFormatter(this._value):this.elementInternals.ariaValueText=""}disabledChanged(){this.setDisabledSideEffect(this.disabled)}minChanged(){this.elementInternals.ariaValueMin=`${this.minAsNumber}`,this.$fastController.isConnected&&this.minAsNumber>this.valueAsNumber&&(this.value=this.min)}get minAsNumber(){if(this.min!==void 0){const t=parseFloat(this.min);if(!Number.isNaN(t))return t}return 0}maxChanged(){this.elementInternals.ariaValueMax=`${this.maxAsNumber}`,this.$fastController.isConnected&&this.maxAsNumber<this.valueAsNumber&&(this.value=this.max)}get maxAsNumber(){if(this.max!==void 0){const t=parseFloat(this.max);if(!Number.isNaN(t))return t}return 100}stepChanged(){this.updateStepMultiplier(),this.$fastController.isConnected&&(this.value=this._value)}get stepAsNumber(){if(this.step!==void 0){const t=parseFloat(this.step);if(!Number.isNaN(t)&&t>0)return t}return 1}orientationChanged(t,e){this.elementInternals.ariaOrientation=e??pt.horizontal,t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0),this.$fastController.isConnected&&this.setSliderPosition(this.direction)}connectedCallback(){super.connectedCallback(),this.direction=cr(this),this.setDisabledSideEffect(this.disabled),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setSliderPosition(this.direction),m.getNotifier(this).subscribe(this,"max"),m.getNotifier(this).subscribe(this,"min"),m.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),this.setupListeners(!0),m.getNotifier(this).unsubscribe(this,"max"),m.getNotifier(this).unsubscribe(this,"min"),m.getNotifier(this).unsubscribe(this,"step")}increment(){const t=this.direction!==vt.rtl?Number(this.value)+this.stepAsNumber:Number(this.value)-this.stepAsNumber,e=this.convertToConstrainedValue(t),s=e<this.maxAsNumber?`${e}`:`${this.maxAsNumber}`;this.value=s}decrement(){const t=this.direction!==vt.rtl?Number(this.value)-Number(this.stepAsNumber):Number(this.value)+Number(this.stepAsNumber),e=this.convertToConstrainedValue(t),s=e>this.minAsNumber?`${e}`:`${this.minAsNumber}`;this.value=s}setSliderPosition(t){const s=(1-un(parseFloat(this.value),this.minAsNumber,this.maxAsNumber,t))*100,i=`calc(100% - ${s}%)`,r=this.orientation!==pt.vertical&&t===vt.rtl?`${s}%`:`calc(100% - ${s}%)`;this.position=`--slider-thumb: ${i}; --slider-progress: ${r}`}updateStepMultiplier(){const t=this.stepAsNumber+"",e=this.stepAsNumber%1?t.length-t.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,e)}get midpoint(){return`${this.convertToConstrainedValue((this.maxAsNumber+this.minAsNumber)/2)}`}setupDefaultValue(){this._value||(this.value=this.initialValue??this.midpoint),!Number.isNaN(this.valueAsNumber)&&(this.valueAsNumber<this.minAsNumber||this.valueAsNumber>this.maxAsNumber)&&(this.value=this.midpoint),this.elementInternals.ariaValueNow=this.value}calculateNewValue(t){this.setupTrackConstraints();const e=un(t,this.orientation===pt.vertical?this.trackMinHeight:this.trackMinWidth,this.orientation===pt.vertical?this.trackHeight:this.trackWidth,this.direction),s=(this.maxAsNumber-this.minAsNumber)*e+this.minAsNumber;return this.convertToConstrainedValue(s)}convertToConstrainedValue(t){isNaN(t)&&(t=this.minAsNumber);let e=t-this.minAsNumber;const s=Math.round(e/this.stepAsNumber),i=e-s*(this.stepMultiplier*this.stepAsNumber)/this.stepMultiplier;return e=i>=Number(this.stepAsNumber)/2?e-i+Number(this.stepAsNumber):e-i,e+this.minAsNumber}setDisabledSideEffect(t){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=t.toString(),this.tabIndex=t?-1:0)}}V.formAssociated=!0,Y([a],V.prototype,"size",2),Y([a({attribute:"value",mode:"fromView"})],V.prototype,"initialValue",2),Y([k],V.prototype,"direction",2),Y([k],V.prototype,"isDragging",2),Y([k],V.prototype,"position",2),Y([k],V.prototype,"trackWidth",2),Y([k],V.prototype,"trackMinWidth",2),Y([k],V.prototype,"trackHeight",2),Y([k],V.prototype,"trackLeft",2),Y([k],V.prototype,"trackMinHeight",2),Y([k],V.prototype,"valueTextFormatter",2),Y([a({mode:"boolean"})],V.prototype,"disabled",2),Y([a({converter:Hs})],V.prototype,"min",2),Y([a({converter:Hs})],V.prototype,"max",2),Y([a({converter:Hs})],V.prototype,"step",2),Y([a],V.prototype,"orientation",2),Y([a],V.prototype,"mode",2);const Qu=l`
|
|
481
|
+
${w("inline-grid")}
|
|
482
|
+
|
|
483
|
+
:host{--thumb-size:20px;--track-margin-inline:calc(var(--thumb-size) / 2);--track-size:4px;--track-overhang:calc(var(--track-size) / -2);--slider-direction:90deg;--border-radius:${B};--step-marker-inset:var(--track-overhang) -1px;position:relative;align-items:center;justify-content:center;box-sizing:border-box;outline:none;user-select:none;touch-action:none;min-width:120px;min-height:32px;grid-template-rows:1fr var(--thumb-size) 1fr;grid-template-columns:var(--track-margin-inline) 1fr var(--track-margin-inline)}:host(:not(:disabled)){cursor:pointer}:host(:dir(rtl)){--slider-direction:-90deg}:host(${_}){--thumb-size:16px;--track-overhang:-1px;--track-size:2px;--border-radius:${Ot}}:host(${J}){--slider-direction:0deg;--step-marker-inset:-1px var(--track-overhang);min-height:120px;grid-template-rows:var(--track-margin-inline) 1fr var(--track-margin-inline);grid-template-columns:1fr var(--thumb-size) 1fr;width:unset;min-width:32px;justify-items:center}:host(:not([slot='input']):focus-visible){box-shadow:0 0 0 2pt ${_t};outline:1px solid ${Js}}.track{position:relative;background-color:${pe};border-radius:var(--border-radius);grid-row:2 / 2;grid-column:2 / 2;width:100%;height:var(--track-size);forced-color-adjust:none}:host(${J}) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-size);height:100%}.track::before{content:'';position:absolute;height:100%;border-radius:inherit;inset-inline-start:0;width:var(--slider-progress)}:host(${J}) .track::before{width:100%;bottom:0;height:var(--slider-progress)}:host([step]) .track::after{content:'';position:absolute;border-radius:inherit;inset:var(--step-marker-inset);background-image:repeating-linear-gradient(
|
|
484
|
+
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${O} calc(var(--step-rate) - 1px),${O} var(--step-rate)
|
|
485
|
+
)}.thumb-container{position:absolute;grid-row:2 / 2;grid-column:2 / 2;transform:translateX(-50%);left:var(--slider-thumb)}:host(${J}) .thumb-container{transform:translateY(50%);left:unset;bottom:var(--slider-thumb)}:host(:not(:active)) :is(.thumb-container,.track::before){transition:all 0.2s ease}.thumb{width:var(--thumb-size);height:var(--thumb-size);border-radius:${lt};box-shadow:0 0 0 calc(var(--thumb-size) * 0.2) ${O} inset;border:calc(var(--thumb-size) * 0.05) solid ${ge};box-sizing:border-box}.thumb,.track::before{background-color:${Be}}:host(:hover) .thumb,:host(:hover) .track::before{background-color:${Ze}}:host(:active) .thumb,:host(:active) .track::before{background-color:${Je}}:host(:disabled) .track{background-color:${ze}}:host(:disabled) .thumb,:host(:disabled) .track::before{background-color:${H}}`.withBehaviors(Z(l`
|
|
486
|
+
.track:hover,.track:active,.track{background:WindowText}.thumb:hover,.thumb:active,.thumb{background:ButtonText}:host(:hover) .track::before,:host(:active) .track::before,.track::before{background:Highlight}`));function Zu(o={}){return f`<template tabindex="${t=>t.disabled?null:0}" @pointerdown="${(t,e)=>t.handlePointerDown(e.event)}"><div ${At("track")} part="track-container" class="track" style="${t=>t.position}"></div><div ${At("thumb")} part="thumb-container" class="thumb-container" style="${t=>t.position}" @pointerdown="${(t,e)=>t.handleThumbPointerDown(e.event)}"><slot name="thumb">${gt(o.thumb)}</slot></div></template>`}const Ju=Zu({thumb:'<div class="thumb"></div>'}),tp=V.compose({name:`${p.prefix}-slider`,template:Ju,styles:Qu});tp.define(p.registry);var ep=Object.defineProperty,op=Object.getOwnPropertyDescriptor,pn=(o,t,e,s)=>{for(var i=s>1?void 0:s?op(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&ep(t,e,i),i};class sp extends x{constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}class bi extends sp{sizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}pn([a],bi.prototype,"size",2),pn([a],bi.prototype,"appearance",2);const ip=l`
|
|
487
|
+
${w("inline-flex")}
|
|
488
|
+
|
|
489
|
+
:host{--duration:1.5s;--indicatorSize:${wt};--size:32px;height:var(--size);width:var(--size);contain:strict;content-visibility:auto}:host(${Ue}){--indicatorSize:${xt};--size:20px}:host(${Ke}){--indicatorSize:${xt};--size:24px}:host(${_}){--indicatorSize:${xt};--size:28px}:host(${S}){--indicatorSize:${wt};--size:36px}:host(${Oo}){--indicatorSize:${wt};--size:40px}:host(${aa}){--indicatorSize:${oi};--size:44px}.progress,.background,.spinner,.start,.end,.indicator{position:absolute;inset:0}.progress,.spinner,.indicator{animation:none var(--duration) infinite ${es}}.progress{animation-timing-function:linear;animation-name:spin-linear}.background{border:var(--indicatorSize) solid ${Zs};border-radius:50%}:host(${dr}) .background{border-color:rgba(255,255,255,0.2)}.spinner{animation-name:spin-swing}.start{overflow:hidden;inset-inline-end:50%}.end{overflow:hidden;inset-inline-start:50%}.indicator{color:${$r};box-sizing:border-box;border-radius:50%;border:var(--indicatorSize) solid transparent;border-block-start-color:currentcolor;border-inline-end-color:currentcolor}:host(${dr}) .indicator{color:${Na}}.start .indicator{rotate:135deg;inset:0 -100% 0 0;animation-name:spin-start}.end .indicator{rotate:135deg;inset:0 0 0 -100%;animation-name:spin-end}@keyframes spin-linear{100%{transform:rotate(360deg)}}@keyframes spin-swing{0%{transform:rotate(-135deg)}50%{transform:rotate(0deg)}100%{transform:rotate(225deg)}}@keyframes spin-start{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-80deg)}}@keyframes spin-end{0%,100%{transform:rotate(0deg)}50%{transform:rotate(70deg)}}`.withBehaviors(Z(l`
|
|
490
|
+
.background{display:none}.indicator{border-color:Canvas;border-block-start-color:Highlight;border-inline-end-color:Highlight}`)),rp=f`<slot name="indicator"><div class="background"></div><div class="progress"><div class="spinner"><div class="start"><div class="indicator"></div></div><div class="end"><div class="indicator"></div></div></div></div></slot>`,np=bi.compose({name:`${p.prefix}-spinner`,template:rp,styles:ip});np.define(p.registry);class ap extends mt{constructor(){super(),this.elementInternals.role="switch"}}function lp(o={}){return f`<template tabindex="${t=>t.disabled?void 0:0}" @click="${(t,e)=>t.clickHandler(e.event)}" @input="${(t,e)=>t.inputHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}" @keyup="${(t,e)=>t.keyupHandler(e.event)}"><slot name="switch">${gt(o.switch)}</slot></template>`}const cp=lp({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),dp=l`
|
|
491
|
+
${w("inline-flex")}
|
|
492
|
+
|
|
493
|
+
:host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${dt};width:40px;height:20px;background-color:${yt};border:1px solid ${pe};border-radius:${lt};cursor:pointer}:host(:hover){background:none;border-color:${to}}:host(:active){border-color:${eo}}:host(:disabled),:host([readonly]){border:1px solid ${Ft};background-color:none;pointer:default}:host(${v}){background:${Be};border-color:${Be}}:host(${v}:hover){background:${Ze};border-color:${Ze}}:host(${v}:active){background:${Je};border-color:${Je}}:host(${v}:disabled){background:${ze};border-color:${Ft}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${rt};transition-duration:${Xr};transition-timing-function:${es};transition-property:margin-inline-start}:host(${v}) .checked-indicator{background-color:${Qe};margin-inline-start:calc(100% - 14px)}:host(${v}:hover) .checked-indicator{background:${wa}}:host(${v}:active) .checked-indicator{background:${Ca}}:host(:hover) .checked-indicator{background-color:${ua}}:host(:active) .checked-indicator{background-color:${pa}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${H}}:host(${v}:disabled) .checked-indicator{background:${H}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${nt};outline:${xt} solid ${nt};box-shadow:${Zo},0 0 0 2px ${_t}}`.withBehaviors(Z(l`
|
|
494
|
+
:host{border-color:InactiveBorder}:host(${v}),:host(${v}:active),:host(${v}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${v}) .checked-indicator,:host(${v}:hover) .checked-indicator,:host(${v}:active) .checked-indicator{background-color:ButtonFace}`)),hp=ap.compose({name:`${p.prefix}-switch`,template:cp,styles:dp});hp.define(p.registry);class up extends x{}function pp(){return f`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`}const gp=pp(),fp=l`
|
|
495
|
+
${w("block")}
|
|
496
|
+
|
|
497
|
+
:host{box-sizing:border-box;padding:${ht} ${Mt}}`,bp=up.compose({name:`${p.prefix}-tab-panel`,template:gp,styles:fp});bp.define(p.registry);var mp=Object.defineProperty,$p=Object.getOwnPropertyDescriptor,vp=(o,t,e,s)=>{for(var i=s>1?void 0:s?$p(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&mp(t,e,i),i};class mi extends x{connectedCallback(){super.connectedCallback(),this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=l`
|
|
498
|
+
:host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}vp([a({mode:"boolean"})],mi.prototype,"disabled",2),jt(mi,Dt);function yp(o={}){return f`<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">${Vt(o)}<span class="tab-content"><slot></slot></span>${oe(o)}</template>`}const kp=yp({}),xp=l`
|
|
499
|
+
${w("inline-flex")}
|
|
500
|
+
|
|
501
|
+
:host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${D};font-family:${$};font-size:${T};color:${Ut};fill:currentcolor;grid-row:1;padding:${ht} ${Mt};border-radius:${B}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${z};font-weight:${N}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${D};font-weight:${N}}:host([aria-selected='true'])::after{background-color:${Xo};border-radius:${lt};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Wo};border-radius:${lt};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${H}}::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:${H};color:${H}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Ot};box-shadow:0 0 0 3px ${_t};outline:1px solid ${Js}}`.withBehaviors(Z(l`
|
|
502
|
+
:host([aria-selected='true'])::after{background-color:Highlight}`)),wp=mi.compose({name:`${p.prefix}-tab`,template:kp,styles:xp});wp.define(p.registry);const Cp={subtle:"subtle",transparent:"transparent"},us=pt;var Sp=Object.defineProperty,Ip=Object.getOwnPropertyDescriptor,xe=(o,t,e,s)=>{for(var i=s>1?void 0:s?Ip(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Sp(t,e,i),i};class bo extends x{constructor(){super(...arguments),this.orientation=us.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 Fs:t.preventDefault(),this.adjustBackward(t);break;case _s:t.preventDefault(),this.adjustForward(t);break}else switch(t.key){case Os:t.preventDefault(),this.adjustBackward(t);break;case As:t.preventDefault(),this.adjustForward(t);break}switch(t.key){case Ns:t.preventDefault(),this.adjust(-this.activeTabIndex);break;case Ms:t.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1);break}}}orientationChanged(){this.$fastController.isConnected&&this.setTabs()}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(s=>s.id===t),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}getActiveIndex(){return this.activeid!==void 0?this.tabIds.indexOf(this.activeid)===-1?0:this.tabIds.indexOf(this.activeid):0}setTabs(){const t="gridColumn",e="gridRow",s=this.isHorizontal()?t:e;this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((i,r)=>{if(i.slot==="tab"){const n=this.activeTabIndex===r&&this.isFocusableElement(i),h=this.tabIds[r],g=this.tabpanelIds[r];i.setAttribute("id",h),i.setAttribute("aria-selected",n?"true":"false"),i.setAttribute("aria-controls",g),i.addEventListener("click",this.handleTabClick),i.addEventListener("keydown",this.handleTabKeyDown),i.setAttribute("tabindex",n?"0":"-1"),n&&(this.activetab=i,this.activeid=h)}i.style[t]="",i.style[e]="",i.style[s]=`${r+1}`,this.isHorizontal()?i.classList.remove("vertical"):i.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((t,e)=>{const s=this.tabIds[e],i=this.tabpanelIds[e];t.setAttribute("id",i),t.setAttribute("aria-labelledby",s),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(t=>t.getAttribute("id")??`tab-${Ao()}`)}getTabPanelIds(){return this.tabpanels.map(t=>t.getAttribute("id")??`panel-${Ao()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===us.horizontal}adjust(t){const e=this.tabs.filter(n=>this.isFocusableElement(n)),s=e.indexOf(this.activetab),i=Ls(0,e.length-1,s+t),r=this.tabs.indexOf(e[i]);r>-1&&this.moveToTabByIndex(this.tabs,r)}adjustForward(t){const e=this.tabs;let s=0;for(s=this.activetab?e.indexOf(this.activetab)+1:1,s===e.length&&(s=0);s<e.length&&e.length>1;)if(this.isFocusableElement(e[s])){this.moveToTabByIndex(e,s);break}else{if(this.activetab&&s===e.indexOf(this.activetab))break;s+1>=e.length?s=0:s+=1}}adjustBackward(t){const e=this.tabs;let s=0;for(s=this.activetab?e.indexOf(this.activetab)-1:0,s=s<0?e.length-1:s;s>=0&&e.length>1;)if(this.isFocusableElement(e[s])){this.moveToTabByIndex(e,s);break}else s-1<0?s=e.length-1:s-=1}moveToTabByIndex(t,e){const s=t[e];this.activetab=s,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,s.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}xe([a],bo.prototype,"orientation",2),xe([a],bo.prototype,"activeid",2),xe([k],bo.prototype,"tabs",2),xe([k],bo.prototype,"tabpanels",2);class mo extends bo{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=Cp.transparent}calculateAnimationProperties(t){this.activeTabOffset=this.getTabPosition(t),this.activeTabScale=this.getTabScale(t)}getTabPosition(t){return this.orientation===us.horizontal?this.previousActiveTabData.x-(t.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(t.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(t){return this.orientation===us.horizontal?this.previousActiveTabData.width/t.getBoundingClientRect().width:this.previousActiveTabData.height/t.getBoundingClientRect().height}applyUpdatedCSSValues(t){this.calculateAnimationProperties(t),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(t){t.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(t),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(t),t.setAttribute("data-animate","true")}setTabData(){if(this.tabs&&this.tabs.length>0){const t=this.tabs,s=(this.activetab||t[0])?.getBoundingClientRect(),i=this.getBoundingClientRect();this.activeTabData={x:s.x-i.x,y:s.y-i.y,height:s.height,width:s.width},this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=l`
|
|
503
|
+
:host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=l`
|
|
504
|
+
:host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(t,e){super.activeidChanged(t,e),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}xe([a],mo.prototype,"appearance",2),xe([a({mode:"boolean"})],mo.prototype,"disabled",2),xe([a],mo.prototype,"size",2),jt(mo,Dt);function Pp(o={}){return f` ${Vt(o)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${ut("tabs")}></slot></div>${oe(o)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${ut("tabpanels")}></slot></div>`}const zp=Pp({}),Bp=l`
|
|
505
|
+
${w("grid")}
|
|
506
|
+
|
|
507
|
+
:host{box-sizing:border-box;font-family:${$};font-size:${T};line-height:${D};color:${Ut};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${H}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${H}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${H}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${H}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${B}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${H}}.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:${Ws};color:${ur};fill:${ka}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Go};fill:${Go};color:${z}}:host([size='small']) ::slotted(fluent-tab){font-size:${T};line-height:${D};padding:${io} ${Qt}}:host([size='large']) ::slotted(fluent-tab){font-size:${ct};line-height:${kt};padding:${si} ${Mt}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${hc};transition-timing-function:${Kr}}:host ::slotted(fluent-tab)::after{height:${wt};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${wt};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${wt};border-radius:${lt};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${wt};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${wt};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:${wt}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${io};padding-bottom:${io}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Jo};padding-bottom:${Jo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${ft};padding-bottom:${ft}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${Qt};left:${Qt}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Mt};left:${Mt}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Mt};left:${Mt}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${io};bottom:${io}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${ft};bottom:${ft}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${ro};bottom:${ro}}`,Tp=mo.compose({name:`${p.prefix}-tabs`,template:zp,styles:Bp});Tp.define(p.registry);const Ap={email:"email",password:"password",tel:"tel",text:"text",url:"url"},Fp=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var _p=Object.defineProperty,Op=Object.getOwnPropertyDescriptor,A=(o,t,e,s)=>{for(var i=s>1?void 0:s?Op(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&_p(t,e,i),i};class F extends x{constructor(){super(...arguments),this.type=Ap.text,this._value=this.initialValue,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}defaultSlottedNodesChanged(t,e){this.$fastController.isConnected&&(this.controlLabel.hidden=!e?.length)}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(t,e){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!e}`)}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this._value}set value(t){this._value=t,this.$fastController.isConnected&&(this.control.value=t,this.setFormValue(t),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}beforeinputHandler(t){return t.inputType==="insertLineBreak"&&this.implicitSubmit(),!0}changeHandler(t){return this.setValidity(),this.$emit("change",t,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(t){return t.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity()}focusinHandler(t){return t.target===this&&this.control?.focus(),!0}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const t=[...this.elementInternals.form.elements],e=t.find(i=>i.getAttribute("type")==="submit");if(e){e.click();return}t.filter(i=>Fp.includes(i.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(t){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(t){return t.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(t){this.elementInternals.setValidity({customError:!0},t),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(t,e){this.elementInternals.setFormValue(t,t??e)}setValidity(t=this.control.validity,e=this.validationMessage,s=this.control){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(t,e,s)}}}F.formAssociated=!0,A([a],F.prototype,"autocomplete",2),A([a({mode:"boolean"})],F.prototype,"autofocus",2),A([k],F.prototype,"defaultSlottedNodes",2),A([a],F.prototype,"dirname",2),A([a({mode:"boolean"})],F.prototype,"disabled",2),A([a({attribute:"form"})],F.prototype,"formAttribute",2),A([a({attribute:"value",mode:"fromView"})],F.prototype,"initialValue",2),A([a],F.prototype,"list",2),A([a({converter:st})],F.prototype,"maxlength",2),A([a({converter:st})],F.prototype,"minlength",2),A([a({mode:"boolean"})],F.prototype,"multiple",2),A([a],F.prototype,"name",2),A([a],F.prototype,"pattern",2),A([a],F.prototype,"placeholder",2),A([a({attribute:"readonly",mode:"boolean"})],F.prototype,"readOnly",2),A([a({mode:"boolean"})],F.prototype,"required",2),A([a({converter:st})],F.prototype,"size",2),A([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],F.prototype,"spellcheck",2),A([a],F.prototype,"type",2),A([k],F.prototype,"controlLabel",2);class ps extends F{appearanceChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}controlSizeChanged(t,e){t&&c(this.elementInternals,`${t}`,!1),e&&c(this.elementInternals,`${e}`,!0)}}A([a],ps.prototype,"appearance",2),A([a({attribute:"control-size"})],ps.prototype,"controlSize",2),jt(ps,Dt);const Mp=l`
|
|
508
|
+
${w("block")}
|
|
509
|
+
|
|
510
|
+
:host{font-family:${$};font-size:${T};font-weight:${M};line-height:${D};max-width:400px}.label{display:flex;color:${z};padding-bottom:${lc};flex-shrink:0;padding-inline-end:${Yt}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${O};border:${U} solid ${ge};border-bottom-color:${pe};border-radius:${B};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${dt};padding:0 ${Mt};position:relative;width:100%}:has(.control:user-invalid){border-color:${Ha}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${B});border-radius:0 0 ${B} ${B};border-bottom:2px solid ${Xo};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${dc};transition-delay:${ao}}.control{width:100%;height:100%;box-sizing:border-box;color:${z};border-radius:${B};background:${yt};font-family:${$};font-weight:${M};font-size:${T};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${ga}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${rt};font-size:${Te}}:host ::slotted([slot='start']){padding-right:${dt}}:host ::slotted([slot='end']){padding-left:${dt};gap:${Yt}}:host(:hover) .root{border-color:${Wo};border-bottom-color:${to}}:host(:active) .root{border-color:${Qs}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${Xr};transition-delay:${lo}}:host(:focus-within:active) .root:after{border-bottom-color:${vr}}:host(${R}:focus-within) .root{border:${U} solid ${ge}}:host(:focus-within) .control{color:${z}}:host([disabled]) .root{background:${yt};border:${U} solid ${Ft}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${H}}::selection{color:${Qe};background-color:${Ba}}:host(${_}) .control{font-size:${q};font-weight:${M};line-height:${ot}}:host(${_}) .root{height:24px;gap:${dt};padding:0 ${Qt}}:host(${_}) ::slotted([slot='start']),:host(${_}) ::slotted([slot='end']){font-size:${ct}}:host(${S}) .control{font-size:${ct};font-weight:${M};line-height:${kt}}:host(${S}) .root{height:40px;gap:${Zt};padding:0 ${ht}}:host(${S}) ::slotted([slot='start']),:host(${S}) ::slotted([slot='end']){font-size:${Uo}}:host(${Ge}) .root{background:${yt};border:0;border-radius:0;border-bottom:${U} solid ${pe}}:host(${Ge}:hover) .root{border-bottom-color:${to}}:host(${Ge}:active) .root{border-bottom-color:${eo}}:host(${Ge}:focus-within) .root{border:0;border-bottom-color:${eo}}:host(${Ge}[disabled]) .root{border-bottom-color:${Ft}}:host(${Fo}) .root,:host(${_o}) .root{border:${U} solid ${nt};box-shadow:${qr}}:host(${Fo}) .root{background:${O}}:host(${_o}) .root{background:${Gs}}:host(${Fo}:hover) .root,:host(${_o}:hover) .root{border-color:${yr}}:host(${Fo}:active) .root,:host(${_o}:active) .root{border-color:${yr};background:${Gs}}`;function Np(o={}){return f`<template @beforeinput="${(t,e)=>t.beforeinputHandler(e.event)}" @focusin="${(t,e)=>t.focusinHandler(e.event)}" @keydown="${(t,e)=>t.keydownHandler(e.event)}"><label part="label" for="control" class="label" ${At("controlLabel")}><slot ${ut({property:"defaultSlottedNodes",filter:ea})}></slot></label><div class="root" part="root">${Vt(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}" ${At("control")} />${oe(o)}</div></template>`}const Ep=Np(),Lp=ps.compose({name:`${p.prefix}-text-input`,template:Ep,styles:Mp,shadowOptions:{delegatesFocus:!0}});Lp.define(p.registry);var Hp=Object.defineProperty,Dp=Object.getOwnPropertyDescriptor,Ht=(o,t,e,s)=>{for(var i=s>1?void 0:s?Dp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&Hp(t,e,i),i};class It extends x{constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}sizeChanged(t,e){t&&c(this.elementInternals,`size-${t}`,!1),e&&c(this.elementInternals,`size-${e}`,!0)}fontChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}weightChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}alignChanged(t,e){t&&c(this.elementInternals,t,!1),e&&c(this.elementInternals,e,!0)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(t=>{this.handleChange(this,t)})}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(t,e){switch(e){case"nowrap":case"truncate":case"italic":case"underline":case"strikethrough":case"block":c(this.elementInternals,e,!!this[e]);break}}}Ht([a({mode:"boolean"})],It.prototype,"nowrap",2),Ht([a({mode:"boolean"})],It.prototype,"truncate",2),Ht([a({mode:"boolean"})],It.prototype,"italic",2),Ht([a({mode:"boolean"})],It.prototype,"underline",2),Ht([a({mode:"boolean"})],It.prototype,"strikethrough",2),Ht([a({mode:"boolean"})],It.prototype,"block",2),Ht([a],It.prototype,"size",2),Ht([a],It.prototype,"font",2),Ht([a],It.prototype,"weight",2),Ht([a],It.prototype,"align",2);const gn=l.partial`:is([state--nowrap], :state(nowrap))`,fn=l.partial`:is([state--truncate], :state(truncate))`,bn=l.partial`:is([state--underline], :state(underline))`,mn=l.partial`:is([state--strikethrough], :state(strikethrough))`,Vp=l`
|
|
511
|
+
${w("inline")}
|
|
512
|
+
|
|
513
|
+
:host{contain:content;font-family:${$};font-size:${T};line-height:${D};font-weight:${M};text-align:start}:host(${gn}),:host(${gn}) ::slotted(*){white-space:nowrap;overflow:hidden}:host(${fn}),:host(${fn}) ::slotted(*){text-overflow:ellipsis}:host(:is([state--block],:state(block))){display:block}:host(:is([state--italic],:state(italic))){font-style:italic}:host(${bn}){text-decoration-line:underline}:host(${mn}){text-decoration-line:line-through}:host(${bn}${mn}){text-decoration-line:line-through underline}:host(:is([state--size-100],:state(size-100))){font-size:${so};line-height:${Yo}}:host(:is([state--size-200],:state(size-200))){font-size:${q};line-height:${ot}}:host(:is([state--size-400],:state(size-400))){font-size:${ct};line-height:${kt}}:host(:is([state--size-500],:state(size-500))){font-size:${Te};line-height:${Qo}}:host(:is([state--size-600],:state(size-600))){font-size:${Uo};line-height:${Hr}}:host(:is([state--size-700],:state(size-700))){font-size:${Mr};line-height:${Dr}}:host(:is([state--size-800],:state(size-800))){font-size:${Nr};line-height:${Vr}}:host(:is([state--size-900],:state(size-900))){font-size:${Er};line-height:${jr}}:host(:is([state--size-1000],:state(size-1000))){font-size:${Lr};line-height:${Rr}}:host(:is([state--monospace],:state(monospace))){font-family:${tc}}:host(:is([state--numeric],:state(numeric))){font-family:${ec}}:host(:is([state--medium],:state(medium))){font-weight:${oc}}:host(:is([state--semibold],:state(semibold))){font-weight:${N}}:host(:is([state--bold],:state(bold))){font-weight:${Ko}}:host(:is([state--center],:state(center))){text-align:center}:host(:is([state--end],:state(end))){text-align:end}:host(:is([state--justify],:state(justify))){text-align:justify}::slotted(*){display:inherit;font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,jp=f`<slot></slot>`,Rp=It.compose({name:`${p.prefix}-text`,template:jp,styles:Vp});Rp.define(p.registry);var qp=Object.defineProperty,Gp=Object.getOwnPropertyDescriptor,$n=(o,t,e,s)=>{for(var i=s>1?void 0:s?Gp(t,e):t,r=o.length-1,n;r>=0;r--)(n=o[r])&&(i=(s?n(t,e,i):n(i))||i);return s&&i&&qp(t,e,i),i};class $i extends Jt{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const t=`${this.mixed?"mixed":!!this.pressed}`;this.elementInternals.ariaPressed=t,c(this.elementInternals,"pressed",!!this.pressed||!!this.mixed)}}}$n([a({mode:"boolean"})],$i.prototype,"pressed",2),$n([a({mode:"boolean"})],$i.prototype,"mixed",2);const Wp=l`
|
|
514
|
+
${ss}
|
|
515
|
+
|
|
516
|
+
:host(${P}){border-color:${ge};background-color:${gr};color:${z};border-width:${U}}:host(${P}:hover){border-color:${Wo};background-color:${Rs}}:host(${P}:active){border-color:${Qs};background-color:${qs}}:host(${P}${it}){border-color:transparent;background-color:${_a};color:${Kt}}:host(${P}${it}:hover){background-color:${fr}}:host(${P}${it}:active){background-color:${br}}:host(${P}${C}){border-color:transparent;background-color:${Aa};color:${da}}:host(${P}${C}:hover){background-color:${Ws};color:${Do}}:host(${P}${C}:active){background-color:${Go};color:${Vo}}:host(${P}${R}),:host(${P}${X}){background-color:${Fa}}:host(${P}${R}:hover),:host(${P}${X}:hover){background-color:${Xs}}:host(${P}${R}:active),:host(${P}${X}:active){background-color:${Us}}:host(${P}${X}){border-color:transparent;color:${ha}}:host(${P}${X}:hover){color:${jo}}:host(${P}${X}:active){color:${Ro}}`.withBehaviors(Z(l`
|
|
517
|
+
:host(${P}),:host(${P}${it}),:host(${P}${C}),:host(${P}${R}),:host(${P}${X}){background:SelectedItem;color:SelectedItemText}`)),Xp=ci(),Up=$i.compose({name:`${p.prefix}-toggle-button`,template:Xp,styles:Wp});Up.define(p.registry);
|