@fluentui/web-components 2.5.12 → 3.0.0-alpha.10
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.json +348 -1
- package/CHANGELOG.md +196 -100
- package/dist/dts/accordion/accordion.d.ts +7 -0
- package/dist/dts/accordion/accordion.definition.d.ts +11 -0
- package/dist/dts/accordion/accordion.styles.d.ts +1 -3
- package/dist/dts/accordion/accordion.template.d.ts +3 -0
- package/dist/dts/accordion/define.d.ts +1 -0
- package/dist/dts/accordion/index.d.ts +4 -22
- package/dist/dts/accordion-item/accordion-item.d.ts +33 -0
- package/dist/dts/accordion-item/accordion-item.definition.d.ts +11 -0
- package/dist/dts/accordion-item/accordion-item.options.d.ts +27 -0
- package/dist/dts/accordion-item/accordion-item.styles.d.ts +1 -0
- package/dist/dts/accordion-item/accordion-item.template.d.ts +7 -0
- package/dist/dts/accordion-item/index.d.ts +5 -0
- package/dist/dts/avatar/avatar.d.ts +97 -0
- package/dist/dts/avatar/avatar.definition.d.ts +9 -0
- package/dist/dts/avatar/avatar.options.d.ts +142 -0
- package/dist/dts/avatar/avatar.styles.d.ts +4 -0
- package/dist/dts/avatar/avatar.template.d.ts +8 -0
- package/dist/dts/avatar/define.d.ts +1 -0
- package/dist/dts/avatar/index.d.ts +5 -0
- package/dist/dts/badge/badge.d.ts +49 -0
- package/dist/dts/badge/badge.definition.d.ts +11 -0
- package/dist/dts/badge/badge.options.d.ts +73 -0
- package/dist/dts/badge/badge.styles.d.ts +4 -3
- package/dist/dts/badge/badge.template.d.ts +9 -0
- package/dist/dts/badge/define.d.ts +1 -0
- package/dist/dts/badge/index.d.ts +5 -29
- package/dist/dts/counter-badge/counter-badge.d.ts +90 -0
- package/dist/dts/counter-badge/counter-badge.definition.d.ts +11 -0
- package/dist/dts/counter-badge/counter-badge.options.d.ts +69 -0
- package/dist/dts/counter-badge/counter-badge.styles.d.ts +4 -0
- package/dist/dts/counter-badge/counter-badge.template.d.ts +7 -0
- package/dist/dts/counter-badge/define.d.ts +1 -0
- package/dist/dts/counter-badge/index.d.ts +5 -0
- package/dist/dts/divider/define.d.ts +1 -0
- package/dist/dts/divider/divider.d.ts +31 -0
- package/dist/dts/divider/divider.definition.d.ts +9 -0
- package/dist/dts/divider/divider.options.d.ts +40 -0
- package/dist/dts/divider/divider.styles.d.ts +4 -3
- package/dist/dts/divider/divider.template.d.ts +7 -0
- package/dist/dts/divider/index.d.ts +5 -21
- package/dist/dts/fluent-design-system.d.ts +5 -9
- package/dist/dts/image/define.d.ts +1 -0
- package/dist/dts/image/image.d.ts +48 -0
- package/dist/dts/image/image.definition.d.ts +9 -0
- package/dist/dts/image/image.options.d.ts +27 -0
- package/dist/dts/image/image.styles.d.ts +5 -0
- package/dist/dts/image/image.template.d.ts +7 -0
- package/dist/dts/image/index.d.ts +5 -0
- package/dist/dts/index-rollup.d.ts +1 -8
- package/dist/dts/index.d.ts +12 -49
- package/dist/dts/progress-bar/define.d.ts +1 -0
- package/dist/dts/progress-bar/index.d.ts +5 -0
- package/dist/dts/progress-bar/progress-bar.d.ts +30 -0
- package/dist/dts/progress-bar/progress-bar.definition.d.ts +10 -0
- package/dist/dts/progress-bar/progress-bar.options.d.ts +41 -0
- package/dist/dts/progress-bar/progress-bar.styles.d.ts +4 -0
- package/dist/dts/progress-bar/progress-bar.template.d.ts +3 -0
- package/dist/dts/spinner/define.d.ts +1 -0
- package/dist/dts/spinner/index.d.ts +5 -0
- package/dist/dts/spinner/spinner.d.ts +25 -0
- package/dist/dts/spinner/spinner.definition.d.ts +11 -0
- package/dist/dts/spinner/spinner.options.d.ts +32 -0
- package/dist/dts/spinner/spinner.styles.d.ts +1 -0
- package/dist/dts/spinner/spinner.template.d.ts +3 -0
- package/dist/dts/styles/index.d.ts +1 -5
- package/dist/dts/styles/partials/badge.partials.d.ts +28 -0
- package/dist/dts/styles/partials/index.d.ts +1 -0
- package/dist/dts/switch/define.d.ts +1 -0
- package/dist/dts/switch/index.d.ts +5 -21
- package/dist/dts/switch/switch.d.ts +13 -0
- package/dist/dts/switch/switch.definition.d.ts +9 -0
- package/dist/dts/switch/switch.options.d.ts +15 -0
- package/dist/dts/switch/switch.styles.d.ts +1 -3
- package/dist/dts/switch/switch.template.d.ts +3 -0
- package/dist/dts/text/define.d.ts +1 -0
- package/dist/dts/text/index.d.ts +5 -0
- package/dist/dts/text/text.d.ts +91 -0
- package/dist/dts/text/text.definition.d.ts +10 -0
- package/dist/dts/text/text.options.d.ts +67 -0
- package/dist/dts/text/text.styles.d.ts +4 -0
- package/dist/dts/text/text.template.d.ts +6 -0
- package/dist/dts/theme/design-tokens.d.ts +384 -0
- package/dist/dts/theme/index.d.ts +2 -0
- package/dist/dts/theme/set-theme.d.ts +6 -0
- package/dist/dts/utils/get-initials.d.ts +18 -0
- package/dist/esm/accordion/accordion.definition.js +19 -0
- package/dist/esm/accordion/accordion.definition.js.map +1 -0
- package/dist/esm/accordion/accordion.js +8 -0
- package/dist/esm/accordion/accordion.js.map +1 -0
- package/dist/esm/accordion/accordion.styles.js +9 -11
- package/dist/esm/accordion/accordion.styles.js.map +1 -0
- package/dist/esm/accordion/accordion.template.js +3 -0
- package/dist/esm/accordion/accordion.template.js.map +1 -0
- package/dist/esm/accordion/define.js +4 -0
- package/dist/esm/accordion/define.js.map +1 -0
- package/dist/esm/accordion/index.js +5 -27
- package/dist/esm/accordion/index.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.definition.js +19 -0
- package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.js +29 -0
- package/dist/esm/accordion-item/accordion-item.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.options.js +17 -0
- package/dist/esm/accordion-item/accordion-item.options.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.styles.js +197 -0
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.template.js +37 -0
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -0
- package/dist/esm/accordion-item/define.js +4 -0
- package/dist/esm/accordion-item/define.js.map +1 -0
- package/dist/esm/accordion-item/index.js +6 -0
- package/dist/esm/accordion-item/index.js.map +1 -0
- package/dist/esm/avatar/avatar.definition.js +17 -0
- package/dist/esm/avatar/avatar.definition.js.map +1 -0
- package/dist/esm/avatar/avatar.js +92 -0
- package/dist/esm/avatar/avatar.js.map +1 -0
- package/dist/esm/avatar/avatar.options.js +87 -0
- package/dist/esm/avatar/avatar.options.js.map +1 -0
- package/dist/esm/avatar/avatar.styles.js +476 -0
- package/dist/esm/avatar/avatar.styles.js.map +1 -0
- package/dist/esm/avatar/avatar.template.js +28 -0
- package/dist/esm/avatar/avatar.template.js.map +1 -0
- package/dist/esm/avatar/define.js +4 -0
- package/dist/esm/avatar/define.js.map +1 -0
- package/dist/esm/avatar/index.js +6 -0
- package/dist/esm/avatar/index.js.map +1 -0
- package/dist/esm/badge/badge.definition.js +19 -0
- package/dist/esm/badge/badge.definition.js.map +1 -0
- package/dist/esm/badge/badge.js +43 -0
- package/dist/esm/badge/badge.js.map +1 -0
- package/dist/esm/badge/badge.options.js +46 -0
- package/dist/esm/badge/badge.options.js.map +1 -0
- package/dist/esm/badge/badge.styles.js +26 -36
- package/dist/esm/badge/badge.styles.js.map +1 -0
- package/dist/esm/badge/badge.template.js +15 -0
- package/dist/esm/badge/badge.template.js.map +1 -0
- package/dist/esm/badge/define.js +4 -0
- package/dist/esm/badge/define.js.map +1 -0
- package/dist/esm/badge/index.js +6 -45
- package/dist/esm/badge/index.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.definition.js +19 -0
- package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.js +90 -0
- package/dist/esm/counter-badge/counter-badge.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.options.js +43 -0
- package/dist/esm/counter-badge/counter-badge.options.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.styles.js +31 -0
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.template.js +13 -0
- package/dist/esm/counter-badge/counter-badge.template.js.map +1 -0
- package/dist/esm/counter-badge/define.js +4 -0
- package/dist/esm/counter-badge/define.js.map +1 -0
- package/dist/esm/counter-badge/index.js +6 -0
- package/dist/esm/counter-badge/index.js.map +1 -0
- package/dist/esm/divider/define.js +4 -0
- package/dist/esm/divider/define.js.map +1 -0
- package/dist/esm/divider/divider.definition.js +17 -0
- package/dist/esm/divider/divider.definition.js.map +1 -0
- package/dist/esm/divider/divider.js +21 -0
- package/dist/esm/divider/divider.js.map +1 -0
- package/dist/esm/divider/divider.options.js +31 -0
- package/dist/esm/divider/divider.options.js.map +1 -0
- package/dist/esm/divider/divider.styles.js +109 -9
- package/dist/esm/divider/divider.styles.js.map +1 -0
- package/dist/esm/divider/divider.template.js +7 -0
- package/dist/esm/divider/divider.template.js.map +1 -0
- package/dist/esm/divider/index.js +6 -26
- package/dist/esm/divider/index.js.map +1 -0
- package/dist/esm/fluent-design-system.js +6 -11
- package/dist/esm/fluent-design-system.js.map +1 -0
- package/dist/esm/image/define.js +4 -0
- package/dist/esm/image/define.js.map +1 -0
- package/dist/esm/image/image.definition.js +17 -0
- package/dist/esm/image/image.definition.js.map +1 -0
- package/dist/esm/image/image.js +24 -0
- package/dist/esm/image/image.js.map +1 -0
- package/dist/esm/image/image.options.js +21 -0
- package/dist/esm/image/image.options.js.map +1 -0
- package/dist/esm/image/image.styles.js +52 -0
- package/dist/esm/image/image.styles.js.map +1 -0
- package/dist/esm/image/image.template.js +7 -0
- package/dist/esm/image/image.template.js.map +1 -0
- package/dist/esm/image/index.js +6 -0
- package/dist/esm/image/index.js.map +1 -0
- package/dist/esm/index-rollup.js +2 -12
- package/dist/esm/index-rollup.js.map +1 -0
- package/dist/esm/index.js +13 -49
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/progress-bar/define.js +4 -0
- package/dist/esm/progress-bar/define.js.map +1 -0
- package/dist/esm/progress-bar/index.js +6 -0
- package/dist/esm/progress-bar/index.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.definition.js +18 -0
- package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.js +29 -0
- package/dist/esm/progress-bar/progress-bar.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.options.js +26 -0
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.js +156 -0
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -0
- package/dist/esm/progress-bar/progress-bar.template.js +6 -0
- package/dist/esm/progress-bar/progress-bar.template.js.map +1 -0
- package/dist/esm/spinner/define.js +4 -0
- package/dist/esm/spinner/define.js.map +1 -0
- package/dist/esm/spinner/index.js +6 -0
- package/dist/esm/spinner/index.js.map +1 -0
- package/dist/esm/spinner/spinner.definition.js +19 -0
- package/dist/esm/spinner/spinner.definition.js.map +1 -0
- package/dist/esm/spinner/spinner.js +16 -0
- package/dist/esm/spinner/spinner.js.map +1 -0
- package/dist/esm/spinner/spinner.options.js +22 -0
- package/dist/esm/spinner/spinner.options.js.map +1 -0
- package/dist/esm/spinner/spinner.styles.js +96 -0
- package/dist/esm/spinner/spinner.styles.js.map +1 -0
- package/dist/esm/spinner/spinner.template.js +22 -0
- package/dist/esm/spinner/spinner.template.js.map +1 -0
- package/dist/esm/styles/index.js +2 -5
- package/dist/esm/styles/index.js.map +1 -0
- package/dist/esm/styles/partials/badge.partials.js +273 -0
- package/dist/esm/styles/partials/badge.partials.js.map +1 -0
- package/dist/esm/styles/partials/index.js +2 -0
- package/dist/esm/styles/partials/index.js.map +1 -0
- package/dist/esm/switch/define.js +4 -0
- package/dist/esm/switch/define.js.map +1 -0
- package/dist/esm/switch/index.js +6 -31
- package/dist/esm/switch/index.js.map +1 -0
- package/dist/esm/switch/switch.definition.js +17 -0
- package/dist/esm/switch/switch.definition.js.map +1 -0
- package/dist/esm/switch/switch.js +9 -0
- package/dist/esm/switch/switch.js.map +1 -0
- package/dist/esm/switch/switch.options.js +10 -0
- package/dist/esm/switch/switch.options.js.map +1 -0
- package/dist/esm/switch/switch.styles.js +113 -212
- package/dist/esm/switch/switch.styles.js.map +1 -0
- package/dist/esm/switch/switch.template.js +5 -0
- package/dist/esm/switch/switch.template.js.map +1 -0
- package/dist/esm/text/define.js +4 -0
- package/dist/esm/text/define.js.map +1 -0
- package/dist/esm/text/index.js +6 -0
- package/dist/esm/text/index.js.map +1 -0
- package/dist/esm/text/text.definition.js +18 -0
- package/dist/esm/text/text.definition.js.map +1 -0
- package/dist/esm/text/text.js +92 -0
- package/dist/esm/text/text.js.map +1 -0
- package/dist/esm/text/text.options.js +46 -0
- package/dist/esm/text/text.options.js.map +1 -0
- package/dist/esm/text/text.styles.js +107 -0
- package/dist/esm/text/text.styles.js.map +1 -0
- package/dist/esm/text/text.template.js +6 -0
- package/dist/esm/text/text.template.js.map +1 -0
- package/dist/esm/theme/design-tokens.js +387 -0
- package/dist/esm/theme/design-tokens.js.map +1 -0
- package/dist/esm/theme/index.js +3 -0
- package/dist/esm/theme/index.js.map +1 -0
- package/dist/esm/theme/set-theme.js +12 -0
- package/dist/esm/theme/set-theme.js.map +1 -0
- package/dist/esm/utils/get-initials.js +83 -0
- package/dist/esm/utils/get-initials.js.map +1 -0
- package/dist/fluent-web-components.api.json +8224 -11431
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/web-components.d.ts +1496 -2404
- package/dist/web-components.js +5585 -20170
- package/dist/web-components.min.js +287 -239
- package/docs/api-report.md +1118 -1032
- package/package.json +84 -23
- package/build/clean.js +0 -29
- package/build/transform-fragments.js +0 -29
- package/dist/dts/_docs/design-system/color-explorer/app.d.ts +0 -25
- package/dist/dts/_docs/design-system/color-explorer/colors.d.ts +0 -13
- package/dist/dts/_docs/design-system/color-explorer/component-types.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/color-block.d.ts +0 -10
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.d.ts +0 -190
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.form-associated.d.ts +0 -15
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.styles.d.ts +0 -3
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/color-picker.template.d.ts +0 -8
- package/dist/dts/_docs/design-system/color-explorer/components/color-picker/index.d.ts +0 -9
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/control-pane.d.ts +0 -8
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/control-pane.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/control-pane.template.d.ts +0 -2
- package/dist/dts/_docs/design-system/color-explorer/components/control-pane/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/gradient.d.ts +0 -5
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/gradient.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/gradient.template.d.ts +0 -2
- package/dist/dts/_docs/design-system/color-explorer/components/gradient/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/layer-background/index.d.ts +0 -21
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/sample-app.d.ts +0 -3
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/sample-app.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/sample-app/sample-app.template.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/index.d.ts +0 -6
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/sample-page.d.ts +0 -3
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/sample-page.styles.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/sample-page/sample-page.template.d.ts +0 -1
- package/dist/dts/_docs/design-system/color-explorer/components/swatch.d.ts +0 -30
- package/dist/dts/_docs/design-system/color-explorer/custom-elements.d.ts +0 -7
- package/dist/dts/_docs/design-system/color-explorer/index.d.ts +0 -2
- package/dist/dts/accordion/accordion-item/accordion-item.styles.d.ts +0 -3
- package/dist/dts/accordion/accordion-item/index.d.ts +0 -17
- package/dist/dts/accordion/accordion.stories.d.ts +0 -15
- package/dist/dts/anchor/anchor.stories.d.ts +0 -14
- package/dist/dts/anchor/anchor.styles.d.ts +0 -3
- package/dist/dts/anchor/index.d.ts +0 -49
- package/dist/dts/anchored-region/anchored-region.stories.d.ts +0 -6
- package/dist/dts/anchored-region/anchored-region.styles.d.ts +0 -3
- package/dist/dts/anchored-region/index.d.ts +0 -21
- package/dist/dts/badge/badge.stories.d.ts +0 -14
- package/dist/dts/breadcrumb/breadcrumb.stories.d.ts +0 -15
- package/dist/dts/breadcrumb/breadcrumb.styles.d.ts +0 -3
- package/dist/dts/breadcrumb/index.d.ts +0 -21
- package/dist/dts/breadcrumb-item/breadcrumb-item.stories.d.ts +0 -15
- package/dist/dts/breadcrumb-item/breadcrumb-item.styles.d.ts +0 -3
- package/dist/dts/breadcrumb-item/index.d.ts +0 -21
- package/dist/dts/button/button.stories.d.ts +0 -21
- package/dist/dts/button/button.styles.d.ts +0 -3
- package/dist/dts/button/index.d.ts +0 -48
- package/dist/dts/calendar/calendar.stories.d.ts +0 -86
- package/dist/dts/calendar/calendar.styles.d.ts +0 -7
- package/dist/dts/calendar/index.d.ts +0 -18
- package/dist/dts/card/card.stories.d.ts +0 -15
- package/dist/dts/card/card.styles.d.ts +0 -3
- package/dist/dts/card/index.d.ts +0 -46
- package/dist/dts/checkbox/checkbox.stories.d.ts +0 -28
- package/dist/dts/checkbox/checkbox.styles.d.ts +0 -3
- package/dist/dts/checkbox/index.d.ts +0 -16
- package/dist/dts/color/palette.d.ts +0 -73
- package/dist/dts/color/recipe.d.ts +0 -20
- package/dist/dts/color/recipes/contrast-and-delta-swatch-set.d.ts +0 -11
- package/dist/dts/color/recipes/contrast-swatch.d.ts +0 -12
- package/dist/dts/color/recipes/delta-swatch-set.d.ts +0 -36
- package/dist/dts/color/recipes/delta-swatch.d.ts +0 -12
- package/dist/dts/color/recipes/focus-stroke.d.ts +0 -10
- package/dist/dts/color/recipes/foreground-on-accent.d.ts +0 -11
- package/dist/dts/color/recipes/gradient-shadow-stroke.d.ts +0 -7
- package/dist/dts/color/recipes/gradient-swatch.d.ts +0 -36
- package/dist/dts/color/recipes/neutral-layer-1.d.ts +0 -10
- package/dist/dts/color/recipes/neutral-layer-2.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-layer-3.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-layer-4.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-layer-floating.d.ts +0 -6
- package/dist/dts/color/recipes/underline-stroke.d.ts +0 -7
- package/dist/dts/color/swatch.d.ts +0 -31
- package/dist/dts/color/utilities/base-layer-luminance.d.ts +0 -11
- package/dist/dts/color/utilities/binary-search.d.ts +0 -4
- package/dist/dts/color/utilities/color-constants.d.ts +0 -14
- package/dist/dts/color/utilities/direction-by-is-dark.d.ts +0 -5
- package/dist/dts/color/utilities/is-dark.d.ts +0 -9
- package/dist/dts/color/utilities/relative-luminance.d.ts +0 -13
- package/dist/dts/combobox/combobox.stories.d.ts +0 -36
- package/dist/dts/combobox/combobox.styles.d.ts +0 -3
- package/dist/dts/combobox/index.d.ts +0 -43
- package/dist/dts/component-definitions.d.ts +0 -43
- package/dist/dts/custom-elements.d.ts +0 -103
- package/dist/dts/data-grid/data-grid-cell.styles.d.ts +0 -3
- package/dist/dts/data-grid/data-grid-row.styles.d.ts +0 -3
- package/dist/dts/data-grid/data-grid.stories.d.ts +0 -15
- package/dist/dts/data-grid/data-grid.styles.d.ts +0 -3
- package/dist/dts/data-grid/index.d.ts +0 -45
- package/dist/dts/design-system-provider/index.d.ts +0 -582
- package/dist/dts/design-tokens.d.ts +0 -519
- package/dist/dts/dialog/dialog.stories.d.ts +0 -25
- package/dist/dts/dialog/dialog.styles.d.ts +0 -3
- package/dist/dts/dialog/index.d.ts +0 -21
- package/dist/dts/divider/divider.stories.d.ts +0 -6
- package/dist/dts/flipper/flipper.stories.d.ts +0 -17
- package/dist/dts/flipper/flipper.styles.d.ts +0 -3
- package/dist/dts/flipper/index.d.ts +0 -21
- package/dist/dts/horizontal-scroll/horizontal-scroll.stories.d.ts +0 -15
- package/dist/dts/horizontal-scroll/horizontal-scroll.styles.d.ts +0 -12
- package/dist/dts/horizontal-scroll/index.d.ts +0 -25
- package/dist/dts/listbox/index.d.ts +0 -19
- package/dist/dts/listbox/listbox.stories.d.ts +0 -6
- package/dist/dts/listbox/listbox.styles.d.ts +0 -3
- package/dist/dts/listbox-option/index.d.ts +0 -17
- package/dist/dts/listbox-option/listbox-option.stories.d.ts +0 -23
- package/dist/dts/listbox-option/listbox-option.styles.d.ts +0 -3
- package/dist/dts/menu/index.d.ts +0 -26
- package/dist/dts/menu/menu.stories.d.ts +0 -6
- package/dist/dts/menu/menu.styles.d.ts +0 -3
- package/dist/dts/menu-item/index.d.ts +0 -21
- package/dist/dts/menu-item/menu-item.stories.d.ts +0 -18
- package/dist/dts/menu-item/menu-item.styles.d.ts +0 -3
- package/dist/dts/number-field/index.d.ts +0 -41
- package/dist/dts/number-field/number-field.stories.d.ts +0 -71
- package/dist/dts/number-field/number-field.styles.d.ts +0 -3
- package/dist/dts/progress/index.d.ts +0 -2
- package/dist/dts/progress/progress/index.d.ts +0 -22
- package/dist/dts/progress/progress/progress.stories.d.ts +0 -15
- package/dist/dts/progress/progress/progress.styles.d.ts +0 -3
- package/dist/dts/progress/progress-ring/index.d.ts +0 -22
- package/dist/dts/progress/progress-ring/progress-ring.stories.d.ts +0 -15
- package/dist/dts/progress/progress-ring/progress-ring.styles.d.ts +0 -3
- package/dist/dts/radio/index.d.ts +0 -21
- package/dist/dts/radio/radio.stories.d.ts +0 -23
- package/dist/dts/radio/radio.styles.d.ts +0 -3
- package/dist/dts/radio-group/index.d.ts +0 -21
- package/dist/dts/radio-group/radio-group.stories.d.ts +0 -18
- package/dist/dts/radio-group/radio-group.styles.d.ts +0 -3
- package/dist/dts/search/index.d.ts +0 -38
- package/dist/dts/search/search.stories.d.ts +0 -75
- package/dist/dts/search/search.styles.d.ts +0 -3
- package/dist/dts/search/search.template.d.ts +0 -6
- package/dist/dts/select/index.d.ts +0 -44
- package/dist/dts/select/select.stories.d.ts +0 -28
- package/dist/dts/select/select.styles.d.ts +0 -13
- package/dist/dts/skeleton/index.d.ts +0 -21
- package/dist/dts/skeleton/skeleton.stories.d.ts +0 -20
- package/dist/dts/skeleton/skeleton.styles.d.ts +0 -3
- package/dist/dts/slider/index.d.ts +0 -21
- package/dist/dts/slider/slider.stories.d.ts +0 -14
- package/dist/dts/slider/slider.styles.d.ts +0 -3
- package/dist/dts/slider-label/index.d.ts +0 -21
- package/dist/dts/slider-label/slider-label.stories.d.ts +0 -23
- package/dist/dts/slider-label/slider-label.styles.d.ts +0 -3
- package/dist/dts/styles/direction.d.ts +0 -34
- package/dist/dts/styles/elevation.d.ts +0 -64
- package/dist/dts/styles/focus.d.ts +0 -13
- package/dist/dts/styles/patterns/button.styles.d.ts +0 -31
- package/dist/dts/styles/patterns/index.d.ts +0 -3
- package/dist/dts/styles/patterns/input.styles.d.ts +0 -30
- package/dist/dts/styles/patterns/type-ramp.d.ts +0 -18
- package/dist/dts/styles/size.d.ts +0 -7
- package/dist/dts/switch/switch.stories.d.ts +0 -18
- package/dist/dts/tabs/index.d.ts +0 -23
- package/dist/dts/tabs/tab/index.d.ts +0 -21
- package/dist/dts/tabs/tab/tab.styles.d.ts +0 -3
- package/dist/dts/tabs/tab-panel/index.d.ts +0 -21
- package/dist/dts/tabs/tab-panel/tab-panel.styles.d.ts +0 -3
- package/dist/dts/tabs/tabs.stories.d.ts +0 -19
- package/dist/dts/tabs/tabs.styles.d.ts +0 -3
- package/dist/dts/text-area/index.d.ts +0 -45
- package/dist/dts/text-area/text-area.stories.d.ts +0 -41
- package/dist/dts/text-area/text-area.styles.d.ts +0 -3
- package/dist/dts/text-field/index.d.ts +0 -45
- package/dist/dts/text-field/text-field.stories.d.ts +0 -81
- package/dist/dts/text-field/text-field.styles.d.ts +0 -3
- package/dist/dts/toolbar/index.d.ts +0 -17
- package/dist/dts/toolbar/toolbar.stories.d.ts +0 -9
- package/dist/dts/toolbar/toolbar.styles.d.ts +0 -3
- package/dist/dts/tooltip/index.d.ts +0 -21
- package/dist/dts/tooltip/tooltip.stories.d.ts +0 -14
- package/dist/dts/tooltip/tooltip.styles.d.ts +0 -3
- package/dist/dts/tree-item/index.d.ts +0 -22
- package/dist/dts/tree-item/tree-item.stories.d.ts +0 -18
- package/dist/dts/tree-item/tree-item.styles.d.ts +0 -4
- package/dist/dts/tree-view/index.d.ts +0 -22
- package/dist/dts/tree-view/tree-view.stories.d.ts +0 -13
- package/dist/dts/tree-view/tree-view.styles.d.ts +0 -3
- package/dist/dts/utilities/behaviors.d.ts +0 -12
- package/dist/dts/utilities/type-ramp.d.ts +0 -12
- package/dist/esm/_docs/design-system/color-explorer/app.js +0 -247
- package/dist/esm/_docs/design-system/color-explorer/colors.js +0 -24
- package/dist/esm/_docs/design-system/color-explorer/component-types.js +0 -7
- package/dist/esm/_docs/design-system/color-explorer/components/color-block.js +0 -408
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.form-associated.js +0 -16
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.js +0 -297
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.styles.js +0 -124
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/color-picker.template.js +0 -130
- package/dist/esm/_docs/design-system/color-explorer/components/color-picker/index.js +0 -15
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/control-pane.js +0 -24
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/control-pane.styles.js +0 -19
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/control-pane.template.js +0 -52
- package/dist/esm/_docs/design-system/color-explorer/components/control-pane/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/gradient.js +0 -11
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/gradient.styles.js +0 -31
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/gradient.template.js +0 -21
- package/dist/esm/_docs/design-system/color-explorer/components/gradient/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/layer-background/index.js +0 -70
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/sample-app.js +0 -3
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/sample-app.styles.js +0 -166
- package/dist/esm/_docs/design-system/color-explorer/components/sample-app/sample-app.template.js +0 -97
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/index.js +0 -18
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/sample-page.js +0 -3
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/sample-page.styles.js +0 -130
- package/dist/esm/_docs/design-system/color-explorer/components/sample-page/sample-page.template.js +0 -82
- package/dist/esm/_docs/design-system/color-explorer/components/swatch.js +0 -163
- package/dist/esm/_docs/design-system/color-explorer/custom-elements.js +0 -3
- package/dist/esm/_docs/design-system/color-explorer/index.js +0 -14
- package/dist/esm/accordion/accordion-item/accordion-item.styles.js +0 -154
- package/dist/esm/accordion/accordion-item/accordion-item.vscode.definition.json +0 -67
- package/dist/esm/accordion/accordion-item/index.js +0 -32
- package/dist/esm/accordion/accordion.stories.js +0 -66
- package/dist/esm/accordion/accordion.vscode.definition.json +0 -35
- package/dist/esm/anchor/anchor.stories.js +0 -34
- package/dist/esm/anchor/anchor.styles.js +0 -5
- package/dist/esm/anchor/anchor.vscode.definition.json +0 -138
- package/dist/esm/anchor/index.js +0 -67
- package/dist/esm/anchored-region/anchored-region.stories.js +0 -133
- package/dist/esm/anchored-region/anchored-region.styles.js +0 -7
- package/dist/esm/anchored-region/anchored-region.vscode.definition.json +0 -140
- package/dist/esm/anchored-region/index.js +0 -26
- package/dist/esm/badge/badge.stories.js +0 -27
- package/dist/esm/badge/badge.vscode.definition.json +0 -60
- package/dist/esm/breadcrumb/breadcrumb.stories.js +0 -20
- package/dist/esm/breadcrumb/breadcrumb.styles.js +0 -13
- package/dist/esm/breadcrumb/breadcrumb.vscode.definition.json +0 -18
- package/dist/esm/breadcrumb/index.js +0 -26
- package/dist/esm/breadcrumb-item/breadcrumb-item.stories.js +0 -16
- package/dist/esm/breadcrumb-item/breadcrumb-item.styles.js +0 -96
- package/dist/esm/breadcrumb-item/breadcrumb-item.vscode.definition.json +0 -50
- package/dist/esm/breadcrumb-item/index.js +0 -34
- package/dist/esm/button/button.stories.js +0 -40
- package/dist/esm/button/button.styles.js +0 -24
- package/dist/esm/button/button.vscode.definition.json +0 -158
- package/dist/esm/button/index.js +0 -67
- package/dist/esm/calendar/calendar.stories.js +0 -115
- package/dist/esm/calendar/calendar.styles.js +0 -132
- package/dist/esm/calendar/index.js +0 -31
- package/dist/esm/card/card.stories.js +0 -30
- package/dist/esm/card/card.styles.js +0 -28
- package/dist/esm/card/card.vscode.definition.json +0 -33
- package/dist/esm/card/index.js +0 -79
- package/dist/esm/checkbox/checkbox.stories.js +0 -43
- package/dist/esm/checkbox/checkbox.styles.js +0 -161
- package/dist/esm/checkbox/checkbox.vscode.definition.json +0 -69
- package/dist/esm/checkbox/index.js +0 -31
- package/dist/esm/color/palette.js +0 -250
- package/dist/esm/color/recipes/contrast-and-delta-swatch-set.js +0 -28
- package/dist/esm/color/recipes/contrast-swatch.js +0 -12
- package/dist/esm/color/recipes/delta-swatch-set.js +0 -53
- package/dist/esm/color/recipes/delta-swatch.js +0 -13
- package/dist/esm/color/recipes/focus-stroke.js +0 -14
- package/dist/esm/color/recipes/foreground-on-accent.js +0 -21
- package/dist/esm/color/recipes/gradient-shadow-stroke.js +0 -54
- package/dist/esm/color/recipes/gradient-swatch.js +0 -36
- package/dist/esm/color/recipes/neutral-layer-1.js +0 -13
- package/dist/esm/color/recipes/neutral-layer-2.js +0 -7
- package/dist/esm/color/recipes/neutral-layer-3.js +0 -7
- package/dist/esm/color/recipes/neutral-layer-4.js +0 -7
- package/dist/esm/color/recipes/neutral-layer-floating.js +0 -7
- package/dist/esm/color/recipes/underline-stroke.js +0 -31
- package/dist/esm/color/swatch.js +0 -53
- package/dist/esm/color/utilities/base-layer-luminance.js +0 -14
- package/dist/esm/color/utilities/binary-search.js +0 -15
- package/dist/esm/color/utilities/color-constants.js +0 -19
- package/dist/esm/color/utilities/direction-by-is-dark.js +0 -7
- package/dist/esm/color/utilities/is-dark.js +0 -17
- package/dist/esm/color/utilities/relative-luminance.js +0 -8
- package/dist/esm/combobox/combobox.stories.js +0 -84
- package/dist/esm/combobox/combobox.styles.js +0 -40
- package/dist/esm/combobox/combobox.vscode.definition.json +0 -121
- package/dist/esm/combobox/index.js +0 -63
- package/dist/esm/component-definitions.js +0 -84
- package/dist/esm/custom-elements.js +0 -102
- package/dist/esm/data-grid/data-grid-cell.styles.js +0 -36
- package/dist/esm/data-grid/data-grid-cell.vscode.definition.json +0 -34
- package/dist/esm/data-grid/data-grid-row.styles.js +0 -24
- package/dist/esm/data-grid/data-grid-row.vscode.definition.json +0 -34
- package/dist/esm/data-grid/data-grid.stories.js +0 -381
- package/dist/esm/data-grid/data-grid.styles.js +0 -8
- package/dist/esm/data-grid/data-grid.vscode.definition.json +0 -34
- package/dist/esm/data-grid/index.js +0 -60
- package/dist/esm/design-system-provider/design-system-provider.vscode.definition.json +0 -510
- package/dist/esm/design-system-provider/index.js +0 -518
- package/dist/esm/design-tokens.js +0 -685
- package/dist/esm/dialog/dialog.stories.js +0 -36
- package/dist/esm/dialog/dialog.styles.js +0 -47
- package/dist/esm/dialog/dialog.vscode.definition.json +0 -67
- package/dist/esm/dialog/index.js +0 -26
- package/dist/esm/divider/divider.stories.js +0 -17
- package/dist/esm/divider/divider.vscode.definition.json +0 -29
- package/dist/esm/flipper/flipper.stories.js +0 -31
- package/dist/esm/flipper/flipper.styles.js +0 -84
- package/dist/esm/flipper/flipper.vscode.definition.json +0 -56
- package/dist/esm/flipper/index.js +0 -36
- package/dist/esm/horizontal-scroll/horizontal-scroll.stories.js +0 -81
- package/dist/esm/horizontal-scroll/horizontal-scroll.styles.js +0 -138
- package/dist/esm/horizontal-scroll/horizontal-scroll.vscode.definition.json +0 -85
- package/dist/esm/horizontal-scroll/index.js +0 -47
- package/dist/esm/listbox/index.js +0 -24
- package/dist/esm/listbox/listbox.stories.js +0 -29
- package/dist/esm/listbox/listbox.styles.js +0 -21
- package/dist/esm/listbox/listbox.vscode.definition.json +0 -40
- package/dist/esm/listbox-option/index.js +0 -22
- package/dist/esm/listbox-option/listbox-option.stories.js +0 -38
- package/dist/esm/listbox-option/listbox-option.styles.js +0 -133
- package/dist/esm/listbox-option/listbox-option.vscode.definition.json +0 -45
- package/dist/esm/menu/index.js +0 -36
- package/dist/esm/menu/menu.stories.js +0 -56
- package/dist/esm/menu/menu.styles.js +0 -42
- package/dist/esm/menu/menu.vscode.definition.json +0 -18
- package/dist/esm/menu-item/index.js +0 -41
- package/dist/esm/menu-item/menu-item.stories.js +0 -34
- package/dist/esm/menu-item/menu-item.styles.js +0 -265
- package/dist/esm/menu-item/menu-item.vscode.definition.json +0 -82
- package/dist/esm/number-field/index.js +0 -57
- package/dist/esm/number-field/number-field.stories.js +0 -83
- package/dist/esm/number-field/number-field.styles.js +0 -71
- package/dist/esm/number-field/number-field.vscode.definition.json +0 -167
- package/dist/esm/progress/index.js +0 -2
- package/dist/esm/progress/progress/index.js +0 -33
- package/dist/esm/progress/progress/progress.stories.js +0 -59
- package/dist/esm/progress/progress/progress.styles.js +0 -119
- package/dist/esm/progress/progress/progress.vscode.definition.json +0 -56
- package/dist/esm/progress/progress-ring/index.js +0 -45
- package/dist/esm/progress/progress-ring/progress-ring.stories.js +0 -59
- package/dist/esm/progress/progress-ring/progress-ring.styles.js +0 -79
- package/dist/esm/progress/progress-ring/progress-ring.vscode.definition.json +0 -56
- package/dist/esm/radio/index.js +0 -31
- package/dist/esm/radio/radio.stories.js +0 -41
- package/dist/esm/radio/radio.styles.js +0 -152
- package/dist/esm/radio/radio.vscode.definition.json +0 -63
- package/dist/esm/radio-group/index.js +0 -26
- package/dist/esm/radio-group/radio-group.stories.js +0 -42
- package/dist/esm/radio-group/radio-group.styles.js +0 -21
- package/dist/esm/radio-group/radio-group.vscode.definition.json +0 -64
- package/dist/esm/search/index.js +0 -52
- package/dist/esm/search/search.stories.js +0 -83
- package/dist/esm/search/search.styles.js +0 -104
- package/dist/esm/search/search.template.js +0 -82
- package/dist/esm/search/search.vscode.definition.json +0 -145
- package/dist/esm/select/index.js +0 -61
- package/dist/esm/select/select.stories.js +0 -53
- package/dist/esm/select/select.styles.js +0 -139
- package/dist/esm/select/select.vscode.definition.json +0 -79
- package/dist/esm/skeleton/index.js +0 -26
- package/dist/esm/skeleton/skeleton.stories.js +0 -37
- package/dist/esm/skeleton/skeleton.styles.js +0 -77
- package/dist/esm/skeleton/skeleton.vscode.definition.json +0 -49
- package/dist/esm/slider/index.js +0 -29
- package/dist/esm/slider/slider.stories.js +0 -40
- package/dist/esm/slider/slider.styles.js +0 -162
- package/dist/esm/slider/slider.vscode.definition.json +0 -101
- package/dist/esm/slider-label/index.js +0 -26
- package/dist/esm/slider-label/slider-label.stories.js +0 -40
- package/dist/esm/slider-label/slider-label.styles.js +0 -77
- package/dist/esm/slider-label/slider-label.vscode.definition.json +0 -43
- package/dist/esm/styles/direction.js +0 -73
- package/dist/esm/styles/elevation.js +0 -74
- package/dist/esm/styles/focus.js +0 -21
- package/dist/esm/styles/patterns/button.styles.js +0 -427
- package/dist/esm/styles/patterns/index.js +0 -3
- package/dist/esm/styles/patterns/input.styles.js +0 -227
- package/dist/esm/styles/patterns/type-ramp.js +0 -74
- package/dist/esm/styles/size.js +0 -9
- package/dist/esm/switch/switch.stories.js +0 -42
- package/dist/esm/switch/switch.vscode.definition.json +0 -68
- package/dist/esm/tabs/index.js +0 -28
- package/dist/esm/tabs/tab/index.js +0 -26
- package/dist/esm/tabs/tab/tab.styles.js +0 -75
- package/dist/esm/tabs/tab/tab.vscode.definition.json +0 -17
- package/dist/esm/tabs/tab-panel/index.js +0 -26
- package/dist/esm/tabs/tab-panel/tab-panel.styles.js +0 -11
- package/dist/esm/tabs/tab-panel/tab-panel.vscode.definition.json +0 -17
- package/dist/esm/tabs/tabs.stories.js +0 -105
- package/dist/esm/tabs/tabs.styles.js +0 -98
- package/dist/esm/tabs/tabs.vscode.definition.json +0 -50
- package/dist/esm/text-area/index.js +0 -56
- package/dist/esm/text-area/text-area.stories.js +0 -56
- package/dist/esm/text-area/text-area.styles.js +0 -39
- package/dist/esm/text-area/text-area.vscode.definition.json +0 -141
- package/dist/esm/text-field/index.js +0 -56
- package/dist/esm/text-field/text-field.stories.js +0 -88
- package/dist/esm/text-field/text-field.styles.js +0 -48
- package/dist/esm/text-field/text-field.vscode.definition.json +0 -150
- package/dist/esm/toolbar/index.js +0 -23
- package/dist/esm/toolbar/toolbar.stories.js +0 -9
- package/dist/esm/toolbar/toolbar.styles.js +0 -73
- package/dist/esm/tooltip/index.js +0 -31
- package/dist/esm/tooltip/tooltip.stories.js +0 -34
- package/dist/esm/tooltip/tooltip.styles.js +0 -107
- package/dist/esm/tooltip/tooltip.vscode.definition.json +0 -56
- package/dist/esm/tree-item/index.js +0 -32
- package/dist/esm/tree-item/tree-item.stories.js +0 -34
- package/dist/esm/tree-item/tree-item.styles.js +0 -227
- package/dist/esm/tree-item/tree-item.vscode.definition.json +0 -63
- package/dist/esm/tree-view/index.js +0 -27
- package/dist/esm/tree-view/tree-view.stories.js +0 -99
- package/dist/esm/tree-view/tree-view.styles.js +0 -14
- package/dist/esm/tree-view/tree-view.vscode.definition.json +0 -26
- package/dist/esm/utilities/behaviors.js +0 -13
- package/dist/esm/utilities/type-ramp.js +0 -12
- package/karma.conf.js +0 -147
- package/public/SegoeUI-VF.ttf +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/switches.ts +0 -24
- package/rollup.config.js +0 -53
- package/storybook-typings.d.ts +0 -4
- /package/dist/{esm/color/recipe.js → dts/accordion-item/define.d.ts} +0 -0
|
@@ -1,239 +1,287 @@
|
|
|
1
|
-
const t=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof global)return global;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;try{return new Function("return this")()}catch(t){return{}}}();void 0===t.trustedTypes&&(t.trustedTypes={createPolicy:(t,e)=>e});const e={configurable:!1,enumerable:!1,writable:!1};void 0===t.FAST&&Reflect.defineProperty(t,"FAST",Object.assign({value:Object.create(null)},e));const i=t.FAST;if(void 0===i.getById){const t=Object.create(null);Reflect.defineProperty(i,"getById",Object.assign({value(e,i){let o=t[e];return void 0===o&&(o=i?t[e]=i():null),o}},e))}const o=Object.freeze([]);function s(){const t=new WeakMap;return function(e){let i=t.get(e);if(void 0===i){let o=Reflect.getPrototypeOf(e);for(;void 0===i&&null!==o;)i=t.get(o),o=Reflect.getPrototypeOf(o);i=void 0===i?[]:i.slice(0),t.set(e,i)}return i}}const n=t.FAST.getById(1,()=>{const e=[],i=[];function o(){if(i.length)throw i.shift()}function s(t){try{t.call()}catch(t){i.push(t),setTimeout(o,0)}}function n(){let t=0;for(;t<e.length;)if(s(e[t]),t++,t>1024){for(let i=0,o=e.length-t;i<o;i++)e[i]=e[i+t];e.length-=t,t=0}e.length=0}return Object.freeze({enqueue:function(i){e.length<1&&t.requestAnimationFrame(n),e.push(i)},process:n})}),r=t.trustedTypes.createPolicy("fast-html",{createHTML:t=>t});let a=r;const l="fast-"+Math.random().toString(36).substring(2,8),c=l+"{",h="}"+l,d=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(t){if(a!==r)throw new Error("The HTML policy can only be set once.");a=t},createHTML:t=>a.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(l),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(l+":","")),createInterpolationPlaceholder:t=>`${c}${t}${h}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${l}:${t}--\x3e`,queueUpdate:n.enqueue,processUpdates:n.process,nextUpdate:()=>new Promise(n.enqueue),setAttribute(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)},setBooleanAttribute(t,e,i){i?t.setAttribute(e,""):t.removeAttribute(e)},removeChildNodes(t){for(let e=t.firstChild;null!==e;e=t.firstChild)t.removeChild(e)},createTemplateWalker:t=>document.createTreeWalker(t,133,null,!1)});class u{constructor(t,e){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=e}has(t){return void 0===this.spillover?this.sub1===t||this.sub2===t:-1!==this.spillover.indexOf(t)}subscribe(t){const e=this.spillover;if(void 0===e){if(this.has(t))return;if(void 0===this.sub1)return void(this.sub1=t);if(void 0===this.sub2)return void(this.sub2=t);this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else{-1===e.indexOf(t)&&e.push(t)}}unsubscribe(t){const e=this.spillover;if(void 0===e)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}notify(t){const e=this.spillover,i=this.source;if(void 0===e){const e=this.sub1,o=this.sub2;void 0!==e&&e.handleChange(i,t),void 0!==o&&o.handleChange(i,t)}else for(let o=0,s=e.length;o<s;++o)e[o].handleChange(i,t)}}class p{constructor(t){this.subscribers={},this.sourceSubscribers=null,this.source=t}notify(t){var e;const i=this.subscribers[t];void 0!==i&&i.notify(t),null===(e=this.sourceSubscribers)||void 0===e||e.notify(t)}subscribe(t,e){var i;if(e){let i=this.subscribers[e];void 0===i&&(this.subscribers[e]=i=new u(this.source)),i.subscribe(t)}else this.sourceSubscribers=null!==(i=this.sourceSubscribers)&&void 0!==i?i:new u(this.source),this.sourceSubscribers.subscribe(t)}unsubscribe(t,e){var i;if(e){const i=this.subscribers[e];void 0!==i&&i.unsubscribe(t)}else null===(i=this.sourceSubscribers)||void 0===i||i.unsubscribe(t)}}const g=i.getById(2,()=>{const t=/(:|&&|\|\||if)/,e=new WeakMap,i=d.queueUpdate;let o=void 0,n=t=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function r(t){let i=t.$fastController||e.get(t);return void 0===i&&(Array.isArray(t)?i=n(t):e.set(t,i=new p(t))),i}const a=s();class l{constructor(t){this.name=t,this.field="_"+t,this.callback=t+"Changed"}getValue(t){return void 0!==o&&o.watch(t,this.name),t[this.field]}setValue(t,e){const i=this.field,o=t[i];if(o!==e){t[i]=e;const s=t[this.callback];"function"==typeof s&&s.call(t,o,e),r(t).notify(this.name)}}}class c extends u{constructor(t,e,i=!1){super(t,e),this.binding=t,this.isVolatileBinding=i,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(t,e){this.needsRefresh&&null!==this.last&&this.disconnect();const i=o;o=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;const s=this.binding(t,e);return o=i,s}disconnect(){if(null!==this.last){let t=this.first;for(;void 0!==t;)t.notifier.unsubscribe(this,t.propertyName),t=t.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const i=this.last,s=r(t),n=null===i?this.first:{};if(n.propertySource=t,n.propertyName=e,n.notifier=s,s.subscribe(this,e),null!==i){if(!this.needsRefresh){let e;o=void 0,e=i.propertySource[i.propertyName],o=this,t===e&&(this.needsRefresh=!0)}i.next=n}this.last=n}handleChange(){this.needsQueue&&(this.needsQueue=!1,i(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let t=this.first;return{next:()=>{const e=t;return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(t){n=t},getNotifier:r,track(t,e){void 0!==o&&o.watch(t,e)},trackVolatile(){void 0!==o&&(o.needsRefresh=!0)},notify(t,e){r(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new l(e)),a(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors:a,binding(t,e,i=this.isVolatileBinding(t)){return new c(t,e,i)},isVolatileBinding:e=>t.test(e.toString())})});function f(t,e){g.defineProperty(t,e)}const m=i.getById(3,()=>{let t=null;return{get:()=>t,set(e){t=e}}});class v{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return m.get()}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}static setEvent(t){m.set(t)}}g.defineProperty(v.prototype,"index"),g.defineProperty(v.prototype,"length");const b=Object.seal(new v);class y{constructor(){this.targetIndex=0}}class x extends y{constructor(){super(...arguments),this.createPlaceholder=d.createInterpolationPlaceholder}}class $ extends y{constructor(t,e,i){super(),this.name=t,this.behavior=e,this.options=i}createPlaceholder(t){return d.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function w(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=g.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function k(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function C(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function I(){this.bindingObserver.disconnect(),this.source=null,this.context=null;const t=this.target.$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function F(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function D(t){d.setAttribute(this.target,this.targetName,t)}function T(t){d.setBooleanAttribute(this.target,this.targetName,t)}function S(t){if(null==t&&(t=""),t.create){this.target.textContent="";let e=this.target.$fastView;void 0===e?e=t.create():this.target.$fastTemplate!==t&&(e.isComposed&&(e.remove(),e.unbind()),e=t.create()),e.isComposed?e.needsBindOnly&&(e.needsBindOnly=!1,e.bind(this.source,this.context)):(e.isComposed=!0,e.bind(this.source,this.context),e.insertBefore(this.target),this.target.$fastView=e,this.target.$fastTemplate=t)}else{const e=this.target.$fastView;void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function O(t){this.target[this.targetName]=t}function E(t){const e=this.classVersions||Object.create(null),i=this.target;let o=this.version||0;if(null!=t&&t.length){const s=t.split(/\s+/);for(let t=0,n=s.length;t<n;++t){const n=s[t];""!==n&&(e[n]=o,i.classList.add(n))}}if(this.classVersions=e,this.version=o+1,0!==o){o-=1;for(const t in e)e[t]===o&&i.classList.remove(t)}}class V extends x{constructor(t){super(),this.binding=t,this.bind=w,this.unbind=C,this.updateTarget=D,this.isBindingVolatile=g.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(t){if(this.originalTargetName=t,void 0!==t)switch(t[0]){case":":if(this.cleanedTargetName=t.substr(1),this.updateTarget=O,"innerHTML"===this.cleanedTargetName){const t=this.binding;this.binding=(e,i)=>d.createHTML(t(e,i))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=T;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=k,this.unbind=F;break;default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=E)}}targetAtContent(){this.updateTarget=S,this.unbind=I}createBehavior(t){return new R(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class R{constructor(t,e,i,o,s,n,r){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=i,this.bind=o,this.unbind=s,this.updateTarget=n,this.targetName=r}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){v.setEvent(t);const e=this.binding(this.source,this.context);v.setEvent(null),!0!==e&&t.preventDefault()}}let A=null;class L{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){A=this}static borrow(t){const e=A||new L;return e.directives=t,e.reset(),A=null,e}}function P(t){if(1===t.length)return t[0];let e;const i=t.length,o=t.map(t=>"string"==typeof t?()=>t:(e=t.targetName||e,t.binding)),s=new V((t,e)=>{let s="";for(let n=0;n<i;++n)s+=o[n](t,e);return s});return s.targetName=e,s}const z=h.length;function H(t,e){const i=e.split(c);if(1===i.length)return null;const o=[];for(let e=0,s=i.length;e<s;++e){const s=i[e],n=s.indexOf(h);let r;if(-1===n)r=s;else{const e=parseInt(s.substring(0,n));o.push(t.directives[e]),r=s.substring(n+z)}""!==r&&o.push(r)}return o}function M(t,e,i=!1){const o=e.attributes;for(let s=0,n=o.length;s<n;++s){const r=o[s],a=r.value,l=H(t,a);let c=null;null===l?i&&(c=new V(()=>a),c.targetName=r.name):c=P(l),null!==c&&(e.removeAttributeNode(r),s--,n--,t.addFactory(c))}}function B(t,e,i){const o=H(t,e.textContent);if(null!==o){let s=e;for(let n=0,r=o.length;n<r;++n){const r=o[n],a=0===n?e:s.parentNode.insertBefore(document.createTextNode(""),s.nextSibling);"string"==typeof r?a.textContent=r:(a.textContent=" ",t.captureContentBinding(r)),s=a,t.targetIndex++,a!==e&&i.nextNode()}t.targetIndex--}}const N=document.createRange();class j{constructor(t,e){this.fragment=t,this.behaviors=e,this.source=null,this.context=null,this.firstChild=t.firstChild,this.lastChild=t.lastChild}appendTo(t){t.appendChild(this.fragment)}insertBefore(t){if(this.fragment.hasChildNodes())t.parentNode.insertBefore(this.fragment,t);else{const e=this.lastChild;if(t.previousSibling===e)return;const i=t.parentNode;let o,s=this.firstChild;for(;s!==e;)o=s.nextSibling,i.insertBefore(s,t),s=o;i.insertBefore(e,t)}}remove(){const t=this.fragment,e=this.lastChild;let i,o=this.firstChild;for(;o!==e;)i=o.nextSibling,t.appendChild(o),o=i;t.appendChild(e)}dispose(){const t=this.firstChild.parentNode,e=this.lastChild;let i,o=this.firstChild;for(;o!==e;)i=o.nextSibling,t.removeChild(o),o=i;t.removeChild(e);const s=this.behaviors,n=this.source;for(let t=0,e=s.length;t<e;++t)s[t].unbind(n)}bind(t,e){const i=this.behaviors;if(this.source!==t)if(null!==this.source){const o=this.source;this.source=t,this.context=e;for(let s=0,n=i.length;s<n;++s){const n=i[s];n.unbind(o),n.bind(t,e)}}else{this.source=t,this.context=e;for(let o=0,s=i.length;o<s;++o)i[o].bind(t,e)}}unbind(){if(null===this.source)return;const t=this.behaviors,e=this.source;for(let i=0,o=t.length;i<o;++i)t[i].unbind(e);this.source=null}static disposeContiguousBatch(t){if(0!==t.length){N.setStartBefore(t[0].firstChild),N.setEndAfter(t[t.length-1].lastChild),N.deleteContents();for(let e=0,i=t.length;e<i;++e){const i=t[e],o=i.behaviors,s=i.source;for(let t=0,e=o.length;t<e;++t)o[t].unbind(s)}}}}class U{constructor(t,e){this.behaviorCount=0,this.hasHostBehaviors=!1,this.fragment=null,this.targetOffset=0,this.viewBehaviorFactories=null,this.hostBehaviorFactories=null,this.html=t,this.directives=e}create(t){if(null===this.fragment){let t;const e=this.html;if("string"==typeof e){t=document.createElement("template"),t.innerHTML=d.createHTML(e);const i=t.content.firstElementChild;null!==i&&"TEMPLATE"===i.tagName&&(t=i)}else t=e;const i=function(t,e){const i=t.content;document.adoptNode(i);const o=L.borrow(e);M(o,t,!0);const s=o.behaviorFactories;o.reset();const n=d.createTemplateWalker(i);let r;for(;r=n.nextNode();)switch(o.targetIndex++,r.nodeType){case 1:M(o,r);break;case 3:B(o,r,n);break;case 8:d.isMarker(r)&&o.addFactory(e[d.extractDirectiveIndexFromMarker(r)])}let a=0;(d.isMarker(i.firstChild)||1===i.childNodes.length&&e.length)&&(i.insertBefore(document.createComment(""),i.firstChild),a=-1);const l=o.behaviorFactories;return o.release(),{fragment:i,viewBehaviorFactories:l,hostBehaviorFactories:s,targetOffset:a}}(t,this.directives);this.fragment=i.fragment,this.viewBehaviorFactories=i.viewBehaviorFactories,this.hostBehaviorFactories=i.hostBehaviorFactories,this.targetOffset=i.targetOffset,this.behaviorCount=this.viewBehaviorFactories.length+this.hostBehaviorFactories.length,this.hasHostBehaviors=this.hostBehaviorFactories.length>0}const e=this.fragment.cloneNode(!0),i=this.viewBehaviorFactories,o=new Array(this.behaviorCount),s=d.createTemplateWalker(e);let n=0,r=this.targetOffset,a=s.nextNode();for(let t=i.length;n<t;++n){const t=i[n],e=t.targetIndex;for(;null!==a;){if(r===e){o[n]=t.createBehavior(a);break}a=s.nextNode(),r++}}if(this.hasHostBehaviors){const e=this.hostBehaviorFactories;for(let i=0,s=e.length;i<s;++i,++n)o[n]=e[i].createBehavior(t)}return new j(e,o)}render(t,e,i){"string"==typeof e&&(e=document.getElementById(e)),void 0===i&&(i=e);const o=this.create(i);return o.bind(t,b),o.appendTo(e),o}}const q=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function _(t,...e){const i=[];let o="";for(let s=0,n=t.length-1;s<n;++s){const n=t[s];let r=e[s];if(o+=n,r instanceof U){const t=r;r=()=>t}if("function"==typeof r&&(r=new V(r)),r instanceof x){const t=q.exec(n);null!==t&&(r.targetName=t[2])}r instanceof y?(o+=r.createPlaceholder(i.length),i.push(r)):o+=r}return o+=t[t.length-1],new U(o,i)}class G{constructor(){this.targets=new WeakSet}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=null===this.behaviors?t:this.behaviors.concat(t),this}}function W(t){return t.map(t=>t instanceof G?W(t.styles):[t]).reduce((t,e)=>t.concat(e),[])}function K(t){return t.map(t=>t instanceof G?t.behaviors:null).reduce((t,e)=>null===e?t:(null===t&&(t=[]),t.concat(e)),null)}G.create=(()=>{if(d.supportsAdoptedStyleSheets){const t=new Map;return e=>new X(e,t)}return t=>new Q(t)})();class X extends G{constructor(t,e){super(),this.styles=t,this.styleSheetCache=e,this._styleSheets=void 0,this.behaviors=K(t)}get styleSheets(){if(void 0===this._styleSheets){const t=this.styles,e=this.styleSheetCache;this._styleSheets=W(t).map(t=>{if(t instanceof CSSStyleSheet)return t;let i=e.get(t);return void 0===i&&(i=new CSSStyleSheet,i.replaceSync(t),e.set(t,i)),i})}return this._styleSheets}addStylesTo(t){t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(t)}removeStylesFrom(t){const e=this.styleSheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(t=>-1===e.indexOf(t)),super.removeStylesFrom(t)}}let Y=0;class Q extends G{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=K(t),this.styleSheets=W(t),this.styleClass="fast-style-class-"+ ++Y}addStylesTo(t){const e=this.styleSheets,i=this.styleClass;t=this.normalizeTarget(t);for(let o=0;o<e.length;o++){const s=document.createElement("style");s.innerHTML=e[o],s.className=i,t.append(s)}super.addStylesTo(t)}removeStylesFrom(t){const e=(t=this.normalizeTarget(t)).querySelectorAll("."+this.styleClass);for(let i=0,o=e.length;i<o;++i)t.removeChild(e[i]);super.removeStylesFrom(t)}isAttachedTo(t){return super.isAttachedTo(this.normalizeTarget(t))}normalizeTarget(t){return t===document?document.body:t}}const Z=Object.freeze({locate:s()}),J={toView:t=>t?"true":"false",fromView:t=>null!=t&&"false"!==t&&!1!==t&&0!==t},tt={toView(t){if(null==t)return null;const e=1*t;return isNaN(e)?null:e.toString()},fromView(t){if(null==t)return null;const e=1*t;return isNaN(e)?null:e}};class et{constructor(t,e,i=e.toLowerCase(),o="reflect",s){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=i,this.mode=o,this.converter=s,this.fieldName="_"+e,this.callbackName=e+"Changed",this.hasCallback=this.callbackName in t.prototype,"boolean"===o&&void 0===s&&(this.converter=J)}setValue(t,e){const i=t[this.fieldName],o=this.converter;void 0!==o&&(e=o.fromView(e)),i!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](i,e),t.$fastController.notify(this.name))}getValue(t){return g.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,i=this.guards;i.has(t)||"fromView"===e||d.queueUpdate(()=>{i.add(t);const o=t[this.fieldName];switch(e){case"reflect":const e=this.converter;d.setAttribute(t,this.attribute,void 0!==e?e.toView(o):o);break;case"boolean":d.setBooleanAttribute(t,this.attribute,o)}i.delete(t)})}static collect(t,...e){const i=[];e.push(Z.locate(t));for(let o=0,s=e.length;o<s;++o){const s=e[o];if(void 0!==s)for(let e=0,o=s.length;e<o;++e){const o=s[e];"string"==typeof o?i.push(new et(t,o)):i.push(new et(t,o.property,o.attribute,o.mode,o.converter))}}return i}}function it(t,e){let i;function o(t,e){arguments.length>1&&(i.property=e),Z.locate(t.constructor).push(i)}return arguments.length>1?(i={},void o(t,e)):(i=void 0===t?{}:t,o)}const ot={mode:"open"},st={},nt=i.getById(4,()=>{const t=new Map;return Object.freeze({register:e=>!t.has(e.type)&&(t.set(e.type,e),!0),getByType:e=>t.get(e)})});class rt{constructor(t,e=t.definition){"string"==typeof e&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template;const i=et.collect(t,e.attributes),o=new Array(i.length),s={},n={};for(let t=0,e=i.length;t<e;++t){const e=i[t];o[t]=e.attribute,s[e.name]=e,n[e.attribute]=e}this.attributes=i,this.observedAttributes=o,this.propertyLookup=s,this.attributeLookup=n,this.shadowOptions=void 0===e.shadowOptions?ot:null===e.shadowOptions?void 0:Object.assign(Object.assign({},ot),e.shadowOptions),this.elementOptions=void 0===e.elementOptions?st:Object.assign(Object.assign({},st),e.elementOptions),this.styles=void 0===e.styles?void 0:Array.isArray(e.styles)?G.create(e.styles):e.styles instanceof G?e.styles:G.create([e.styles])}get isDefined(){return!!nt.getByType(this.type)}define(t=customElements){const e=this.type;if(nt.register(this)){const t=this.attributes,i=e.prototype;for(let e=0,o=t.length;e<o;++e)g.defineProperty(i,t[e]);Reflect.defineProperty(e,"observedAttributes",{value:this.observedAttributes,enumerable:!0})}return t.get(this.name)||t.define(this.name,e,this.elementOptions),this}}rt.forType=nt.getByType;const at=new WeakMap,lt={bubbles:!0,composed:!0,cancelable:!0};function ct(t){return t.shadowRoot||at.get(t)||null}class ht extends p{constructor(t,e){super(t),this.boundObservables=null,this.behaviors=null,this.needsInitialization=!0,this._template=null,this._styles=null,this._isConnected=!1,this.$fastController=this,this.view=null,this.element=t,this.definition=e;const i=e.shadowOptions;if(void 0!==i){const e=t.attachShadow(i);"closed"===i.mode&&at.set(t,e)}const o=g.getAccessors(t);if(o.length>0){const e=this.boundObservables=Object.create(null);for(let i=0,s=o.length;i<s;++i){const s=o[i].name,n=t[s];void 0!==n&&(delete t[s],e[s]=n)}}}get isConnected(){return g.track(this,"isConnected"),this._isConnected}setIsConnected(t){this._isConnected=t,g.notify(this,"isConnected")}get template(){return this._template}set template(t){this._template!==t&&(this._template=t,this.needsInitialization||this.renderTemplate(t))}get styles(){return this._styles}set styles(t){this._styles!==t&&(null!==this._styles&&this.removeStyles(this._styles),this._styles=t,this.needsInitialization||null===t||this.addStyles(t))}addStyles(t){const e=ct(this.element)||this.element.getRootNode();if(t instanceof HTMLStyleElement)e.append(t);else if(!t.isAttachedTo(e)){const i=t.behaviors;t.addStylesTo(e),null!==i&&this.addBehaviors(i)}}removeStyles(t){const e=ct(this.element)||this.element.getRootNode();if(t instanceof HTMLStyleElement)e.removeChild(t);else if(t.isAttachedTo(e)){const i=t.behaviors;t.removeStylesFrom(e),null!==i&&this.removeBehaviors(i)}}addBehaviors(t){const e=this.behaviors||(this.behaviors=new Map),i=t.length,o=[];for(let s=0;s<i;++s){const i=t[s];e.has(i)?e.set(i,e.get(i)+1):(e.set(i,1),o.push(i))}if(this._isConnected){const t=this.element;for(let e=0;e<o.length;++e)o[e].bind(t,b)}}removeBehaviors(t,e=!1){const i=this.behaviors;if(null===i)return;const o=t.length,s=[];for(let n=0;n<o;++n){const o=t[n];if(i.has(o)){const t=i.get(o)-1;0===t||e?i.delete(o)&&s.push(o):i.set(o,t)}}if(this._isConnected){const t=this.element;for(let e=0;e<s.length;++e)s[e].unbind(t)}}onConnectedCallback(){if(this._isConnected)return;const t=this.element;this.needsInitialization?this.finishInitialization():null!==this.view&&this.view.bind(t,b);const e=this.behaviors;if(null!==e)for(const[i]of e)i.bind(t,b);this.setIsConnected(!0)}onDisconnectedCallback(){if(!this._isConnected)return;this.setIsConnected(!1);const t=this.view;null!==t&&t.unbind();const e=this.behaviors;if(null!==e){const t=this.element;for(const[i]of e)i.unbind(t)}}onAttributeChangedCallback(t,e,i){const o=this.definition.attributeLookup[t];void 0!==o&&o.onAttributeChangedCallback(this.element,i)}emit(t,e,i){return!!this._isConnected&&this.element.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},lt),i)))}finishInitialization(){const t=this.element,e=this.boundObservables;if(null!==e){const i=Object.keys(e);for(let o=0,s=i.length;o<s;++o){const s=i[o];t[s]=e[s]}this.boundObservables=null}const i=this.definition;null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():i.template&&(this._template=i.template||null)),null!==this._template&&this.renderTemplate(this._template),null===this._styles&&(this.element.resolveStyles?this._styles=this.element.resolveStyles():i.styles&&(this._styles=i.styles||null)),null!==this._styles&&this.addStyles(this._styles),this.needsInitialization=!1}renderTemplate(t){const e=this.element,i=ct(e)||e;null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||d.removeChildNodes(i),t&&(this.view=t.render(e,i,e))}static forCustomElement(t){const e=t.$fastController;if(void 0!==e)return e;const i=rt.forType(t.constructor);if(void 0===i)throw new Error("Missing FASTElement definition.");return t.$fastController=new ht(t,i)}}function dt(t){return class extends t{constructor(){super(),ht.forCustomElement(this)}$emit(t,e,i){return this.$fastController.emit(t,e,i)}connectedCallback(){this.$fastController.onConnectedCallback()}disconnectedCallback(){this.$fastController.onDisconnectedCallback()}attributeChangedCallback(t,e,i){this.$fastController.onAttributeChangedCallback(t,e,i)}}}const ut=Object.assign(dt(HTMLElement),{from:t=>dt(t),define:(t,e)=>new rt(t,e).define().type});class pt{createCSS(){return""}createBehavior(){}}function gt(t,e){const i=[];let o="";const s=[];for(let n=0,r=t.length-1;n<r;++n){o+=t[n];let r=e[n];if(r instanceof pt){const t=r.createBehavior();r=r.createCSS(),t&&s.push(t)}r instanceof G||r instanceof CSSStyleSheet?(""!==o.trim()&&(i.push(o),o=""),i.push(r)):o+=r}return o+=t[t.length-1],""!==o.trim()&&i.push(o),{styles:i,behaviors:s}}function ft(t,...e){const{styles:i,behaviors:o}=gt(t,e),s=G.create(i);return o.length&&s.withBehaviors(...o),s}class mt extends pt{constructor(t,e){super(),this.behaviors=e,this.css="";const i=t.reduce((t,e)=>("string"==typeof e?this.css+=e:t.push(e),t),[]);i.length&&(this.styles=G.create(i))}createBehavior(){return this}createCSS(){return this.css}bind(t){this.styles&&t.$fastController.addStyles(this.styles),this.behaviors.length&&t.$fastController.addBehaviors(this.behaviors)}unbind(t){this.styles&&t.$fastController.removeStyles(this.styles),this.behaviors.length&&t.$fastController.removeBehaviors(this.behaviors)}}function vt(t,...e){const{styles:i,behaviors:o}=gt(t,e);return new mt(i,o)}function bt(t,e,i){return{index:t,removed:e,addedCount:i}}function yt(t,e,i,s,n,r){let a=0,l=0;const c=Math.min(i-e,r-n);if(0===e&&0===n&&(a=function(t,e,i){for(let o=0;o<i;++o)if(t[o]!==e[o])return o;return i}(t,s,c)),i===t.length&&r===s.length&&(l=function(t,e,i){let o=t.length,s=e.length,n=0;for(;n<i&&t[--o]===e[--s];)n++;return n}(t,s,c-a)),n+=a,r-=l,(i-=l)-(e+=a)==0&&r-n==0)return o;if(e===i){const t=bt(e,[],0);for(;n<r;)t.removed.push(s[n++]);return[t]}if(n===r)return[bt(e,[],i-e)];const h=function(t){let e=t.length-1,i=t[0].length-1,o=t[e][i];const s=[];for(;e>0||i>0;){if(0===e){s.push(2),i--;continue}if(0===i){s.push(3),e--;continue}const n=t[e-1][i-1],r=t[e-1][i],a=t[e][i-1];let l;l=r<a?r<n?r:n:a<n?a:n,l===n?(n===o?s.push(0):(s.push(1),o=n),e--,i--):l===r?(s.push(3),e--,o=r):(s.push(2),i--,o=a)}return s.reverse(),s}(function(t,e,i,o,s,n){const r=n-s+1,a=i-e+1,l=new Array(r);let c,h;for(let t=0;t<r;++t)l[t]=new Array(a),l[t][0]=t;for(let t=0;t<a;++t)l[0][t]=t;for(let i=1;i<r;++i)for(let n=1;n<a;++n)t[e+n-1]===o[s+i-1]?l[i][n]=l[i-1][n-1]:(c=l[i-1][n]+1,h=l[i][n-1]+1,l[i][n]=c<h?c:h);return l}(t,e,i,s,n,r)),d=[];let u=void 0,p=e,g=n;for(let t=0;t<h.length;++t)switch(h[t]){case 0:void 0!==u&&(d.push(u),u=void 0),p++,g++;break;case 1:void 0===u&&(u=bt(p,[],0)),u.addedCount++,p++,u.removed.push(s[g]),g++;break;case 2:void 0===u&&(u=bt(p,[],0)),u.addedCount++,p++;break;case 3:void 0===u&&(u=bt(p,[],0)),u.removed.push(s[g]),g++}return void 0!==u&&d.push(u),d}const xt=Array.prototype.push;function $t(t,e,i,o){const s=bt(e,i,o);let n=!1,r=0;for(let e=0;e<t.length;e++){const i=t[e];if(i.index+=r,n)continue;const o=(a=s.index,l=s.index+s.removed.length,c=i.index,h=i.index+i.addedCount,l<c||h<a?-1:l===c||h===a?0:a<c?l<h?l-c:h-c:h<l?h-a:l-a);if(o>=0){t.splice(e,1),e--,r-=i.addedCount-i.removed.length,s.addedCount+=i.addedCount-o;const a=s.removed.length+i.removed.length-o;if(s.addedCount||a){let t=i.removed;if(s.index<i.index){const e=s.removed.slice(0,i.index-s.index);xt.apply(e,t),t=e}if(s.index+s.removed.length>i.index+i.addedCount){const e=s.removed.slice(i.index+i.addedCount-s.index);xt.apply(t,e)}s.removed=t,i.index<s.index&&(s.index=i.index)}else n=!0}else if(s.index<i.index){n=!0,t.splice(e,0,s),e++;const o=s.addedCount-s.removed.length;i.index+=o,r+=o}}var a,l,c,h;n||t.push(s)}function wt(t,e){let i=[];const o=function(t){const e=[];for(let i=0,o=t.length;i<o;i++){const o=t[i];$t(e,o.index,o.removed,o.addedCount)}return e}(e);for(let e=0,s=o.length;e<s;++e){const s=o[e];1!==s.addedCount||1!==s.removed.length?i=i.concat(yt(t,s.index,s.index+s.addedCount,s.removed,0,s.removed.length)):s.removed[0]!==t[s.index]&&i.push(s)}return i}let kt=!1;function Ct(t,e){let i=t.index;const o=e.length;return i>o?i=o-t.addedCount:i<0&&(i=o+t.removed.length+i-t.addedCount),i<0&&(i=0),t.index=i,t}class It extends u{constructor(t){super(t),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,Reflect.defineProperty(t,"$fastController",{value:this,enumerable:!1})}subscribe(t){this.flush(),super.subscribe(t)}addSplice(t){void 0===this.splices?this.splices=[t]:this.splices.push(t),this.needsQueue&&(this.needsQueue=!1,d.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,d.queueUpdate(this))}flush(){const t=this.splices,e=this.oldCollection;if(void 0===t&&void 0===e)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;const i=void 0===e?wt(this.source,t):yt(this.source,0,this.source.length,e,0,e.length);this.notify(i)}}class Ft{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function Dt(t){return new $("fast-ref",Ft,t)}function Tt(t,e){const i="function"==typeof e?e:()=>e;return(e,o)=>t(e,o)?i(e,o):null}const St=Object.freeze({positioning:!1,recycle:!0});function Ot(t,e,i,o){t.bind(e[i],o)}function Et(t,e,i,o){const s=Object.create(o);s.index=i,s.length=e.length,t.bind(e[i],s)}class Vt{constructor(t,e,i,o,s,n){this.location=t,this.itemsBinding=e,this.templateBinding=o,this.options=n,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=Ot,this.itemsBindingObserver=g.binding(e,this,i),this.templateBindingObserver=g.binding(o,this,s),n.positioning&&(this.bindView=Et)}bind(t,e){this.source=t,this.originalContext=e,this.childContext=Object.create(e),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,null!==this.itemsObserver&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t,e){t===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):t===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(e)}observeItems(t=!1){if(!this.items)return void(this.items=o);const e=this.itemsObserver,i=this.itemsObserver=g.getNotifier(this.items),s=e!==i;s&&null!==e&&e.unsubscribe(this),(s||t)&&i.subscribe(this)}updateViews(t){const e=this.childContext,i=this.views,o=this.bindView,s=this.items,n=this.template,r=this.options.recycle,a=[];let l=0,c=0;for(let h=0,d=t.length;h<d;++h){const d=t[h],u=d.removed;let p=0,g=d.index;const f=g+d.addedCount,m=i.splice(d.index,u.length),v=c=a.length+m.length;for(;g<f;++g){const t=i[g],h=t?t.firstChild:this.location;let d;r&&c>0?(p<=v&&m.length>0?(d=m[p],p++):(d=a[l],l++),c--):d=n.create(),i.splice(g,0,d),o(d,s,g,e),d.insertBefore(h)}m[p]&&a.push(...m.slice(p))}for(let t=l,e=a.length;t<e;++t)a[t].dispose();if(this.options.positioning)for(let t=0,e=i.length;t<e;++t){const o=i[t].context;o.length=e,o.index=t}}refreshAllViews(t=!1){const e=this.items,i=this.childContext,o=this.template,s=this.location,n=this.bindView;let r=e.length,a=this.views,l=a.length;if(0!==r&&!t&&this.options.recycle||(j.disposeContiguousBatch(a),l=0),0===l){this.views=a=new Array(r);for(let t=0;t<r;++t){const r=o.create();n(r,e,t,i),a[t]=r,r.insertBefore(s)}}else{let t=0;for(;t<r;++t)if(t<l){n(a[t],e,t,i)}else{const r=o.create();n(r,e,t,i),a.push(r),r.insertBefore(s)}const c=a.splice(t,l-t);for(t=0,r=c.length;t<r;++t)c[t].dispose()}}unbindAllViews(){const t=this.views;for(let e=0,i=t.length;e<i;++e)t[e].unbind()}}class Rt extends y{constructor(t,e,i){super(),this.itemsBinding=t,this.templateBinding=e,this.options=i,this.createPlaceholder=d.createBlockPlaceholder,function(){if(kt)return;kt=!0,g.setArrayObserverFactory(t=>new It(t));const t=Array.prototype;if(t.$fastPatch)return;Reflect.defineProperty(t,"$fastPatch",{value:1,enumerable:!1});const e=t.pop,i=t.push,o=t.reverse,s=t.shift,n=t.sort,r=t.splice,a=t.unshift;t.pop=function(){const t=this.length>0,i=e.apply(this,arguments),o=this.$fastController;return void 0!==o&&t&&o.addSplice(bt(this.length,[i],0)),i},t.push=function(){const t=i.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Ct(bt(this.length-arguments.length,[],arguments.length),this)),t},t.reverse=function(){let t;const e=this.$fastController;void 0!==e&&(e.flush(),t=this.slice());const i=o.apply(this,arguments);return void 0!==e&&e.reset(t),i},t.shift=function(){const t=this.length>0,e=s.apply(this,arguments),i=this.$fastController;return void 0!==i&&t&&i.addSplice(bt(0,[e],0)),e},t.sort=function(){let t;const e=this.$fastController;void 0!==e&&(e.flush(),t=this.slice());const i=n.apply(this,arguments);return void 0!==e&&e.reset(t),i},t.splice=function(){const t=r.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Ct(bt(+arguments[0],t,arguments.length>2?arguments.length-2:0),this)),t},t.unshift=function(){const t=a.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Ct(bt(0,[],arguments.length),this)),t}}(),this.isItemsBindingVolatile=g.isVolatileBinding(t),this.isTemplateBindingVolatile=g.isVolatileBinding(e)}createBehavior(t){return new Vt(t,this.itemsBinding,this.isItemsBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile,this.options)}}function At(t,e,i=St){return new Rt(t,"function"==typeof e?e:()=>e,Object.assign(Object.assign({},St),i))}function Lt(t){return t?function(e,i,o){return 1===e.nodeType&&e.matches(t)}:function(t,e,i){return 1===t.nodeType}}class Pt{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property;this.shouldUpdate=g.getAccessors(t).some(t=>t.name===e),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(o),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes();return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class zt extends Pt{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function Ht(t){return"string"==typeof t&&(t={property:t}),new $("fast-slotted",zt,t)}class Mt extends Pt{constructor(t,e){super(t,e),this.observer=null,e.childList=!0}observe(){null===this.observer&&(this.observer=new MutationObserver(this.handleEvent.bind(this))),this.observer.observe(this.target,this.options)}disconnect(){this.observer.disconnect()}getNodes(){return"subtree"in this.options?Array.from(this.target.querySelectorAll(this.options.selector)):Array.from(this.target.childNodes)}}function Bt(t){return"string"==typeof t&&(t={property:t}),new $("fast-children",Mt,t)}class Nt{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const jt=(t,e)=>_`<span part="end" ${Dt("endContainer")} class=${t=>e.end?"end":void 0}><slot name="end" ${Dt("end")} @slotchange="${t=>t.handleEndContentChange()}">${e.end||""}</slot></span>`,Ut=(t,e)=>_`<span part="start" ${Dt("startContainer")} class="${t=>e.start?"start":void 0}"><slot name="start" ${Dt("start")} @slotchange="${t=>t.handleStartContentChange()}">${e.start||""}</slot></span>`,qt=_`<span part="end" ${Dt("endContainer")}><slot name="end" ${Dt("end")} @slotchange="${t=>t.handleEndContentChange()}"></slot></span>`,_t=_`<span part="start" ${Dt("startContainer")}><slot name="start" ${Dt("start")} @slotchange="${t=>t.handleStartContentChange()}"></slot></span>`;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function Gt(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r}const Wt=new Map;"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(i){Reflect.defineMetadata(t,e,i)}},Reflect.defineMetadata=function(t,e,i){let o=Wt.get(i);void 0===o&&Wt.set(i,o=new Map),o.set(t,e)},Reflect.getOwnMetadata=function(t,e){const i=Wt.get(e);if(void 0!==i)return i.get(t)});class Kt{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,me(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:i,key:o}=this;return this.container=this.key=void 0,i.registerResolver(o,new se(o,t,e))}}function Xt(t){const e=t.slice(),i=Object.keys(t),o=i.length;let s;for(let n=0;n<o;++n)s=i[n],Ce(s)||(e[s]=t[s]);return e}const Yt=Object.freeze({none(t){throw Error(t.toString()+" not registered, did you forget to add @singleton()?")},singleton:t=>new se(t,1,t),transient:t=>new se(t,2,t)}),Qt=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:Yt.singleton})}),Zt=new Map;function Jt(t){return e=>Reflect.getOwnMetadata(t,e)}let te=null;const ee=Object.freeze({createContainer:t=>new ge(null,Object.assign({},Qt.default,t)),findResponsibleContainer(t){const e=t.$$container$$;return e&&e.responsibleForOwnerRequests?e:ee.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(ue,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}});return t.dispatchEvent(e),e.detail.container||ee.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t,e)=>t?t.$$container$$||new ge(t,Object.assign({},Qt.default,e,{parentLocator:ee.findParentContainer})):te||(te=new ge(null,Object.assign({},Qt.default,e,{parentLocator:()=>null}))),getDesignParamtypes:Jt("design:paramtypes"),getAnnotationParamtypes:Jt("di:paramtypes"),getOrCreateAnnotationParamTypes(t){let e=this.getAnnotationParamtypes(t);return void 0===e&&Reflect.defineMetadata("di:paramtypes",e=[],t),e},getDependencies(t){let e=Zt.get(t);if(void 0===e){const i=t.inject;if(void 0===i){const i=ee.getDesignParamtypes(t),o=ee.getAnnotationParamtypes(t);if(void 0===i)if(void 0===o){const i=Object.getPrototypeOf(t);e="function"==typeof i&&i!==Function.prototype?Xt(ee.getDependencies(i)):[]}else e=Xt(o);else if(void 0===o)e=Xt(i);else{e=Xt(i);let t,s=o.length;for(let i=0;i<s;++i)t=o[i],void 0!==t&&(e[i]=t);const n=Object.keys(o);let r;s=n.length;for(let t=0;t<s;++t)r=n[t],Ce(r)||(e[r]=o[r])}}else e=Xt(i);Zt.set(t,e)}return e},defineProperty(t,e,i,o=!1){const s="$di_"+e;Reflect.defineProperty(t,e,{get:function(){let t=this[s];if(void 0===t){const n=this instanceof HTMLElement?ee.findResponsibleContainer(this):ee.getOrCreateDOMContainer();if(t=n.get(i),this[s]=t,o&&this instanceof ut){const o=this.$fastController,n=()=>{ee.findResponsibleContainer(this).get(i)!==this[s]&&(this[s]=t,o.notify(e))};o.subscribe({handleChange:n},"isConnected")}}return t}})},createInterface(t,e){const i="function"==typeof t?t:e,o="string"==typeof t?t:t&&"friendlyName"in t&&t.friendlyName||xe,s="string"!=typeof t&&(t&&"respectConnection"in t&&t.respectConnection||!1),n=function(t,e,i){if(null==t||void 0!==new.target)throw new Error(`No registration for interface: '${n.friendlyName}'`);if(e)ee.defineProperty(t,e,n,s);else{ee.getOrCreateAnnotationParamTypes(t)[i]=n}};return n.$isInterface=!0,n.friendlyName=null==o?"(anonymous)":o,null!=i&&(n.register=function(t,e){return i(new Kt(t,null!=e?e:n))}),n.toString=function(){return`InterfaceSymbol<${n.friendlyName}>`},n},inject:(...t)=>function(e,i,o){if("number"==typeof o){const i=ee.getOrCreateAnnotationParamTypes(e),s=t[0];void 0!==s&&(i[o]=s)}else if(i)ee.defineProperty(e,i,t[0]);else{const i=o?ee.getOrCreateAnnotationParamTypes(o.value):ee.getOrCreateAnnotationParamTypes(e);let s;for(let e=0;e<t.length;++e)s=t[e],void 0!==s&&(i[e]=s)}},transient:t=>(t.register=function(e){return ve.transient(t,t).register(e)},t.registerInRequestor=!1,t),singleton:(t,e=oe)=>(t.register=function(e){return ve.singleton(t,t).register(e)},t.registerInRequestor=e.scoped,t)}),ie=ee.createInterface("Container");ee.inject;const oe={scoped:!1};class se{constructor(t,e,i){this.key=t,this.strategy=e,this.state=i,this.resolving=!1}get $isResolver(){return!0}register(t){return t.registerResolver(this.key,this)}resolve(t,e){switch(this.strategy){case 0:return this.state;case 1:if(this.resolving)throw new Error("Cyclic dependency found: "+this.state.name);return this.resolving=!0,this.state=t.getFactory(this.state).construct(e),this.strategy=0,this.resolving=!1,this.state;case 2:{const i=t.getFactory(this.state);if(null===i)throw new Error(`Resolver for ${String(this.key)} returned a null factory`);return i.construct(e)}case 3:return this.state(t,e,this);case 4:return this.state[0].resolve(t,e);case 5:return e.get(this.state);default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(t){var e,i,o;switch(this.strategy){case 1:case 2:return t.getFactory(this.state);case 5:return null!==(o=null===(i=null===(e=t.getResolver(this.state))||void 0===e?void 0:e.getFactory)||void 0===i?void 0:i.call(e,t))&&void 0!==o?o:null;default:return null}}}function ne(t){return this.get(t)}function re(t,e){return e(t)}class ae{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let i;return i=void 0===e?new this.Type(...this.dependencies.map(ne,t)):new this.Type(...this.dependencies.map(ne,t),...e),null==this.transformers?i:this.transformers.reduce(re,i)}registerTransformer(t){(this.transformers||(this.transformers=[])).push(t)}}const le={$isResolver:!0,resolve:(t,e)=>e};function ce(t){return"function"==typeof t.register}function he(t){return function(t){return ce(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const de=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),ue="__DI_LOCATE_PARENT__",pe=new Map;class ge{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,this.context=null,null!==t&&(t.$$container$$=this),this.resolvers=new Map,this.resolvers.set(ie,le),t instanceof Node&&t.addEventListener(ue,t=>{t.composedPath()[0]!==this.owner&&(t.detail.container=this,t.stopImmediatePropagation())})}get parent(){return void 0===this._parent&&(this._parent=this.config.parentLocator(this.owner)),this._parent}get depth(){return null===this.parent?0:this.parent.depth+1}get responsibleForOwnerRequests(){return this.config.responsibleForOwnerRequests}registerWithContext(t,...e){return this.context=t,this.register(...e),this.context=null,this}register(...t){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency");let e,i,o,s,n;const r=this.context;for(let a=0,l=t.length;a<l;++a)if(e=t[a],$e(e))if(ce(e))e.register(this,r);else if(void 0!==e.prototype)ve.singleton(e,e).register(this);else for(i=Object.keys(e),s=0,n=i.length;s<n;++s)o=e[i[s]],$e(o)&&(ce(o)?o.register(this,r):this.register(o));return--this.registerDepth,this}registerResolver(t,e){be(t);const i=this.resolvers,o=i.get(t);return null==o?i.set(t,e):o instanceof se&&4===o.strategy?o.state.push(e):i.set(t,new se(t,4,[o,e])),e}registerTransformer(t,e){const i=this.getResolver(t);if(null==i)return!1;if(i.getFactory){const t=i.getFactory(this);return null!=t&&(t.registerTransformer(e),!0)}return!1}getResolver(t,e=!0){if(be(t),void 0!==t.resolve)return t;let i,o=this;for(;null!=o;){if(i=o.resolvers.get(t),null!=i)return i;if(null==o.parent){const i=he(t)?this:o;return e?this.jitRegister(t,i):null}o=o.parent}return null}has(t,e=!1){return!!this.resolvers.has(t)||!(!e||null==this.parent)&&this.parent.has(t,!0)}get(t){if(be(t),t.$isResolver)return t.resolve(this,this);let e,i=this;for(;null!=i;){if(e=i.resolvers.get(t),null!=e)return e.resolve(i,this);if(null==i.parent){const o=he(t)?this:i;return e=this.jitRegister(t,o),e.resolve(i,this)}i=i.parent}throw new Error("Unable to resolve key: "+t)}getAll(t,e=!1){be(t);const i=this;let s,n=i;if(e){let e=o;for(;null!=n;)s=n.resolvers.get(t),null!=s&&(e=e.concat(ye(s,n,i))),n=n.parent;return e}for(;null!=n;){if(s=n.resolvers.get(t),null!=s)return ye(s,n,i);if(n=n.parent,null==n)return o}return o}getFactory(t){let e=pe.get(t);if(void 0===e){if(we(t))throw new Error(t.name+" is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.");pe.set(t,e=new ae(t,ee.getDependencies(t)))}return e}registerFactory(t,e){pe.set(t,e)}createChild(t){return new ge(null,Object.assign({},this.config,t,{parentLocator:()=>this}))}jitRegister(t,e){if("function"!=typeof t)throw new Error(`Attempted to jitRegister something that is not a constructor: '${t}'. Did you forget to register this dependency?`);if(de.has(t.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${t.name}. Did you forget to add @inject(Key)`);if(ce(t)){const i=t.register(e);if(!(i instanceof Object)||null==i.resolve){const i=e.resolvers.get(t);if(null!=i)return i;throw new Error("A valid resolver was not returned from the static register method")}return i}if(t.$isInterface)throw new Error("Attempted to jitRegister an interface: "+t.friendlyName);{const i=this.config.defaultResolver(t,e);return e.resolvers.set(t,i),i}}}const fe=new WeakMap;function me(t){return function(e,i,o){if(fe.has(o))return fe.get(o);const s=t(e,i,o);return fe.set(o,s),s}}const ve=Object.freeze({instance:(t,e)=>new se(t,0,e),singleton:(t,e)=>new se(t,1,e),transient:(t,e)=>new se(t,2,e),callback:(t,e)=>new se(t,3,e),cachedCallback:(t,e)=>new se(t,3,me(e)),aliasTo:(t,e)=>new se(e,5,t)});function be(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function ye(t,e,i){if(t instanceof se&&4===t.strategy){const o=t.state;let s=o.length;const n=new Array(s);for(;s--;)n[s]=o[s].resolve(e,i);return n}return[t.resolve(e,i)]}const xe="(anonymous)";function $e(t){return"object"==typeof t&&null!==t||"function"==typeof t}const we=function(){const t=new WeakMap;let e=!1,i="",o=0;return function(s){return e=t.get(s),void 0===e&&(i=s.toString(),o=i.length,e=o>=29&&o<=100&&125===i.charCodeAt(o-1)&&i.charCodeAt(o-2)<=32&&93===i.charCodeAt(o-3)&&101===i.charCodeAt(o-4)&&100===i.charCodeAt(o-5)&&111===i.charCodeAt(o-6)&&99===i.charCodeAt(o-7)&&32===i.charCodeAt(o-8)&&101===i.charCodeAt(o-9)&&118===i.charCodeAt(o-10)&&105===i.charCodeAt(o-11)&&116===i.charCodeAt(o-12)&&97===i.charCodeAt(o-13)&&110===i.charCodeAt(o-14)&&88===i.charCodeAt(o-15),t.set(s,e)),e}}(),ke={};function Ce(t){switch(typeof t){case"number":return t>=0&&(0|t)===t;case"string":{const e=ke[t];if(void 0!==e)return e;const i=t.length;if(0===i)return ke[t]=!1;let o=0;for(let e=0;e<i;++e)if(o=t.charCodeAt(e),0===e&&48===o&&i>1||o<48||o>57)return ke[t]=!1;return ke[t]=!0}default:return!1}}function Ie(t){return t.toLowerCase()+":presentation"}const Fe=new Map,De=Object.freeze({define(t,e,i){const o=Ie(t);void 0===Fe.get(o)?Fe.set(o,e):Fe.set(o,!1),i.register(ve.instance(o,e))},forTag(t,e){const i=Ie(t),o=Fe.get(i);if(!1===o){return ee.findResponsibleContainer(e).get(i)}return o||null}});class Te{constructor(t,e){this.template=t||null,this.styles=void 0===e?null:Array.isArray(e)?G.create(e):e instanceof G?e:G.create([e])}applyTo(t){const e=t.$fastController;null===e.template&&(e.template=this.template),null===e.styles&&(e.styles=this.styles)}}class Se extends ut{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=De.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(t){return(e={})=>new Ee(this===Se?class extends Se{}:this,t,e)}}function Oe(t,e,i){return"function"==typeof t?t(e,i):t}Gt([f],Se.prototype,"template",void 0),Gt([f],Se.prototype,"styles",void 0);class Ee{constructor(t,e,i){this.type=t,this.elementDefinition=e,this.overrideDefinition=i,this.definition=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition)}register(t,e){const i=this.definition,o=this.overrideDefinition,s=`${i.prefix||e.elementPrefix}-${i.baseName}`;e.tryDefineElement({name:s,type:this.type,baseClass:this.elementDefinition.baseClass,callback:t=>{const e=new Te(Oe(i.template,t,i),Oe(i.styles,t,i));t.definePresentation(e);let s=Oe(i.shadowOptions,t,i);t.shadowRootMode&&(s?o.shadowOptions||(s.mode=t.shadowRootMode):null!==s&&(s={mode:t.shadowRootMode})),t.defineElement({elementOptions:Oe(i.elementOptions,t,i),shadowOptions:s,attributes:Oe(i.attributes,t,i)})}})}}function Ve(t,...e){const i=Z.locate(t);e.forEach(e=>{Object.getOwnPropertyNames(e.prototype).forEach(i=>{"constructor"!==i&&Object.defineProperty(t.prototype,i,Object.getOwnPropertyDescriptor(e.prototype,i))});Z.locate(e).forEach(t=>i.push(t))})}class Re extends Se{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.clickHandler=t=>{this.expanded=!this.expanded,this.change()},this.change=()=>{this.$emit("change")}}}Gt([it({attribute:"heading-level",mode:"fromView",converter:tt})],Re.prototype,"headinglevel",void 0),Gt([it({mode:"boolean"})],Re.prototype,"expanded",void 0),Gt([it],Re.prototype,"id",void 0),Ve(Re,Nt);const Ae="horizontal",Le="vertical";function Pe(...t){return t.every(t=>t instanceof HTMLElement)}let ze;var He;!function(t){t[t.alt=18]="alt",t[t.arrowDown=40]="arrowDown",t[t.arrowLeft=37]="arrowLeft",t[t.arrowRight=39]="arrowRight",t[t.arrowUp=38]="arrowUp",t[t.back=8]="back",t[t.backSlash=220]="backSlash",t[t.break=19]="break",t[t.capsLock=20]="capsLock",t[t.closeBracket=221]="closeBracket",t[t.colon=186]="colon",t[t.colon2=59]="colon2",t[t.comma=188]="comma",t[t.ctrl=17]="ctrl",t[t.delete=46]="delete",t[t.end=35]="end",t[t.enter=13]="enter",t[t.equals=187]="equals",t[t.equals2=61]="equals2",t[t.equals3=107]="equals3",t[t.escape=27]="escape",t[t.forwardSlash=191]="forwardSlash",t[t.function1=112]="function1",t[t.function10=121]="function10",t[t.function11=122]="function11",t[t.function12=123]="function12",t[t.function2=113]="function2",t[t.function3=114]="function3",t[t.function4=115]="function4",t[t.function5=116]="function5",t[t.function6=117]="function6",t[t.function7=118]="function7",t[t.function8=119]="function8",t[t.function9=120]="function9",t[t.home=36]="home",t[t.insert=45]="insert",t[t.menu=93]="menu",t[t.minus=189]="minus",t[t.minus2=109]="minus2",t[t.numLock=144]="numLock",t[t.numPad0=96]="numPad0",t[t.numPad1=97]="numPad1",t[t.numPad2=98]="numPad2",t[t.numPad3=99]="numPad3",t[t.numPad4=100]="numPad4",t[t.numPad5=101]="numPad5",t[t.numPad6=102]="numPad6",t[t.numPad7=103]="numPad7",t[t.numPad8=104]="numPad8",t[t.numPad9=105]="numPad9",t[t.numPadDivide=111]="numPadDivide",t[t.numPadDot=110]="numPadDot",t[t.numPadMinus=109]="numPadMinus",t[t.numPadMultiply=106]="numPadMultiply",t[t.numPadPlus=107]="numPadPlus",t[t.openBracket=219]="openBracket",t[t.pageDown=34]="pageDown",t[t.pageUp=33]="pageUp",t[t.period=190]="period",t[t.print=44]="print",t[t.quote=222]="quote",t[t.scrollLock=145]="scrollLock",t[t.shift=16]="shift",t[t.space=32]="space",t[t.tab=9]="tab",t[t.tilde=192]="tilde",t[t.windowsLeft=91]="windowsLeft",t[t.windowsOpera=219]="windowsOpera",t[t.windowsRight=92]="windowsRight"}(He||(He={}));const Me={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var Be;function Ne(t,e,i){return i<t?e:i>e?t:i}function je(t,e,i){return Math.min(Math.max(i,t),e)}function Ue(t,e,i=0){return[e,i]=[e,i].sort((t,e)=>t-e),e<=t&&t<i}!function(t){t.ltr="ltr",t.rtl="rtl"}(Be||(Be={}));let qe=0;function _e(t=""){return`${t}${qe++}`}var Ge;!function(t){t.Canvas="Canvas",t.CanvasText="CanvasText",t.LinkText="LinkText",t.VisitedText="VisitedText",t.ActiveText="ActiveText",t.ButtonFace="ButtonFace",t.ButtonText="ButtonText",t.Field="Field",t.FieldText="FieldText",t.Highlight="Highlight",t.HighlightText="HighlightText",t.GrayText="GrayText"}(Ge||(Ge={}));const We="single",Ke="multi";class Xe extends Se{constructor(){super(...arguments),this.expandmode=Ke,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{var t;if(0!==this.accordionItems.length&&(this.accordionIds=this.getItemIds(),this.accordionItems.forEach((t,e)=>{t instanceof Re&&(t.addEventListener("change",this.activeItemChange),this.isSingleExpandMode()&&(this.activeItemIndex!==e?t.expanded=!1:t.expanded=!0));const i=this.accordionIds[e];t.setAttribute("id","string"!=typeof i?"accordion-"+(e+1):i),this.activeid=this.accordionIds[this.activeItemIndex],t.addEventListener("keydown",this.handleItemKeyDown),t.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode())){(null!==(t=this.findExpandedItem())&&void 0!==t?t:this.accordionItems[0]).setAttribute("aria-disabled","true")}},this.removeItemListeners=t=>{t.forEach((t,e)=>{t.removeEventListener("change",this.activeItemChange),t.removeEventListener("keydown",this.handleItemKeyDown),t.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=t=>{if(t.defaultPrevented||t.target!==t.currentTarget)return;t.preventDefault();const e=t.target;this.activeid=e.getAttribute("id"),this.isSingleExpandMode()&&(this.resetItems(),e.expanded=!0,e.setAttribute("aria-disabled","true"),this.accordionItems.forEach(t=>{t.hasAttribute("disabled")||t.id===this.activeid||t.removeAttribute("aria-disabled")})),this.activeItemIndex=Array.from(this.accordionItems).indexOf(e),this.change()},this.handleItemKeyDown=t=>{if(t.target===t.currentTarget)switch(this.accordionIds=this.getItemIds(),t.key){case"ArrowUp":t.preventDefault(),this.adjust(-1);break;case"ArrowDown":t.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=t=>{if(t.target===t.currentTarget){const e=t.target,i=this.activeItemIndex=Array.from(this.accordionItems).indexOf(e);this.activeItemIndex!==i&&-1!==i&&(this.activeItemIndex=i,this.activeid=this.accordionIds[this.activeItemIndex])}}}accordionItemsChanged(t,e){this.$fastController.isConnected&&(this.removeItemListeners(t),this.setItems())}findExpandedItem(){for(let t=0;t<this.accordionItems.length;t++)if("true"===this.accordionItems[t].getAttribute("expanded"))return this.accordionItems[t];return null}resetItems(){this.accordionItems.forEach((t,e)=>{t.expanded=!1})}getItemIds(){return this.accordionItems.map(t=>t.getAttribute("id"))}isSingleExpandMode(){return this.expandmode===We}adjust(t){this.activeItemIndex=Ne(0,this.accordionItems.length-1,this.activeItemIndex+t),this.focusItem()}focusItem(){const t=this.accordionItems[this.activeItemIndex];t instanceof Re&&t.expandbutton.focus()}}Gt([it({attribute:"expand-mode"})],Xe.prototype,"expandmode",void 0),Gt([f],Xe.prototype,"accordionItems",void 0);const Ye=(t,e)=>_`<a class="control" part="control" download="${t=>t.download}" href="${t=>t.href}" hreflang="${t=>t.hreflang}" ping="${t=>t.ping}" referrerpolicy="${t=>t.referrerpolicy}" rel="${t=>t.rel}" target="${t=>t.target}" type="${t=>t.type}" aria-atomic="${t=>t.ariaAtomic}" aria-busy="${t=>t.ariaBusy}" aria-controls="${t=>t.ariaControls}" aria-current="${t=>t.ariaCurrent}" aria-describedby="${t=>t.ariaDescribedby}" aria-details="${t=>t.ariaDetails}" aria-disabled="${t=>t.ariaDisabled}" aria-errormessage="${t=>t.ariaErrormessage}" aria-expanded="${t=>t.ariaExpanded}" aria-flowto="${t=>t.ariaFlowto}" aria-haspopup="${t=>t.ariaHaspopup}" aria-hidden="${t=>t.ariaHidden}" aria-invalid="${t=>t.ariaInvalid}" aria-keyshortcuts="${t=>t.ariaKeyshortcuts}" aria-label="${t=>t.ariaLabel}" aria-labelledby="${t=>t.ariaLabelledby}" aria-live="${t=>t.ariaLive}" aria-owns="${t=>t.ariaOwns}" aria-relevant="${t=>t.ariaRelevant}" aria-roledescription="${t=>t.ariaRoledescription}" ${Dt("control")}>${Ut(0,e)}<span class="content" part="content"><slot ${Ht("defaultSlottedContent")}></slot></span>${jt(0,e)}</a>`;class Qe{}Gt([it({attribute:"aria-atomic"})],Qe.prototype,"ariaAtomic",void 0),Gt([it({attribute:"aria-busy"})],Qe.prototype,"ariaBusy",void 0),Gt([it({attribute:"aria-controls"})],Qe.prototype,"ariaControls",void 0),Gt([it({attribute:"aria-current"})],Qe.prototype,"ariaCurrent",void 0),Gt([it({attribute:"aria-describedby"})],Qe.prototype,"ariaDescribedby",void 0),Gt([it({attribute:"aria-details"})],Qe.prototype,"ariaDetails",void 0),Gt([it({attribute:"aria-disabled"})],Qe.prototype,"ariaDisabled",void 0),Gt([it({attribute:"aria-errormessage"})],Qe.prototype,"ariaErrormessage",void 0),Gt([it({attribute:"aria-flowto"})],Qe.prototype,"ariaFlowto",void 0),Gt([it({attribute:"aria-haspopup"})],Qe.prototype,"ariaHaspopup",void 0),Gt([it({attribute:"aria-hidden"})],Qe.prototype,"ariaHidden",void 0),Gt([it({attribute:"aria-invalid"})],Qe.prototype,"ariaInvalid",void 0),Gt([it({attribute:"aria-keyshortcuts"})],Qe.prototype,"ariaKeyshortcuts",void 0),Gt([it({attribute:"aria-label"})],Qe.prototype,"ariaLabel",void 0),Gt([it({attribute:"aria-labelledby"})],Qe.prototype,"ariaLabelledby",void 0),Gt([it({attribute:"aria-live"})],Qe.prototype,"ariaLive",void 0),Gt([it({attribute:"aria-owns"})],Qe.prototype,"ariaOwns",void 0),Gt([it({attribute:"aria-relevant"})],Qe.prototype,"ariaRelevant",void 0),Gt([it({attribute:"aria-roledescription"})],Qe.prototype,"ariaRoledescription",void 0);class Ze extends Se{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var t;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(t=this.$fastController.definition.shadowOptions)||void 0===t?void 0:t.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}Gt([it],Ze.prototype,"download",void 0),Gt([it],Ze.prototype,"href",void 0),Gt([it],Ze.prototype,"hreflang",void 0),Gt([it],Ze.prototype,"ping",void 0),Gt([it],Ze.prototype,"referrerpolicy",void 0),Gt([it],Ze.prototype,"rel",void 0),Gt([it],Ze.prototype,"target",void 0),Gt([it],Ze.prototype,"type",void 0),Gt([f],Ze.prototype,"defaultSlottedContent",void 0);class Je{}Gt([it({attribute:"aria-expanded"})],Je.prototype,"ariaExpanded",void 0),Ve(Je,Qe),Ve(Ze,Nt,Je);const ti=t=>{const e=t.closest("[dir]");return null!==e&&"rtl"===e.dir?Be.rtl:Be.ltr};class ei extends Se{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalViewportLock=!1,this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",this.verticalViewportLock=!1,this.verticalInset=!1,this.verticalScaling="content",this.fixedPlacement=!1,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.initialLayoutComplete=!1,this.resizeDetector=null,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.pendingPositioningUpdate=!1,this.pendingReset=!1,this.currentDirection=Be.ltr,this.regionVisible=!1,this.forceUpdate=!1,this.updateThreshold=.5,this.update=()=>{this.pendingPositioningUpdate||this.requestPositionUpdates()},this.startObservers=()=>{this.stopObservers(),null!==this.anchorElement&&(this.requestPositionUpdates(),null!==this.resizeDetector&&(this.resizeDetector.observe(this.anchorElement),this.resizeDetector.observe(this)))},this.requestPositionUpdates=()=>{null===this.anchorElement||this.pendingPositioningUpdate||(ei.intersectionService.requestPosition(this,this.handleIntersection),ei.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&ei.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,ei.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&ei.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&ei.intersectionService.cancelRequestPosition(this.viewportElement,this.handleIntersection)),null!==this.resizeDetector&&this.resizeDetector.disconnect()},this.getViewport=()=>"string"!=typeof this.viewport||""===this.viewport?document.documentElement:document.getElementById(this.viewport),this.getAnchor=()=>document.getElementById(this.anchor),this.handleIntersection=t=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(t)&&this.updateLayout())},this.applyIntersectionEntries=t=>{const e=t.find(t=>t.target===this),i=t.find(t=>t.target===this.anchorElement),o=t.find(t=>t.target===this.viewportElement);return void 0!==e&&void 0!==o&&void 0!==i&&(!!(!this.regionVisible||this.forceUpdate||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect||this.isRectDifferent(this.anchorRect,i.boundingClientRect)||this.isRectDifferent(this.viewportRect,o.boundingClientRect)||this.isRectDifferent(this.regionRect,e.boundingClientRect))&&(this.regionRect=e.boundingClientRect,this.anchorRect=i.boundingClientRect,this.viewportElement===document.documentElement?this.viewportRect=new DOMRectReadOnly(o.boundingClientRect.x+document.documentElement.scrollLeft,o.boundingClientRect.y+document.documentElement.scrollTop,o.boundingClientRect.width,o.boundingClientRect.height):this.viewportRect=o.boundingClientRect,this.updateRegionOffset(),this.forceUpdate=!1,!0))},this.updateRegionOffset=()=>{this.anchorRect&&this.regionRect&&(this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRect.left-this.regionRect.left)+(this.translateX-this.baseHorizontalOffset),this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorRect.top-this.regionRect.top)+(this.translateY-this.baseVerticalOffset))},this.isRectDifferent=(t,e)=>Math.abs(t.top-e.top)>this.updateThreshold||Math.abs(t.right-e.right)>this.updateThreshold||Math.abs(t.bottom-e.bottom)>this.updateThreshold||Math.abs(t.left-e.left)>this.updateThreshold,this.handleResize=t=>{this.update()},this.reset=()=>{this.pendingReset&&(this.pendingReset=!1,null===this.anchorElement&&(this.anchorElement=this.getAnchor()),null===this.viewportElement&&(this.viewportElement=this.getViewport()),this.currentDirection=ti(this),this.startObservers())},this.updateLayout=()=>{let t=void 0,e=void 0;if("uncontrolled"!==this.horizontalPositioningMode){const t=this.getPositioningOptions(this.horizontalInset);if("center"===this.horizontalDefaultPosition)e="center";else if("unset"!==this.horizontalDefaultPosition){let t=this.horizontalDefaultPosition;if("start"===t||"end"===t){const e=ti(this);if(e!==this.currentDirection)return this.currentDirection=e,void this.initialize();t=this.currentDirection===Be.ltr?"start"===t?"left":"right":"start"===t?"right":"left"}switch(t){case"left":e=this.horizontalInset?"insetStart":"start";break;case"right":e=this.horizontalInset?"insetEnd":"end"}}const i=void 0!==this.horizontalThreshold?this.horizontalThreshold:void 0!==this.regionRect?this.regionRect.width:0,o=void 0!==this.anchorRect?this.anchorRect.left:0,s=void 0!==this.anchorRect?this.anchorRect.right:0,n=void 0!==this.anchorRect?this.anchorRect.width:0,r=void 0!==this.viewportRect?this.viewportRect.left:0,a=void 0!==this.viewportRect?this.viewportRect.right:0;(void 0===e||"locktodefault"!==this.horizontalPositioningMode&&this.getAvailableSpace(e,o,s,n,r,a)<i)&&(e=this.getAvailableSpace(t[0],o,s,n,r,a)>this.getAvailableSpace(t[1],o,s,n,r,a)?t[0]:t[1])}if("uncontrolled"!==this.verticalPositioningMode){const e=this.getPositioningOptions(this.verticalInset);if("center"===this.verticalDefaultPosition)t="center";else if("unset"!==this.verticalDefaultPosition)switch(this.verticalDefaultPosition){case"top":t=this.verticalInset?"insetStart":"start";break;case"bottom":t=this.verticalInset?"insetEnd":"end"}const i=void 0!==this.verticalThreshold?this.verticalThreshold:void 0!==this.regionRect?this.regionRect.height:0,o=void 0!==this.anchorRect?this.anchorRect.top:0,s=void 0!==this.anchorRect?this.anchorRect.bottom:0,n=void 0!==this.anchorRect?this.anchorRect.height:0,r=void 0!==this.viewportRect?this.viewportRect.top:0,a=void 0!==this.viewportRect?this.viewportRect.bottom:0;(void 0===t||"locktodefault"!==this.verticalPositioningMode&&this.getAvailableSpace(t,o,s,n,r,a)<i)&&(t=this.getAvailableSpace(e[0],o,s,n,r,a)>this.getAvailableSpace(e[1],o,s,n,r,a)?e[0]:e[1])}const i=this.getNextRegionDimension(e,t),o=this.horizontalPosition!==e||this.verticalPosition!==t;if(this.setHorizontalPosition(e,i),this.setVerticalPosition(t,i),this.updateRegionStyle(),!this.initialLayoutComplete)return this.initialLayoutComplete=!0,void this.requestPositionUpdates();this.regionVisible||(this.regionVisible=!0,this.style.removeProperty("pointer-events"),this.style.removeProperty("opacity"),this.classList.toggle("loaded",!0),this.$emit("loaded",this,{bubbles:!1})),this.updatePositionClasses(),o&&this.$emit("positionchange",this,{bubbles:!1})},this.updateRegionStyle=()=>{this.style.width=this.regionWidth,this.style.height=this.regionHeight,this.style.transform=`translate(${this.translateX}px, ${this.translateY}px)`},this.updatePositionClasses=()=>{this.classList.toggle("top","start"===this.verticalPosition),this.classList.toggle("bottom","end"===this.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.verticalPosition),this.classList.toggle("vertical-center","center"===this.verticalPosition),this.classList.toggle("left","start"===this.horizontalPosition),this.classList.toggle("right","end"===this.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.horizontalPosition),this.classList.toggle("horizontal-center","center"===this.horizontalPosition)},this.setHorizontalPosition=(t,e)=>{if(void 0===t||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect)return;let i=0;switch(this.horizontalScaling){case"anchor":case"fill":i=this.horizontalViewportLock?this.viewportRect.width:e.width,this.regionWidth=i+"px";break;case"content":i=this.regionRect.width,this.regionWidth="unset"}let o=0;switch(t){case"start":this.translateX=this.baseHorizontalOffset-i,this.horizontalViewportLock&&this.anchorRect.left>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.left-this.viewportRect.right));break;case"insetStart":this.translateX=this.baseHorizontalOffset-i+this.anchorRect.width,this.horizontalViewportLock&&this.anchorRect.right>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.right-this.viewportRect.right));break;case"insetEnd":this.translateX=this.baseHorizontalOffset,this.horizontalViewportLock&&this.anchorRect.left<this.viewportRect.left&&(this.translateX=this.translateX-(this.anchorRect.left-this.viewportRect.left));break;case"end":this.translateX=this.baseHorizontalOffset+this.anchorRect.width,this.horizontalViewportLock&&this.anchorRect.right<this.viewportRect.left&&(this.translateX=this.translateX-(this.anchorRect.right-this.viewportRect.left));break;case"center":if(o=(this.anchorRect.width-i)/2,this.translateX=this.baseHorizontalOffset+o,this.horizontalViewportLock){const t=this.anchorRect.left+o,e=this.anchorRect.right-o;t<this.viewportRect.left&&!(e>this.viewportRect.right)?this.translateX=this.translateX-(t-this.viewportRect.left):e>this.viewportRect.right&&!(t<this.viewportRect.left)&&(this.translateX=this.translateX-(e-this.viewportRect.right))}}this.horizontalPosition=t},this.setVerticalPosition=(t,e)=>{if(void 0===t||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect)return;let i=0;switch(this.verticalScaling){case"anchor":case"fill":i=this.verticalViewportLock?this.viewportRect.height:e.height,this.regionHeight=i+"px";break;case"content":i=this.regionRect.height,this.regionHeight="unset"}let o=0;switch(t){case"start":this.translateY=this.baseVerticalOffset-i,this.verticalViewportLock&&this.anchorRect.top>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.top-this.viewportRect.bottom));break;case"insetStart":this.translateY=this.baseVerticalOffset-i+this.anchorRect.height,this.verticalViewportLock&&this.anchorRect.bottom>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.bottom-this.viewportRect.bottom));break;case"insetEnd":this.translateY=this.baseVerticalOffset,this.verticalViewportLock&&this.anchorRect.top<this.viewportRect.top&&(this.translateY=this.translateY-(this.anchorRect.top-this.viewportRect.top));break;case"end":this.translateY=this.baseVerticalOffset+this.anchorRect.height,this.verticalViewportLock&&this.anchorRect.bottom<this.viewportRect.top&&(this.translateY=this.translateY-(this.anchorRect.bottom-this.viewportRect.top));break;case"center":if(o=(this.anchorRect.height-i)/2,this.translateY=this.baseVerticalOffset+o,this.verticalViewportLock){const t=this.anchorRect.top+o,e=this.anchorRect.bottom-o;t<this.viewportRect.top&&!(e>this.viewportRect.bottom)?this.translateY=this.translateY-(t-this.viewportRect.top):e>this.viewportRect.bottom&&!(t<this.viewportRect.top)&&(this.translateY=this.translateY-(e-this.viewportRect.bottom))}}this.verticalPosition=t},this.getPositioningOptions=t=>t?["insetStart","insetEnd"]:["start","end"],this.getAvailableSpace=(t,e,i,o,s,n)=>{const r=e-s,a=n-(e+o);switch(t){case"start":return r;case"insetStart":return r+o;case"insetEnd":return a+o;case"end":return a;case"center":return 2*Math.min(r,a)+o}},this.getNextRegionDimension=(t,e)=>{const i={height:void 0!==this.regionRect?this.regionRect.height:0,width:void 0!==this.regionRect?this.regionRect.width:0};return void 0!==t&&"fill"===this.horizontalScaling?i.width=this.getAvailableSpace(t,void 0!==this.anchorRect?this.anchorRect.left:0,void 0!==this.anchorRect?this.anchorRect.right:0,void 0!==this.anchorRect?this.anchorRect.width:0,void 0!==this.viewportRect?this.viewportRect.left:0,void 0!==this.viewportRect?this.viewportRect.right:0):"anchor"===this.horizontalScaling&&(i.width=void 0!==this.anchorRect?this.anchorRect.width:0),void 0!==e&&"fill"===this.verticalScaling?i.height=this.getAvailableSpace(e,void 0!==this.anchorRect?this.anchorRect.top:0,void 0!==this.anchorRect?this.anchorRect.bottom:0,void 0!==this.anchorRect?this.anchorRect.height:0,void 0!==this.viewportRect?this.viewportRect.top:0,void 0!==this.viewportRect?this.viewportRect.bottom:0):"anchor"===this.verticalScaling&&(i.height=void 0!==this.anchorRect?this.anchorRect.height:0),i},this.startAutoUpdateEventListeners=()=>{window.addEventListener("resize",this.update,{passive:!0}),window.addEventListener("scroll",this.update,{passive:!0,capture:!0}),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.observe(this.viewportElement)},this.stopAutoUpdateEventListeners=()=>{window.removeEventListener("resize",this.update),window.removeEventListener("scroll",this.update),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.unobserve(this.viewportElement)}}anchorChanged(){this.initialLayoutComplete&&(this.anchorElement=this.getAnchor())}viewportChanged(){this.initialLayoutComplete&&(this.viewportElement=this.getViewport())}horizontalPositioningModeChanged(){this.requestReset()}horizontalDefaultPositionChanged(){this.updateForAttributeChange()}horizontalViewportLockChanged(){this.updateForAttributeChange()}horizontalInsetChanged(){this.updateForAttributeChange()}horizontalThresholdChanged(){this.updateForAttributeChange()}horizontalScalingChanged(){this.updateForAttributeChange()}verticalPositioningModeChanged(){this.requestReset()}verticalDefaultPositionChanged(){this.updateForAttributeChange()}verticalViewportLockChanged(){this.updateForAttributeChange()}verticalInsetChanged(){this.updateForAttributeChange()}verticalThresholdChanged(){this.updateForAttributeChange()}verticalScalingChanged(){this.updateForAttributeChange()}fixedPlacementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}autoUpdateModeChanged(t,e){this.$fastController.isConnected&&this.initialLayoutComplete&&("auto"===t&&this.stopAutoUpdateEventListeners(),"auto"===e&&this.startAutoUpdateEventListeners())}anchorElementChanged(){this.requestReset()}viewportElementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}connectedCallback(){super.connectedCallback(),"auto"===this.autoUpdateMode&&this.startAutoUpdateEventListeners(),this.initialize()}disconnectedCallback(){super.disconnectedCallback(),"auto"===this.autoUpdateMode&&this.stopAutoUpdateEventListeners(),this.stopObservers(),this.disconnectResizeDetector()}adoptedCallback(){this.initialize()}disconnectResizeDetector(){null!==this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.handleResize)}updateForAttributeChange(){this.$fastController.isConnected&&this.initialLayoutComplete&&(this.forceUpdate=!0,this.update())}initialize(){this.initializeResizeDetector(),null===this.anchorElement&&(this.anchorElement=this.getAnchor()),this.requestReset()}requestReset(){this.$fastController.isConnected&&!1===this.pendingReset&&(this.setInitialState(),d.queueUpdate(()=>this.reset()),this.pendingReset=!0)}setInitialState(){this.initialLayoutComplete=!1,this.regionVisible=!1,this.translateX=0,this.translateY=0,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.viewportRect=void 0,this.regionRect=void 0,this.anchorRect=void 0,this.verticalPosition=void 0,this.horizontalPosition=void 0,this.style.opacity="0",this.style.pointerEvents="none",this.forceUpdate=!1,this.style.position=this.fixedPlacement?"fixed":"absolute",this.updatePositionClasses(),this.updateRegionStyle()}}ei.intersectionService=new class{constructor(){this.intersectionDetector=null,this.observedElements=new Map,this.requestPosition=(t,e)=>{var i;null!==this.intersectionDetector&&(this.observedElements.has(t)?null===(i=this.observedElements.get(t))||void 0===i||i.push(e):(this.observedElements.set(t,[e]),this.intersectionDetector.observe(t)))},this.cancelRequestPosition=(t,e)=>{const i=this.observedElements.get(t);if(void 0!==i){const t=i.indexOf(e);-1!==t&&i.splice(t,1)}},this.initializeIntersectionDetector=()=>{t.IntersectionObserver&&(this.intersectionDetector=new IntersectionObserver(this.handleIntersection,{root:null,rootMargin:"0px",threshold:[0,1]}))},this.handleIntersection=t=>{if(null===this.intersectionDetector)return;const e=[],i=[];t.forEach(t=>{var o;null===(o=this.intersectionDetector)||void 0===o||o.unobserve(t.target);const s=this.observedElements.get(t.target);void 0!==s&&(s.forEach(o=>{let s=e.indexOf(o);-1===s&&(s=e.length,e.push(o),i.push([])),i[s].push(t)}),this.observedElements.delete(t.target))}),e.forEach((t,e)=>{t(i[e])})},this.initializeIntersectionDetector()}},Gt([it],ei.prototype,"anchor",void 0),Gt([it],ei.prototype,"viewport",void 0),Gt([it({attribute:"horizontal-positioning-mode"})],ei.prototype,"horizontalPositioningMode",void 0),Gt([it({attribute:"horizontal-default-position"})],ei.prototype,"horizontalDefaultPosition",void 0),Gt([it({attribute:"horizontal-viewport-lock",mode:"boolean"})],ei.prototype,"horizontalViewportLock",void 0),Gt([it({attribute:"horizontal-inset",mode:"boolean"})],ei.prototype,"horizontalInset",void 0),Gt([it({attribute:"horizontal-threshold"})],ei.prototype,"horizontalThreshold",void 0),Gt([it({attribute:"horizontal-scaling"})],ei.prototype,"horizontalScaling",void 0),Gt([it({attribute:"vertical-positioning-mode"})],ei.prototype,"verticalPositioningMode",void 0),Gt([it({attribute:"vertical-default-position"})],ei.prototype,"verticalDefaultPosition",void 0),Gt([it({attribute:"vertical-viewport-lock",mode:"boolean"})],ei.prototype,"verticalViewportLock",void 0),Gt([it({attribute:"vertical-inset",mode:"boolean"})],ei.prototype,"verticalInset",void 0),Gt([it({attribute:"vertical-threshold"})],ei.prototype,"verticalThreshold",void 0),Gt([it({attribute:"vertical-scaling"})],ei.prototype,"verticalScaling",void 0),Gt([it({attribute:"fixed-placement",mode:"boolean"})],ei.prototype,"fixedPlacement",void 0),Gt([it({attribute:"auto-update-mode"})],ei.prototype,"autoUpdateMode",void 0),Gt([f],ei.prototype,"anchorElement",void 0),Gt([f],ei.prototype,"viewportElement",void 0),Gt([f],ei.prototype,"initialLayoutComplete",void 0);class ii extends Se{constructor(){super(...arguments),this.generateBadgeStyle=()=>{if(!this.fill&&!this.color)return;const t=`background-color: var(--badge-fill-${this.fill});`,e=`color: var(--badge-color-${this.color});`;return this.fill&&!this.color?t:this.color&&!this.fill?e:`${e} ${t}`}}}Gt([it({attribute:"fill"})],ii.prototype,"fill",void 0),Gt([it({attribute:"color"})],ii.prototype,"color",void 0),Gt([it({mode:"boolean"})],ii.prototype,"circular",void 0);class oi extends Ze{constructor(){super(...arguments),this.separator=!0}}Gt([f],oi.prototype,"separator",void 0),Ve(oi,Nt,Je);class si extends Se{slottedBreadcrumbItemsChanged(){if(this.$fastController.isConnected){if(void 0===this.slottedBreadcrumbItems||0===this.slottedBreadcrumbItems.length)return;const t=this.slottedBreadcrumbItems[this.slottedBreadcrumbItems.length-1];this.slottedBreadcrumbItems.forEach(e=>{const i=e===t;this.setItemSeparator(e,i),this.setAriaCurrent(e,i)})}}setItemSeparator(t,e){t instanceof oi&&(t.separator=!e)}findChildWithHref(t){var e,i;return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelector("a[href]"):null}setAriaCurrent(t,e){const i=this.findChildWithHref(t);null===i&&t.hasAttribute("href")&&t instanceof oi?e?t.setAttribute("aria-current","page"):t.removeAttribute("aria-current"):null!==i&&(e?i.setAttribute("aria-current","page"):i.removeAttribute("aria-current"))}}Gt([f],si.prototype,"slottedBreadcrumbItems",void 0);const ni="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,ri=new WeakMap;function ai(t){const e=class extends t{constructor(...t){super(...t),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 ni}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 t=this.proxy.labels,e=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),i=t?e.concat(Array.from(t)):e;return Object.freeze(i)}return o}valueChanged(t,e){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(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),d.queueUpdate(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),d.queueUpdate(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ni)return null;let t=ri.get(this);return t||(t=this.attachInternals(),ri.set(this,t)),t}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(t=>this.proxy.removeEventListener(t,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(t,e,i){this.elementInternals?this.elementInternals.setValidity(t,e,i):"string"==typeof e&&this.proxy.setCustomValidity(e)}formDisabledCallback(t){this.disabled=t}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var t;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(t=>this.proxy.addEventListener(t,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===(t=this.shadowRoot)||void 0===t||t.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var t;this.removeChild(this.proxy),null===(t=this.shadowRoot)||void 0===t||t.removeChild(this.proxySlot)}validate(t){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,t)}setFormValue(t,e){this.elementInternals&&this.elementInternals.setFormValue(t,e||t)}_keypressHandler(t){switch(t.key){case"Enter":if(this.form instanceof HTMLFormElement){const t=this.form.querySelector("[type=submit]");null==t||t.click()}}}stopPropagation(t){t.stopPropagation()}};return it({mode:"boolean"})(e.prototype,"disabled"),it({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),it({attribute:"current-value"})(e.prototype,"currentValue"),it(e.prototype,"name"),it({mode:"boolean"})(e.prototype,"required"),f(e.prototype,"value"),e}function li(t){class e extends(ai(t)){}class i extends e{constructor(...t){super(t),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(t,e){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==t&&this.$emit("change"),this.validate()}currentCheckedChanged(t,e){this.checked=this.currentChecked}updateForm(){const t=this.checked?this.value:null;this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return it({attribute:"checked",mode:"boolean"})(i.prototype,"checkedAttribute"),it({attribute:"current-checked",converter:J})(i.prototype,"currentChecked"),f(i.prototype,"defaultChecked"),f(i.prototype,"checked"),i}class ci extends Se{}class hi extends(ai(ci)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class di extends hi{constructor(){super(...arguments),this.handleClick=t=>{var e;this.disabled&&(null===(e=this.defaultSlottedContent)||void 0===e?void 0:e.length)<=1&&t.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return;const t=this.proxy.isConnected;t||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),t||this.detachProxy()},this.handleFormReset=()=>{var t;null===(t=this.form)||void 0===t||t.reset()},this.handleUnsupportedDelegatesFocus=()=>{var t;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(t=this.$fastController.definition.shadowOptions)||void 0===t?void 0:t.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}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(t,e){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),"submit"===e&&this.addEventListener("click",this.handleSubmission),"submit"===t&&this.removeEventListener("click",this.handleSubmission),"reset"===e&&this.addEventListener("click",this.handleFormReset),"reset"===t&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){var t;super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.handleUnsupportedDelegatesFocus();const e=Array.from(null===(t=this.control)||void 0===t?void 0:t.children);e&&e.forEach(t=>{t.addEventListener("click",this.handleClick)})}disconnectedCallback(){var t;super.disconnectedCallback();const e=Array.from(null===(t=this.control)||void 0===t?void 0:t.children);e&&e.forEach(t=>{t.removeEventListener("click",this.handleClick)})}}Gt([it({mode:"boolean"})],di.prototype,"autofocus",void 0),Gt([it({attribute:"form"})],di.prototype,"formId",void 0),Gt([it],di.prototype,"formaction",void 0),Gt([it],di.prototype,"formenctype",void 0),Gt([it],di.prototype,"formmethod",void 0),Gt([it({mode:"boolean"})],di.prototype,"formnovalidate",void 0),Gt([it],di.prototype,"formtarget",void 0),Gt([it],di.prototype,"type",void 0),Gt([f],di.prototype,"defaultSlottedContent",void 0);class ui{}Gt([it({attribute:"aria-expanded"})],ui.prototype,"ariaExpanded",void 0),Gt([it({attribute:"aria-pressed"})],ui.prototype,"ariaPressed",void 0),Ve(ui,Qe),Ve(di,Nt,ui);class pi{constructor(t){if(this.dayFormat="numeric",this.weekdayFormat="long",this.monthFormat="long",this.yearFormat="numeric",this.date=new Date,t)for(const e in t){const i=t[e];"date"===e?this.date=this.getDateObject(i):this[e]=i}}getDateObject(t){if("string"==typeof t){const e=t.split(/[/-]/);return e.length<3?new Date:new Date(parseInt(e[2],10),parseInt(e[0],10)-1,parseInt(e[1],10))}if("day"in t&&"month"in t&&"year"in t){const{day:e,month:i,year:o}=t;return new Date(o,i-1,e)}return t}getDate(t=this.date,e={weekday:this.weekdayFormat,month:this.monthFormat,day:this.dayFormat,year:this.yearFormat},i=this.locale){const o=this.getDateObject(t),s=Object.assign({timeZone:"utc"},e);return new Intl.DateTimeFormat(i,s).format(o)}getDay(t=this.date.getDate(),e=this.dayFormat,i=this.locale){return this.getDate({month:1,day:t,year:2020},{day:e},i)}getMonth(t=this.date.getMonth()+1,e=this.monthFormat,i=this.locale){return this.getDate({month:t,day:2,year:2020},{month:e},i)}getYear(t=this.date.getFullYear(),e=this.yearFormat,i=this.locale){return this.getDate({month:2,day:2,year:t},{year:e},i)}getWeekday(t=0,e=this.weekdayFormat,i=this.locale){const o=`1-${t+1}-2017`;return this.getDate(o,{weekday:e},i)}getWeekdays(t=this.weekdayFormat,e=this.locale){return Array(7).fill(null).map((i,o)=>this.getWeekday(o,t,e))}}class gi extends Se{constructor(){super(...arguments),this.dateFormatter=new pi,this.readonly=!1,this.locale="en-US",this.month=(new Date).getMonth()+1,this.year=(new Date).getFullYear(),this.dayFormat="numeric",this.weekdayFormat="short",this.monthFormat="long",this.yearFormat="numeric",this.minWeeks=0,this.disabledDates="",this.selectedDates="",this.oneDayInMs=864e5}localeChanged(){this.dateFormatter.locale=this.locale}dayFormatChanged(){this.dateFormatter.dayFormat=this.dayFormat}weekdayFormatChanged(){this.dateFormatter.weekdayFormat=this.weekdayFormat}monthFormatChanged(){this.dateFormatter.monthFormat=this.monthFormat}yearFormatChanged(){this.dateFormatter.yearFormat=this.yearFormat}getMonthInfo(t=this.month,e=this.year){const i=t=>new Date(t.getFullYear(),t.getMonth(),1).getDay(),o=t=>{const e=new Date(t.getFullYear(),t.getMonth()+1,1);return new Date(e.getTime()-this.oneDayInMs).getDate()},s=new Date(e,t-1),n=new Date(e,t),r=new Date(e,t-2);return{length:o(s),month:t,start:i(s),year:e,previous:{length:o(r),month:r.getMonth()+1,start:i(r),year:r.getFullYear()},next:{length:o(n),month:n.getMonth()+1,start:i(n),year:n.getFullYear()}}}getDays(t=this.getMonthInfo(),e=this.minWeeks){e=e>10?10:e;const{start:i,length:o,previous:s,next:n}=t,r=[];let a=1-i;for(;a<o+1||r.length<e||r[r.length-1].length%7!=0;){const{month:e,year:i}=a<1?s:a>o?n:t,l=a<1?s.length+a:a>o?a-o:a,c=`${e}-${l}-${i}`,h={day:l,month:e,year:i,disabled:this.dateInString(c,this.disabledDates),selected:this.dateInString(c,this.selectedDates)},d=r[r.length-1];0===r.length||d.length%7==0?r.push([h]):d.push(h),a++}return r}dateInString(t,e){const i=e.split(",").map(t=>t.trim());return t="string"==typeof t?t:`${t.getMonth()+1}-${t.getDate()}-${t.getFullYear()}`,i.some(e=>e===t)}getDayClassNames(t,e){const{day:i,month:o,year:s,disabled:n,selected:r}=t;return["day",e===`${o}-${i}-${s}`&&"today",this.month!==o&&"inactive",n&&"disabled",r&&"selected"].filter(Boolean).join(" ")}getWeekdayText(){const t=this.dateFormatter.getWeekdays().map(t=>({text:t}));if("long"!==this.weekdayFormat){const e=this.dateFormatter.getWeekdays("long");t.forEach((t,i)=>{t.abbr=e[i]})}return t}handleDateSelect(t,e){t.preventDefault,this.$emit("dateselected",e)}handleKeydown(t,e){return"Enter"===t.key&&this.handleDateSelect(t,e),!0}}Gt([it({mode:"boolean"})],gi.prototype,"readonly",void 0),Gt([it],gi.prototype,"locale",void 0),Gt([it({converter:tt})],gi.prototype,"month",void 0),Gt([it({converter:tt})],gi.prototype,"year",void 0),Gt([it({attribute:"day-format",mode:"fromView"})],gi.prototype,"dayFormat",void 0),Gt([it({attribute:"weekday-format",mode:"fromView"})],gi.prototype,"weekdayFormat",void 0),Gt([it({attribute:"month-format",mode:"fromView"})],gi.prototype,"monthFormat",void 0),Gt([it({attribute:"year-format",mode:"fromView"})],gi.prototype,"yearFormat",void 0),Gt([it({attribute:"min-weeks",converter:tt})],gi.prototype,"minWeeks",void 0),Gt([it({attribute:"disabled-dates"})],gi.prototype,"disabledDates",void 0),Gt([it({attribute:"selected-dates"})],gi.prototype,"selectedDates",void 0);const fi="none",mi="default",vi="sticky",bi="default",yi="columnheader",xi="rowheader",$i="default",wi="header",ki="sticky-header";class Ci extends Se{constructor(){super(...arguments),this.rowType=$i,this.rowData=null,this.columnDefinitions=null,this.isActiveRow=!1,this.cellsRepeatBehavior=null,this.cellsPlaceholder=null,this.focusColumnIndex=0,this.refocusOnLoad=!1,this.updateRowStyle=()=>{this.style.gridTemplateColumns=this.gridTemplateColumns}}gridTemplateColumnsChanged(){this.$fastController.isConnected&&this.updateRowStyle()}rowTypeChanged(){this.$fastController.isConnected&&this.updateItemTemplate()}rowDataChanged(){null!==this.rowData&&this.isActiveRow&&(this.refocusOnLoad=!0)}cellItemTemplateChanged(){this.updateItemTemplate()}headerCellItemTemplateChanged(){this.updateItemTemplate()}connectedCallback(){super.connectedCallback(),null===this.cellsRepeatBehavior&&(this.cellsPlaceholder=document.createComment(""),this.appendChild(this.cellsPlaceholder),this.updateItemTemplate(),this.cellsRepeatBehavior=new Rt(t=>t.columnDefinitions,t=>t.activeCellItemTemplate,{positioning:!0}).createBehavior(this.cellsPlaceholder),this.$fastController.addBehaviors([this.cellsRepeatBehavior])),this.addEventListener("cell-focused",this.handleCellFocus),this.addEventListener("focusout",this.handleFocusout),this.addEventListener("keydown",this.handleKeydown),this.updateRowStyle(),this.refocusOnLoad&&(this.refocusOnLoad=!1,this.cellElements.length>this.focusColumnIndex&&this.cellElements[this.focusColumnIndex].focus())}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("cell-focused",this.handleCellFocus),this.removeEventListener("focusout",this.handleFocusout),this.removeEventListener("keydown",this.handleKeydown)}handleFocusout(t){this.contains(t.target)||(this.isActiveRow=!1,this.focusColumnIndex=0)}handleCellFocus(t){this.isActiveRow=!0,this.focusColumnIndex=this.cellElements.indexOf(t.target),this.$emit("row-focused",this)}handleKeydown(t){if(t.defaultPrevented)return;let e=0;switch(t.key){case"ArrowLeft":e=Math.max(0,this.focusColumnIndex-1),this.cellElements[e].focus(),t.preventDefault();break;case"ArrowRight":e=Math.min(this.cellElements.length-1,this.focusColumnIndex+1),this.cellElements[e].focus(),t.preventDefault();break;case"Home":t.ctrlKey||(this.cellElements[0].focus(),t.preventDefault());break;case"End":t.ctrlKey||(this.cellElements[this.cellElements.length-1].focus(),t.preventDefault())}}updateItemTemplate(){this.activeCellItemTemplate=this.rowType===$i&&void 0!==this.cellItemTemplate?this.cellItemTemplate:this.rowType===$i&&void 0===this.cellItemTemplate?this.defaultCellItemTemplate:void 0!==this.headerCellItemTemplate?this.headerCellItemTemplate:this.defaultHeaderCellItemTemplate}}Gt([it({attribute:"grid-template-columns"})],Ci.prototype,"gridTemplateColumns",void 0),Gt([it({attribute:"row-type"})],Ci.prototype,"rowType",void 0),Gt([f],Ci.prototype,"rowData",void 0),Gt([f],Ci.prototype,"columnDefinitions",void 0),Gt([f],Ci.prototype,"cellItemTemplate",void 0),Gt([f],Ci.prototype,"headerCellItemTemplate",void 0),Gt([f],Ci.prototype,"rowIndex",void 0),Gt([f],Ci.prototype,"isActiveRow",void 0),Gt([f],Ci.prototype,"activeCellItemTemplate",void 0),Gt([f],Ci.prototype,"defaultCellItemTemplate",void 0),Gt([f],Ci.prototype,"defaultHeaderCellItemTemplate",void 0),Gt([f],Ci.prototype,"cellElements",void 0);class Ii extends Se{constructor(){super(),this.noTabbing=!1,this.generateHeader=mi,this.rowsData=[],this.columnDefinitions=null,this.focusRowIndex=0,this.focusColumnIndex=0,this.rowsPlaceholder=null,this.generatedHeader=null,this.isUpdatingFocus=!1,this.pendingFocusUpdate=!1,this.rowindexUpdateQueued=!1,this.columnDefinitionsStale=!0,this.generatedGridTemplateColumns="",this.focusOnCell=(t,e,i)=>{if(0===this.rowElements.length)return this.focusRowIndex=0,void(this.focusColumnIndex=0);const o=Math.max(0,Math.min(this.rowElements.length-1,t)),s=this.rowElements[o].querySelectorAll('[role="cell"], [role="gridcell"], [role="columnheader"], [role="rowheader"]'),n=s[Math.max(0,Math.min(s.length-1,e))];i&&this.scrollHeight!==this.clientHeight&&(o<this.focusRowIndex&&this.scrollTop>0||o>this.focusRowIndex&&this.scrollTop<this.scrollHeight-this.clientHeight)&&n.scrollIntoView({block:"center",inline:"center"}),n.focus()},this.onChildListChange=(t,e)=>{t&&t.length&&(t.forEach(t=>{t.addedNodes.forEach(t=>{1===t.nodeType&&"row"===t.getAttribute("role")&&(t.columnDefinitions=this.columnDefinitions)})}),this.queueRowIndexUpdate())},this.queueRowIndexUpdate=()=>{this.rowindexUpdateQueued||(this.rowindexUpdateQueued=!0,d.queueUpdate(this.updateRowIndexes))},this.updateRowIndexes=()=>{let t=this.gridTemplateColumns;if(void 0===t){if(""===this.generatedGridTemplateColumns&&this.rowElements.length>0){const t=this.rowElements[0];this.generatedGridTemplateColumns=new Array(t.cellElements.length).fill("1fr").join(" ")}t=this.generatedGridTemplateColumns}this.rowElements.forEach((e,i)=>{const o=e;o.rowIndex=i,o.gridTemplateColumns=t,this.columnDefinitionsStale&&(o.columnDefinitions=this.columnDefinitions)}),this.rowindexUpdateQueued=!1,this.columnDefinitionsStale=!1}}static generateTemplateColumns(t){let e="";return t.forEach(t=>{e=`${e}${""===e?"":" "}1fr`}),e}noTabbingChanged(){this.$fastController.isConnected&&(this.noTabbing?this.setAttribute("tabIndex","-1"):this.setAttribute("tabIndex",this.contains(document.activeElement)||this===document.activeElement?"-1":"0"))}generateHeaderChanged(){this.$fastController.isConnected&&this.toggleGeneratedHeader()}gridTemplateColumnsChanged(){this.$fastController.isConnected&&this.updateRowIndexes()}rowsDataChanged(){null===this.columnDefinitions&&this.rowsData.length>0&&(this.columnDefinitions=Ii.generateColumns(this.rowsData[0])),this.$fastController.isConnected&&this.toggleGeneratedHeader()}columnDefinitionsChanged(){null!==this.columnDefinitions?(this.generatedGridTemplateColumns=Ii.generateTemplateColumns(this.columnDefinitions),this.$fastController.isConnected&&(this.columnDefinitionsStale=!0,this.queueRowIndexUpdate())):this.generatedGridTemplateColumns=""}headerCellItemTemplateChanged(){this.$fastController.isConnected&&null!==this.generatedHeader&&(this.generatedHeader.headerCellItemTemplate=this.headerCellItemTemplate)}focusRowIndexChanged(){this.$fastController.isConnected&&this.queueFocusUpdate()}focusColumnIndexChanged(){this.$fastController.isConnected&&this.queueFocusUpdate()}connectedCallback(){super.connectedCallback(),void 0===this.rowItemTemplate&&(this.rowItemTemplate=this.defaultRowItemTemplate),this.rowsPlaceholder=document.createComment(""),this.appendChild(this.rowsPlaceholder),this.toggleGeneratedHeader(),this.rowsRepeatBehavior=new Rt(t=>t.rowsData,t=>t.rowItemTemplate,{positioning:!0}).createBehavior(this.rowsPlaceholder),this.$fastController.addBehaviors([this.rowsRepeatBehavior]),this.addEventListener("row-focused",this.handleRowFocus),this.addEventListener("focus",this.handleFocus),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("focusout",this.handleFocusOut),this.observer=new MutationObserver(this.onChildListChange),this.observer.observe(this,{childList:!0}),this.noTabbing&&this.setAttribute("tabindex","-1"),d.queueUpdate(this.queueRowIndexUpdate)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("row-focused",this.handleRowFocus),this.removeEventListener("focus",this.handleFocus),this.removeEventListener("keydown",this.handleKeydown),this.removeEventListener("focusout",this.handleFocusOut),this.observer.disconnect(),this.rowsPlaceholder=null,this.generatedHeader=null}handleRowFocus(t){this.isUpdatingFocus=!0;const e=t.target;this.focusRowIndex=this.rowElements.indexOf(e),this.focusColumnIndex=e.focusColumnIndex,this.setAttribute("tabIndex","-1"),this.isUpdatingFocus=!1}handleFocus(t){this.focusOnCell(this.focusRowIndex,this.focusColumnIndex,!0)}handleFocusOut(t){null!==t.relatedTarget&&this.contains(t.relatedTarget)||this.setAttribute("tabIndex",this.noTabbing?"-1":"0")}handleKeydown(t){if(t.defaultPrevented)return;let e;const i=this.rowElements.length-1,o=this.offsetHeight+this.scrollTop,s=this.rowElements[i];switch(t.key){case"ArrowUp":t.preventDefault(),this.focusOnCell(this.focusRowIndex-1,this.focusColumnIndex,!0);break;case"ArrowDown":t.preventDefault(),this.focusOnCell(this.focusRowIndex+1,this.focusColumnIndex,!0);break;case"PageUp":if(t.preventDefault(),0===this.rowElements.length){this.focusOnCell(0,0,!1);break}if(0===this.focusRowIndex)return void this.focusOnCell(0,this.focusColumnIndex,!1);for(e=this.focusRowIndex-1;e>=0;e--){const t=this.rowElements[e];if(t.offsetTop<this.scrollTop){this.scrollTop=t.offsetTop+t.clientHeight-this.clientHeight;break}}this.focusOnCell(e,this.focusColumnIndex,!1);break;case"PageDown":if(t.preventDefault(),0===this.rowElements.length){this.focusOnCell(0,0,!1);break}if(this.focusRowIndex>=i||s.offsetTop+s.offsetHeight<=o)return void this.focusOnCell(i,this.focusColumnIndex,!1);for(e=this.focusRowIndex+1;e<=i;e++){const t=this.rowElements[e];if(t.offsetTop+t.offsetHeight>o){let e=0;this.generateHeader===vi&&null!==this.generatedHeader&&(e=this.generatedHeader.clientHeight),this.scrollTop=t.offsetTop-e;break}}this.focusOnCell(e,this.focusColumnIndex,!1);break;case"Home":t.ctrlKey&&(t.preventDefault(),this.focusOnCell(0,0,!0));break;case"End":t.ctrlKey&&null!==this.columnDefinitions&&(t.preventDefault(),this.focusOnCell(this.rowElements.length-1,this.columnDefinitions.length-1,!0))}}queueFocusUpdate(){this.isUpdatingFocus&&(this.contains(document.activeElement)||this===document.activeElement)||!1===this.pendingFocusUpdate&&(this.pendingFocusUpdate=!0,d.queueUpdate(()=>this.updateFocus()))}updateFocus(){this.pendingFocusUpdate=!1,this.focusOnCell(this.focusRowIndex,this.focusColumnIndex,!0)}toggleGeneratedHeader(){if(null!==this.generatedHeader&&(this.removeChild(this.generatedHeader),this.generatedHeader=null),this.generateHeader!==fi&&this.rowsData.length>0){const t=document.createElement(this.rowElementTag);return this.generatedHeader=t,this.generatedHeader.columnDefinitions=this.columnDefinitions,this.generatedHeader.gridTemplateColumns=this.gridTemplateColumns,this.generatedHeader.rowType=this.generateHeader===vi?ki:wi,void(null===this.firstChild&&null===this.rowsPlaceholder||this.insertBefore(t,null!==this.firstChild?this.firstChild:this.rowsPlaceholder))}}}Ii.generateColumns=t=>Object.getOwnPropertyNames(t).map((t,e)=>({columnDataKey:t,gridColumn:""+e})),Gt([it({attribute:"no-tabbing",mode:"boolean"})],Ii.prototype,"noTabbing",void 0),Gt([it({attribute:"generate-header"})],Ii.prototype,"generateHeader",void 0),Gt([it({attribute:"grid-template-columns"})],Ii.prototype,"gridTemplateColumns",void 0),Gt([f],Ii.prototype,"rowsData",void 0),Gt([f],Ii.prototype,"columnDefinitions",void 0),Gt([f],Ii.prototype,"rowItemTemplate",void 0),Gt([f],Ii.prototype,"cellItemTemplate",void 0),Gt([f],Ii.prototype,"headerCellItemTemplate",void 0),Gt([f],Ii.prototype,"focusRowIndex",void 0),Gt([f],Ii.prototype,"focusColumnIndex",void 0),Gt([f],Ii.prototype,"defaultRowItemTemplate",void 0),Gt([f],Ii.prototype,"rowElementTag",void 0),Gt([f],Ii.prototype,"rowElements",void 0);const Fi=_`<template>${t=>null===t.rowData||null===t.columnDefinition||null===t.columnDefinition.columnDataKey?null:t.rowData[t.columnDefinition.columnDataKey]}</template>`,Di=_`<template>${t=>null===t.columnDefinition?null:void 0===t.columnDefinition.title?t.columnDefinition.columnDataKey:t.columnDefinition.title}</template>`;class Ti extends Se{constructor(){super(...arguments),this.cellType=bi,this.rowData=null,this.columnDefinition=null,this.isActiveCell=!1,this.customCellView=null,this.updateCellStyle=()=>{this.style.gridColumn=this.gridColumn}}cellTypeChanged(){this.$fastController.isConnected&&this.updateCellView()}gridColumnChanged(){this.$fastController.isConnected&&this.updateCellStyle()}columnDefinitionChanged(t,e){this.$fastController.isConnected&&this.updateCellView()}connectedCallback(){var t;super.connectedCallback(),this.addEventListener("focusin",this.handleFocusin),this.addEventListener("focusout",this.handleFocusout),this.addEventListener("keydown",this.handleKeydown),this.style.gridColumn=""+(void 0===(null===(t=this.columnDefinition)||void 0===t?void 0:t.gridColumn)?0:this.columnDefinition.gridColumn),this.updateCellView(),this.updateCellStyle()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.handleFocusin),this.removeEventListener("focusout",this.handleFocusout),this.removeEventListener("keydown",this.handleKeydown),this.disconnectCellView()}handleFocusin(t){if(!this.isActiveCell){switch(this.isActiveCell=!0,this.cellType){case yi:if(null!==this.columnDefinition&&!0!==this.columnDefinition.headerCellInternalFocusQueue&&"function"==typeof this.columnDefinition.headerCellFocusTargetCallback){const t=this.columnDefinition.headerCellFocusTargetCallback(this);null!==t&&t.focus()}break;default:if(null!==this.columnDefinition&&!0!==this.columnDefinition.cellInternalFocusQueue&&"function"==typeof this.columnDefinition.cellFocusTargetCallback){const t=this.columnDefinition.cellFocusTargetCallback(this);null!==t&&t.focus()}}this.$emit("cell-focused",this)}}handleFocusout(t){this===document.activeElement||this.contains(document.activeElement)||(this.isActiveCell=!1)}handleKeydown(t){if(!(t.defaultPrevented||null===this.columnDefinition||this.cellType===bi&&!0!==this.columnDefinition.cellInternalFocusQueue||this.cellType===yi&&!0!==this.columnDefinition.headerCellInternalFocusQueue))switch(t.key){case"Enter":case"F2":if(this.contains(document.activeElement)&&document.activeElement!==this)return;switch(this.cellType){case yi:if(void 0!==this.columnDefinition.headerCellFocusTargetCallback){const e=this.columnDefinition.headerCellFocusTargetCallback(this);null!==e&&e.focus(),t.preventDefault()}break;default:if(void 0!==this.columnDefinition.cellFocusTargetCallback){const e=this.columnDefinition.cellFocusTargetCallback(this);null!==e&&e.focus(),t.preventDefault()}}break;case"Escape":this.contains(document.activeElement)&&document.activeElement!==this&&(this.focus(),t.preventDefault())}}updateCellView(){if(this.disconnectCellView(),null!==this.columnDefinition)switch(this.cellType){case yi:void 0!==this.columnDefinition.headerCellTemplate?this.customCellView=this.columnDefinition.headerCellTemplate.render(this,this):this.customCellView=Di.render(this,this);break;case void 0:case xi:case bi:void 0!==this.columnDefinition.cellTemplate?this.customCellView=this.columnDefinition.cellTemplate.render(this,this):this.customCellView=Fi.render(this,this)}}disconnectCellView(){null!==this.customCellView&&(this.customCellView.dispose(),this.customCellView=null)}}Gt([it({attribute:"cell-type"})],Ti.prototype,"cellType",void 0),Gt([it({attribute:"grid-column"})],Ti.prototype,"gridColumn",void 0),Gt([f],Ti.prototype,"rowData",void 0),Gt([f],Ti.prototype,"columnDefinition",void 0);const Si=_`<div class="title" part="title" aria-label="${t=>t.dateFormatter.getDate(`${t.month}-2-${t.year}`,{month:"long",year:"numeric"})}"><span part="month">${t=>t.dateFormatter.getMonth(t.month)}</span><span part="year">${t=>t.dateFormatter.getYear(t.year)}</span></div>`,Oi=(t,e)=>{const i=t.tagFor(Ci);return _`<${i} class="week" part="week" role="row" role-type="default" grid-template-columns="1fr 1fr 1fr 1fr 1fr 1fr 1fr">${At(t=>t,((t,e)=>{const i=t.tagFor(Ti);return _`<${i} class="${(t,i)=>i.parentContext.parent.getDayClassNames(t,e)}" part="day" tabindex="-1" role="gridcell" grid-column="${(t,e)=>e.index+1}" @click="${(t,e)=>e.parentContext.parent.handleDateSelect(e.event,t)}" @keydown="${(t,e)=>e.parentContext.parent.handleKeydown(e.event,t)}" aria-label="${(t,e)=>e.parentContext.parent.dateFormatter.getDate(`${t.month}-${t.day}-${t.year}`,{month:"long",day:"numeric"})}"><div class="date" part="${t=>e===`${t.month}-${t.day}-${t.year}`?"today":"date"}">${(t,e)=>e.parentContext.parent.dateFormatter.getDay(t.day)}</div><slot name="${t=>t.month}-${t=>t.day}-${t=>t.year}"></slot></${i}>`})(t,e),{positioning:!0})}</${i}>`},Ei=(t,e)=>{const i=t.tagFor(Ii),o=t.tagFor(Ci);return _`<${i} class="days interact" part="days" generate-header="none"><${o} class="week-days" part="week-days" role="row" row-type="header" grid-template-columns="1fr 1fr 1fr 1fr 1fr 1fr 1fr">${At(t=>t.getWeekdayText(),(t=>{const e=t.tagFor(Ti);return _`<${e} class="week-day" part="week-day" tabindex="-1" grid-column="${(t,e)=>e.index+1}" abbr="${t=>t.abbr}">${t=>t.text}</${e}>`})(t),{positioning:!0})}</${o}>${At(t=>t.getDays(),Oi(t,e))}</${i}>`};class Vi extends Se{}class Ri extends Se{}class Ai extends(li(Ri)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Li extends Ai{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=t=>{if(!this.readOnly)switch(t.key){case" ":this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}function Pi(t){return Pe(t)&&("option"===t.getAttribute("role")||t instanceof HTMLOptionElement)}Gt([it({attribute:"readonly",mode:"boolean"})],Li.prototype,"readOnly",void 0),Gt([f],Li.prototype,"defaultSlottedNodes",void 0),Gt([f],Li.prototype,"indeterminate",void 0);class zi extends Se{constructor(t,e,i,o){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,t&&(this.textContent=t),e&&(this.initialValue=e),i&&(this.defaultSelected=i),o&&(this.selected=o),this.proxy=new Option(""+this.textContent,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(t,e){this.ariaChecked="boolean"!=typeof e?null:e?"true":"false"}contentChanged(t,e){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(t,e){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var t;return null!==(t=this.value)&&void 0!==t?t:this.text}get text(){var t,e;return null!==(e=null===(t=this.textContent)||void 0===t?void 0:t.replace(/\s+/g," ").trim())&&void 0!==e?e:""}set value(t){const e=""+(null!=t?t:"");this._value=e,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=e),g.notify(this,"value")}get value(){var t;return g.track(this,"value"),null!==(t=this._value)&&void 0!==t?t:this.text}get form(){return this.proxy?this.proxy.form:null}}Gt([f],zi.prototype,"checked",void 0),Gt([f],zi.prototype,"content",void 0),Gt([f],zi.prototype,"defaultSelected",void 0),Gt([it({mode:"boolean"})],zi.prototype,"disabled",void 0),Gt([it({attribute:"selected",mode:"boolean"})],zi.prototype,"selectedAttribute",void 0),Gt([f],zi.prototype,"selected",void 0),Gt([it({attribute:"value",mode:"fromView"})],zi.prototype,"initialValue",void 0);class Hi{}Gt([f],Hi.prototype,"ariaChecked",void 0),Gt([f],Hi.prototype,"ariaPosInSet",void 0),Gt([f],Hi.prototype,"ariaSelected",void 0),Gt([f],Hi.prototype,"ariaSetSize",void 0),Ve(Hi,Qe),Ve(zi,Nt,Hi);class Mi extends Se{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var t;return null!==(t=this.selectedOptions[0])&&void 0!==t?t:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every(t=>t.disabled)}get length(){var t,e;return null!==(e=null===(t=this.options)||void 0===t?void 0:t.length)&&void 0!==e?e:0}get options(){return g.track(this,"options"),this._options}set options(t){this._options=t,g.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(t){this.typeaheadExpired=t}clickHandler(t){const e=t.target.closest("option,[role=option]");if(e&&!e.disabled)return this.selectedIndex=this.options.indexOf(e),!0}focusAndScrollOptionIntoView(t=this.firstSelectedOption){this.contains(document.activeElement)&&null!==t&&(t.focus(),requestAnimationFrame(()=>{t.scrollIntoView({block:"nearest"})}))}focusinHandler(t){this.shouldSkipFocus||t.target!==t.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const t=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),e=new RegExp("^"+t,"gi");return this.options.filter(t=>t.text.trim().match(e))}getSelectableIndex(t=this.selectedIndex,e){const i=t>e?-1:t<e?1:0,o=t+i;let s=null;switch(i){case-1:s=this.options.reduceRight((t,e,i)=>!t&&!e.disabled&&i<o?e:t,s);break;case 1:s=this.options.reduce((t,e,i)=>!t&&!e.disabled&&i>o?e:t,s)}return this.options.indexOf(s)}handleChange(t,e){switch(e){case"selected":Mi.slottedOptionFilter(t)&&(this.selectedIndex=this.options.indexOf(t)),this.setSelectedOptions()}}handleTypeAhead(t){this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout(()=>this.typeaheadExpired=!0,Mi.TYPE_AHEAD_TIMEOUT_MS),t.length>1||(this.typeaheadBuffer=`${this.typeaheadExpired?"":this.typeaheadBuffer}${t}`)}keydownHandler(t){if(this.disabled)return!0;this.shouldSkipFocus=!1;const e=t.key;switch(e){case"Home":t.shiftKey||(t.preventDefault(),this.selectFirstOption());break;case"ArrowDown":t.shiftKey||(t.preventDefault(),this.selectNextOption());break;case"ArrowUp":t.shiftKey||(t.preventDefault(),this.selectPreviousOption());break;case"End":t.preventDefault(),this.selectLastOption();break;case"Tab":return this.focusAndScrollOptionIntoView(),!0;case"Enter":case"Escape":return!0;case" ":if(this.typeaheadExpired)return!0;default:return 1===e.length&&this.handleTypeAhead(""+e),!0}}mousedownHandler(t){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(t,e){this.ariaMultiSelectable=e?"true":null}selectedIndexChanged(t,e){var i;if(this.hasSelectableOptions){if((null===(i=this.options[this.selectedIndex])||void 0===i?void 0:i.disabled)&&"number"==typeof t){const i=this.getSelectableIndex(t,e),o=i>-1?i:t;return this.selectedIndex=o,void(e===o&&this.selectedIndexChanged(e,o))}this.setSelectedOptions()}else this.selectedIndex=-1}selectedOptionsChanged(t,e){var i;const o=e.filter(Mi.slottedOptionFilter);null===(i=this.options)||void 0===i||i.forEach(t=>{const e=g.getNotifier(t);e.unsubscribe(this,"selected"),t.selected=o.includes(t),e.subscribe(this,"selected")})}selectFirstOption(){var t,e;this.disabled||(this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex(t=>!t.disabled))&&void 0!==e?e:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(t,e){let i=t.length;for(;i--;)if(e(t[i],i,t))return i;return-1}(this.options,t=>!t.disabled))}selectNextOption(){!this.disabled&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){var t,e;this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex(t=>t.defaultSelected))&&void 0!==e?e:-1}setSelectedOptions(){var t,e,i;(null===(t=this.options)||void 0===t?void 0:t.length)&&(this.selectedOptions=[this.options[this.selectedIndex]],this.ariaActiveDescendant=null!==(i=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView())}slottedOptionsChanged(t,e){this.options=e.reduce((t,e)=>(Pi(e)&&t.push(e),t),[]);const i=""+this.options.length;this.options.forEach((t,e)=>{t.id||(t.id=_e("option-")),t.ariaPosInSet=""+(e+1),t.ariaSetSize=i}),this.$fastController.isConnected&&(this.setSelectedOptions(),this.setDefaultSelectedOption())}typeaheadBufferChanged(t,e){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches();if(t.length){const e=this.options.indexOf(t[0]);e>-1&&(this.selectedIndex=e)}this.typeaheadExpired=!1}}}Mi.slottedOptionFilter=t=>Pi(t)&&!t.hidden,Mi.TYPE_AHEAD_TIMEOUT_MS=1e3,Gt([it({mode:"boolean"})],Mi.prototype,"disabled",void 0),Gt([f],Mi.prototype,"selectedIndex",void 0),Gt([f],Mi.prototype,"selectedOptions",void 0),Gt([f],Mi.prototype,"slottedOptions",void 0),Gt([f],Mi.prototype,"typeaheadBuffer",void 0);class Bi{}Gt([f],Bi.prototype,"ariaActiveDescendant",void 0),Gt([f],Bi.prototype,"ariaDisabled",void 0),Gt([f],Bi.prototype,"ariaExpanded",void 0),Gt([f],Bi.prototype,"ariaMultiSelectable",void 0),Ve(Bi,Qe),Ve(Mi,Bi);const Ni="above",ji="below";class Ui extends Mi{}class qi extends(ai(Ui)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const _i="inline",Gi="list",Wi="both",Ki="none";class Xi extends qi{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.listboxId=_e("listbox-"),this.maxHeight=0,this.open=!1}formResetCallback(){super.formResetCallback(),this.setDefaultSelectedOption(),this.updateValue()}validate(){super.validate(this.control)}get isAutocompleteInline(){return this.autocomplete===_i||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===Gi||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===Wi}openChanged(){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),void d.queueUpdate(()=>this.focus());this.ariaControls="",this.ariaExpanded="false"}get options(){return g.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(t){this._options=t,g.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}get value(){return g.track(this,"value"),this._value}set value(t){var e,i,o;const s=""+this._value;if(this.$fastController.isConnected&&this.options){const s=this.options.findIndex(e=>e.text.toLowerCase()===t.toLowerCase()),n=null===(e=this.options[this.selectedIndex])||void 0===e?void 0:e.text,r=null===(i=this.options[s])||void 0===i?void 0:i.text;this.selectedIndex=n!==r?s:this.selectedIndex,t=(null===(o=this.firstSelectedOption)||void 0===o?void 0:o.text)||t}s!==t&&(this._value=t,super.valueChanged(s,t),g.notify(this,"value"))}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]");if(!e||e.disabled)return;this.selectedOptions=[e],this.control.value=e.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==Ki||(this.filter="");const t=this.filter.toLowerCase();this.filteredOptions=this._options.filter(t=>t.text.toLowerCase().startsWith(this.filter.toLowerCase())),this.isAutocompleteList&&(this.filteredOptions.length||t||(this.filteredOptions=this._options),this._options.forEach(t=>{t.hidden=!this.filteredOptions.includes(t)}))}focusAndScrollOptionIntoView(){this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame(()=>{var t;null===(t=this.firstSelectedOption)||void 0===t||t.scrollIntoView({block:"nearest"})}))}focusoutHandler(t){if(this.syncValue(),!this.open)return!0;const e=t.relatedTarget;this.isSameNode(e)?this.focus():this.options&&this.options.includes(e)||(this.open=!1)}inputHandler(t){if(this.filter=this.control.value,this.filterOptions(),this.isAutocompleteInline||(this.selectedIndex=this.options.map(t=>t.text).indexOf(this.control.value)),t.inputType.includes("deleteContent")||!this.filter.length)return!0;this.isAutocompleteList&&!this.open&&(this.open=!0),this.isAutocompleteInline&&(this.filteredOptions.length?(this.selectedOptions=[this.filteredOptions[0]],this.selectedIndex=this.options.indexOf(this.firstSelectedOption),this.setInlineSelection()):this.selectedIndex=-1)}keydownHandler(t){const e=t.key;if(t.ctrlKey||t.shiftKey)return!0;switch(e){case"Enter":this.syncValue(),this.isAutocompleteInline&&(this.filter=this.value),this.open=!1,this.clearSelectionRange();break;case"Escape":if(this.isAutocompleteInline||(this.selectedIndex=-1),this.open){this.open=!1;break}this.value="",this.control.value="",this.filter="",this.filterOptions();break;case"Tab":if(this.setInputToSelection(),!this.open)return!0;t.preventDefault(),this.open=!1;break;case"ArrowUp":case"ArrowDown":if(this.filterOptions(),!this.open){this.open=!0;break}this.filteredOptions.length>0&&super.keydownHandler(t),this.isAutocompleteInline&&this.setInlineSelection();break;default:return!0}}keyupHandler(t){switch(t.key){case"ArrowLeft":case"ArrowRight":case"Backspace":case"Delete":case"Home":case"End":this.filter=this.control.value,this.selectedIndex=-1,this.filterOptions()}}selectedIndexChanged(t,e){if(this.$fastController.isConnected){if((e=je(-1,this.options.length-1,e))!==this.selectedIndex)return void(this.selectedIndex=e);super.selectedIndexChanged(t,e)}}selectPreviousOption(){!this.disabled&&this.selectedIndex>=0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){if(this.$fastController.isConnected&&this.options){const t=this.options.findIndex(t=>null!==t.getAttribute("selected")||t.selected);this.selectedIndex=t,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}syncValue(){var t;const e=this.selectedIndex>-1?null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text:this.control.value;this.updateValue(this.value!==e)}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>e?Ni:ji,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Ni?~~t.top:~~e}selectedOptionsChanged(t,e){this.$fastController.isConnected&&this._options.forEach(t=>{t.selected=e.includes(t)})}slottedOptionsChanged(t,e){super.slottedOptionsChanged(t,e),this.updateValue()}updateValue(t){var e;this.$fastController.isConnected&&(this.value=(null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)||this.control.value,this.control.value=this.value),t&&this.$emit("change")}clearSelectionRange(){const t=this.control.value.length;this.control.setSelectionRange(t,t)}}Gt([it({attribute:"autocomplete",mode:"fromView"})],Xi.prototype,"autocomplete",void 0),Gt([f],Xi.prototype,"maxHeight",void 0),Gt([it({attribute:"open",mode:"boolean"})],Xi.prototype,"open",void 0),Gt([it],Xi.prototype,"placeholder",void 0),Gt([it({attribute:"position"})],Xi.prototype,"positionAttribute",void 0),Gt([f],Xi.prototype,"position",void 0);class Yi{}Gt([f],Yi.prototype,"ariaAutoComplete",void 0),Gt([f],Yi.prototype,"ariaControls",void 0),Ve(Yi,Bi),Ve(Xi,Nt,Yi);function Qi(t){const e=t.parentElement;if(e)return e;{const e=t.getRootNode();if(e.host instanceof HTMLElement)return e.host}return null}const Zi=document.createElement("div");class Ji{setProperty(t,e){d.queueUpdate(()=>this.target.setProperty(t,e))}removeProperty(t){d.queueUpdate(()=>this.target.removeProperty(t))}}class to extends Ji{constructor(){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}}class eo extends Ji{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:t}=this.style;if(t){const e=t.insertRule(":root{}",t.cssRules.length);this.target=t.cssRules[e].style}}}class io{constructor(t){this.store=new Map,this.target=null;const e=t.$fastController;this.style=document.createElement("style"),e.addStyles(this.style),g.getNotifier(e).subscribe(this,"isConnected"),this.handleChange(e,"isConnected")}targetChanged(){if(null!==this.target)for(const[t,e]of this.store.entries())this.target.setProperty(t,e)}setProperty(t,e){this.store.set(t,e),d.queueUpdate(()=>{null!==this.target&&this.target.setProperty(t,e)})}removeProperty(t){this.store.delete(t),d.queueUpdate(()=>{null!==this.target&&this.target.removeProperty(t)})}handleChange(t,e){const{sheet:i}=this.style;if(i){const t=i.insertRule(":host{}",i.cssRules.length);this.target=i.cssRules[t].style}else this.target=null}}Gt([f],io.prototype,"target",void 0);class oo{constructor(t){this.target=t.style}setProperty(t,e){d.queueUpdate(()=>this.target.setProperty(t,e))}removeProperty(t){d.queueUpdate(()=>this.target.removeProperty(t))}}class so{setProperty(t,e){so.properties[t]=e;for(const i of so.roots.values())ao.getOrCreate(so.normalizeRoot(i)).setProperty(t,e)}removeProperty(t){delete so.properties[t];for(const e of so.roots.values())ao.getOrCreate(so.normalizeRoot(e)).removeProperty(t)}static registerRoot(t){const{roots:e}=so;if(!e.has(t)){e.add(t);const i=ao.getOrCreate(this.normalizeRoot(t));for(const t in so.properties)i.setProperty(t,so.properties[t])}}static unregisterRoot(t){const{roots:e}=so;if(e.has(t)){e.delete(t);const i=ao.getOrCreate(so.normalizeRoot(t));for(const t in so.properties)i.removeProperty(t)}}static normalizeRoot(t){return t===Zi?document:t}}so.roots=new Set,so.properties={};const no=new WeakMap,ro=d.supportsAdoptedStyleSheets?class extends Ji{constructor(t){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":host{}")].style,t.$fastController.addStyles(G.create([e]))}}:io,ao=Object.freeze({getOrCreate(t){if(no.has(t))return no.get(t);let e;return t===Zi?e=new so:t instanceof Document?e=d.supportsAdoptedStyleSheets?new to:new eo:e=t instanceof ut?new ro(t):new oo(t),no.set(t,e),e}});class lo extends pt{constructor(t){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=t.name,null!==t.cssCustomPropertyName&&(this.cssCustomProperty="--"+t.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`),this.id=lo.uniqueId(),lo.tokensById.set(this.id,this)}get appliedTo(){return[...this._appliedTo]}static from(t){return new lo({name:"string"==typeof t?t:t.name,cssCustomPropertyName:"string"==typeof t?t:void 0===t.cssCustomPropertyName?t.name:t.cssCustomPropertyName})}static isCSSDesignToken(t){return"string"==typeof t.cssCustomProperty}static isDerivedDesignTokenValue(t){return"function"==typeof t}static getTokenById(t){return lo.tokensById.get(t)}getOrCreateSubscriberSet(t=this){return this.subscribers.get(t)||this.subscribers.set(t,new Set)&&this.subscribers.get(t)}createCSS(){return this.cssVar||""}getValueFor(t){const e=go.getOrCreate(t).get(this);if(void 0!==e)return e;throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${t} or an ancestor of ${t}.`)}setValueFor(t,e){return this._appliedTo.add(t),e instanceof lo&&(e=this.alias(e)),go.getOrCreate(t).set(this,e),this}deleteValueFor(t){return this._appliedTo.delete(t),go.existsFor(t)&&go.getOrCreate(t).delete(this),this}withDefault(t){return this.setValueFor(Zi,t),this}subscribe(t,e){const i=this.getOrCreateSubscriberSet(e);e&&!go.existsFor(e)&&go.getOrCreate(e),i.has(t)||i.add(t)}unsubscribe(t,e){const i=this.subscribers.get(e||this);i&&i.has(t)&&i.delete(t)}notify(t){const e=Object.freeze({token:this,target:t});this.subscribers.has(this)&&this.subscribers.get(this).forEach(t=>t.handleChange(e)),this.subscribers.has(t)&&this.subscribers.get(t).forEach(t=>t.handleChange(e))}alias(t){return e=>t.getValueFor(e)}}lo.uniqueId=(()=>{let t=0;return()=>(t++,t.toString(16))})(),lo.tokensById=new Map;class co{constructor(t,e,i){this.source=t,this.token=e,this.node=i,this.dependencies=new Set,this.observer=g.binding(t,this,!1),this.observer.handleChange=this.observer.call,this.handleChange()}disconnect(){this.observer.disconnect()}handleChange(){this.node.store.set(this.token,this.observer.observe(this.node.target,b))}}class ho{constructor(){this.values=new Map}set(t,e){this.values.get(t)!==e&&(this.values.set(t,e),g.getNotifier(this).notify(t.id))}get(t){return g.track(this,t.id),this.values.get(t)}delete(t){this.values.delete(t)}all(){return this.values.entries()}}const uo=new WeakMap,po=new WeakMap;class go{constructor(t){this.target=t,this.store=new ho,this.children=[],this.assignedValues=new Map,this.reflecting=new Set,this.bindingObservers=new Map,this.tokenValueChangeHandler={handleChange:(t,e)=>{const i=lo.getTokenById(e);if(i&&(i.notify(this.target),lo.isCSSDesignToken(i))){const e=this.parent,o=this.isReflecting(i);if(e){const s=e.get(i),n=t.get(i);s===n||o?s===n&&o&&this.stopReflectToCSS(i):this.reflectToCSS(i)}else o||this.reflectToCSS(i)}}},uo.set(t,this),g.getNotifier(this.store).subscribe(this.tokenValueChangeHandler),t instanceof ut?t.$fastController.addBehaviors([this]):t.isConnected&&this.bind()}static getOrCreate(t){return uo.get(t)||new go(t)}static existsFor(t){return uo.has(t)}static findParent(t){if(Zi!==t.target){let e=Qi(t.target);for(;null!==e;){if(uo.has(e))return uo.get(e);e=Qi(e)}return go.getOrCreate(Zi)}return null}static findClosestAssignedNode(t,e){let i=e;do{if(i.has(t))return i;i=i.parent?i.parent:i.target!==Zi?go.getOrCreate(Zi):null}while(null!==i);return null}get parent(){return po.get(this)||null}has(t){return this.assignedValues.has(t)}get(t){const e=this.store.get(t);if(void 0!==e)return e;const i=this.getRaw(t);return void 0!==i?(this.hydrate(t,i),this.get(t)):void 0}getRaw(t){var e;return this.assignedValues.has(t)?this.assignedValues.get(t):null===(e=go.findClosestAssignedNode(t,this))||void 0===e?void 0:e.getRaw(t)}set(t,e){lo.isDerivedDesignTokenValue(this.assignedValues.get(t))&&this.tearDownBindingObserver(t),this.assignedValues.set(t,e),lo.isDerivedDesignTokenValue(e)?this.setupBindingObserver(t,e):this.store.set(t,e)}delete(t){this.assignedValues.delete(t),this.tearDownBindingObserver(t);const e=this.getRaw(t);e?this.hydrate(t,e):this.store.delete(t)}bind(){const t=go.findParent(this);t&&t.appendChild(this);for(const t of this.assignedValues.keys())t.notify(this.target)}unbind(){if(this.parent){po.get(this).removeChild(this)}}appendChild(t){t.parent&&po.get(t).removeChild(t);const e=this.children.filter(e=>t.contains(e));po.set(t,this),this.children.push(t),e.forEach(e=>t.appendChild(e)),g.getNotifier(this.store).subscribe(t);for(const[e,i]of this.store.all())t.hydrate(e,this.bindingObservers.has(e)?this.getRaw(e):i)}removeChild(t){const e=this.children.indexOf(t);return-1!==e&&this.children.splice(e,1),g.getNotifier(this.store).unsubscribe(t),t.parent===this&&po.delete(t)}contains(t){return function(t,e){let i=e;for(;null!==i;){if(i===t)return!0;i=Qi(i)}return!1}(this.target,t.target)}reflectToCSS(t){this.isReflecting(t)||(this.reflecting.add(t),go.cssCustomPropertyReflector.startReflection(t,this.target))}stopReflectToCSS(t){this.isReflecting(t)&&(this.reflecting.delete(t),go.cssCustomPropertyReflector.stopReflection(t,this.target))}isReflecting(t){return this.reflecting.has(t)}handleChange(t,e){const i=lo.getTokenById(e);i&&this.hydrate(i,this.getRaw(i))}hydrate(t,e){if(!this.has(t)){const i=this.bindingObservers.get(t);lo.isDerivedDesignTokenValue(e)?i?i.source!==e&&(this.tearDownBindingObserver(t),this.setupBindingObserver(t,e)):this.setupBindingObserver(t,e):(i&&this.tearDownBindingObserver(t),this.store.set(t,e))}}setupBindingObserver(t,e){const i=new co(e,t,this);return this.bindingObservers.set(t,i),i}tearDownBindingObserver(t){return!!this.bindingObservers.has(t)&&(this.bindingObservers.get(t).disconnect(),this.bindingObservers.delete(t),!0)}}go.cssCustomPropertyReflector=new class{startReflection(t,e){t.subscribe(this,e),this.handleChange({token:t,target:e})}stopReflection(t,e){t.unsubscribe(this,e),this.remove(t,e)}handleChange(t){const{token:e,target:i}=t;this.add(e,i)}add(t,e){ao.getOrCreate(e).setProperty(t.cssCustomProperty,this.resolveCSSValue(go.getOrCreate(e).get(t)))}remove(t,e){ao.getOrCreate(e).removeProperty(t.cssCustomProperty)}resolveCSSValue(t){return t&&"function"==typeof t.createCSS?t.createCSS():t}},Gt([f],go.prototype,"children",void 0);const fo=Object.freeze({create:function(t){return lo.from(t)},notifyConnection:t=>!(!t.isConnected||!go.existsFor(t))&&(go.getOrCreate(t).bind(),!0),notifyDisconnection:t=>!(t.isConnected||!go.existsFor(t))&&(go.getOrCreate(t).unbind(),!0),registerRoot(t=Zi){so.registerRoot(t)},unregisterRoot(t=Zi){so.unregisterRoot(t)}}),mo=Object.freeze({definitionCallbackOnly:null,ignoreDuplicate:Symbol()}),vo=new Map,bo=new Map;let yo=null;const xo=ee.createInterface(t=>t.cachedCallback(t=>(null===yo&&(yo=new wo(null,t)),yo))),$o=Object.freeze({tagFor:t=>bo.get(t),responsibleFor(t){const e=t.$$designSystem$$;if(e)return e;return ee.findResponsibleContainer(t).get(xo)},getOrCreate(t){if(!t)return null===yo&&(yo=ee.getOrCreateDOMContainer().get(xo)),yo;const e=t.$$designSystem$$;if(e)return e;const i=ee.getOrCreateDOMContainer(t);if(i.has(xo,!1))return i.get(xo);{const e=new wo(t,i);return i.register(ve.instance(xo,e)),e}}});class wo{constructor(t,e){this.owner=t,this.container=e,this.designTokensInitialized=!1,this.prefix="fast",this.shadowRootMode=void 0,this.disambiguate=()=>mo.definitionCallbackOnly,null!==t&&(t.$$designSystem$$=this)}withPrefix(t){return this.prefix=t,this}withShadowRootMode(t){return this.shadowRootMode=t,this}withElementDisambiguation(t){return this.disambiguate=t,this}withDesignTokenRoot(t){return this.designTokenRoot=t,this}register(...t){const e=this.container,i=[],o=this.disambiguate,s=this.shadowRootMode,n={elementPrefix:this.prefix,tryDefineElement(t,n,r){const a=function(t,e,i){return"string"==typeof t?{name:t,type:e,callback:i}:t}(t,n,r),{name:l,callback:c,baseClass:h}=a;let{type:d}=a,u=l,p=vo.get(u),g=!0;for(;p;){const t=o(u,d,p);switch(t){case mo.ignoreDuplicate:return;case mo.definitionCallbackOnly:g=!1,p=void 0;break;default:u=t,p=vo.get(u)}}g&&((bo.has(d)||d===Se)&&(d=class extends d{}),vo.set(u,d),bo.set(d,u),h&&bo.set(h,u)),i.push(new ko(e,u,d,s,c,g))}};this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&fo.registerRoot(this.designTokenRoot)),e.registerWithContext(n,...t);for(const t of i)t.callback(t),t.willDefine&&null!==t.definition&&t.definition.define();return this}}class ko{constructor(t,e,i,o,s,n){this.container=t,this.name=e,this.type=i,this.shadowRootMode=o,this.callback=s,this.willDefine=n,this.definition=null}definePresentation(t){De.define(this.name,t,this.container)}defineElement(t){this.definition=new rt(this.type,Object.assign(Object.assign({},t),{name:this.name}))}tagFor(t){return $o.tagFor(t)}}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var Co=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Io=Co.join(","),Fo="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Do=function(t){return"INPUT"===t.tagName},To=function(t){return function(t){return Do(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,i=t.form||t.ownerDocument,o=function(t){return i.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var s=function(t,e){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===e)return t[i]}(e,t.form);return!s||s===t}(t)},So=function(t,e){return!(e.disabled||function(t){return Do(t)&&"hidden"===t.type}(e)||function(t,e){if("hidden"===getComputedStyle(t).visibility)return!0;var i=Fo.call(t,"details>summary:first-of-type")?t.parentElement:t;if(Fo.call(i,"details:not([open]) *"))return!0;if(e&&"full"!==e){if("non-zero-area"===e){var o=t.getBoundingClientRect(),s=o.width,n=o.height;return 0===s&&0===n}}else for(;t;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}(e,t.displayCheck)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e))},Oo=function(t,e){return!(!So(t,e)||To(e)||function(t){var e=parseInt(t.getAttribute("tabindex"),10);return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e}(e)<0)},Eo=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==Fo.call(t,Io)&&Oo(e,t)},Vo=Co.concat("iframe").join(","),Ro=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==Fo.call(t,Vo)&&So(e,t)};class Ao extends Se{constructor(){super(...arguments),this.modal=!0,this.hidden=!1,this.trapFocus=!0,this.trapFocusChanged=()=>{this.$fastController.isConnected&&this.updateTrapFocus()},this.isTrappingFocus=!1,this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&!this.hidden)switch(t.key){case"Escape":this.dismiss(),t.preventDefault();break;case"Tab":this.handleTabKeyDown(t)}},this.handleDocumentFocus=t=>{!t.defaultPrevented&&this.shouldForceFocus(t.target)&&(this.focusFirstElement(),t.preventDefault())},this.handleTabKeyDown=t=>{if(!this.trapFocus||this.hidden)return;const e=this.getTabQueueBounds();return 0!==e.length?1===e.length?(e[0].focus(),void t.preventDefault()):void(t.shiftKey&&t.target===e[0]?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(e[0].focus(),t.preventDefault())):void 0},this.getTabQueueBounds=()=>Ao.reduceTabbableItems([],this),this.focusFirstElement=()=>{const t=this.getTabQueueBounds();t.length>0?t[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=t=>this.isTrappingFocus&&!this.contains(t),this.shouldTrapFocus=()=>this.trapFocus&&!this.hidden,this.updateTrapFocus=t=>{const e=void 0===t?this.shouldTrapFocus():t;e&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),d.queueUpdate(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!e&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}dismiss(){this.$emit("dismiss"),this.$emit("cancel")}show(){this.hidden=!1}hide(){this.hidden=!0,this.$emit("close")}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),this.notifier=g.getNotifier(this),this.notifier.subscribe(this,"hidden"),this.updateTrapFocus()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1),this.notifier.unsubscribe(this,"hidden")}handleChange(t,e){switch(e){case"hidden":this.updateTrapFocus()}}static reduceTabbableItems(t,e){return"-1"===e.getAttribute("tabindex")?t:Eo(e)||Ao.isFocusableFastElement(e)&&Ao.hasTabbableShadow(e)?(t.push(e),t):e.childElementCount?t.concat(Array.from(e.children).reduce(Ao.reduceTabbableItems,[])):t}static isFocusableFastElement(t){var e,i;return!!(null===(i=null===(e=t.$fastController)||void 0===e?void 0:e.definition.shadowOptions)||void 0===i?void 0:i.delegatesFocus)}static hasTabbableShadow(t){var e,i;return Array.from(null!==(i=null===(e=t.shadowRoot)||void 0===e?void 0:e.querySelectorAll("*"))&&void 0!==i?i:[]).some(t=>Eo(t))}}Gt([it({mode:"boolean"})],Ao.prototype,"modal",void 0),Gt([it({mode:"boolean"})],Ao.prototype,"hidden",void 0),Gt([it({attribute:"trap-focus",mode:"boolean"})],Ao.prototype,"trapFocus",void 0),Gt([it({attribute:"aria-describedby"})],Ao.prototype,"ariaDescribedby",void 0),Gt([it({attribute:"aria-labelledby"})],Ao.prototype,"ariaLabelledby",void 0),Gt([it({attribute:"aria-label"})],Ao.prototype,"ariaLabel",void 0);const Lo="separator";class Po extends Se{constructor(){super(...arguments),this.role=Lo,this.orientation=Ae}}Gt([it],Po.prototype,"role",void 0),Gt([it],Po.prototype,"orientation",void 0);const zo="next",Ho="previous";class Mo extends Se{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=zo}keyupHandler(t){if(!this.hiddenFromAT){const e=t.key;"Enter"!==e&&"Space"!==e||this.$emit("click",t),"Escape"===e&&this.blur()}}}Gt([it({mode:"boolean"})],Mo.prototype,"disabled",void 0),Gt([it({attribute:"aria-hidden",converter:J})],Mo.prototype,"hiddenFromAT",void 0),Gt([it],Mo.prototype,"direction",void 0);class Bo extends Mi{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t;return null===(t=this.options)||void 0===t?void 0:t.filter(t=>t.checked)}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(t,e){var i,o;this.ariaActiveDescendant=null!==(o=null===(i=this.options[e])||void 0===i?void 0:i.id)&&void 0!==o?o:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return;const t=this.activeOption;t&&(t.checked=!0)}checkFirstOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex+1),this.options.forEach((t,e)=>{t.checked=Ue(e,this.rangeStartIndex)})):this.uncheckAllOptions(),this.activeIndex=0,this.checkActiveIndex()}checkLastOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach((t,e)=>{t.checked=Ue(e,this.rangeStartIndex,this.options.length)})):this.uncheckAllOptions(),this.activeIndex=this.options.length-1,this.checkActiveIndex()}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.focusoutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusoutHandler),super.disconnectedCallback()}checkNextOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach((t,e)=>{t.checked=Ue(e,this.rangeStartIndex,this.activeIndex+1)})):this.uncheckAllOptions(),this.activeIndex+=this.activeIndex<this.options.length-1?1:0,this.checkActiveIndex()}checkPreviousOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),1===this.checkedOptions.length&&(this.rangeStartIndex+=1),this.options.forEach((t,e)=>{t.checked=Ue(e,this.activeIndex,this.rangeStartIndex)})):this.uncheckAllOptions(),this.activeIndex-=this.activeIndex>0?1:0,this.checkActiveIndex()}clickHandler(t){var e;if(!this.multiple)return super.clickHandler(t);const i=null===(e=t.target)||void 0===e?void 0:e.closest("[role=option]");return i&&!i.disabled?(this.uncheckAllOptions(),this.activeIndex=this.options.indexOf(i),this.checkActiveIndex(),this.toggleSelectedForAllCheckedOptions(),!0):void 0}focusAndScrollOptionIntoView(){super.focusAndScrollOptionIntoView(this.activeOption)}focusinHandler(t){if(!this.multiple)return super.focusinHandler(t);this.shouldSkipFocus||t.target!==t.currentTarget||(this.uncheckAllOptions(),-1===this.activeIndex&&(this.activeIndex=-1!==this.firstSelectedOptionIndex?this.firstSelectedOptionIndex:0),this.checkActiveIndex(),this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}focusoutHandler(t){this.multiple&&this.uncheckAllOptions()}keydownHandler(t){if(!this.multiple)return super.keydownHandler(t);if(this.disabled)return!0;const{key:e,shiftKey:i}=t;switch(this.shouldSkipFocus=!1,e){case"Home":return void this.checkFirstOption(i);case"ArrowDown":return void this.checkNextOption(i);case"ArrowUp":return void this.checkPreviousOption(i);case"End":return void this.checkLastOption(i);case"Tab":return this.focusAndScrollOptionIntoView(),!0;case"Escape":return this.uncheckAllOptions(),this.checkActiveIndex(),!0;case" ":if(t.preventDefault(),this.typeAheadExpired)return void this.toggleSelectedForAllCheckedOptions();default:return 1===e.length&&this.handleTypeAhead(""+e),!0}}mousedownHandler(t){if(t.offsetX>=0&&t.offsetX<=this.scrollWidth)return super.mousedownHandler(t)}multipleChanged(t,e){var i;this.ariaMultiSelectable=e?"true":null,null===(i=this.options)||void 0===i||i.forEach(t=>{t.checked=!e&&void 0}),this.setSelectedOptions()}setSelectedOptions(){this.multiple?this.$fastController.isConnected&&this.options&&(this.selectedOptions=this.options.filter(t=>t.selected),this.focusAndScrollOptionIntoView()):super.setSelectedOptions()}sizeChanged(t,e){var i;const o=Math.max(0,parseInt(null!==(i=null==e?void 0:e.toFixed())&&void 0!==i?i:"",10));o!==e&&d.queueUpdate(()=>{this.size=o})}toggleSelectedForAllCheckedOptions(){const t=this.checkedOptions.filter(t=>!t.disabled),e=!t.every(t=>t.selected);t.forEach(t=>t.selected=e),this.selectedIndex=this.options.indexOf(t[t.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(t,e){if(this.multiple){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches(),e=this.options.indexOf(t[0]);e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach(t=>t.checked=!this.multiple&&void 0),t||(this.rangeStartIndex=-1)}}Gt([f],Bo.prototype,"activeIndex",void 0),Gt([it({mode:"boolean"})],Bo.prototype,"multiple",void 0),Gt([it({converter:tt})],Bo.prototype,"size",void 0);const No="menuitem",jo="menuitemcheckbox",Uo="menuitemradio",qo={[No]:"menuitem",[jo]:"menuitemcheckbox",[Uo]:"menuitemradio"};class _o extends Se{constructor(){super(...arguments),this.role=No,this.hasSubmenu=!1,this.currentDirection=Be.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1;switch(t.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expandAndFocus(),!1;case"ArrowLeft":if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case jo:this.checked=!this.checked;break;case No:this.updateSubmenu(),this.hasSubmenu?this.expandAndFocus():this.$emit("change");break;case Uo:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find(t=>"menu"===t.getAttribute("role")),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(t){if(this.$fastController.isConnected){if(void 0===this.submenu)return;!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=ti(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),d.queueUpdate(()=>{this.updateSubmenu()}),this.startColumnCount||(this.startColumnCount=1),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children).filter(t=>!t.hasAttribute("hidden"))}}Gt([it({mode:"boolean"})],_o.prototype,"disabled",void 0),Gt([it({mode:"boolean"})],_o.prototype,"expanded",void 0),Gt([f],_o.prototype,"startColumnCount",void 0),Gt([it],_o.prototype,"role",void 0),Gt([it({mode:"boolean"})],_o.prototype,"checked",void 0),Gt([f],_o.prototype,"submenuRegion",void 0),Gt([f],_o.prototype,"hasSubmenu",void 0),Gt([f],_o.prototype,"currentDirection",void 0),Gt([f],_o.prototype,"submenu",void 0),Ve(_o,Nt);class Go extends Se{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Pe(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const t=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=t=>{const e=t.target;void 0!==this.menuItems&&e!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.handleExpandedChanged=t=>{if(t.defaultPrevented||null===t.target||void 0===this.menuItems||this.menuItems.indexOf(t.target)<0)return;t.preventDefault();const e=t.target;null===this.expandedItem||e!==this.expandedItem||!1!==e.expanded?e.expanded&&(null!==this.expandedItem&&this.expandedItem!==e&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=e,this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0")):this.expandedItem=null},this.removeItemListeners=()=>{void 0!==this.menuItems&&this.menuItems.forEach(t=>{t.removeEventListener("expanded-change",this.handleExpandedChanged),t.removeEventListener("focus",this.handleItemFocus)})},this.setItems=()=>{const t=this.domChildren();this.removeItemListeners(),this.menuItems=t;const e=this.menuItems.filter(this.isMenuItemElement);e.length&&(this.focusIndex=0);const i=e.reduce((t,e)=>{const i=function(t){const e=t.getAttribute("role"),i=t.querySelector("[slot=start]");return e!==No&&null===i||e===No&&null!==i?1:e!==No&&null!==i?2:0}(e);return t>i?t:i},0);e.forEach((t,e)=>{t.setAttribute("tabindex",0===e?"0":"-1"),t.addEventListener("expanded-change",this.handleExpandedChanged),t.addEventListener("focus",this.handleItemFocus),t instanceof _o&&(t.startColumnCount=i)})},this.changeHandler=t=>{if(void 0===this.menuItems)return;const e=t.target,i=this.menuItems.indexOf(e);if(-1!==i&&"menuitemradio"===e.role&&!0===e.checked){for(let t=i-1;t>=0;--t){const e=this.menuItems[t],i=e.getAttribute("role");if(i===Uo&&(e.checked=!1),"separator"===i)break}const t=this.menuItems.length-1;for(let e=i+1;e<=t;++e){const t=this.menuItems[e],i=t.getAttribute("role");if(i===Uo&&(t.checked=!1),"separator"===i)break}}},this.isMenuItemElement=t=>Pe(t)&&Go.focusableElementRoles.hasOwnProperty(t.getAttribute("role")),this.isFocusableElement=t=>this.isMenuItemElement(t)}itemsChanged(t,e){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),d.queueUpdate(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(t){if(!t.defaultPrevented&&void 0!==this.menuItems)switch(t.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}domChildren(){return Array.from(this.children).filter(t=>!t.hasAttribute("hidden"))}setFocus(t,e){if(void 0!==this.menuItems)for(;t>=0&&t<this.menuItems.length;){const i=this.menuItems[t];if(this.isFocusableElement(i)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,i.setAttribute("tabindex","0"),i.focus();break}t+=e}}}Go.focusableElementRoles=qo,Gt([f],Go.prototype,"items",void 0);class Wo extends Se{}class Ko extends(ai(Wo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Xo="text";class Yo extends Ko{constructor(){super(...arguments),this.type=Xo}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&d.queueUpdate(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}Gt([it({attribute:"readonly",mode:"boolean"})],Yo.prototype,"readOnly",void 0),Gt([it({mode:"boolean"})],Yo.prototype,"autofocus",void 0),Gt([it],Yo.prototype,"placeholder",void 0),Gt([it],Yo.prototype,"type",void 0),Gt([it],Yo.prototype,"list",void 0),Gt([it({converter:tt})],Yo.prototype,"maxlength",void 0),Gt([it({converter:tt})],Yo.prototype,"minlength",void 0),Gt([it],Yo.prototype,"pattern",void 0),Gt([it({converter:tt})],Yo.prototype,"size",void 0),Gt([it({mode:"boolean"})],Yo.prototype,"spellcheck",void 0),Gt([f],Yo.prototype,"defaultSlottedNodes",void 0);class Qo{}Ve(Qo,Qe),Ve(Yo,Nt,Qo);class Zo extends Se{}class Jo extends(ai(Zo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ts extends Jo{constructor(){super(...arguments),this.hideStep=!1,this.step=1,this.isUserInput=!1}maxChanged(t,e){var i;this.max=Math.max(e,null!==(i=this.min)&&void 0!==i?i:e);const o=Math.min(this.min,this.max);void 0!==this.min&&this.min!==o&&(this.min=o),this.value=this.getValidValue(this.value)}minChanged(t,e){var i;this.min=Math.min(e,null!==(i=this.max)&&void 0!==i?i:e);const o=Math.max(this.min,this.max);void 0!==this.max&&this.max!==o&&(this.max=o),this.value=this.getValidValue(this.value)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){this.value=this.getValidValue(e),e===this.value&&(this.control&&!this.isUserInput&&(this.control.value=this.value),super.valueChanged(t,this.value),void 0===t||this.isUserInput||(this.$emit("input"),this.$emit("change")),this.isUserInput=!1)}validate(){super.validate(this.control)}getValidValue(t){var e,i;let o=parseFloat(parseFloat(t).toPrecision(12));return isNaN(o)?o="":(o=Math.min(o,null!==(e=this.max)&&void 0!==e?e:o),o=Math.max(o,null!==(i=this.min)&&void 0!==i?i:o).toString()),o}stepUp(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:this.step:t+this.step;this.value=e.toString()}stepDown(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:t-this.step;this.value=e.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.control.value=this.value,this.autofocus&&d.queueUpdate(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,""),this.isUserInput=!0,this.value=this.control.value}handleChange(){this.$emit("change")}handleKeyDown(t){switch(t.key){case"ArrowUp":return this.stepUp(),!1;case"ArrowDown":return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}Gt([it({attribute:"readonly",mode:"boolean"})],ts.prototype,"readOnly",void 0),Gt([it({mode:"boolean"})],ts.prototype,"autofocus",void 0),Gt([it({attribute:"hide-step",mode:"boolean"})],ts.prototype,"hideStep",void 0),Gt([it],ts.prototype,"placeholder",void 0),Gt([it],ts.prototype,"list",void 0),Gt([it({converter:tt})],ts.prototype,"maxlength",void 0),Gt([it({converter:tt})],ts.prototype,"minlength",void 0),Gt([it({converter:tt})],ts.prototype,"size",void 0),Gt([it({converter:tt})],ts.prototype,"step",void 0),Gt([it({converter:tt})],ts.prototype,"max",void 0),Gt([it({converter:tt})],ts.prototype,"min",void 0),Gt([f],ts.prototype,"defaultSlottedNodes",void 0),Ve(ts,Nt,Qo);class es extends Se{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const t="number"==typeof this.min?this.min:0,e="number"==typeof this.max?this.max:100,i="number"==typeof this.value?this.value:0,o=e-t;this.percentComplete=0===o?0:Math.fround((i-t)/o*100)}}Gt([it({converter:tt})],es.prototype,"value",void 0),Gt([it({converter:tt})],es.prototype,"min",void 0),Gt([it({converter:tt})],es.prototype,"max",void 0),Gt([it({mode:"boolean"})],es.prototype,"paused",void 0),Gt([f],es.prototype,"percentComplete",void 0);class is extends Se{constructor(){super(...arguments),this.orientation=Ae,this.radioChangeHandler=t=>{const e=t.target;e.checked&&(this.slottedRadioButtons.forEach(t=>{t!==e&&(t.checked=!1,this.isInsideFoundationToolbar||t.setAttribute("tabindex","-1"))}),this.selectedRadio=e,this.value=e.value,e.setAttribute("tabindex","0"),this.focusedRadio=e),t.stopPropagation()},this.moveToRadioByIndex=(t,e)=>{const i=t[e];this.isInsideToolbar||(i.setAttribute("tabindex","0"),i.readOnly?this.slottedRadioButtons.forEach(t=>{t!==i&&t.setAttribute("tabindex","-1")}):(i.checked=!0,this.selectedRadio=i)),this.focusedRadio=i,i.focus()},this.moveRightOffGroup=()=>{var t;null===(t=this.nextElementSibling)||void 0===t||t.focus()},this.moveLeftOffGroup=()=>{var t;null===(t=this.previousElementSibling)||void 0===t||t.focus()},this.focusOutHandler=t=>{const e=this.slottedRadioButtons,i=t.target,o=null!==i?e.indexOf(i):0,s=this.focusedRadio?e.indexOf(this.focusedRadio):-1;return(0===s&&o===s||s===e.length-1&&s===o)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),e.forEach(t=>{t!==this.selectedRadio&&t.setAttribute("tabindex","-1")}))):(this.focusedRadio=e[0],this.focusedRadio.setAttribute("tabindex","0"),e.forEach(t=>{t!==this.focusedRadio&&t.setAttribute("tabindex","-1")}))),!0},this.clickHandler=t=>{const e=t.target;if(e){const t=this.slottedRadioButtons;e.checked||0===t.indexOf(e)?(e.setAttribute("tabindex","0"),this.selectedRadio=e):(e.setAttribute("tabindex","-1"),this.selectedRadio=null),this.focusedRadio=e}t.preventDefault()},this.shouldMoveOffGroupToTheRight=(t,e,i)=>t===e.length&&this.isInsideToolbar&&"ArrowRight"===i,this.shouldMoveOffGroupToTheLeft=(t,e)=>(this.focusedRadio?t.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===e,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.readOnly||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(i,e,t.key))this.moveRightOffGroup();else for(i===e.length&&(i=0);i<e.length&&e.length>1;){if(!e[i].disabled){this.moveToRadioByIndex(e,i);break}if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;if(i+1>=e.length){if(this.isInsideToolbar)break;i=0}else i+=1}},this.moveLeft=t=>{const e=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?e.indexOf(this.focusedRadio)-1:0,i=i<0?e.length-1:i,this.shouldMoveOffGroupToTheLeft(e,t.key))this.moveLeftOffGroup();else for(;i>=0&&e.length>1;){if(!e[i].disabled){this.moveToRadioByIndex(e,i);break}if(this.focusedRadio&&i===e.indexOf(this.focusedRadio))break;i-1<0?i=e.length-1:i-=1}},this.keydownHandler=t=>{const e=t.key;if(e in Me&&this.isInsideFoundationToolbar)return!0;switch(e){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===Be.ltr?this.moveRight(t):this.moveLeft(t);break;case"ArrowLeft":case"ArrowUp":this.direction===Be.ltr?this.moveLeft(t):this.moveRight(t);break;default:return!0}}}readOnlyChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{this.readOnly?t.readOnly=!0:t.readOnly=!1})}disabledChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{this.disabled?t.disabled=!0:t.disabled=!1})}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(t=>{t.value===this.value&&(t.checked=!0,this.selectedRadio=t)}),this.$emit("change")}slottedRadioButtonsChanged(t,e){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var t;return null!==(t=this.parentToolbar)&&void 0!==t&&t}get isInsideFoundationToolbar(){var t;return!!(null===(t=this.parentToolbar)||void 0===t?void 0:t.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=ti(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(t=>{t.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const t=this.slottedRadioButtons.filter(t=>t.hasAttribute("checked")),e=t?t.length:0;if(e>1){t[e-1].checked=!0}let i=!1;if(this.slottedRadioButtons.forEach(t=>{void 0!==this.name&&t.setAttribute("name",this.name),this.disabled&&(t.disabled=!0),this.readOnly&&(t.readOnly=!0),this.value&&this.value===t.value?(this.selectedRadio=t,this.focusedRadio=t,t.checked=!0,t.setAttribute("tabindex","0"),i=!0):(this.isInsideFoundationToolbar||t.setAttribute("tabindex","-1"),t.checked=!1),t.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const t=this.slottedRadioButtons.filter(t=>t.hasAttribute("checked")),e=null!==t?t.length:0;if(e>0&&!i){const i=t[e-1];i.checked=!0,this.focusedRadio=i,i.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}Gt([it({attribute:"readonly",mode:"boolean"})],is.prototype,"readOnly",void 0),Gt([it({attribute:"disabled",mode:"boolean"})],is.prototype,"disabled",void 0),Gt([it],is.prototype,"name",void 0),Gt([it],is.prototype,"value",void 0),Gt([it],is.prototype,"orientation",void 0),Gt([f],is.prototype,"childItems",void 0),Gt([f],is.prototype,"slottedRadioButtons",void 0);class os extends Se{}class ss extends(li(os)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ns extends ss{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{switch(t.key){case" ":return void(this.checked||this.readOnly||(this.checked=!0))}return!0},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var t;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}connectedCallback(){var t,e;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(t=this.parentElement)||void 0===t?void 0:t.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(t){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}Gt([it({attribute:"readonly",mode:"boolean"})],ns.prototype,"readOnly",void 0),Gt([f],ns.prototype,"name",void 0),Gt([f],ns.prototype,"defaultSlottedNodes",void 0);class rs extends Se{constructor(){super(...arguments),this.framesPerSecond=60,this.updatingItems=!1,this.speed=600,this.easing="ease-in-out",this.flippersHiddenFromAT=!1,this.scrolling=!1,this.resizeDetector=null}get frameTime(){return 1e3/this.framesPerSecond}scrollingChanged(t,e){if(this.scrollContainer){const t=1==this.scrolling?"scrollstart":"scrollend";this.$emit(t,this.scrollContainer.scrollLeft)}}get isRtl(){return this.scrollItems.length>1&&this.scrollItems[0].offsetLeft>this.scrollItems[1].offsetLeft}connectedCallback(){super.connectedCallback(),this.initializeResizeDetector()}disconnectedCallback(){this.disconnectResizeDetector(),super.disconnectedCallback()}scrollItemsChanged(t,e){e&&!this.updatingItems&&d.queueUpdate(()=>this.setStops())}disconnectResizeDetector(){this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.resized.bind(this)),this.resizeDetector.observe(this)}updateScrollStops(){this.updatingItems=!0;const t=this.scrollItems.reduce((t,e)=>e instanceof HTMLSlotElement?t.concat(e.assignedElements()):(t.push(e),t),[]);this.scrollItems=t,this.updatingItems=!1}setStops(){this.updateScrollStops();const{scrollContainer:t}=this,{scrollLeft:e}=t,{width:i,left:o}=t.getBoundingClientRect();this.width=i;let s=0,n=this.scrollItems.map((t,i)=>{const{left:n,width:r}=t.getBoundingClientRect(),a=Math.round(n+e-o),l=Math.round(a+r);return this.isRtl?-l:(s=l,0===i?0:a)}).concat(s);n=this.fixScrollMisalign(n),n.sort((t,e)=>Math.abs(t)-Math.abs(e)),this.scrollStops=n,this.setFlippers()}fixScrollMisalign(t){if(this.isRtl&&t.some(t=>t>0)){t.sort((t,e)=>e-t);const e=t[0];t=t.map(t=>t-e)}return t}setFlippers(){var t,e;const i=this.scrollContainer.scrollLeft;if(null===(t=this.previousFlipperContainer)||void 0===t||t.classList.toggle("disabled",0===i),this.scrollStops){const t=Math.abs(this.scrollStops[this.scrollStops.length-1]);null===(e=this.nextFlipperContainer)||void 0===e||e.classList.toggle("disabled",Math.abs(i)+this.width>=t)}}scrollInView(t,e=0,i){var o;if("number"!=typeof t&&t&&(t=this.scrollItems.findIndex(e=>e===t||e.contains(t))),void 0!==t){i=null!=i?i:e;const{scrollContainer:s,scrollStops:n,scrollItems:r}=this,{scrollLeft:a}=this.scrollContainer,{width:l}=s.getBoundingClientRect(),c=n[t],{width:h}=r[t].getBoundingClientRect(),d=c+h,u=a+e>c;if(u||a+l-i<d){const t=null!==(o=[...n].sort((t,e)=>u?e-t:t-e).find(t=>u?t+e<c:t+l-(null!=i?i:0)>d))&&void 0!==o?o:0;this.scrollToPosition(t)}}}keyupHandler(t){switch(t.key){case"ArrowLeft":this.scrollToPrevious();break;case"ArrowRight":this.scrollToNext()}}scrollToPrevious(){const t=this.scrollContainer.scrollLeft,e=this.scrollStops.findIndex((e,i)=>e>=t&&(this.isRtl||i===this.scrollStops.length-1||this.scrollStops[i+1]>t)),i=Math.abs(this.scrollStops[e+1]);let o=this.scrollStops.findIndex(t=>Math.abs(t)+this.width>i);(o>=e||-1===o)&&(o=e>0?e-1:0),this.scrollToPosition(this.scrollStops[o],t)}scrollToNext(){const t=this.scrollContainer.scrollLeft,e=this.scrollStops.findIndex(e=>Math.abs(e)>=Math.abs(t)),i=this.scrollStops.findIndex(e=>Math.abs(t)+this.width<=Math.abs(e));let o=e;i>e+2?o=i-2:e<this.scrollStops.length-2&&(o=e+1),this.scrollToPosition(this.scrollStops[o],t)}scrollToPosition(t,e=this.scrollContainer.scrollLeft){var i;if(this.scrolling)return;this.scrolling=!0;const o=null!==(i=this.duration)&&void 0!==i?i:Math.abs(t-e)/this.speed+"s";this.content.style.setProperty("transition-duration",o);const s=parseFloat(getComputedStyle(this.content).getPropertyValue("transition-duration")),n=e=>{e&&e.target!==e.currentTarget||(this.content.style.setProperty("transition-duration","0s"),this.content.style.removeProperty("transform"),this.scrollContainer.style.setProperty("scroll-behavior","auto"),this.scrollContainer.scrollLeft=t,this.setFlippers(),this.content.removeEventListener("transitionend",n),this.scrolling=!1)};if(0===s)return void n();this.content.addEventListener("transitionend",n);const r=this.scrollContainer.scrollWidth-this.scrollContainer.clientWidth;let a=this.scrollContainer.scrollLeft-Math.min(t,r);this.isRtl&&(a=this.scrollContainer.scrollLeft+Math.min(Math.abs(t),r)),this.content.style.setProperty("transition-property","transform"),this.content.style.setProperty("transition-timing-function",this.easing),this.content.style.setProperty("transform",`translateX(${a}px)`)}resized(){this.resizeTimeout&&(this.resizeTimeout=clearTimeout(this.resizeTimeout)),this.resizeTimeout=setTimeout(()=>{this.width=this.scrollContainer.offsetWidth,this.setFlippers()},this.frameTime)}scrolled(){this.scrollTimeout&&(this.scrollTimeout=clearTimeout(this.scrollTimeout)),this.scrollTimeout=setTimeout(()=>{this.setFlippers()},this.frameTime)}}Gt([it({converter:tt})],rs.prototype,"speed",void 0),Gt([it],rs.prototype,"duration",void 0),Gt([it],rs.prototype,"easing",void 0),Gt([it({attribute:"flippers-hidden-from-at",converter:J})],rs.prototype,"flippersHiddenFromAT",void 0),Gt([f],rs.prototype,"scrolling",void 0),Gt([f],rs.prototype,"scrollItems",void 0),Gt([it({attribute:"view"})],rs.prototype,"view",void 0);function as(t,e,i){return t.nodeType!==Node.TEXT_NODE||"string"==typeof t.nodeValue&&!!t.nodeValue.trim().length}class ls extends Se{}class cs extends(ai(ls)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class hs extends cs{readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.validate(),this.autofocus&&d.queueUpdate(()=>{this.focus()})}validate(){super.validate(this.control)}handleTextInput(){this.value=this.control.value}handleClearInput(){this.value="",this.control.focus(),this.handleChange()}handleChange(){this.$emit("change")}}Gt([it({attribute:"readonly",mode:"boolean"})],hs.prototype,"readOnly",void 0),Gt([it({mode:"boolean"})],hs.prototype,"autofocus",void 0),Gt([it],hs.prototype,"placeholder",void 0),Gt([it],hs.prototype,"list",void 0),Gt([it({converter:tt})],hs.prototype,"maxlength",void 0),Gt([it({converter:tt})],hs.prototype,"minlength",void 0),Gt([it],hs.prototype,"pattern",void 0),Gt([it({converter:tt})],hs.prototype,"size",void 0),Gt([it({mode:"boolean"})],hs.prototype,"spellcheck",void 0),Gt([f],hs.prototype,"defaultSlottedNodes",void 0);class ds{}Ve(ds,Qe),Ve(hs,Nt,ds);class us extends Bo{}class ps extends(ai(us)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}class gs extends ps{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=_e("listbox-"),this.maxHeight=0}openChanged(t,e){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void d.queueUpdate(()=>this.focus());this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return g.track(this,"value"),this._value}set value(t){var e,i,o,s,n,r,a;const l=""+this._value;if(null===(e=this._options)||void 0===e?void 0:e.length){const e=this._options.findIndex(e=>e.value===t),l=null!==(o=null===(i=this._options[this.selectedIndex])||void 0===i?void 0:i.value)&&void 0!==o?o:null,c=null!==(n=null===(s=this._options[e])||void 0===s?void 0:s.value)&&void 0!==n?n:null;-1!==e&&l===c||(t="",this.selectedIndex=e),t=null!==(a=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==a?a:t}l!==t&&(this._value=t,super.valueChanged(l,t),g.notify(this,"value"),this.updateDisplayValue())}updateValue(t){var e,i;this.$fastController.isConnected&&(this.value=null!==(i=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.value)&&void 0!==i?i:""),t&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(t,e){super.selectedIndexChanged(t,e),this.updateValue()}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>e?Ni:ji,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Ni?~~t.top:~~e}get displayValue(){var t,e;return g.track(this,"displayValue"),null!==(e=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)&&void 0!==e?e:""}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]");if(e&&e.disabled)return}return super.clickHandler(t),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(t){var e;if(super.focusoutHandler(t),!this.open)return!0;const i=t.relatedTarget;this.isSameNode(i)?this.focus():(null===(e=this.options)||void 0===e?void 0:e.includes(i))||(this.open=!1,this.indexWhenOpened!==this.selectedIndex&&this.updateValue(!0))}handleChange(t,e){super.handleChange(t,e),"value"===e&&this.updateValue()}slottedOptionsChanged(t,e){this.options.forEach(t=>{g.getNotifier(t).unsubscribe(this,"value")}),super.slottedOptionsChanged(t,e),this.options.forEach(t=>{g.getNotifier(t).subscribe(this,"value")}),this.setProxyOptions(),this.updateValue()}mousedownHandler(t){var e;return t.offsetX>=0&&t.offsetX<=(null===(e=this.listbox)||void 0===e?void 0:e.scrollWidth)?super.mousedownHandler(t):this.collapsible}multipleChanged(t,e){super.multipleChanged(t,e),this.proxy&&(this.proxy.multiple=e)}selectedOptionsChanged(t,e){var i;super.selectedOptionsChanged(t,e),null===(i=this.options)||void 0===i||i.forEach((t,e)=>{var i;const o=null===(i=this.proxy)||void 0===i?void 0:i.options.item(e);o&&(o.selected=t.selected)})}setDefaultSelectedOption(){var t;const e=null!==(t=this.options)&&void 0!==t?t:Array.from(this.children).filter(Mi.slottedOptionFilter),i=null==e?void 0:e.findIndex(t=>t.hasAttribute("selected")||t.selected||t.value===this.value);this.selectedIndex=-1===i?0:i}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach(t=>{const e=t.proxy||(t instanceof HTMLOptionElement?t.cloneNode():null);e&&this.proxy.options.add(e)}))}keydownHandler(t){super.keydownHandler(t);const e=t.key||t.key.charCodeAt(0);switch(e){case" ":t.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open);break;case"Home":case"End":t.preventDefault();break;case"Enter":t.preventDefault(),this.open=!this.open;break;case"Escape":this.collapsible&&this.open&&(t.preventDefault(),this.open=!1);break;case"Tab":return this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!("ArrowDown"===e||"ArrowUp"===e)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}updateDisplayValue(){this.collapsible&&g.notify(this,"displayValue")}}Gt([it({attribute:"open",mode:"boolean"})],gs.prototype,"open",void 0),Gt([function(t,e,i){return Object.assign({},i,{get:function(){return g.trackVolatile(),i.get.apply(this)}})}],gs.prototype,"collapsible",null),Gt([f],gs.prototype,"control",void 0),Gt([it({attribute:"position"})],gs.prototype,"positionAttribute",void 0),Gt([f],gs.prototype,"position",void 0),Gt([f],gs.prototype,"maxHeight",void 0);class fs{}Gt([f],fs.prototype,"ariaControls",void 0),Ve(fs,Bi),Ve(gs,Nt,fs);class ms extends Se{constructor(){super(...arguments),this.shape="rect"}}Gt([it],ms.prototype,"fill",void 0),Gt([it],ms.prototype,"shape",void 0),Gt([it],ms.prototype,"pattern",void 0),Gt([it({mode:"boolean"})],ms.prototype,"shimmer",void 0);function vs(t,e,i,o){let s=je(0,1,(t-e)/(i-e));return o===Be.rtl&&(s=1-s),s}const bs={min:0,max:0,direction:Be.ltr,orientation:Ae,disabled:!1};class ys extends Se{constructor(){super(...arguments),this.hideMark=!1,this.sliderDirection=Be.ltr,this.getSliderConfiguration=()=>{if(this.isSliderConfig(this.parentNode)){const t=this.parentNode,{min:e,max:i,direction:o,orientation:s,disabled:n}=t;void 0!==n&&(this.disabled=n),this.sliderDirection=o||Be.ltr,this.sliderOrientation=s||Ae,this.sliderMaxPosition=i,this.sliderMinPosition=e}else this.sliderDirection=bs.direction||Be.ltr,this.sliderOrientation=bs.orientation,this.sliderMaxPosition=bs.max,this.sliderMinPosition=bs.min},this.positionAsStyle=()=>{const t=this.sliderDirection?this.sliderDirection:Be.ltr,e=vs(Number(this.position),Number(this.sliderMinPosition),Number(this.sliderMaxPosition));let i=Math.round(100*(1-e)),o=Math.round(100*e);return Number.isNaN(o)&&Number.isNaN(i)&&(i=50,o=50),this.sliderOrientation===Ae?t===Be.rtl?`right: ${o}%; left: ${i}%;`:`left: ${o}%; right: ${i}%;`:`top: ${o}%; bottom: ${i}%;`}}positionChanged(){this.positionStyle=this.positionAsStyle()}sliderOrientationChanged(){}connectedCallback(){super.connectedCallback(),this.getSliderConfiguration(),this.positionStyle=this.positionAsStyle(),this.notifier=g.getNotifier(this.parentNode),this.notifier.subscribe(this,"orientation"),this.notifier.subscribe(this,"direction"),this.notifier.subscribe(this,"max"),this.notifier.subscribe(this,"min")}disconnectedCallback(){super.disconnectedCallback(),this.notifier.unsubscribe(this,"orientation"),this.notifier.unsubscribe(this,"direction"),this.notifier.unsubscribe(this,"max"),this.notifier.unsubscribe(this,"min")}handleChange(t,e){switch(e){case"direction":this.sliderDirection=t.direction;break;case"orientation":this.sliderOrientation=t.orientation;break;case"max":this.sliderMaxPosition=t.max;break;case"min":this.sliderMinPosition=t.min}this.positionStyle=this.positionAsStyle()}isSliderConfig(t){return void 0!==t.max&&void 0!==t.min}}Gt([f],ys.prototype,"positionStyle",void 0),Gt([it],ys.prototype,"position",void 0),Gt([it({attribute:"hide-mark",mode:"boolean"})],ys.prototype,"hideMark",void 0),Gt([it({attribute:"disabled",mode:"boolean"})],ys.prototype,"disabled",void 0),Gt([f],ys.prototype,"sliderOrientation",void 0),Gt([f],ys.prototype,"sliderMinPosition",void 0),Gt([f],ys.prototype,"sliderMaxPosition",void 0),Gt([f],ys.prototype,"sliderDirection",void 0);class xs extends Se{}class $s extends(ai(xs)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const ws="single-value";class ks extends $s{constructor(){super(...arguments),this.direction=Be.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.step=1,this.orientation=Ae,this.mode=ws,this.keypressHandler=t=>{if(!this.readOnly)if("Home"===t.key)t.preventDefault(),this.value=""+this.min;else if("End"===t.key)t.preventDefault(),this.value=""+this.max;else if(!t.shiftKey)switch(t.key){case"ArrowRight":case"ArrowUp":t.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":t.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const t=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=t.bottom,this.trackMinHeight=t.top,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(t=!1)=>{const e=(t?"remove":"add")+"EventListener";this[e]("keydown",this.keypressHandler),this[e]("mousedown",this.handleMouseDown),this.thumb[e]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[e]("touchstart",this.handleThumbMouseDown,{passive:!0}),t&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=t=>{if(t){if(this.readOnly||this.disabled||t.defaultPrevented)return;t.target.focus()}const e=(null!==t?"add":"remove")+"EventListener";window[e]("mouseup",this.handleWindowMouseUp),window[e]("mousemove",this.handleMouseMove,{passive:!0}),window[e]("touchmove",this.handleMouseMove,{passive:!0}),window[e]("touchend",this.handleWindowMouseUp),this.isDragging=null!==t},this.handleMouseMove=t=>{if(this.readOnly||this.disabled||t.defaultPrevented)return;const e=window.TouchEvent&&t instanceof TouchEvent?t.touches[0]:t,i=this.orientation===Ae?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(i)},this.calculateNewValue=t=>{const e=vs(t,this.orientation===Ae?this.trackMinWidth:this.trackMinHeight,this.orientation===Ae?this.trackWidth:this.trackHeight,this.direction),i=(this.max-this.min)*e+this.min;return this.convertToConstrainedValue(i)},this.handleWindowMouseUp=t=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=t=>{const e=(null!==t?"add":"remove")+"EventListener";if((null===t||!this.disabled&&!this.readOnly)&&(window[e]("mouseup",this.handleWindowMouseUp),window.document[e]("mouseleave",this.handleWindowMouseUp),window[e]("mousemove",this.handleMouseMove),t)){t.preventDefault(),this.setupTrackConstraints(),t.target.focus();const e=this.orientation===Ae?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(e)}},this.convertToConstrainedValue=t=>{isNaN(t)&&(t=this.min);let e=t-this.min;const i=e-Math.round(e/this.step)*(this.stepMultiplier*this.step)/this.stepMultiplier;return e=i>=Number(this.step)/2?e-i+Number(this.step):e-i,e+this.min}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){super.valueChanged(t,e),this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction),this.$emit("change")}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=ti(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const t=this.direction!==Be.rtl&&this.orientation!==Le?Number(this.value)+Number(this.step):Number(this.value)-Number(this.step),e=this.convertToConstrainedValue(t),i=e<Number(this.max)?""+e:""+this.max;this.value=i}decrement(){const t=this.direction!==Be.rtl&&this.orientation!==Le?Number(this.value)-Number(this.step):Number(this.value)+Number(this.step),e=this.convertToConstrainedValue(t),i=e>Number(this.min)?""+e:""+this.min;this.value=i}setThumbPositionForOrientation(t){const e=100*(1-vs(Number(this.value),Number(this.min),Number(this.max),t));this.orientation===Ae?this.position=this.isDragging?`right: ${e}%; transition: none;`:`right: ${e}%; transition: all 0.2s ease;`:this.position=this.isDragging?`bottom: ${e}%; transition: none;`:`bottom: ${e}%; transition: all 0.2s ease;`}updateStepMultiplier(){const t=this.step+"",e=this.step%1?t.length-t.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,e)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const t=parseFloat(this.value);!Number.isNaN(t)&&(t<this.min||t>this.max)&&(this.value=this.midpoint)}}}Gt([it({attribute:"readonly",mode:"boolean"})],ks.prototype,"readOnly",void 0),Gt([f],ks.prototype,"direction",void 0),Gt([f],ks.prototype,"isDragging",void 0),Gt([f],ks.prototype,"position",void 0),Gt([f],ks.prototype,"trackWidth",void 0),Gt([f],ks.prototype,"trackMinWidth",void 0),Gt([f],ks.prototype,"trackHeight",void 0),Gt([f],ks.prototype,"trackLeft",void 0),Gt([f],ks.prototype,"trackMinHeight",void 0),Gt([f],ks.prototype,"valueTextFormatter",void 0),Gt([it({converter:tt})],ks.prototype,"min",void 0),Gt([it({converter:tt})],ks.prototype,"max",void 0),Gt([it({converter:tt})],ks.prototype,"step",void 0),Gt([it],ks.prototype,"orientation",void 0),Gt([it],ks.prototype,"mode",void 0);class Cs extends Se{}class Is extends(li(Cs)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Fs extends Is{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{if(!this.readOnly)switch(t.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(t,e){super.checkedChanged(t,e),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}Gt([it({attribute:"readonly",mode:"boolean"})],Fs.prototype,"readOnly",void 0),Gt([f],Fs.prototype,"defaultSlottedNodes",void 0);class Ds extends Se{}class Ts extends Se{}Gt([it({mode:"boolean"})],Ts.prototype,"disabled",void 0);const Ss="horizontal";class Os extends Se{constructor(){super(...arguments),this.orientation=Ss,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=t=>"true"===t.getAttribute("aria-disabled"),this.isFocusableElement=t=>!this.isDisabledElement(t),this.setTabs=()=>{const t=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach((e,i)=>{if("tab"===e.slot){const t=this.activeTabIndex===i&&this.isFocusableElement(e);this.activeindicator&&this.isFocusableElement(e)&&(this.showActiveIndicator=!0);const o=this.tabIds[i],s=this.tabpanelIds[i];e.setAttribute("id",o),e.setAttribute("aria-selected",t?"true":"false"),e.setAttribute("aria-controls",s),e.addEventListener("click",this.handleTabClick),e.addEventListener("keydown",this.handleTabKeyDown),e.setAttribute("tabindex",t?"0":"-1"),t&&(this.activetab=e)}e.style.gridColumn="",e.style.gridRow="",e.style[t]=""+(i+1),this.isHorizontal()?e.classList.remove("vertical"):e.classList.add("vertical")})},this.setTabPanels=()=>{this.tabpanels.forEach((t,e)=>{const i=this.tabIds[e],o=this.tabpanelIds[e];t.setAttribute("id",o),t.setAttribute("aria-labelledby",i),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")})},this.handleTabClick=t=>{const e=t.currentTarget;1===e.nodeType&&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"ArrowLeft":t.preventDefault(),this.adjustBackward(t);break;case"ArrowRight":t.preventDefault(),this.adjustForward(t)}else switch(t.key){case"ArrowUp":t.preventDefault(),this.adjustBackward(t);break;case"ArrowDown":t.preventDefault(),this.adjustForward(t)}switch(t.key){case"Home":t.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":t.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=t=>{const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)+1:1,i===e.length&&(i=0);i<e.length&&e.length>1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}if(this.activetab&&i===e.indexOf(this.activetab))break;i+1>=e.length?i=0:i+=1}},this.adjustBackward=t=>{const e=this.tabs;let i=0;for(i=this.activetab?e.indexOf(this.activetab)-1:0,i=i<0?e.length-1:i;i>=0&&e.length>1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i);break}i-1<0?i=e.length-1:i-=1}},this.moveToTabByIndex=(t,e)=>{const i=t[e];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,i.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(e=>e.id===t),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(t=>{var e;return null!==(e=t.getAttribute("id"))&&void 0!==e?e:"tab-"+_e()})}getTabPanelIds(){return this.tabpanels.map(t=>{var e;return null!==(e=t.getAttribute("id"))&&void 0!==e?e:"panel-"+_e()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Ss}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const t=this.isHorizontal()?"gridColumn":"gridRow",e=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",o=this.activeIndicatorRef[i];this.activeIndicatorRef.style[t]=""+(this.activeTabIndex+1);const s=this.activeIndicatorRef[i];this.activeIndicatorRef.style[t]=""+(this.prevActiveTabIndex+1);const n=s-o;this.activeIndicatorRef.style.transform=`${e}(${n}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",()=>{this.ticking=!1,this.activeIndicatorRef.style[t]=""+(this.activeTabIndex+1),this.activeIndicatorRef.style.transform=e+"(0px)",this.activeIndicatorRef.classList.remove("activeIndicatorTransition")})}adjust(t){this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=Ne(0,this.tabs.length-1,this.activeTabIndex+t),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Gt([it],Os.prototype,"orientation",void 0),Gt([it],Os.prototype,"activeid",void 0),Gt([f],Os.prototype,"tabs",void 0),Gt([f],Os.prototype,"tabpanels",void 0),Gt([it({mode:"boolean"})],Os.prototype,"activeindicator",void 0),Gt([f],Os.prototype,"activeIndicatorRef",void 0),Gt([f],Os.prototype,"showActiveIndicator",void 0),Ve(Os,Nt);class Es extends Se{}class Vs extends(ai(Es)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}const Rs="none";class As extends Vs{constructor(){super(...arguments),this.resize=Rs,this.cols=20,this.handleTextInput=()=>{this.value=this.control.value}}readOnlyChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.readOnly=this.readOnly)}autofocusChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.autofocus=this.autofocus)}listChanged(){this.proxy instanceof HTMLTextAreaElement&&this.proxy.setAttribute("list",this.list)}maxlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.maxLength=this.maxlength)}minlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.minLength=this.minlength)}spellcheckChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.spellcheck=this.spellcheck)}select(){this.control.select(),this.$emit("select")}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}Gt([it({mode:"boolean"})],As.prototype,"readOnly",void 0),Gt([it],As.prototype,"resize",void 0),Gt([it({mode:"boolean"})],As.prototype,"autofocus",void 0),Gt([it({attribute:"form"})],As.prototype,"formId",void 0),Gt([it],As.prototype,"list",void 0),Gt([it({converter:tt})],As.prototype,"maxlength",void 0),Gt([it({converter:tt})],As.prototype,"minlength",void 0),Gt([it],As.prototype,"name",void 0),Gt([it],As.prototype,"placeholder",void 0),Gt([it({converter:tt,mode:"fromView"})],As.prototype,"cols",void 0),Gt([it({converter:tt,mode:"fromView"})],As.prototype,"rows",void 0),Gt([it({mode:"boolean"})],As.prototype,"spellcheck",void 0),Gt([f],As.prototype,"defaultSlottedNodes",void 0),Ve(As,Qo);const Ls=Object.freeze({[Me.ArrowUp]:{[Le]:-1},[Me.ArrowDown]:{[Le]:1},[Me.ArrowLeft]:{[Ae]:{[Be.ltr]:-1,[Be.rtl]:1}},[Me.ArrowRight]:{[Ae]:{[Be.ltr]:1,[Be.rtl]:-1}}});class Ps extends Se{constructor(){super(...arguments),this._activeIndex=0,this.direction=Be.ltr,this.orientation=Ae}get activeIndex(){return g.track(this,"activeIndex"),this._activeIndex}set activeIndex(t){this.$fastController.isConnected&&(this._activeIndex=je(0,this.focusableElements.length-1,t),g.notify(this,"activeIndex"))}slottedItemsChanged(){this.$fastController.isConnected&&this.reduceFocusableElements()}clickHandler(t){var e;const i=null===(e=this.focusableElements)||void 0===e?void 0:e.indexOf(t.target);return i>-1&&this.activeIndex!==i&&this.setFocusedElement(i),!0}childItemsChanged(t,e){this.$fastController.isConnected&&this.reduceFocusableElements()}connectedCallback(){super.connectedCallback(),this.direction=ti(this)}focusinHandler(t){const e=t.relatedTarget;e&&!this.contains(e)&&this.setFocusedElement()}getDirectionalIncrementer(t){var e,i,o,s,n;return null!==(n=null!==(o=null===(i=null===(e=Ls[t])||void 0===e?void 0:e[this.orientation])||void 0===i?void 0:i[this.direction])&&void 0!==o?o:null===(s=Ls[t])||void 0===s?void 0:s[this.orientation])&&void 0!==n?n:0}keydownHandler(t){const e=t.key;if(!(e in Me)||t.defaultPrevented||t.shiftKey)return!0;const i=this.getDirectionalIncrementer(e);if(!i)return!t.target.closest("[role=radiogroup]");const o=this.activeIndex+i;return this.focusableElements[o]&&t.preventDefault(),this.setFocusedElement(o),!0}get allSlottedItems(){return[...this.start.assignedElements(),...this.slottedItems,...this.end.assignedElements()]}reduceFocusableElements(){var t;const e=null===(t=this.focusableElements)||void 0===t?void 0:t[this.activeIndex];this.focusableElements=this.allSlottedItems.reduce(Ps.reduceFocusableItems,[]);const i=this.focusableElements.indexOf(e);this.activeIndex=Math.max(0,i),this.setFocusableElements()}setFocusedElement(t=this.activeIndex){var e;this.activeIndex=t,this.setFocusableElements(),null===(e=this.focusableElements[this.activeIndex])||void 0===e||e.focus()}static reduceFocusableItems(t,e){var i,o,s,n;const r="radio"===e.getAttribute("role"),a=null===(o=null===(i=e.$fastController)||void 0===i?void 0:i.definition.shadowOptions)||void 0===o?void 0:o.delegatesFocus,l=Array.from(null!==(n=null===(s=e.shadowRoot)||void 0===s?void 0:s.querySelectorAll("*"))&&void 0!==n?n:[]).some(t=>Ro(t));return e.hasAttribute("disabled")||e.hasAttribute("hidden")||!(Ro(e)||r||a||l)?e.childElementCount?t.concat(Array.from(e.children).reduce(Ps.reduceFocusableItems,[])):t:(t.push(e),t)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1})}}Gt([f],Ps.prototype,"direction",void 0),Gt([it],Ps.prototype,"orientation",void 0),Gt([f],Ps.prototype,"slottedItems",void 0),Gt([f],Ps.prototype,"slottedLabel",void 0),Gt([f],Ps.prototype,"childItems",void 0);class zs{}Gt([it({attribute:"aria-labelledby"})],zs.prototype,"ariaLabelledby",void 0),Gt([it({attribute:"aria-label"})],zs.prototype,"ariaLabel",void 0),Ve(zs,Qe),Ve(Ps,Nt,zs);const Hs="top",Ms="right",Bs="bottom",Ns="left",js="start",Us="end",qs="top-left",_s="top-right",Gs="bottom-left",Ws="bottom-right",Ks="top-start",Xs="top-end",Ys="bottom-start",Qs="bottom-end";class Zs extends Se{constructor(){super(...arguments),this.anchor="",this.delay=300,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="false",this.verticalInset="false",this.horizontalScaling="content",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=Be.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=t=>{this.classList.toggle("top","start"===this.region.verticalPosition),this.classList.toggle("bottom","end"===this.region.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.region.verticalPosition),this.classList.toggle("center-vertical","center"===this.region.verticalPosition),this.classList.toggle("left","start"===this.region.horizontalPosition),this.classList.toggle("right","end"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.region.horizontalPosition),this.classList.toggle("center-horizontal","center"===this.region.horizontalPosition)},this.handleRegionMouseOver=t=>{this.isRegionHovered=!0},this.handleRegionMouseOut=t=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=t=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=t=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.startHideDelayTimer=()=>{this.clearHideDelayTimer(),this.tooltipVisible&&(this.hideDelayTimer=window.setTimeout(()=>{this.updateTooltipVisibility()},60))},this.clearHideDelayTimer=()=>{null!==this.hideDelayTimer&&(clearTimeout(this.hideDelayTimer),this.hideDelayTimer=null)},this.startShowDelayTimer=()=>{this.isAnchorHoveredFocused||(this.delay>1?null===this.showDelayTimer&&(this.showDelayTimer=window.setTimeout(()=>{this.startHover()},this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHoveredFocused=!0,this.updateTooltipVisibility()},this.clearShowDelayTimer=()=>{null!==this.showDelayTimer&&(clearTimeout(this.showDelayTimer),this.showDelayTimer=null)},this.getAnchor=()=>{const t=this.getRootNode();return t instanceof ShadowRoot?t.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&this.tooltipVisible)switch(t.key){case"Escape":this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")}},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip();else{if(!0===this.visible)return void this.showTooltip();if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip();this.hideTooltip()}},this.showTooltip=()=>{this.tooltipVisible||(this.currentDirection=ti(this),this.tooltipVisible=!0,document.addEventListener("keydown",this.handleDocumentKeydown),d.queueUpdate(this.setRegionProps))},this.hideTooltip=()=>{this.tooltipVisible&&(this.clearHideDelayTimer(),null!==this.region&&void 0!==this.region&&(this.region.removeEventListener("positionchange",this.handlePositionChange),this.region.viewportElement=null,this.region.anchorElement=null,this.region.removeEventListener("mouseover",this.handleRegionMouseOver),this.region.removeEventListener("mouseout",this.handleRegionMouseOut)),document.removeEventListener("keydown",this.handleDocumentKeydown),this.tooltipVisible=!1)},this.setRegionProps=()=>{this.tooltipVisible&&(this.region.viewportElement=this.viewportElement,this.region.anchorElement=this.anchorElement,this.region.addEventListener("positionchange",this.handlePositionChange),this.region.addEventListener("mouseover",this.handleRegionMouseOver,{passive:!0}),this.region.addEventListener("mouseout",this.handleRegionMouseOut,{passive:!0}))}}visibleChanged(){this.$fastController.isConnected&&(this.updateTooltipVisibility(),this.updateLayout())}anchorChanged(){this.$fastController.isConnected&&(this.anchorElement=this.getAnchor())}positionChanged(){this.$fastController.isConnected&&this.updateLayout()}anchorElementChanged(t){if(this.$fastController.isConnected){if(null!=t&&(t.removeEventListener("mouseover",this.handleAnchorMouseOver),t.removeEventListener("mouseout",this.handleAnchorMouseOut),t.removeEventListener("focusin",this.handleAnchorFocusIn),t.removeEventListener("focusout",this.handleAnchorFocusOut)),null!==this.anchorElement&&void 0!==this.anchorElement){this.anchorElement.addEventListener("mouseover",this.handleAnchorMouseOver,{passive:!0}),this.anchorElement.addEventListener("mouseout",this.handleAnchorMouseOut,{passive:!0}),this.anchorElement.addEventListener("focusin",this.handleAnchorFocusIn,{passive:!0}),this.anchorElement.addEventListener("focusout",this.handleAnchorFocusOut,{passive:!0});const t=this.anchorElement.id;null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach(e=>{e.id===t&&this.startShowDelayTimer()})}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearShowDelayTimer(),this.clearHideDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="locktodefault",this.position){case Hs:case Bs:this.verticalDefaultPosition=this.position,this.horizontalDefaultPosition="center";break;case Ms:case Ns:case js:case Us:this.verticalDefaultPosition="center",this.horizontalDefaultPosition=this.position;break;case qs:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="left";break;case _s:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="right";break;case Gs:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="left";break;case Ws:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="right";break;case Ks:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="start";break;case Xs:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="end";break;case Ys:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="start";break;case Qs:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="end";break;default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}Gt([it({mode:"boolean"})],Zs.prototype,"visible",void 0),Gt([it],Zs.prototype,"anchor",void 0),Gt([it],Zs.prototype,"delay",void 0),Gt([it],Zs.prototype,"position",void 0),Gt([it({attribute:"auto-update-mode"})],Zs.prototype,"autoUpdateMode",void 0),Gt([it({attribute:"horizontal-viewport-lock"})],Zs.prototype,"horizontalViewportLock",void 0),Gt([it({attribute:"vertical-viewport-lock"})],Zs.prototype,"verticalViewportLock",void 0),Gt([f],Zs.prototype,"anchorElement",void 0),Gt([f],Zs.prototype,"viewportElement",void 0),Gt([f],Zs.prototype,"verticalPositioningMode",void 0),Gt([f],Zs.prototype,"horizontalPositioningMode",void 0),Gt([f],Zs.prototype,"horizontalInset",void 0),Gt([f],Zs.prototype,"verticalInset",void 0),Gt([f],Zs.prototype,"horizontalScaling",void 0),Gt([f],Zs.prototype,"verticalScaling",void 0),Gt([f],Zs.prototype,"verticalDefaultPosition",void 0),Gt([f],Zs.prototype,"horizontalDefaultPosition",void 0),Gt([f],Zs.prototype,"tooltipVisible",void 0),Gt([f],Zs.prototype,"currentDirection",void 0);function Js(t){return Pe(t)&&"treeitem"===t.getAttribute("role")}class tn extends Se{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>Js(this.parentElement),this.handleExpandCollapseButtonClick=t=>{this.disabled||t.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=t=>{this.setAttribute("tabindex","0")},this.handleBlur=t=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(t,e){this.$fastController.isConnected&&this.items.forEach(t=>{Js(t)&&(t.nested=!0)})}static focusItem(t){t.focusable=!0,t.focus()}childItemLength(){const t=this.childItems.filter(t=>Js(t));return t?t.length:0}}Gt([it({mode:"boolean"})],tn.prototype,"expanded",void 0),Gt([it({mode:"boolean"})],tn.prototype,"selected",void 0),Gt([it({mode:"boolean"})],tn.prototype,"disabled",void 0),Gt([f],tn.prototype,"focusable",void 0),Gt([f],tn.prototype,"childItems",void 0),Gt([f],tn.prototype,"items",void 0),Gt([f],tn.prototype,"nested",void 0),Gt([f],tn.prototype,"renderCollapsedChildren",void 0),Ve(tn,Nt);class en extends Se{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=t=>{if(!(this.slottedTreeItems.length<1))return t.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&tn.focusItem(this.currentFocused))):void(this.contains(t.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=t.target))},this.handleBlur=t=>{t.target instanceof HTMLElement&&(null===t.relatedTarget||!this.contains(t.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=t=>{if(t.defaultPrevented)return;if(this.slottedTreeItems.length<1)return!0;const e=this.getVisibleNodes();switch(t.key){case"Home":return void(e.length&&tn.focusItem(e[0]));case"End":return void(e.length&&tn.focusItem(e[e.length-1]));case"ArrowLeft":if(t.target&&this.isFocusableElement(t.target)){const e=t.target;e instanceof tn&&e.childItemLength()>0&&e.expanded?e.expanded=!1:e instanceof tn&&e.parentElement instanceof tn&&tn.focusItem(e.parentElement)}return!1;case"ArrowRight":if(t.target&&this.isFocusableElement(t.target)){const e=t.target;e instanceof tn&&e.childItemLength()>0&&!e.expanded?e.expanded=!0:e instanceof tn&&e.childItemLength()>0&&this.focusNextNode(1,t.target)}return;case"ArrowDown":return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(1,t.target));case"ArrowUp":return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(-1,t.target));case"Enter":return void this.handleClick(t)}return!0},this.handleSelectedChange=t=>{if(t.defaultPrevented)return;if(!(t.target instanceof Element&&Js(t.target)))return!0;const e=t.target;e.selected?(this.currentSelected&&this.currentSelected!==e&&(this.currentSelected.selected=!1),this.currentSelected=e):e.selected||this.currentSelected!==e||(this.currentSelected=null)},this.setItems=()=>{const t=this.treeView.querySelector("[aria-selected='true']");this.currentSelected=t,null!==this.currentFocused&&this.contains(this.currentFocused)||(this.currentFocused=this.getValidFocusableItem()),this.nested=this.checkForNestedItems();this.getVisibleNodes().forEach(t=>{Js(t)&&(t.nested=this.nested)})},this.isFocusableElement=t=>Js(t),this.isSelectedElement=t=>t.selected}slottedTreeItemsChanged(){this.$fastController.isConnected&&this.setItems()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),d.queueUpdate(()=>{this.setItems()})}handleClick(t){if(t.defaultPrevented)return;if(!(t.target instanceof Element&&Js(t.target)))return!0;const e=t.target;e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const i=this.getVisibleNodes();if(!i)return;const o=i[i.indexOf(e)+t];Pe(o)&&tn.focusItem(o)}getValidFocusableItem(){const t=this.getVisibleNodes();let e=t.findIndex(this.isSelectedElement);return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some(t=>Js(t)&&t.querySelector("[role='treeitem']"))}getVisibleNodes(){return function(t,e){if(!t||!e||!Pe(t))return;return Array.from(t.querySelectorAll(e)).filter(t=>null!==t.offsetParent)}(this,"[role='treeitem']")||[]}}Gt([it({attribute:"render-collapsed-nodes"})],en.prototype,"renderCollapsedNodes",void 0),Gt([f],en.prototype,"currentSelected",void 0),Gt([f],en.prototype,"slottedTreeItems",void 0);class on extends class{constructor(t){this.listenerCache=new WeakMap,this.query=t}bind(t){const{query:e}=this,i=this.constructListener(t);i.bind(e)(),e.addListener(i),this.listenerCache.set(t,i)}unbind(t){const e=this.listenerCache.get(t);e&&(this.query.removeListener(e),this.listenerCache.delete(t))}}{constructor(t,e){super(t),this.styles=e}static with(t){return e=>new on(t,e)}constructListener(t){let e=!1;const i=this.styles;return function(){const{matches:o}=this;o&&!e?(t.$fastController.addStyles(i),e=o):!o&&e&&(t.$fastController.removeStyles(i),e=o)}}unbind(t){super.unbind(t),t.$fastController.removeStyles(this.styles)}}const sn=on.with(window.matchMedia("(forced-colors)"));on.with(window.matchMedia("(prefers-color-scheme: dark)")),on.with(window.matchMedia("(prefers-color-scheme: light)"));class nn{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(t){g.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){g.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){t[e]===this.value?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function rn(t){return`:host([hidden]){display:none}:host{display:${t}}`}const an=function(){if("boolean"==typeof ze)return ze;if("undefined"==typeof window||!window.document||!window.document.createElement)return ze=!1,ze;const t=document.createElement("style"),e=function(){const t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}();null!==e&&t.setAttribute("nonce",e),document.head.appendChild(t);try{t.sheet.insertRule("foo:focus-visible {color:inherit}",0),ze=!0}catch(t){ze=!1}finally{document.head.removeChild(t)}return ze}()?"focus-visible":"focus";function ln(t,e,i){return isNaN(t)||t<=e?e:t>=i?i:t}function cn(t,e,i){return isNaN(t)||t<=e?0:t>=i?1:t/(i-e)}function hn(t,e,i){return isNaN(t)?e:e+t*(i-e)}function dn(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:e+t*(i-e)}function un(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}class pn{constructor(t,e,i){this.h=t,this.s=e,this.l=i}static fromObject(t){return!t||isNaN(t.h)||isNaN(t.s)||isNaN(t.l)?null:new pn(t.h,t.s,t.l)}equalValue(t){return this.h===t.h&&this.s===t.s&&this.l===t.l}roundToPrecision(t){return new pn(un(this.h,t),un(this.s,t),un(this.l,t))}toObject(){return{h:this.h,s:this.s,l:this.l}}}class gn{constructor(t,e,i){this.l=t,this.a=e,this.b=i}static fromObject(t){return!t||isNaN(t.l)||isNaN(t.a)||isNaN(t.b)?null:new gn(t.l,t.a,t.b)}equalValue(t){return this.l===t.l&&this.a===t.a&&this.b===t.b}roundToPrecision(t){return new gn(un(this.l,t),un(this.a,t),un(this.b,t))}toObject(){return{l:this.l,a:this.a,b:this.b}}}gn.epsilon=216/24389,gn.kappa=24389/27;class fn{constructor(t,e,i,o){this.r=t,this.g=e,this.b=i,this.a="number"!=typeof o||isNaN(o)?1:o}static fromObject(t){return!t||isNaN(t.r)||isNaN(t.g)||isNaN(t.b)?null:new fn(t.r,t.g,t.b,t.a)}equalValue(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}toStringHexRGB(){return"#"+[this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringHexRGBA(){return this.toStringHexRGB()+this.formatHexValue(this.a)}toStringHexARGB(){return"#"+[this.a,this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringWebRGB(){return`rgb(${Math.round(hn(this.r,0,255))},${Math.round(hn(this.g,0,255))},${Math.round(hn(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(hn(this.r,0,255))},${Math.round(hn(this.g,0,255))},${Math.round(hn(this.b,0,255))},${ln(this.a,0,1)})`}roundToPrecision(t){return new fn(un(this.r,t),un(this.g,t),un(this.b,t),un(this.a,t))}clamp(){return new fn(ln(this.r,0,1),ln(this.g,0,1),ln(this.b,0,1),ln(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(t){return function(t){const e=Math.round(ln(t,0,255)).toString(16);return 1===e.length?"0"+e:e}(hn(t,0,255))}}class mn{constructor(t,e,i){this.x=t,this.y=e,this.z=i}static fromObject(t){return!t||isNaN(t.x)||isNaN(t.y)||isNaN(t.z)?null:new mn(t.x,t.y,t.z)}equalValue(t){return this.x===t.x&&this.y===t.y&&this.z===t.z}roundToPrecision(t){return new mn(un(this.x,t),un(this.y,t),un(this.z,t))}toObject(){return{x:this.x,y:this.y,z:this.z}}}function vn(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return function(t){return.2126*t.r+.7152*t.g+.0722*t.b}(new fn(e(t.r),e(t.g),e(t.b),1))}function bn(t,e,i){return i-e==0?0:(t-e)/(i-e)}function yn(t,e,i){return(bn(t.r,e.r,i.r)+bn(t.g,e.g,i.g)+bn(t.b,e.b,i.b))/3}function xn(t){const e=Math.max(t.r,t.g,t.b),i=Math.min(t.r,t.g,t.b),o=e-i;let s=0;0!==o&&(s=e===t.r?(t.g-t.b)/o%6*60:e===t.g?60*((t.b-t.r)/o+2):60*((t.r-t.g)/o+4)),s<0&&(s+=360);const n=(e+i)/2;let r=0;return 0!==o&&(r=o/(1-Math.abs(2*n-1))),new pn(s,r,n)}function $n(t){return function(t){function e(t){return t>gn.epsilon?Math.pow(t,1/3):(gn.kappa*t+16)/116}const i=e(t.x/mn.whitePoint.x),o=e(t.y/mn.whitePoint.y),s=e(t.z/mn.whitePoint.z);return new gn(116*o-16,500*(i-o),200*(o-s))}(function(t){function e(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}const i=e(t.r),o=e(t.g),s=e(t.b);return new mn(.4124564*i+.3575761*o+.1804375*s,.2126729*i+.7151522*o+.072175*s,.0193339*i+.119192*o+.9503041*s)}(t))}function wn(t,e=1){return function(t,e=1){function i(t){return t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055}const o=i(3.2404542*t.x-1.5371385*t.y-.4985314*t.z),s=i(-.969266*t.x+1.8760108*t.y+.041556*t.z),n=i(.0556434*t.x-.2040259*t.y+1.0572252*t.z);return new fn(o,s,n,e)}(function(t){const e=(t.l+16)/116,i=e+t.a/500,o=e-t.b/200,s=Math.pow(i,3),n=Math.pow(e,3),r=Math.pow(o,3);let a=0;a=s>gn.epsilon?s:(116*i-16)/gn.kappa;let l=0;l=t.l>gn.epsilon*gn.kappa?n:t.l/gn.kappa;let c=0;return c=r>gn.epsilon?r:(116*o-16)/gn.kappa,a=mn.whitePoint.x*a,l=mn.whitePoint.y*l,c=mn.whitePoint.z*c,new mn(a,l,c)}(t),e)}var kn,Cn;function In(t,e,i){return isNaN(t)||t<=0?e:t>=1?i:new fn(dn(t,e.r,i.r),dn(t,e.g,i.g),dn(t,e.b,i.b),dn(t,e.a,i.a))}mn.whitePoint=new mn(.95047,1,1.08883),function(t){t[t.Burn=0]="Burn",t[t.Color=1]="Color",t[t.Darken=2]="Darken",t[t.Dodge=3]="Dodge",t[t.Lighten=4]="Lighten",t[t.Multiply=5]="Multiply",t[t.Overlay=6]="Overlay",t[t.Screen=7]="Screen"}(kn||(kn={})),function(t){t[t.RGB=0]="RGB",t[t.HSL=1]="HSL",t[t.HSV=2]="HSV",t[t.XYZ=3]="XYZ",t[t.LAB=4]="LAB",t[t.LCH=5]="LCH"}(Cn||(Cn={}));const Fn=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i;function Dn(t){const e=Fn.exec(t);if(null===e)return null;let i=e[1];if(3===i.length){const t=i.charAt(0),e=i.charAt(1),o=i.charAt(2);i=t.concat(t,e,e,o,o)}const o=parseInt(i,16);return isNaN(o)?null:new fn(cn((16711680&o)>>>16,0,255),cn((65280&o)>>>8,0,255),cn(255&o,0,255),1)}function Tn(t,e){const i=t.relativeLuminance>e.relativeLuminance?t:e,o=t.relativeLuminance>e.relativeLuminance?e:t;return(i.relativeLuminance+.05)/(o.relativeLuminance+.05)}const Sn=Object.freeze({create:(t,e,i)=>new On(t,e,i),from:t=>new On(t.r,t.g,t.b)});class On extends fn{constructor(t,e,i){super(t,e,i,1),this.toColorString=this.toStringHexRGB,this.contrast=Tn.bind(null,this),this.createCSS=this.toColorString,this.relativeLuminance=vn(this)}static fromObject(t){return new On(t.r,t.g,t.b)}}const En=(-.1+Math.sqrt(.21))/2;function Vn(t){return t.relativeLuminance<=En}function Rn(t){return Vn(t)?-1:1}const An={stepContrast:1.03,stepContrastRamp:.03,preserveSource:!1};const Ln=Object.freeze({create:function(t,e,i){return"number"==typeof t?Ln.from(Sn.create(t,e,i)):Ln.from(t)},from:function(t,e){return function(t){const e={r:0,g:0,b:0,toColorString:()=>"",contrast:()=>0,relativeLuminance:0};for(const i in e)if(typeof e[i]!=typeof t[i])return!1;return!0}(t)?Pn.from(t,e):Pn.from(Sn.create(t.r,t.g,t.b),e)}});class Pn{constructor(t,e){this.closestIndexCache=new Map,this.source=t,this.swatches=e,this.reversedSwatches=Object.freeze([...this.swatches].reverse()),this.lastIndex=this.swatches.length-1}colorContrast(t,e,i,o){void 0===i&&(i=this.closestIndexOf(t));let s=this.swatches;const n=this.lastIndex;let r=i;void 0===o&&(o=Rn(t));return-1===o&&(s=this.reversedSwatches,r=n-r),function t(e,i,o=0,s=e.length-1){if(s===o)return e[o];const n=Math.floor((s-o)/2)+o;return i(e[n])?t(e,i,o,n):t(e,i,n+1,s)}(s,i=>Tn(t,i)>=e,r,n)}get(t){return this.swatches[t]||this.swatches[ln(t,0,this.lastIndex)]}closestIndexOf(t){if(this.closestIndexCache.has(t.relativeLuminance))return this.closestIndexCache.get(t.relativeLuminance);let e=this.swatches.indexOf(t);if(-1!==e)return this.closestIndexCache.set(t.relativeLuminance,e),e;const i=this.swatches.reduce((e,i)=>Math.abs(i.relativeLuminance-t.relativeLuminance)<Math.abs(e.relativeLuminance-t.relativeLuminance)?i:e);return e=this.swatches.indexOf(i),this.closestIndexCache.set(t.relativeLuminance,e),e}static saturationBump(t,e){const i=xn(t).s,o=xn(e);if(o.s<i){return function(t,e=1){const i=(1-Math.abs(2*t.l-1))*t.s,o=i*(1-Math.abs(t.h/60%2-1)),s=t.l-i/2;let n=0,r=0,a=0;return t.h<60?(n=i,r=o,a=0):t.h<120?(n=o,r=i,a=0):t.h<180?(n=0,r=i,a=o):t.h<240?(n=0,r=o,a=i):t.h<300?(n=o,r=0,a=i):t.h<360&&(n=i,r=0,a=o),new fn(n+s,r+s,a+s,e)}(new pn(o.h,i,o.l))}return e}static ramp(t){const e=t/100;return e>.5?(e-.5)/.5:2*e}static createHighResolutionPalette(t){const e=[],i=$n(fn.fromObject(t).roundToPrecision(4)),o=wn(new gn(0,i.a,i.b)).clamp().roundToPrecision(4),s=wn(new gn(50,i.a,i.b)).clamp().roundToPrecision(4),n=wn(new gn(100,i.a,i.b)).clamp().roundToPrecision(4),r=new fn(0,0,0),a=new fn(1,1,1),l=n.equalValue(a)?0:14,c=o.equalValue(r)?0:14;for(let t=100+l;t>=0-c;t-=.5){let i;if(t<0){i=In(t/c+1,r,o)}else if(t<=50)i=In(Pn.ramp(t),o,s);else if(t<=100)i=In(Pn.ramp(t),s,n);else{i=In((t-100)/l,n,a)}i=Pn.saturationBump(s,i).roundToPrecision(4),e.push(Sn.from(i))}return new Pn(t,e)}static adjustEnd(t,e,i,o){const s=-1===o?e.swatches:e.reversedSwatches,n=t=>{const i=e.closestIndexOf(t);return 1===o?e.lastIndex-i:i};1===o&&i.reverse();const r=t(i[i.length-2]);if(un(Tn(i[i.length-1],i[i.length-2]),2)<r){i.pop();const t=n(e.colorContrast(s[e.lastIndex],r,void 0,o))-n(i[i.length-2]);let a=1;for(let o=i.length-t-1;o<i.length;o++){const t=n(i[o]),r=o===i.length-1?e.lastIndex:t+a;i[o]=s[r],a++}}1===o&&i.reverse()}static createColorPaletteByContrast(t,e){const i=Pn.createHighResolutionPalette(t),o=t=>un(e.stepContrast+e.stepContrast*(1-t.relativeLuminance)*e.stepContrastRamp,2),s=[];let n=e.preserveSource?t:i.swatches[0];s.push(n);do{const t=o(n);n=i.colorContrast(n,t,void 0,1),s.push(n)}while(n.relativeLuminance>0);if(e.preserveSource){n=t;do{const t=o(n);n=i.colorContrast(n,t,void 0,-1),s.unshift(n)}while(n.relativeLuminance<1)}return this.adjustEnd(o,i,s,-1),e.preserveSource&&this.adjustEnd(o,i,s,1),s}static from(t,e){const i=void 0===e?An:Object.assign(Object.assign({},An),e);return new Pn(t,Object.freeze(Pn.createColorPaletteByContrast(t,i)))}}const zn=Sn.create(1,1,1),Hn=Sn.create(0,0,0),Mn=Sn.create(.5,.5,.5),Bn=Dn("#0078D4"),Nn=Sn.create(Bn.r,Bn.g,Bn.b);function jn(t,e,i,o,s){const n=t=>t.contrast(zn)>=s?zn:Hn,r=n(t),a=n(e);return{rest:r,hover:a,active:r.relativeLuminance===a.relativeLuminance?r:n(i),focus:n(o)}}class Un{constructor(t,e,i,o){this.toColorString=()=>this.cssGradient,this.contrast=Tn.bind(null,this),this.createCSS=this.toColorString,this.color=new fn(t,e,i),this.cssGradient=o,this.relativeLuminance=vn(this.color),this.r=t,this.g=e,this.b=i}static fromObject(t,e){return new Un(t.r,t.g,t.b,e)}}const qn=new fn(0,0,0),_n=new fn(1,1,1);function Gn(t,e,i,o,s,n,r,a,l=10,c=!1){const h=t.closestIndexOf(e);function d(i){if(c){const o=t.closestIndexOf(e),s=t.get(o),n=i.relativeLuminance<e.relativeLuminance?qn:_n,r=function(t,e,i=null){let o=0,s=i;return null!==s?o=yn(t,e,s):(s=new fn(0,0,0,1),o=yn(t,e,s),o<=0&&(s=new fn(1,1,1,1),o=yn(t,e,s))),o=Math.round(1e3*o)/1e3,new fn(s.r,s.g,s.b,o)}(Dn(i.toColorString()),Dn(s.toColorString()),n).roundToPrecision(2),a=function(t,e){if(e.a>=1)return e;if(e.a<=0)return new fn(t.r,t.g,t.b,1);const i=e.a*e.r+(1-e.a)*t.r,o=e.a*e.g+(1-e.a)*t.g,s=e.a*e.b+(1-e.a)*t.b;return new fn(i,o,s,1)}(Dn(e.toColorString()),r);return Sn.from(a)}return i}void 0===a&&(a=Rn(e));const u=h+a*i,p=u+a*(o-i),g=u+a*(s-i),f=u+a*(n-i),m=-1===a?0:100-l,v=-1===a?l:100;function b(e,i){const o=t.get(e);if(i){const i=t.get(e+a*r),s=-1===a?i:o,n=-1===a?o:i,l=`linear-gradient(${d(s).toColorString()} ${m}%, ${d(n).toColorString()} ${v}%)`;return Un.fromObject(s,l)}return d(o)}return{rest:b(u,!0),hover:b(p,!0),active:b(g,!1),focus:b(f,!0)}}function Wn(t,e,i,o,s,n,r,a){null==a&&(a=Rn(e));const l=t.closestIndexOf(t.colorContrast(e,i));return{rest:t.get(l+a*o),hover:t.get(l+a*s),active:t.get(l+a*n),focus:t.get(l+a*r)}}function Kn(t,e,i,o,s,n,r){const a=t.closestIndexOf(e);return null==r&&(r=Rn(e)),{rest:t.get(a+r*i),hover:t.get(a+r*o),active:t.get(a+r*s),focus:t.get(a+r*n)}}function Xn(t,e,i,o,s,n,r,a,l,c,h,d){return Vn(e)?Kn(t,e,a,l,c,h,d):Kn(t,e,i,o,s,n,r)}var Yn;function Qn(t,e){return t.closestIndexOf((i=e,Sn.create(i,i,i)));var i}function Zn(t,e,i){return t.get(Qn(t,e)+-1*i)}!function(t){t[t.LightMode=.98]="LightMode",t[t.DarkMode=.15]="DarkMode"}(Yn||(Yn={}));const{create:Jn}=fo;function tr(t){return fo.create({name:t,cssCustomPropertyName:null})}const er=Jn("direction").withDefault(Be.ltr),ir=Jn("disabled-opacity").withDefault(.3),or=Jn("base-height-multiplier").withDefault(8),sr=Jn("base-horizontal-spacing-multiplier").withDefault(3),nr=Jn("density").withDefault(0),rr=Jn("design-unit").withDefault(4),ar=Jn("control-corner-radius").withDefault(4),lr=Jn("layer-corner-radius").withDefault(8),cr=Jn("stroke-width").withDefault(1),hr=Jn("focus-stroke-width").withDefault(2),dr=Jn("body-font").withDefault('"Segoe UI Variable", "Segoe UI", sans-serif'),ur=Jn("font-weight").withDefault(400);function pr(t){return e=>{const i=t.getValueFor(e),o=ur.getValueFor(e);if(i.endsWith("px")){const t=Number.parseFloat(i.replace("px",""));if(t<=12)return`"wght" ${o}, "opsz" 8`;if(t>24)return`"wght" ${o}, "opsz" 36`}return`"wght" ${o}, "opsz" 10.5`}}const gr=Jn("type-ramp-base-font-size").withDefault("14px"),fr=Jn("type-ramp-base-line-height").withDefault("20px"),mr=Jn("type-ramp-base-font-variations").withDefault(pr(gr)),vr=Jn("type-ramp-minus-1-font-size").withDefault("12px"),br=Jn("type-ramp-minus-1-line-height").withDefault("16px"),yr=Jn("type-ramp-minus-1-font-variations").withDefault(pr(vr)),xr=Jn("type-ramp-minus-2-font-size").withDefault("10px"),$r=Jn("type-ramp-minus-2-line-height").withDefault("14px"),wr=Jn("type-ramp-minus-2-font-variations").withDefault(pr(xr)),kr=Jn("type-ramp-plus-1-font-size").withDefault("16px"),Cr=Jn("type-ramp-plus-1-line-height").withDefault("22px"),Ir=Jn("type-ramp-plus-1-font-variations").withDefault(pr(kr)),Fr=Jn("type-ramp-plus-2-font-size").withDefault("20px"),Dr=Jn("type-ramp-plus-2-line-height").withDefault("26px"),Tr=Jn("type-ramp-plus-2-font-variations").withDefault(pr(Fr)),Sr=Jn("type-ramp-plus-3-font-size").withDefault("24px"),Or=Jn("type-ramp-plus-3-line-height").withDefault("32px"),Er=Jn("type-ramp-plus-3-font-variations").withDefault(pr(Sr)),Vr=Jn("type-ramp-plus-4-font-size").withDefault("28px"),Rr=Jn("type-ramp-plus-4-line-height").withDefault("36px"),Ar=Jn("type-ramp-plus-4-font-variations").withDefault(pr(Vr)),Lr=Jn("type-ramp-plus-5-font-size").withDefault("32px"),Pr=Jn("type-ramp-plus-5-line-height").withDefault("40px"),zr=Jn("type-ramp-plus-5-font-variations").withDefault(pr(Lr)),Hr=Jn("type-ramp-plus-6-font-size").withDefault("40px"),Mr=Jn("type-ramp-plus-6-line-height").withDefault("52px"),Br=Jn("type-ramp-plus-6-font-variations").withDefault(pr(Hr)),Nr=Jn("base-layer-luminance").withDefault(Yn.LightMode),jr=tr("accent-fill-rest-delta").withDefault(0),Ur=tr("accent-fill-hover-delta").withDefault(-2),qr=tr("accent-fill-active-delta").withDefault(-5),_r=tr("accent-fill-focus-delta").withDefault(0),Gr=tr("accent-foreground-rest-delta").withDefault(0),Wr=tr("accent-foreground-hover-delta").withDefault(3),Kr=tr("accent-foreground-active-delta").withDefault(-8),Xr=tr("accent-foreground-focus-delta").withDefault(0),Yr=tr("neutral-fill-rest-delta").withDefault(-1),Qr=tr("neutral-fill-hover-delta").withDefault(1),Zr=tr("neutral-fill-active-delta").withDefault(0),Jr=tr("neutral-fill-focus-delta").withDefault(0),ta=tr("neutral-fill-input-rest-delta").withDefault(-1),ea=tr("neutral-fill-input-hover-delta").withDefault(1),ia=tr("neutral-fill-input-active-delta").withDefault(0),oa=tr("neutral-fill-input-focus-delta").withDefault(-2),sa=tr("neutral-fill-input-alt-rest-delta").withDefault(2),na=tr("neutral-fill-input-alt-hover-delta").withDefault(4),ra=tr("neutral-fill-input-alt-active-delta").withDefault(6),aa=tr("neutral-fill-input-alt-focus-delta").withDefault(2),la=tr("neutral-fill-layer-rest-delta").withDefault(-2),ca=tr("neutral-fill-layer-hover-delta").withDefault(-3),ha=tr("neutral-fill-layer-active-delta").withDefault(-3),da=tr("neutral-fill-layer-alt-rest-delta").withDefault(-1),ua=tr("neutral-fill-secondary-rest-delta").withDefault(3),pa=tr("neutral-fill-secondary-hover-delta").withDefault(2),ga=tr("neutral-fill-secondary-active-delta").withDefault(1),fa=tr("neutral-fill-secondary-focus-delta").withDefault(3),ma=tr("neutral-fill-stealth-rest-delta").withDefault(0),va=tr("neutral-fill-stealth-hover-delta").withDefault(3),ba=tr("neutral-fill-stealth-active-delta").withDefault(2),ya=tr("neutral-fill-stealth-focus-delta").withDefault(0),xa=tr("neutral-fill-strong-rest-delta").withDefault(0),$a=tr("neutral-fill-strong-hover-delta").withDefault(8),wa=tr("neutral-fill-strong-active-delta").withDefault(-5),ka=tr("neutral-fill-strong-focus-delta").withDefault(0),Ca=tr("neutral-stroke-rest-delta").withDefault(8),Ia=tr("neutral-stroke-hover-delta").withDefault(12),Fa=tr("neutral-stroke-active-delta").withDefault(6),Da=tr("neutral-stroke-focus-delta").withDefault(8),Ta=tr("neutral-stroke-control-rest-delta").withDefault(3),Sa=tr("neutral-stroke-control-hover-delta").withDefault(5),Oa=tr("neutral-stroke-control-active-delta").withDefault(5),Ea=tr("neutral-stroke-control-focus-delta").withDefault(5),Va=tr("neutral-stroke-divider-rest-delta").withDefault(4),Ra=tr("neutral-stroke-layer-rest-delta").withDefault(3),Aa=tr("neutral-stroke-layer-hover-delta").withDefault(3),La=tr("neutral-stroke-layer-active-delta").withDefault(3),Pa=tr("neutral-stroke-strong-hover-delta").withDefault(0),za=tr("neutral-stroke-strong-active-delta").withDefault(0),Ha=tr("neutral-stroke-strong-focus-delta").withDefault(0),Ma=Jn("neutral-base-color").withDefault(Mn),Ba=tr("neutral-palette").withDefault(t=>Ln.from(Ma.getValueFor(t))),Na=Jn("accent-base-color").withDefault(Nn),ja=tr("accent-palette").withDefault(t=>Ln.from(Na.getValueFor(t))),Ua=tr("neutral-layer-card-container-recipe").withDefault({evaluate:t=>Zn(Ba.getValueFor(t),Nr.getValueFor(t),la.getValueFor(t))}),qa=Jn("neutral-layer-card-container").withDefault(t=>Ua.getValueFor(t).evaluate(t)),_a=tr("neutral-layer-floating-recipe").withDefault({evaluate:t=>function(t,e,i){return t.get(Qn(t,e)+i)}(Ba.getValueFor(t),Nr.getValueFor(t),la.getValueFor(t))}),Ga=Jn("neutral-layer-floating").withDefault(t=>_a.getValueFor(t).evaluate(t)),Wa=tr("neutral-layer-1-recipe").withDefault({evaluate:t=>function(t,e){return t.get(Qn(t,e))}(Ba.getValueFor(t),Nr.getValueFor(t))}),Ka=Jn("neutral-layer-1").withDefault(t=>Wa.getValueFor(t).evaluate(t)),Xa=tr("neutral-layer-2-recipe").withDefault({evaluate:t=>Zn(Ba.getValueFor(t),Nr.getValueFor(t),la.getValueFor(t))}),Ya=Jn("neutral-layer-2").withDefault(t=>Xa.getValueFor(t).evaluate(t)),Qa=tr("neutral-layer-3-recipe").withDefault({evaluate:t=>function(t,e,i){return t.get(Qn(t,e)+-1*i*2)}(Ba.getValueFor(t),Nr.getValueFor(t),la.getValueFor(t))}),Za=Jn("neutral-layer-3").withDefault(t=>Qa.getValueFor(t).evaluate(t)),Ja=tr("neutral-layer-4-recipe").withDefault({evaluate:t=>function(t,e,i){return t.get(Qn(t,e)+-1*i*3)}(Ba.getValueFor(t),Nr.getValueFor(t),la.getValueFor(t))}),tl=Jn("neutral-layer-4").withDefault(t=>Ja.getValueFor(t).evaluate(t)),el=Jn("fill-color").withDefault(t=>Ka.getValueFor(t));var il;!function(t){t[t.normal=4.5]="normal",t[t.large=3]="large"}(il||(il={}));const ol=tr("accent-fill-recipe").withDefault({evaluate:(t,e)=>function(t,e,i,o,s,n,r,a,l,c,h,d,u,p){return Vn(e)?Wn(t,e,l,c,h,d,u,p):Wn(t,e,i,o,s,n,r,a)}(ja.getValueFor(t),e||el.getValueFor(t),5,jr.getValueFor(t),Ur.getValueFor(t),qr.getValueFor(t),_r.getValueFor(t),void 0,8,jr.getValueFor(t),Ur.getValueFor(t),qr.getValueFor(t),_r.getValueFor(t),void 0)}),sl=Jn("accent-fill-rest").withDefault(t=>ol.getValueFor(t).evaluate(t).rest),nl=Jn("accent-fill-hover").withDefault(t=>ol.getValueFor(t).evaluate(t).hover),rl=Jn("accent-fill-active").withDefault(t=>ol.getValueFor(t).evaluate(t).active),al=Jn("accent-fill-focus").withDefault(t=>ol.getValueFor(t).evaluate(t).focus),ll=tr("foreground-on-accent-recipe").withDefault({evaluate:t=>jn(sl.getValueFor(t),nl.getValueFor(t),rl.getValueFor(t),al.getValueFor(t),il.normal)}),cl=Jn("foreground-on-accent-rest").withDefault(t=>ll.getValueFor(t).evaluate(t).rest),hl=Jn("foreground-on-accent-hover").withDefault(t=>ll.getValueFor(t).evaluate(t).hover),dl=Jn("foreground-on-accent-active").withDefault(t=>ll.getValueFor(t).evaluate(t).active),ul=Jn("foreground-on-accent-focus").withDefault(t=>ll.getValueFor(t).evaluate(t).focus),pl=tr("accent-foreground-recipe").withDefault({evaluate:(t,e)=>Wn(ja.getValueFor(t),e||el.getValueFor(t),9.5,Gr.getValueFor(t),Wr.getValueFor(t),Kr.getValueFor(t),Xr.getValueFor(t))}),gl=Jn("accent-foreground-rest").withDefault(t=>pl.getValueFor(t).evaluate(t).rest),fl=Jn("accent-foreground-hover").withDefault(t=>pl.getValueFor(t).evaluate(t).hover),ml=Jn("accent-foreground-active").withDefault(t=>pl.getValueFor(t).evaluate(t).active),vl=Jn("accent-foreground-focus").withDefault(t=>pl.getValueFor(t).evaluate(t).focus),bl=tr("accent-stroke-control-recipe").withDefault({evaluate:(t,e)=>Gn(Ba.getValueFor(t),e||el.getValueFor(t),-3,-3,-3,-3,10,1,void 0,!0)}),yl=Jn("accent-stroke-control-rest").withDefault(t=>bl.getValueFor(t).evaluate(t,sl.getValueFor(t)).rest),xl=Jn("accent-stroke-control-hover").withDefault(t=>bl.getValueFor(t).evaluate(t,nl.getValueFor(t)).hover),$l=Jn("accent-stroke-control-active").withDefault(t=>bl.getValueFor(t).evaluate(t,rl.getValueFor(t)).active),wl=Jn("accent-stroke-control-focus").withDefault(t=>bl.getValueFor(t).evaluate(t,al.getValueFor(t)).focus),kl=tr("neutral-fill-recipe").withDefault({evaluate:(t,e)=>Xn(Ba.getValueFor(t),e||el.getValueFor(t),Yr.getValueFor(t),Qr.getValueFor(t),Zr.getValueFor(t),Jr.getValueFor(t),void 0,2,3,1,2,void 0)}),Cl=Jn("neutral-fill-rest").withDefault(t=>kl.getValueFor(t).evaluate(t).rest),Il=Jn("neutral-fill-hover").withDefault(t=>kl.getValueFor(t).evaluate(t).hover),Fl=Jn("neutral-fill-active").withDefault(t=>kl.getValueFor(t).evaluate(t).active),Dl=Jn("neutral-fill-focus").withDefault(t=>kl.getValueFor(t).evaluate(t).focus),Tl=tr("neutral-fill-input-recipe").withDefault({evaluate:(t,e)=>Xn(Ba.getValueFor(t),e||el.getValueFor(t),ta.getValueFor(t),ea.getValueFor(t),ia.getValueFor(t),oa.getValueFor(t),void 0,2,3,1,0,void 0)}),Sl=Jn("neutral-fill-input-rest").withDefault(t=>Tl.getValueFor(t).evaluate(t).rest),Ol=Jn("neutral-fill-input-hover").withDefault(t=>Tl.getValueFor(t).evaluate(t).hover),El=Jn("neutral-fill-input-active").withDefault(t=>Tl.getValueFor(t).evaluate(t).active),Vl=Jn("neutral-fill-input-focus").withDefault(t=>Tl.getValueFor(t).evaluate(t).focus),Rl=tr("neutral-fill-input-alt-recipe").withDefault({evaluate:(t,e)=>Xn(Ba.getValueFor(t),e||el.getValueFor(t),sa.getValueFor(t),na.getValueFor(t),ra.getValueFor(t),aa.getValueFor(t),1,sa.getValueFor(t),sa.getValueFor(t)-na.getValueFor(t),sa.getValueFor(t)-ra.getValueFor(t),aa.getValueFor(t),1)}),Al=Jn("neutral-fill-input-alt-rest").withDefault(t=>Rl.getValueFor(t).evaluate(t).rest),Ll=Jn("neutral-fill-input-alt-hover").withDefault(t=>Rl.getValueFor(t).evaluate(t).hover),Pl=Jn("neutral-fill-input-alt-active").withDefault(t=>Rl.getValueFor(t).evaluate(t).active),zl=Jn("neutral-fill-input-alt-focus").withDefault(t=>Rl.getValueFor(t).evaluate(t).focus),Hl=tr("neutral-fill-layer-recipe").withDefault({evaluate:(t,e)=>Kn(Ba.getValueFor(t),e||el.getValueFor(t),la.getValueFor(t),ca.getValueFor(t),ha.getValueFor(t),la.getValueFor(t),1)}),Ml=Jn("neutral-fill-layer-rest").withDefault(t=>Hl.getValueFor(t).evaluate(t).rest),Bl=Jn("neutral-fill-layer-hover").withDefault(t=>Hl.getValueFor(t).evaluate(t).hover),Nl=Jn("neutral-fill-layer-active").withDefault(t=>Hl.getValueFor(t).evaluate(t).active),jl=tr("neutral-fill-layer-alt-recipe").withDefault({evaluate:(t,e)=>Kn(Ba.getValueFor(t),e||el.getValueFor(t),da.getValueFor(t),da.getValueFor(t),da.getValueFor(t),da.getValueFor(t))}),Ul=Jn("neutral-fill-layer-alt-rest").withDefault(t=>jl.getValueFor(t).evaluate(t).rest),ql=tr("neutral-fill-secondary-recipe").withDefault({evaluate:(t,e)=>Kn(Ba.getValueFor(t),e||el.getValueFor(t),ua.getValueFor(t),pa.getValueFor(t),ga.getValueFor(t),fa.getValueFor(t))}),_l=Jn("neutral-fill-secondary-rest").withDefault(t=>ql.getValueFor(t).evaluate(t).rest),Gl=Jn("neutral-fill-secondary-hover").withDefault(t=>ql.getValueFor(t).evaluate(t).hover),Wl=Jn("neutral-fill-secondary-active").withDefault(t=>ql.getValueFor(t).evaluate(t).active),Kl=Jn("neutral-fill-secondary-focus").withDefault(t=>ql.getValueFor(t).evaluate(t).focus),Xl=tr("neutral-fill-stealth-recipe").withDefault({evaluate:(t,e)=>Kn(Ba.getValueFor(t),e||el.getValueFor(t),ma.getValueFor(t),va.getValueFor(t),ba.getValueFor(t),ya.getValueFor(t))}),Yl=Jn("neutral-fill-stealth-rest").withDefault(t=>Xl.getValueFor(t).evaluate(t).rest),Ql=Jn("neutral-fill-stealth-hover").withDefault(t=>Xl.getValueFor(t).evaluate(t).hover),Zl=Jn("neutral-fill-stealth-active").withDefault(t=>Xl.getValueFor(t).evaluate(t).active),Jl=Jn("neutral-fill-stealth-focus").withDefault(t=>Xl.getValueFor(t).evaluate(t).focus),tc=tr("neutral-fill-strong-recipe").withDefault({evaluate:(t,e)=>Wn(Ba.getValueFor(t),e||el.getValueFor(t),4.5,xa.getValueFor(t),$a.getValueFor(t),wa.getValueFor(t),ka.getValueFor(t))}),ec=Jn("neutral-fill-strong-rest").withDefault(t=>tc.getValueFor(t).evaluate(t).rest),ic=Jn("neutral-fill-strong-hover").withDefault(t=>tc.getValueFor(t).evaluate(t).hover),oc=Jn("neutral-fill-strong-active").withDefault(t=>tc.getValueFor(t).evaluate(t).active),sc=Jn("neutral-fill-strong-focus").withDefault(t=>tc.getValueFor(t).evaluate(t).focus),nc=tr("neutral-foreground-recipe").withDefault({evaluate:(t,e)=>Wn(Ba.getValueFor(t),e||el.getValueFor(t),16,0,-19,-30,0)}),rc=Jn("neutral-foreground-rest").withDefault(t=>nc.getValueFor(t).evaluate(t).rest),ac=Jn("neutral-foreground-hover").withDefault(t=>nc.getValueFor(t).evaluate(t).hover),lc=Jn("neutral-foreground-active").withDefault(t=>nc.getValueFor(t).evaluate(t).active),cc=Jn("neutral-foreground-focus").withDefault(t=>nc.getValueFor(t).evaluate(t).focus),hc=tr("neutral-foreground-hint-recipe").withDefault({evaluate:(t,e)=>function(t,e,i){return t.colorContrast(e,i)}(Ba.getValueFor(t),e||el.getValueFor(t),4.5)}),dc=Jn("neutral-foreground-hint").withDefault(t=>hc.getValueFor(t).evaluate(t)),uc=tr("neutral-stroke-recipe").withDefault({evaluate:(t,e)=>Kn(Ba.getValueFor(t),e||el.getValueFor(t),Ca.getValueFor(t),Ia.getValueFor(t),Fa.getValueFor(t),Da.getValueFor(t))}),pc=Jn("neutral-stroke-rest").withDefault(t=>uc.getValueFor(t).evaluate(t).rest),gc=Jn("neutral-stroke-hover").withDefault(t=>uc.getValueFor(t).evaluate(t).hover),fc=Jn("neutral-stroke-active").withDefault(t=>uc.getValueFor(t).evaluate(t).active),mc=Jn("neutral-stroke-focus").withDefault(t=>uc.getValueFor(t).evaluate(t).focus),vc=tr("neutral-stroke-control-recipe").withDefault({evaluate:(t,e)=>Gn(Ba.getValueFor(t),e||el.getValueFor(t),Ta.getValueFor(t),Sa.getValueFor(t),Oa.getValueFor(t),Ea.getValueFor(t),5)}),bc=Jn("neutral-stroke-control-rest").withDefault(t=>vc.getValueFor(t).evaluate(t).rest),yc=Jn("neutral-stroke-control-hover").withDefault(t=>vc.getValueFor(t).evaluate(t).hover),xc=Jn("neutral-stroke-control-active").withDefault(t=>vc.getValueFor(t).evaluate(t).active),$c=Jn("neutral-stroke-control-focus").withDefault(t=>vc.getValueFor(t).evaluate(t).focus),wc=tr("neutral-stroke-divider-recipe").withDefault({evaluate:(t,e)=>function(t,e,i){return t.get(t.closestIndexOf(e)+Rn(e)*i)}(Ba.getValueFor(t),e||el.getValueFor(t),Va.getValueFor(t))}),kc=Jn("neutral-stroke-divider-rest").withDefault(t=>wc.getValueFor(t).evaluate(t)),Cc=tr("neutral-stroke-input-recipe").withDefault({evaluate:(t,e)=>function(t,e,i,o,s,n,r,a){const l=t.closestIndexOf(e),c=Rn(e),h=l+c*i,d=h+c*(o-i),u=h+c*(s-i),p=h+c*(n-i),g=`calc(100% - ${a})`;function f(e,i){const o=t.get(e);if(i){const i=t.get(e+c*r),s=`linear-gradient(${o.toColorString()} ${g}, ${i.toColorString()} ${g}, ${i.toColorString()})`;return Un.fromObject(o,s)}return o}return{rest:f(h,!0),hover:f(d,!0),active:f(u,!1),focus:f(p,!0)}}(Ba.getValueFor(t),e||el.getValueFor(t),Ta.getValueFor(t),Sa.getValueFor(t),Oa.getValueFor(t),Ea.getValueFor(t),20,cr.getValueFor(t)+"px")}),Ic=Jn("neutral-stroke-input-rest").withDefault(t=>Cc.getValueFor(t).evaluate(t).rest),Fc=Jn("neutral-stroke-input-hover").withDefault(t=>Cc.getValueFor(t).evaluate(t).hover),Dc=Jn("neutral-stroke-input-active").withDefault(t=>Cc.getValueFor(t).evaluate(t).active),Tc=Jn("neutral-stroke-input-focus").withDefault(t=>Cc.getValueFor(t).evaluate(t).focus),Sc=tr("neutral-stroke-layer-recipe").withDefault({evaluate:(t,e)=>Kn(Ba.getValueFor(t),e||el.getValueFor(t),Ra.getValueFor(t),Aa.getValueFor(t),La.getValueFor(t),Ra.getValueFor(t))}),Oc=Jn("neutral-stroke-layer-rest").withDefault(t=>Sc.getValueFor(t).evaluate(t).rest),Ec=Jn("neutral-stroke-layer-hover").withDefault(t=>Sc.getValueFor(t).evaluate(t).hover),Vc=Jn("neutral-stroke-layer-active").withDefault(t=>Sc.getValueFor(t).evaluate(t).active),Rc=tr("neutral-stroke-strong-recipe").withDefault({evaluate:(t,e)=>Wn(Ba.getValueFor(t),e||el.getValueFor(t),5.5,0,Pa.getValueFor(t),za.getValueFor(t),Ha.getValueFor(t))}),Ac=Jn("neutral-stroke-strong-rest").withDefault(t=>Rc.getValueFor(t).evaluate(t).rest),Lc=Jn("neutral-stroke-strong-hover").withDefault(t=>Rc.getValueFor(t).evaluate(t).hover),Pc=Jn("neutral-stroke-strong-active").withDefault(t=>Rc.getValueFor(t).evaluate(t).active),zc=Jn("neutral-stroke-strong-focus").withDefault(t=>Rc.getValueFor(t).evaluate(t).focus),Hc=tr("focus-stroke-outer-recipe").withDefault({evaluate:t=>(Ba.getValueFor(t),Vn(el.getValueFor(t))?zn:Hn)}),Mc=Jn("focus-stroke-outer").withDefault(t=>Hc.getValueFor(t).evaluate(t)),Bc=tr("focus-stroke-inner-recipe").withDefault({evaluate:t=>{return ja.getValueFor(t),e=el.getValueFor(t),Mc.getValueFor(t),Vn(e)?Hn:zn;var e}}),Nc=Jn("focus-stroke-inner").withDefault(t=>Bc.getValueFor(t).evaluate(t)),jc=tr("foreground-on-accent-large-recipe").withDefault({evaluate:t=>jn(sl.getValueFor(t),nl.getValueFor(t),rl.getValueFor(t),al.getValueFor(t),il.large)}),Uc=Jn("foreground-on-accent-rest-large").withDefault(t=>jc.getValueFor(t).evaluate(t).rest),qc=Jn("foreground-on-accent-hover-large").withDefault(t=>jc.getValueFor(t).evaluate(t,nl.getValueFor(t)).hover),_c=Jn("foreground-on-accent-active-large").withDefault(t=>jc.getValueFor(t).evaluate(t,rl.getValueFor(t)).active),Gc=Jn("foreground-on-accent-focus-large").withDefault(t=>jc.getValueFor(t).evaluate(t,al.getValueFor(t)).focus),Wc=Jn("neutral-fill-inverse-rest-delta").withDefault(0),Kc=Jn("neutral-fill-inverse-hover-delta").withDefault(-3),Xc=Jn("neutral-fill-inverse-active-delta").withDefault(7),Yc=Jn("neutral-fill-inverse-focus-delta").withDefault(0);const Qc=tr("neutral-fill-inverse-recipe").withDefault({evaluate:(t,e)=>function(t,e,i,o,s,n){const r=Rn(e),a=t.closestIndexOf(t.colorContrast(e,14)),l=a+r*Math.abs(i-o);let c,h;return(1===r?i<o:r*i>r*o)?(c=a,h=l):(c=l,h=a),{rest:t.get(c),hover:t.get(h),active:t.get(c+r*s),focus:t.get(c+r*n)}}(Ba.getValueFor(t),e||el.getValueFor(t),Wc.getValueFor(t),Kc.getValueFor(t),Xc.getValueFor(t),Yc.getValueFor(t))}),Zc=Jn("neutral-fill-inverse-rest").withDefault(t=>Qc.getValueFor(t).evaluate(t).rest),Jc=Jn("neutral-fill-inverse-hover").withDefault(t=>Qc.getValueFor(t).evaluate(t).hover),th=Jn("neutral-fill-inverse-active").withDefault(t=>Qc.getValueFor(t).evaluate(t).active),eh=Jn("neutral-fill-inverse-focus").withDefault(t=>Qc.getValueFor(t).evaluate(t).focus),ih=ar,oh=lr,sh=cr,nh=hr,rh=Wc,ah=Kc,lh=Xc,ch=Yc,hh=la,dh=xa,uh=$a,ph=wa,gh=ka,fh=Va,mh=Ka,vh=Ya,bh=Za,yh=tl,xh=cl,$h=Uc,wh=kc,kh=Ml,Ch=Zc,Ih=Jc,Fh=th,Dh=eh,Th=ec,Sh=ic,Oh=oc,Eh=sc,Vh=Mc,Rh=Nc,Ah=pc,Lh=gc,Ph=fc,zh=mc,Hh=vt`
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
color
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
${
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
${
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
:
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
:host
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
:host([
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
${
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
${
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
${
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
${
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
${
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
${
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
:
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
:host{color:${Ge.ButtonText}}.positioning-region{border-color:${Ge.ButtonFace};background:${Ge.ButtonFace}}:host(:not([disabled])) .positioning-region:hover,:host(:not([disabled])) .positioning-region:active,:host(:not([disabled])[selected]) .positioning-region{background:${Ge.Highlight}}:host .positioning-region:hover .content-region,:host([selected]) .positioning-region .content-region{forced-color-adjust:none;color:${Ge.HighlightText}}:host([disabled][selected]) .positioning-region .content-region{color:${Ge.GrayText}}:host([selected])::after{background:${Ge.HighlightText}}:host(:${an}) .positioning-region{forced-color-adjust:none;outline-color:${Ge.ButtonFace}}:host([disabled]),:host([disabled]) .content-region,:host([disabled]) .positioning-region:hover .content-region{opacity:1;color:${Ge.GrayText}}:host(.nested) .expand-collapse-button:hover,:host(:not([disabled])[selected]) .expand-collapse-button:hover{background:${Ge.ButtonFace};fill:${Ge.ButtonText}}`)),Rg=tn.compose({baseName:"tree-item",template:(t,e)=>_`<template role="treeitem" slot="${t=>t.isNestedItem()?"item":void 0}" tabindex="-1" class="${t=>t.expanded?"expanded":""} ${t=>t.selected?"selected":""} ${t=>t.nested?"nested":""} ${t=>t.disabled?"disabled":""}" aria-expanded="${t=>t.childItems&&t.childItemLength()>0?t.expanded:void 0}" aria-selected="${t=>t.selected}" aria-disabled="${t=>t.disabled}" @focusin="${(t,e)=>t.handleFocus(e.event)}" @focusout="${(t,e)=>t.handleBlur(e.event)}" ${Bt({property:"childItems",filter:Lt()})}><div class="positioning-region" part="positioning-region"><div class="content-region" part="content-region">${Tt(t=>t.childItems&&t.childItemLength()>0,_`<div aria-hidden="true" class="expand-collapse-button" part="expand-collapse-button" @click="${(t,e)=>t.handleExpandCollapseButtonClick(e.event)}" ${Dt("expandCollapseButton")}><slot name="expand-collapse-glyph">${e.expandCollapseGlyph||""}</slot></div>`)} ${Ut(0,e)}<slot></slot>${jt(0,e)}</div></div>${Tt(t=>t.childItems&&t.childItemLength()>0&&(t.expanded||t.renderCollapsedChildren),_`<div role="group" class="items" part="items"><slot name="item" ${Ht("items")}></slot></div>`)}</template>`,styles:Vg,expandCollapseGlyph:'\n <svg width="12" height="12" xmlns="http://www.w3.org/2000/svg">\n <path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"/>\n </svg>\n '}),Ag=Vg,Lg={fluentAccordion:od,fluentAccordionItem:ed,fluentAnchor:Gd,fluentAnchoredRegion:Kd,fluentBadge:Zd,fluentBreadcrumb:eu,fluentBreadcrumbItem:su,fluentButton:lu,fluentCalendar:pu,fluentCard:mu,fluentCheckbox:yu,fluentCombobox:Iu,fluentDataGrid:Au,fluentDataGridCell:Ou,fluentDataGridRow:Vu,fluentDesignSystemProvider:Bu,fluentDialog:ju,fluentDivider:_u,fluentFlipper:Ku,fluentHorizontalScroll:ep,fluentListbox:np,fluentOption:lp,fluentMenu:up,fluentMenuItem:fp,fluentNumberField:xp,fluentProgress:kp,fluentProgressRing:Dp,fluentRadio:Op,fluentRadioGroup:Rp,fluentSearch:Bp,fluentSelect:Up,fluentSkeleton:Gp,fluentSlider:Xp,fluentSliderLabel:Zp,fluentSwitch:eg,fluentTabs:hg,fluentTab:ng,fluentTabPanel:lg,fluentTextArea:gg,fluentTextField:bg,fluentToolbar:$g,fluentTooltip:kg,fluentTreeView:Ig,fluentTreeItem:Rg,register(t,...e){if(t)for(const i in this)"register"!==i&&this[i]().register(t,...e)}};function Pg(t){return $o.getOrCreate(t).withPrefix("fluent")}const zg=Pg().register(Lg);export{Td as AccentButtonStyles,Xe as Accordion,Re as AccordionItem,qd as Anchor,ei as AnchoredRegion,Qd as Badge,si as Breadcrumb,oi as BreadcrumbItem,au as Button,fu as Card,Cu as Combobox,Ii as DataGrid,Ti as DataGridCell,Ci as DataGridRow,Mu as DesignSystemProvider,Ao as Dialog,rd as DirectionalStyleSheetBehavior,Po as Divider,Mo as Flipper,zg as FluentDesignSystem,tp as HorizontalScroll,Sd as HypertextStyles,Od as LightweightButtonStyles,sp as Listbox,dp as Menu,_o as MenuItem,Dd as NeutralButtonStyles,bp as NumberField,cp as OptionStyles,Ed as OutlineButtonStyles,Ln as PaletteRGB,wp as Progress,Fp as ProgressRing,ns as Radio,is as RadioGroup,Ep as RadioStyles,Mp as Search,jp as Select,ms as Skeleton,ks as Slider,ys as SliderLabel,Yn as StandardLuminance,Vd as StealthButtonStyles,Sn as SwatchRGB,Fs as Switch,Ts as Tab,Ds as TabPanel,Os as Tabs,pg as TextArea,vg as TextField,xg as Toolbar,wg as Tooltip,tn as TreeItem,en as TreeView,Na as accentBaseColor,rl as accentFillActive,qr as accentFillActiveDelta,al as accentFillFocus,_r as accentFillFocusDelta,nl as accentFillHover,Ur as accentFillHoverDelta,ol as accentFillRecipe,sl as accentFillRest,jr as accentFillRestDelta,ml as accentForegroundActive,Kr as accentForegroundActiveDelta,xh as accentForegroundCut,$h as accentForegroundCutLarge,vl as accentForegroundFocus,Xr as accentForegroundFocusDelta,fl as accentForegroundHover,Wr as accentForegroundHoverDelta,pl as accentForegroundRecipe,gl as accentForegroundRest,Gr as accentForegroundRestDelta,ja as accentPalette,$l as accentStrokeControlActive,wl as accentStrokeControlFocus,xl as accentStrokeControlHover,bl as accentStrokeControlRecipe,yl as accentStrokeControlRest,id as accordionItemStyles,sd as accordionStyles,Lg as allComponents,ld as ambientShadow,_d as anchorStyles,Xd as anchoredRegionStyles,Jd as badgeStyles,Fd as baseButtonStyles,or as baseHeightMultiplier,sr as baseHorizontalSpacingMultiplier,zd as baseInputStyles,Nr as baseLayerLuminance,dr as bodyFont,nu as breadcrumbItemStyles,iu as breadcrumbStyles,cu as buttonStyles,vu as cardStyles,xu as checkboxStyles,Fu as comboboxStyles,ar as controlCornerRadius,ih as cornerRadius,Eu as dataGridCellStyles,Ru as dataGridRowStyles,Lu as dataGridStyles,nr as density,rr as designUnit,Uu as dialogStyles,er as direction,cd as directionalShadow,ir as disabledOpacity,Gu as dividerStyles,oh as elevatedCornerRadius,hd as elevation,bd as elevationShadowCardActive,gd as elevationShadowCardActiveSize,yd as elevationShadowCardFocus,fd as elevationShadowCardFocusSize,vd as elevationShadowCardHover,pd as elevationShadowCardHoverSize,md as elevationShadowCardRest,ud as elevationShadowCardRestSize,Id as elevationShadowDialog,Cd as elevationShadowDialogSize,kd as elevationShadowFlyout,wd as elevationShadowFlyoutSize,dd as elevationShadowRecipe,$d as elevationShadowTooltip,xd as elevationShadowTooltipSize,el as fillColor,Xu as flipperStyles,od as fluentAccordion,ed as fluentAccordionItem,Gd as fluentAnchor,Kd as fluentAnchoredRegion,Zd as fluentBadge,eu as fluentBreadcrumb,su as fluentBreadcrumbItem,lu as fluentButton,pu as fluentCalendar,mu as fluentCard,yu as fluentCheckbox,Iu as fluentCombobox,Au as fluentDataGrid,Ou as fluentDataGridCell,Vu as fluentDataGridRow,Bu as fluentDesignSystemProvider,ju as fluentDialog,_u as fluentDivider,Ku as fluentFlipper,ep as fluentHorizontalScroll,np as fluentListbox,up as fluentMenu,fp as fluentMenuItem,xp as fluentNumberField,lp as fluentOption,kp as fluentProgress,Dp as fluentProgressRing,Op as fluentRadio,Rp as fluentRadioGroup,Bp as fluentSearch,Up as fluentSelect,Gp as fluentSkeleton,Xp as fluentSlider,Zp as fluentSliderLabel,eg as fluentSwitch,ng as fluentTab,lg as fluentTabPanel,hg as fluentTabs,gg as fluentTextArea,bg as fluentTextField,$g as fluentToolbar,kg as fluentTooltip,Rg as fluentTreeItem,Ig as fluentTreeView,nh as focusOutlineWidth,Nc as focusStrokeInner,Bc as focusStrokeInnerRecipe,Mc as focusStrokeOuter,Hc as focusStrokeOuterRecipe,hr as focusStrokeWidth,Kh as focusTreatmentBase,Xh as focusTreatmentTight,ur as fontWeight,dl as foregroundOnAccentActive,_c as foregroundOnAccentActiveLarge,ul as foregroundOnAccentFocus,Gc as foregroundOnAccentFocusLarge,hl as foregroundOnAccentHover,qc as foregroundOnAccentHoverLarge,jc as foregroundOnAccentLargeRecipe,ll as foregroundOnAccentRecipe,cl as foregroundOnAccentRest,Uc as foregroundOnAccentRestLarge,Yh as heightNumber,ip as horizontalScrollStyles,Bd as inputFilledStyles,Nd as inputForcedColorStyles,Md as inputOutlineStyles,Hd as inputStateStyles,Vn as isDark,lr as layerCornerRadius,rp as listboxStyles,mp as menuItemStyles,pp as menuStyles,Ma as neutralBaseColor,Fh as neutralContrastFillActive,lh as neutralContrastFillActiveDelta,Dh as neutralContrastFillFocus,ch as neutralContrastFillFocusDelta,Ih as neutralContrastFillHover,ah as neutralContrastFillHoverDelta,Ch as neutralContrastFillRest,rh as neutralContrastFillRestDelta,wh as neutralDivider,fh as neutralDividerRestDelta,Fl as neutralFillActive,Zr as neutralFillActiveDelta,kh as neutralFillCard,hh as neutralFillCardDelta,Dl as neutralFillFocus,Jr as neutralFillFocusDelta,Il as neutralFillHover,Qr as neutralFillHoverDelta,El as neutralFillInputActive,ia as neutralFillInputActiveDelta,Pl as neutralFillInputAltActive,ra as neutralFillInputAltActiveDelta,zl as neutralFillInputAltFocus,aa as neutralFillInputAltFocusDelta,Ll as neutralFillInputAltHover,na as neutralFillInputAltHoverDelta,Rl as neutralFillInputAltRecipe,Al as neutralFillInputAltRest,sa as neutralFillInputAltRestDelta,Vl as neutralFillInputFocus,oa as neutralFillInputFocusDelta,Ol as neutralFillInputHover,ea as neutralFillInputHoverDelta,Tl as neutralFillInputRecipe,Sl as neutralFillInputRest,ta as neutralFillInputRestDelta,th as neutralFillInverseActive,Xc as neutralFillInverseActiveDelta,eh as neutralFillInverseFocus,Yc as neutralFillInverseFocusDelta,Jc as neutralFillInverseHover,Kc as neutralFillInverseHoverDelta,Qc as neutralFillInverseRecipe,Zc as neutralFillInverseRest,Wc as neutralFillInverseRestDelta,Nl as neutralFillLayerActive,ha as neutralFillLayerActiveDelta,jl as neutralFillLayerAltRecipe,Ul as neutralFillLayerAltRest,da as neutralFillLayerAltRestDelta,Bl as neutralFillLayerHover,ca as neutralFillLayerHoverDelta,Hl as neutralFillLayerRecipe,Ml as neutralFillLayerRest,la as neutralFillLayerRestDelta,kl as neutralFillRecipe,Cl as neutralFillRest,Yr as neutralFillRestDelta,Wl as neutralFillSecondaryActive,ga as neutralFillSecondaryActiveDelta,Kl as neutralFillSecondaryFocus,fa as neutralFillSecondaryFocusDelta,Gl as neutralFillSecondaryHover,pa as neutralFillSecondaryHoverDelta,ql as neutralFillSecondaryRecipe,_l as neutralFillSecondaryRest,ua as neutralFillSecondaryRestDelta,Zl as neutralFillStealthActive,ba as neutralFillStealthActiveDelta,Jl as neutralFillStealthFocus,ya as neutralFillStealthFocusDelta,Ql as neutralFillStealthHover,va as neutralFillStealthHoverDelta,Xl as neutralFillStealthRecipe,Yl as neutralFillStealthRest,ma as neutralFillStealthRestDelta,oc as neutralFillStrongActive,wa as neutralFillStrongActiveDelta,sc as neutralFillStrongFocus,ka as neutralFillStrongFocusDelta,ic as neutralFillStrongHover,$a as neutralFillStrongHoverDelta,tc as neutralFillStrongRecipe,ec as neutralFillStrongRest,xa as neutralFillStrongRestDelta,Oh as neutralFillToggleActive,ph as neutralFillToggleActiveDelta,Eh as neutralFillToggleFocus,gh as neutralFillToggleFocusDelta,Sh as neutralFillToggleHover,uh as neutralFillToggleHoverDelta,Th as neutralFillToggleRest,dh as neutralFillToggleRestDelta,Vh as neutralFocus,Rh as neutralFocusInnerAccent,lc as neutralForegroundActive,cc as neutralForegroundFocus,dc as neutralForegroundHint,hc as neutralForegroundHintRecipe,ac as neutralForegroundHover,nc as neutralForegroundRecipe,rc as neutralForegroundRest,Ka as neutralLayer1,Wa as neutralLayer1Recipe,Ya as neutralLayer2,Xa as neutralLayer2Recipe,Za as neutralLayer3,Qa as neutralLayer3Recipe,tl as neutralLayer4,Ja as neutralLayer4Recipe,qa as neutralLayerCardContainer,Ua as neutralLayerCardContainerRecipe,Ga as neutralLayerFloating,_a as neutralLayerFloatingRecipe,mh as neutralLayerL1,vh as neutralLayerL2,bh as neutralLayerL3,yh as neutralLayerL4,Ph as neutralOutlineActive,zh as neutralOutlineFocus,Lh as neutralOutlineHover,Ah as neutralOutlineRest,Ba as neutralPalette,fc as neutralStrokeActive,Fa as neutralStrokeActiveDelta,xc as neutralStrokeControlActive,Oa as neutralStrokeControlActiveDelta,$c as neutralStrokeControlFocus,Ea as neutralStrokeControlFocusDelta,yc as neutralStrokeControlHover,Sa as neutralStrokeControlHoverDelta,vc as neutralStrokeControlRecipe,bc as neutralStrokeControlRest,Ta as neutralStrokeControlRestDelta,wc as neutralStrokeDividerRecipe,kc as neutralStrokeDividerRest,Va as neutralStrokeDividerRestDelta,mc as neutralStrokeFocus,Da as neutralStrokeFocusDelta,gc as neutralStrokeHover,Ia as neutralStrokeHoverDelta,Dc as neutralStrokeInputActive,Tc as neutralStrokeInputFocus,Fc as neutralStrokeInputHover,Cc as neutralStrokeInputRecipe,Ic as neutralStrokeInputRest,Vc as neutralStrokeLayerActive,La as neutralStrokeLayerActiveDelta,Ec as neutralStrokeLayerHover,Aa as neutralStrokeLayerHoverDelta,Sc as neutralStrokeLayerRecipe,Oc as neutralStrokeLayerRest,Ra as neutralStrokeLayerRestDelta,uc as neutralStrokeRecipe,pc as neutralStrokeRest,Ca as neutralStrokeRestDelta,Pc as neutralStrokeStrongActive,za as neutralStrokeStrongActiveDelta,zc as neutralStrokeStrongFocus,Ha as neutralStrokeStrongFocusDelta,Lc as neutralStrokeStrongHover,Pa as neutralStrokeStrongHoverDelta,Rc as neutralStrokeStrongRecipe,Ac as neutralStrokeStrongRest,yp as numberFieldStyles,sh as outlineWidth,Tp as progressRingStyles,Cp as progressStyles,Pg as provideFluentDesignSystem,Ap as radioGroupStyles,Np as searchStyles,Lp as searchTemplate,qp as selectStyles,Wp as skeletonStyles,Jp as sliderLabelStyles,Yp as sliderStyles,cr as strokeWidth,ig as switchStyles,cg as tabPanelStyles,rg as tabStyles,dg as tabsStyles,fg as textAreaStyles,yg as textFieldStyles,Ag as treeItemStyles,Fg as treeViewStyles,Hh as typeRampBase,gr as typeRampBaseFontSize,mr as typeRampBaseFontVariations,fr as typeRampBaseLineHeight,Mh as typeRampMinus1,vr as typeRampMinus1FontSize,yr as typeRampMinus1FontVariations,br as typeRampMinus1LineHeight,Bh as typeRampMinus2,xr as typeRampMinus2FontSize,wr as typeRampMinus2FontVariations,$r as typeRampMinus2LineHeight,Nh as typeRampPlus1,kr as typeRampPlus1FontSize,Ir as typeRampPlus1FontVariations,Cr as typeRampPlus1LineHeight,jh as typeRampPlus2,Fr as typeRampPlus2FontSize,Tr as typeRampPlus2FontVariations,Dr as typeRampPlus2LineHeight,Uh as typeRampPlus3,Sr as typeRampPlus3FontSize,Er as typeRampPlus3FontVariations,Or as typeRampPlus3LineHeight,qh as typeRampPlus4,Vr as typeRampPlus4FontSize,Ar as typeRampPlus4FontVariations,Rr as typeRampPlus4LineHeight,_h as typeRampPlus5,Lr as typeRampPlus5FontSize,zr as typeRampPlus5FontVariations,Pr as typeRampPlus5LineHeight,Gh as typeRampPlus6,Hr as typeRampPlus6FontSize,Br as typeRampPlus6FontVariations,Mr as typeRampPlus6LineHeight};
|
|
1
|
+
import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==o)o.globalThis=o;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 r={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},r));const n=globalThis.FAST;if(void 0===n.getById){const e=Object.create(null);Reflect.defineProperty(n,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},r))}void 0===n.error&&Object.assign(n,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const i=Object.freeze([]);function s(){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 a(){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}}let l;try{if(document.currentScript)l=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");l=e[e.length-1].getAttribute("fast-kernel")}}catch(e){l="isolate"}let c;switch(l){case"share":c=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":c=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);c=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const d=e=>"function"==typeof e,h=e=>"string"==typeof e,u=()=>{},g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),p=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:p}):{createHTML:p};let v=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const b=v,m=Object.freeze({get policy(){return v},setPolicy(e){if(v!==b)throw n.error(1201);v=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),y=n.getById(c.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function n(){if(t.length)throw t.shift()}function i(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(n,0)}}function s(){let t=0;for(;t<e.length;)if(i(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 a(t){e.push(t),e.length<2&&(r?o(s):s())}return Object.freeze({enqueue:a,next:()=>new Promise(a),process:s,setMode:e=>r=e})});class k{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,n=t.length;r<n;++r)t[r].handleChange(o,e)}}class B{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 n;n=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),n.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 x=Object.freeze({unknown:void 0,coupled:1}),w=n.getById(c.observable,()=>{const e=y.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,i=e=>{throw n.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=i(e):o.set(e,r=new B(e))),r}const l=a();class c{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];d(n)&&n.call(e,r,t),s(e).notify(this.name)}}}class g extends k{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,this.toJSON=u}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!==x.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 n;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{n=this.expression(e,t)}finally{r=o}return n}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,n=s(e),i=null===o?this.first:{};if(i.propertySource=e,i.propertyName=t,i.notifier=n,n.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=i}this.last=i}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 Object.freeze({setArrayObserverFactory(e){i=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){h(t)&&(t=new c(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 g(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){w.defineProperty(e,t)}const $=n.getById(c.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),S=Object.freeze({default:{index:0,length:0,get event(){return S.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>$.get(),setEvent(e){$.set(e)}});let F;class C{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof C?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(F),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 C?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){F=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new C(e):e instanceof C?e:new C([e])}}C.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const N=s(),z=Object.freeze({getForInstance:N.getForInstance,getByType:N.getByType,define:e=>(N.register({type:e}),e)});function A(e,t){const o=[];let r="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){r+=e[n];let s=t[n];void 0!==z.getForInstance(s)&&(s=s.createCSS(i)),s instanceof C||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:n}}const I=(e,...t)=>{const{styles:o,behaviors:r}=A(e,t),n=new C(o);return r.length?n.withBehaviors(...r):n};class T{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(h(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new C(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)}}z.define(T),I.partial=(e,...t)=>{const{styles:o,behaviors:r}=A(e,t);return new T(o,r)};const L="fast-"+Math.random().toString(36).substring(2,8),O=L+"{",H="}"+L,D=H.length;let V=0;const M=()=>`${L}-${++V}`,E=Object.freeze({interpolation:e=>`${O}${e}${H}`,attribute:e=>`${M()}="${O}${e}${H}"`,comment:e=>`\x3c!--${O}${e}${H}--\x3e`}),R=Object.freeze({parse(e,t){const o=e.split(O);if(1===o.length)return null;const r=[];for(let e=0,n=o.length;e<n;++e){const n=o[e],i=n.indexOf(H);let s;if(-1===i)s=n;else{const e=n.substring(0,i);r.push(t[e]),s=n.substring(i+D)}""!==s&&r.push(s)}return r}}),_=s(),j=Object.freeze({getForInstance:_.getForInstance,getByType:_.getByType,define:(e,t)=>((t=t||{}).type=e,_.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 G{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class q{constructor(e){this.options=e,this.toJSON=u}createHTML(e){return E.attribute(e(this))}createBehavior(){return this}}class X extends G{createObserver(e,t){return w.binding(this.evaluate,t,this.isVolatile)}}class W extends G{constructor(){super(...arguments),this.toJSON=u}createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}const Y={[g.attribute]:m.setAttribute,[g.booleanAttribute]:m.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 n=this.id+"-t",i=null!==(r=e[n])&&void 0!==r?r:e[n]={v:0,cv:Object.create(null)},s=i.cv;let a=i.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&&(s[o]=a,l.add(o))}}if(i.v=a+1,0!==a){a-=1;for(const e in s)s[e]===a&&l.remove(e)}},[g.event]:()=>{}};class U{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return E.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=Y[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw n.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){S.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);S.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 K(e,t,o=w.isVolatileBinding(e)){return new X(e,t,o)}function Q(e,t){return new W(e,t)}function J(e,t){const o=e.parentNode;let r,n=e;for(;n!==t;)r=n.nextSibling,o.removeChild(n),n=r;o.removeChild(t)}j.define(U,{aspected:!0});class Z{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=x.unknown,this.context=this,this.index=0,this.length=0,this.toJSON=u,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return S.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,n=this.firstChild;for(;n!==t;)r=n.nextSibling,o.insertBefore(n,e),n=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(){J(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){J(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}w.defineProperty(Z.prototype,"index"),w.defineProperty(Z.prototype,"length");const ee=(e,t)=>`${e}.${t}`,te={},oe={index:0,node:null};function re(e){e.startsWith("fast-")||n.warn(1204,{name:e})}const ne=new Proxy(document.createElement("div"),{get(e,t){re(t);const o=Reflect.get(e,t);return d(o)?o.bind(e):o},set:(e,t,o)=>(re(t),Reflect.set(e,t,o))});class ie{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,n){var i,s;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(i=e.id)&&void 0!==i?i:M(),e.targetNodeId=o,e.targetTagName=n,e.policy=null!==(s=e.policy)&&void 0!==s?s: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 n=te[t];if(!n){const r="_"+t;te[t]=n={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=n}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:ne;for(const e of this.nodeIds)o[e];return new Z(t,this.factories,o)}}function se(e,t,o,r,n,i=!1){const s=o.attributes,a=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],h=d.value,u=R.parse(h,a);let g=null;null===u?i&&(g=new U(Q(()=>h,e.policy)),j.assignAspect(g,d.name)):g=ce.aggregate(u,e.policy),null!==g&&(o.removeAttributeNode(d),l--,c--,e.addFactory(g,t,r,n,o.tagName))}}function ae(e,t,o){let r=0,n=t.firstChild;for(;n;){const t=le(e,o,n,r);n=t.node,r=t.index}}function le(e,t,o,r){const n=ee(t,r);switch(o.nodeType){case 1:se(e,t,o,n,r),ae(e,o,n);break;case 3:return function(e,t,o,r,n){const i=R.parse(t.textContent,e.directives);if(null===i)return oe.node=t.nextSibling,oe.index=n+1,oe;let s,a=s=t;for(let t=0,l=i.length;t<l;++t){const l=i[t];0!==t&&(n++,r=ee(o,n),s=a.parentNode.insertBefore(document.createTextNode(""),a.nextSibling)),h(l)?s.textContent=l:(s.textContent=" ",j.assignAspect(l),e.addFactory(l,o,r,n,null)),a=s}return oe.index=n+1,oe.node=a.nextSibling,oe}(e,o,t,n,r);case 8:const i=R.parse(o.data,e.directives);null!==i&&e.addFactory(ce.aggregate(i),t,n,r,null)}return oe.index=r+1,oe.node=o.nextSibling,oe}const ce={compile(e,t,o=m.policy){let r;if(h(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;const n=document.adoptNode(r.content),i=new ie(n,t,o);var s,a;return se(i,"",r,"h",0,!0),s=n.firstChild,a=t,(s&&8==s.nodeType&&null!==R.parse(s.data,a)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ae(i,n,"r"),oe.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=m.policy){if(1===e.length)return e[0];let o,r,n=!1,i=void 0;const s=e.length,a=e.map(e=>h(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,n=n||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=a[r](e,t);return o},r.isVolatile=n,r.policy=null!=i?i:t;const l=new U(r);return j.assignAspect(l,o),l}},de=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,he=Object.create(null);class ue{constructor(e,t=he){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ge(e,t,o,r=j.getForInstance(e)){if(r.aspected){const o=de.exec(t);null!==o&&j.assignAspect(e,o[2])}return e.createHTML(o)}ue.empty=new ue(""),j.define(ue);class pe{constructor(e,t={},o){this.policy=o,this.result=null,this.toJSON=u,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=ce.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ue(h(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw n.error(1208);if(this.policy)throw n.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=M();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let s,a=t[o];if(r+=n,d(a))a=new U(K(a));else if(a instanceof G)a=new U(a);else if(!(s=j.getForInstance(a))){const e=a;a=new U(Q(()=>e))}r+=ge(a,n,i,s)}return new pe(r+e[e.length-1],n,o)}}const fe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return pe.create(e,t);throw n.error(1206)};fe.partial=e=>new ue(e);class ve extends q{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}j.define(ve);const be=e=>new ve(e);function me(e,t){const o=d(e)?e:()=>e,r=d(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const ye=e=>1===e.nodeType;class ke extends q{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,i),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 Be extends ke{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 xe(e){return h(e)&&(e={property:e}),new Be(e)}j.define(Be);const we=Object.freeze({locate:a()}),Pe={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function $e(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Se={toView(e){const t=$e(e);return t?t.toString():t},fromView:$e};class Fe{constructor(e,t,o=t.toLowerCase(),r="reflect",n){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=n,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===n&&(this.converter=Pe)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return w.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||y.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;m.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":m.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(we.locate(e));for(let r=0,n=t.length;r<n;++r){const n=t[r];if(void 0!==n)for(let t=0,r=n.length;t<r;++t){const r=n[t];h(r)?o.push(new Fe(e,r)):o.push(new Fe(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ce(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),we.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Ne={mode:"open"},ze={},Ae=new Set,Ie=n.getById(c.elementRegistry,()=>s());class Te{constructor(e,t=e.definition){var o;this.platformDefined=!1,h(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,n=Fe.collect(e,t.attributes),i=new Array(n.length),s={},a={};for(let e=0,t=n.length;e<t;++e){const t=n[e];i[e]=t.attribute,s[t.name]=t,a[t.attribute]=t,w.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=a,this.shadowOptions=void 0===t.shadowOptions?Ne:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Ne),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?ze:Object.assign(Object.assign({},ze),t.elementOptions),this.styles=C.normalize(t.styles),Ie.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 Ae.has(e)||Ie.getByType(e)?new Te(class extends e{},t):new Te(e,t)}static registerBaseType(e){Ae.add(e)}}Te.getByType=Ie.getByType,Te.getForInstance=Ie.getForInstance;const Le={bubbles:!0,composed:!0,cancelable:!0},Oe=new WeakMap;function He(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Oe.get(e))&&void 0!==o?o:null}let De;class Ve extends B{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.toJSON=u,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&&Oe.set(e,t))}const r=w.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,n=r.length;o<n;++o){const n=r[o].name,i=e[n];void 0!==i&&(delete e[n],t[n]=i)}}}get isConnected(){return w.track(this,"isConnected"),1===this.stage}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))}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,n=null!==(o=r.get(e))&&void 0!==o?o:0;0===n?(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,n+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=He(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=He(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.addBehavior(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,n=o.length;r<n;++r){const n=o[r];e[n]=t[n]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,w.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,w.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},Le),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=He(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=x.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Te.getForInstance(e);if(void 0===o)throw n.error(1401);return e.$fastController=new De(e,o)}static setStrategy(e){De=e}}function Me(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=He(e))&&void 0!==t?t:e.getRootNode()}Ve.setStrategy(Ve);class Ee{constructor(e){const t=Ee.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){const t=Me(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Me(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Ee.styleSheetCache=new Map;let Re=0;function _e(e){return e===document?document.body:e}function je(e){const t=class extends e{constructor(){super(),Ve.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 Te.registerBaseType(t),t}C.setDefaultStrategy(C.supportsAdoptedStyleSheets?Ee:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Re}addStylesTo(e){e=_e(Me(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const n=document.createElement("style");n.innerHTML=t[r],n.className=o,e.append(n)}}removeStylesFrom(e){const t=(e=_e(Me(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ge=Object.assign(je(HTMLElement),{from:function(e){return je(e)},define:function(e,t){return d(e)?Te.compose(e,t).define().type:Te.compose(this,e).define().type},compose:function(e,t){return d(e)?Te.compose(e,t):Te.compose(this,e)}});function qe(e){return e?"string"==typeof e?new ue(e):"inline"in e?e.inline():e:ue.empty}function Xe(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s}class We{}function Ye(e){return fe`<slot name="end" ${be("end")}>${qe(e.end)}</slot>`.inline()}function Ue(e){return fe`<slot name="start" ${be("start")}>${qe(e.start)}</slot>`.inline()}let Ke=0;function Qe(e,...t){const o=we.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});we.locate(t).forEach(e=>o.push(e))})}class Je extends Ge{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=function(e=""){return`${e}${Ke++}`}("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Xe([Ce({attribute:"heading-level",mode:"fromView",converter:Se})],Je.prototype,"headinglevel",void 0),Xe([Ce({mode:"boolean"})],Je.prototype,"expanded",void 0),Xe([Ce({mode:"boolean"})],Je.prototype,"disabled",void 0),Xe([Ce],Je.prototype,"id",void 0),Qe(Je,We);const Ze="single",et="multi";class tt extends Ge{constructor(){super(...arguments),this.expandmode=et,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>w.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof Je&&(e.addEventListener("click",this.activeItemChange),w.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{w.getNotifier(e).unsubscribe(this,"disabled"),w.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof Je&&(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!==Ze?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 Je&&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===Ze}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 Je&&e.expandbutton.focus()}}Xe([Ce({attribute:"expand-mode"})],tt.prototype,"expandmode",void 0),Xe([P],tt.prototype,"slottedAccordionItems",void 0);const ot="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,rt=new WeakMap;function nt(e){class t extends(function(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 ot}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 i}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),y.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),y.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ot)return null;let e=rt.get(this);return e||(e=this.attachInternals(),rt.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 Ce({mode:"boolean"})(t.prototype,"disabled"),Ce({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ce({attribute:"current-value"})(t.prototype,"currentValue"),Ce(t.prototype,"name"),Ce({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}(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 Ce({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ce({attribute:"current-checked",converter:Pe})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}class it{constructor(e){this.value=e,this.notifier=w.getNotifier(this),this.dependencies=new Set,this.binding=w.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=it.cache.get(e);return t||(t=new it(e),it.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)}}it.cache=new WeakMap;class st{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&&w.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&w.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class at{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){w.getNotifier(this.token).notify(this)}}class lt{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=lt.getAssignedTokensForNode(e),r=e.parent;do{const e=lt.getAssignedTokensForNode(r);for(let n=0,i=e.length;n<i;n++){const i=e[n];!o.includes(i)&<.isDerivedFor(r,i)&&t.set(i,r._derived.get(i))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return lt.isAssigned(e,t)?lt.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(lt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=lt.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=lt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const n=lt.composeAssignedTokensForNode(this),i=lt.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of n){let n=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(n=1,r.splice(e,1))}e.dispatch(new at(this,n,o,null===(t=i.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new at(this,2,t,null===(o=i.get(t))||void 0===o?void 0:o.evaluator.value));lt.notify()}removeChild(e){if(e.parent===this){const t=lt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new at(this,2,o));lt.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=lt.isAssigned(this,e)||lt.isDerivedFor(this,e)?1:0,r=lt.getLocalTokenValue(this,e);this._values.set(e,t),lt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const n=lt.isDerivedTokenValue(t),i=lt.collectDerivedContext(this);let s;if(n){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&<.queueNotification(new at(this,o,e,t)),this.dispatch(new at(this,o,e,t)),i.forEach((e,t)=>{if(!lt.isDerivedFor(this,t)){lt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&<.queueNotification(new at(this,1,t,e.evaluator.value)),this.dispatch(new at(this,0,t,e.evaluator.value))}}),lt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(lt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(lt.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(lt.isAssigned(this,e)){const t=lt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}lt.queueNotification(new at(this,2,e)),t!==o&&this.dispatch(new at(this,2,e)),lt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:n}=e,i=lt.isAssigned(this,n),s=i&&(null===(t=this._derived.get(n))||void 0===t?void 0:t.evaluator.dependencies.has(n));if(i&&!s)return;2===e.type&&!i&<.isDerivedFor(this,n)&&(this.tearDownDerivedTokenValue(n),lt.queueNotification(new at(this,2,n))),s&&(e=new at(this,1,n,null===(o=this._derived.get(n))||void 0===o?void 0:o.evaluator.value));const{value:a}=e;if(a&<.isDerivedTokenValue(a)){const t=it.getOrCreate(a).dependencies;let o=!1;for(const e of t)if(lt.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(n))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(n,a);if(t!==o.value){const r=new at(this,void 0===t?0:1,n,o.evaluator.value);lt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{lt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of lt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new at(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(lt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{lt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new st(e,it.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new at(this,1,r.token,r.evaluator.value);lt.queueNotification(e),this.dispatch(e),lt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&<.getOrCreateDependencyGraph(this,t).add(r)}),r}}lt._notifications=[];class ct{setProperty(e,t){y.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){y.enqueue(()=>this.target.removeProperty(e))}}class dt extends ct{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class ht extends ct{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 ut{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),w.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),y.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),y.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}}Xe([P],ut.prototype,"target",void 0);class gt{setProperty(e,t){gt.properties[e]=t;for(const o of gt.roots.values())o.setProperty(e,t)}removeProperty(e){delete gt.properties[e];for(const t of gt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=gt;if(!t.has(e)){t.add(e);for(const t in gt.properties)e.setProperty(t,gt.properties[t])}}static unregisterRoot(e){const{roots:t}=gt;if(t.has(e)){t.delete(e);for(const t in gt.properties)e.removeProperty(t)}}}gt.roots=new Set,gt.properties={};const pt=new WeakMap,ft=C.supportsAdoptedStyleSheets?class extends ct{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new C([t]))}}:ut,vt=Object.freeze({getOrCreate(e){if(pt.has(e))return pt.get(e);let t;return t=e instanceof Document?C.supportsAdoptedStyleSheets?new dt:new ht:new ft(e),pt.set(e,t),t}});class bt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Bt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,w.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Bt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new k(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new mt({name:e,cssCustomPropertyName:e}):bt.isCSSDesignTokenConfiguration(e)?new mt(e):new bt(e)}static withStrategy(e){Bt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.unregisterRoot(e)}getValueFor(e){return Bt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Bt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Bt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Bt.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 bt&&(e=this.alias(e)),e}}let mt=class extends bt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Bt.defaultNode?Bt.rootStyleSheetTarget:t.target instanceof Bt?vt.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})`,w.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 yt;mt=Xe([function(e){z.define(e)},function(e){j.define(e,yt)}],mt);const kt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ge)return o;o=t(o)}return null}};class Bt extends lt{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&&Bt.withStrategy(kt),this._strategy}connectedCallback(e){let t=Bt.findParent(e.source);if(null===t&&(t=Bt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Bt&&Bt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Bt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Bt.cache.get(e);return t||(t=new Bt(e),Bt.cache.set(e,t),e.$fastController.addBehavior(Bt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Bt.strategy.parent(e);for(;null!==t;){const e=Bt.cache.get(t);if(e)return e;t=Bt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Bt.defaultNode.appendChild(this),e.apply(this,t))}}Bt.defaultNode=new lt,Bt.rootStyleSheetTarget=new gt,Bt.cache=new WeakMap;const xt={separator:"separator",presentation:"presentation"},wt={horizontal:"horizontal",vertical:"vertical"};class Pt extends Ge{constructor(){super(...arguments),this.role=xt.separator,this.orientation=wt.horizontal}}Xe([Ce],Pt.prototype,"role",void 0),Xe([Ce],Pt.prototype,"orientation",void 0);class $t extends Ge{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Xe([Ce({converter:Se})],$t.prototype,"value",void 0),Xe([Ce({converter:Se})],$t.prototype,"min",void 0),Xe([Ce({converter:Se})],$t.prototype,"max",void 0),Xe([P],$t.prototype,"percentComplete",void 0);class St extends $t{}class Ft extends $t{}class Ct extends Ge{}class Nt extends(nt(Ct)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class zt extends Nt{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}Xe([Ce({attribute:"readonly",mode:"boolean"})],zt.prototype,"readOnly",void 0),Xe([P],zt.prototype,"defaultSlottedNodes",void 0);function At(e){return`:host([hidden]){display:none}:host{display:${e}}`}class It extends tt{}const Tt=fe`<template><slot ${xe({property:"slottedAccordionItems",filter:Lt?e=>1===e.nodeType&&e.matches(Lt):ye})}></slot></template>`;var Lt;const Ot=I`
|
|
2
|
+
${At("flex")}
|
|
3
|
+
|
|
4
|
+
:host{flex-direction:column;width:100%}`,Ht=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Dt=It.compose({name:Ht.prefix+"-accordion",template:Tt,styles:Ot});class Vt extends Je{constructor(){super(...arguments),this.block=!1}}Xe([Ce],Vt.prototype,"size",void 0),Xe([Ce({mode:"boolean"})],Vt.prototype,"block",void 0),Xe([Ce({attribute:"expand-icon-position"})],Vt.prototype,"expandIconPosition",void 0);const Mt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Et={start:"start",end:"end"},{create:Rt}=bt,_t=Rt("borderRadiusNone"),jt=Rt("borderRadiusSmall"),Gt=Rt("borderRadiusMedium"),qt=Rt("borderRadiusLarge"),Xt=Rt("borderRadiusXLarge"),Wt=Rt("borderRadiusCircular"),Yt=Rt("fontSizeBase100"),Ut=Rt("fontSizeBase200"),Kt=Rt("fontSizeBase300"),Qt=Rt("fontSizeBase400"),Jt=Rt("fontSizeBase500"),Zt=Rt("fontSizeBase600"),eo=Rt("fontSizeHero700"),to=Rt("fontSizeHero800"),oo=Rt("fontSizeHero900"),ro=Rt("fontSizeHero1000"),no=Rt("lineHeightBase100"),io=Rt("lineHeightBase200"),so=Rt("lineHeightBase300"),ao=Rt("lineHeightBase400"),lo=Rt("lineHeightBase500"),co=Rt("lineHeightBase600"),ho=Rt("lineHeightHero700"),uo=Rt("lineHeightHero800"),go=Rt("lineHeightHero900"),po=Rt("lineHeightHero1000"),fo=Rt("fontFamilyBase"),vo=Rt("fontFamilyMonospace"),bo=Rt("fontFamilyNumeric"),mo=Rt("fontWeightRegular"),yo=Rt("fontWeightMedium"),ko=Rt("fontWeightSemibold"),Bo=Rt("fontWeightBold"),xo=Rt("strokeWidthThin"),wo=Rt("strokeWidthThick"),Po=Rt("strokeWidthThicker"),$o=Rt("strokeWidthThickest"),So=Rt("spacingHorizontalNone"),Fo=Rt("spacingHorizontalXXS"),Co=Rt("spacingHorizontalXS"),No=Rt("spacingHorizontalSNudge"),zo=Rt("spacingHorizontalS"),Ao=Rt("spacingHorizontalMNudge"),Io=Rt("spacingHorizontalM"),To=Rt("spacingHorizontalL"),Lo=Rt("spacingHorizontalXL"),Oo=Rt("spacingHorizontalXXL"),Ho=Rt("spacingHorizontalXXXL"),Do=Rt("spacingVerticalNone"),Vo=Rt("spacingVerticalXXS"),Mo=Rt("spacingVerticalXS"),Eo=Rt("spacingVerticalSNudge"),Ro=Rt("spacingVerticalS"),_o=Rt("spacingVerticalMNudge"),jo=Rt("spacingVerticalM"),Go=Rt("spacingVerticalL"),qo=Rt("spacingVerticalXL"),Xo=Rt("spacingVerticalXXL"),Wo=Rt("spacingVerticalXXXL"),Yo=Rt("durationUltraFast"),Uo=Rt("durationFaster"),Ko=Rt("durationFast"),Qo=Rt("durationNormal"),Jo=Rt("durationSlow"),Zo=Rt("durationSlower"),er=Rt("durationUltraSlow"),tr=Rt("curveAccelerateMax"),or=Rt("curveAccelerateMid"),rr=Rt("curveAccelerateMin"),nr=Rt("curveDecelerateMax"),ir=Rt("curveDecelerateMid"),sr=Rt("curveDecelerateMin"),ar=Rt("curveEasyEaseMax"),lr=Rt("curveEasyEase"),cr=Rt("curveLinear"),dr=Rt("colorNeutralForeground1"),hr=Rt("colorNeutralForeground1Hover"),ur=Rt("colorNeutralForeground1Pressed"),gr=Rt("colorNeutralForeground1Selected"),pr=Rt("colorNeutralForeground2"),fr=Rt("colorNeutralForeground2Hover"),vr=Rt("colorNeutralForeground2Pressed"),br=Rt("colorNeutralForeground2Selected"),mr=Rt("colorNeutralForeground2BrandHover"),yr=Rt("colorNeutralForeground2BrandPressed"),kr=Rt("colorNeutralForeground2BrandSelected"),Br=Rt("colorNeutralForeground3"),xr=Rt("colorNeutralForeground3Hover"),wr=Rt("colorNeutralForeground3Pressed"),Pr=Rt("colorNeutralForeground3Selected"),$r=Rt("colorNeutralForeground3BrandHover"),Sr=Rt("colorNeutralForeground3BrandPressed"),Fr=Rt("colorNeutralForeground3BrandSelected"),Cr=Rt("colorNeutralForeground4"),Nr=Rt("colorNeutralForegroundDisabled"),zr=Rt("colorNeutralForegroundInvertedDisabled"),Ar=Rt("colorBrandForegroundLink"),Ir=Rt("colorBrandForegroundLinkHover"),Tr=Rt("colorBrandForegroundLinkPressed"),Lr=Rt("colorBrandForegroundLinkSelected"),Or=Rt("colorNeutralForeground2Link"),Hr=Rt("colorNeutralForeground2LinkHover"),Dr=Rt("colorNeutralForeground2LinkPressed"),Vr=Rt("colorNeutralForeground2LinkSelected"),Mr=Rt("colorCompoundBrandForeground1"),Er=Rt("colorCompoundBrandForeground1Hover"),Rr=Rt("colorCompoundBrandForeground1Pressed"),_r=Rt("colorBrandForeground1"),jr=Rt("colorBrandForeground2"),Gr=Rt("colorNeutralForeground1Static"),qr=Rt("colorNeutralForegroundStaticInverted"),Xr=Rt("colorNeutralForegroundInverted"),Wr=Rt("colorNeutralForegroundInvertedHover"),Yr=Rt("colorNeutralForegroundInvertedPressed"),Ur=Rt("colorNeutralForegroundInvertedSelected"),Kr=Rt("colorNeutralForegroundInverted2"),Qr=Rt("colorNeutralForegroundOnBrand"),Jr=Rt("colorNeutralForegroundInvertedLink"),Zr=Rt("colorNeutralForegroundInvertedLinkHover"),en=Rt("colorNeutralForegroundInvertedLinkPressed"),tn=Rt("colorNeutralForegroundInvertedLinkSelected"),on=Rt("colorBrandForegroundInverted"),rn=Rt("colorBrandForegroundInvertedHover"),nn=Rt("colorBrandForegroundInvertedPressed"),sn=Rt("colorBrandForegroundOnLight"),an=Rt("colorBrandForegroundOnLightHover"),ln=Rt("colorBrandForegroundOnLightPressed"),cn=Rt("colorBrandForegroundOnLightSelected"),dn=Rt("colorNeutralBackground1"),hn=Rt("colorNeutralBackground1Hover"),un=Rt("colorNeutralBackground1Pressed"),gn=Rt("colorNeutralBackground1Selected"),pn=Rt("colorNeutralBackground2"),fn=Rt("colorNeutralBackground2Hover"),vn=Rt("colorNeutralBackground2Pressed"),bn=Rt("colorNeutralBackground2Selected"),mn=Rt("colorNeutralBackground3"),yn=Rt("colorNeutralBackground3Hover"),kn=Rt("colorNeutralBackground3Pressed"),Bn=Rt("colorNeutralBackground3Selected"),xn=Rt("colorNeutralBackground4"),wn=Rt("colorNeutralBackground4Hover"),Pn=Rt("colorNeutralBackground4Pressed"),$n=Rt("colorNeutralBackground4Selected"),Sn=Rt("colorNeutralBackground5"),Fn=Rt("colorNeutralBackground5Hover"),Cn=Rt("colorNeutralBackground5Pressed"),Nn=Rt("colorNeutralBackground5Selected"),zn=Rt("colorNeutralBackground6"),An=Rt("colorNeutralBackgroundInverted"),In=Rt("colorNeutralBackgroundStatic"),Tn=Rt("colorSubtleBackground"),Ln=Rt("colorSubtleBackgroundHover"),On=Rt("colorSubtleBackgroundPressed"),Hn=Rt("colorSubtleBackgroundSelected"),Dn=Rt("colorSubtleBackgroundLightAlphaHover"),Vn=Rt("colorSubtleBackgroundLightAlphaPressed"),Mn=Rt("colorSubtleBackgroundLightAlphaSelected"),En=Rt("colorSubtleBackgroundInverted"),Rn=Rt("colorSubtleBackgroundInvertedHover"),_n=Rt("colorSubtleBackgroundInvertedPressed"),jn=Rt("colorSubtleBackgroundInvertedSelected"),Gn=Rt("colorTransparentBackground"),qn=Rt("colorTransparentBackgroundHover"),Xn=Rt("colorTransparentBackgroundPressed"),Wn=Rt("colorTransparentBackgroundSelected"),Yn=Rt("colorNeutralBackgroundDisabled"),Un=Rt("colorNeutralBackgroundInvertedDisabled"),Kn=Rt("colorNeutralStencil1"),Qn=Rt("colorNeutralStencil2"),Jn=Rt("colorNeutralStencil1Alpha"),Zn=Rt("colorNeutralStencil2Alpha"),ei=Rt("colorBackgroundOverlay"),ti=Rt("colorScrollbarOverlay"),oi=Rt("colorBrandBackground"),ri=Rt("colorBrandBackgroundHover"),ni=Rt("colorBrandBackgroundPressed"),ii=Rt("colorBrandBackgroundSelected"),si=Rt("colorCompoundBrandBackground"),ai=Rt("colorCompoundBrandBackgroundHover"),li=Rt("colorCompoundBrandBackgroundPressed"),ci=Rt("colorBrandBackgroundStatic"),di=Rt("colorBrandBackground2"),hi=Rt("colorBrandBackgroundInverted"),ui=Rt("colorBrandBackgroundInvertedHover"),gi=Rt("colorBrandBackgroundInvertedPressed"),pi=Rt("colorBrandBackgroundInvertedSelected"),fi=Rt("colorNeutralStrokeAccessible"),vi=Rt("colorNeutralStrokeAccessibleHover"),bi=Rt("colorNeutralStrokeAccessiblePressed"),mi=Rt("colorNeutralStrokeAccessibleSelected"),yi=Rt("colorNeutralStroke1"),ki=Rt("colorNeutralStroke1Hover"),Bi=Rt("colorNeutralStroke1Pressed"),xi=Rt("colorNeutralStroke1Selected"),wi=Rt("colorNeutralStroke2"),Pi=Rt("colorNeutralStroke3"),$i=Rt("colorNeutralStrokeOnBrand"),Si=Rt("colorNeutralStrokeOnBrand2"),Fi=Rt("colorNeutralStrokeOnBrand2Hover"),Ci=Rt("colorNeutralStrokeOnBrand2Pressed"),Ni=Rt("colorNeutralStrokeOnBrand2Selected"),zi=Rt("colorBrandStroke1"),Ai=Rt("colorBrandStroke2"),Ii=Rt("colorCompoundBrandStroke"),Ti=Rt("colorCompoundBrandStrokeHover"),Li=Rt("colorCompoundBrandStrokePressed"),Oi=Rt("colorNeutralStrokeDisabled"),Hi=Rt("colorNeutralStrokeInvertedDisabled"),Di=Rt("colorTransparentStroke"),Vi=Rt("colorTransparentStrokeInteractive"),Mi=Rt("colorTransparentStrokeDisabled"),Ei=Rt("colorStrokeFocus1"),Ri=Rt("colorStrokeFocus2"),_i=Rt("colorNeutralShadowAmbient"),ji=Rt("colorNeutralShadowKey"),Gi=Rt("colorNeutralShadowAmbientLighter"),qi=Rt("colorNeutralShadowKeyLighter"),Xi=Rt("colorNeutralShadowAmbientDarker"),Wi=Rt("colorNeutralShadowKeyDarker"),Yi=Rt("colorBrandShadowAmbient"),Ui=Rt("colorBrandShadowKey"),Ki=Rt("colorPaletteRedBackground1"),Qi=Rt("colorPaletteRedBackground2"),Ji=Rt("colorPaletteRedBackground3"),Zi=Rt("colorPaletteRedForeground1"),es=Rt("colorPaletteRedForeground2"),ts=Rt("colorPaletteRedForeground3"),os=Rt("colorPaletteRedBorderActive"),rs=Rt("colorPaletteRedBorder1"),ns=Rt("colorPaletteRedBorder2"),is=Rt("colorPaletteGreenBackground1"),ss=Rt("colorPaletteGreenBackground2"),as=Rt("colorPaletteGreenBackground3"),ls=Rt("colorPaletteGreenForeground1"),cs=Rt("colorPaletteGreenForeground2"),ds=Rt("colorPaletteGreenForeground3"),hs=Rt("colorPaletteGreenBorderActive"),us=Rt("colorPaletteGreenBorder1"),gs=Rt("colorPaletteGreenBorder2"),ps=Rt("colorPaletteDarkOrangeBackground1"),fs=Rt("colorPaletteDarkOrangeBackground2"),vs=Rt("colorPaletteDarkOrangeBackground3"),bs=Rt("colorPaletteDarkOrangeForeground1"),ms=Rt("colorPaletteDarkOrangeForeground2"),ys=Rt("colorPaletteDarkOrangeForeground3"),ks=Rt("colorPaletteDarkOrangeBorderActive"),Bs=Rt("colorPaletteDarkOrangeBorder1"),xs=Rt("colorPaletteDarkOrangeBorder2"),ws=Rt("colorPaletteYellowBackground1"),Ps=Rt("colorPaletteYellowBackground2"),$s=Rt("colorPaletteYellowBackground3"),Ss=Rt("colorPaletteYellowForeground1"),Fs=Rt("colorPaletteYellowForeground2"),Cs=Rt("colorPaletteYellowForeground3"),Ns=Rt("colorPaletteYellowBorderActive"),zs=Rt("colorPaletteYellowBorder1"),As=Rt("colorPaletteYellowBorder2"),Is=Rt("colorPaletteBerryBackground1"),Ts=Rt("colorPaletteBerryBackground2"),Ls=Rt("colorPaletteBerryBackground3"),Os=Rt("colorPaletteBerryForeground1"),Hs=Rt("colorPaletteBerryForeground2"),Ds=Rt("colorPaletteBerryForeground3"),Vs=Rt("colorPaletteBerryBorderActive"),Ms=Rt("colorPaletteBerryBorder1"),Es=Rt("colorPaletteBerryBorder2"),Rs=Rt("colorPaletteLightGreenBackground1"),_s=Rt("colorPaletteLightGreenBackground2"),js=Rt("colorPaletteLightGreenBackground3"),Gs=Rt("colorPaletteLightGreenForeground1"),qs=Rt("colorPaletteLightGreenForeground2"),Xs=Rt("colorPaletteLightGreenForeground3"),Ws=Rt("colorPaletteLightGreenBorderActive"),Ys=Rt("colorPaletteLightGreenBorder1"),Us=Rt("colorPaletteLightGreenBorder2"),Ks=Rt("colorPaletteMarigoldBackground1"),Qs=Rt("colorPaletteMarigoldBackground2"),Js=Rt("colorPaletteMarigoldBackground3"),Zs=Rt("colorPaletteMarigoldForeground1"),ea=Rt("colorPaletteMarigoldForeground2"),ta=Rt("colorPaletteMarigoldForeground3"),oa=Rt("colorPaletteMarigoldBorderActive"),ra=Rt("colorPaletteMarigoldBorder1"),na=Rt("colorPaletteMarigoldBorder2"),ia=Rt("colorPaletteDarkRedBackground2"),sa=Rt("colorPaletteDarkRedForeground2"),aa=Rt("colorPaletteDarkRedBorderActive"),la=Rt("colorPaletteCranberryBackground2"),ca=Rt("colorPaletteCranberryForeground2"),da=Rt("colorPaletteCranberryBorderActive"),ha=Rt("colorPalettePumpkinBackground2"),ua=Rt("colorPalettePumpkinForeground2"),ga=Rt("colorPalettePumpkinBorderActive"),pa=Rt("colorPalettePeachBackground2"),fa=Rt("colorPalettePeachForeground2"),va=Rt("colorPalettePeachBorderActive"),ba=Rt("colorPaletteGoldBackground2"),ma=Rt("colorPaletteGoldForeground2"),ya=Rt("colorPaletteGoldBorderActive"),ka=Rt("colorPaletteBrassBackground2"),Ba=Rt("colorPaletteBrassForeground2"),xa=Rt("colorPaletteBrassBorderActive"),wa=Rt("colorPaletteBrownBackground2"),Pa=Rt("colorPaletteBrownForeground2"),$a=Rt("colorPaletteBrownBorderActive"),Sa=Rt("colorPaletteForestBackground2"),Fa=Rt("colorPaletteForestForeground2"),Ca=Rt("colorPaletteForestBorderActive"),Na=Rt("colorPaletteSeafoamBackground2"),za=Rt("colorPaletteSeafoamForeground2"),Aa=Rt("colorPaletteSeafoamBorderActive"),Ia=Rt("colorPaletteDarkGreenBackground2"),Ta=Rt("colorPaletteDarkGreenForeground2"),La=Rt("colorPaletteDarkGreenBorderActive"),Oa=Rt("colorPaletteLightTealBackground2"),Ha=Rt("colorPaletteLightTealForeground2"),Da=Rt("colorPaletteLightTealBorderActive"),Va=Rt("colorPaletteTealBackground2"),Ma=Rt("colorPaletteTealForeground2"),Ea=Rt("colorPaletteTealBorderActive"),Ra=Rt("colorPaletteSteelBackground2"),_a=Rt("colorPaletteSteelForeground2"),ja=Rt("colorPaletteSteelBorderActive"),Ga=Rt("colorPaletteBlueBackground2"),qa=Rt("colorPaletteBlueForeground2"),Xa=Rt("colorPaletteBlueBorderActive"),Wa=Rt("colorPaletteRoyalBlueBackground2"),Ya=Rt("colorPaletteRoyalBlueForeground2"),Ua=Rt("colorPaletteRoyalBlueBorderActive"),Ka=Rt("colorPaletteCornflowerBackground2"),Qa=Rt("colorPaletteCornflowerForeground2"),Ja=Rt("colorPaletteCornflowerBorderActive"),Za=Rt("colorPaletteNavyBackground2"),el=Rt("colorPaletteNavyForeground2"),tl=Rt("colorPaletteNavyBorderActive"),ol=Rt("colorPaletteLavenderBackground2"),rl=Rt("colorPaletteLavenderForeground2"),nl=Rt("colorPaletteLavenderBorderActive"),il=Rt("colorPalettePurpleBackground2"),sl=Rt("colorPalettePurpleForeground2"),al=Rt("colorPalettePurpleBorderActive"),ll=Rt("colorPaletteGrapeBackground2"),cl=Rt("colorPaletteGrapeForeground2"),dl=Rt("colorPaletteGrapeBorderActive"),hl=Rt("colorPaletteLilacBackground2"),ul=Rt("colorPaletteLilacForeground2"),gl=Rt("colorPaletteLilacBorderActive"),pl=Rt("colorPalettePinkBackground2"),fl=Rt("colorPalettePinkForeground2"),vl=Rt("colorPalettePinkBorderActive"),bl=Rt("colorPaletteMagentaBackground2"),ml=Rt("colorPaletteMagentaForeground2"),yl=Rt("colorPaletteMagentaBorderActive"),kl=Rt("colorPalettePlumBackground2"),Bl=Rt("colorPalettePlumForeground2"),xl=Rt("colorPalettePlumBorderActive"),wl=Rt("colorPaletteBeigeBackground2"),Pl=Rt("colorPaletteBeigeForeground2"),$l=Rt("colorPaletteBeigeBorderActive"),Sl=Rt("colorPaletteMinkBackground2"),Fl=Rt("colorPaletteMinkForeground2"),Cl=Rt("colorPaletteMinkBorderActive"),Nl=Rt("colorPalettePlatinumBackground2"),zl=Rt("colorPalettePlatinumForeground2"),Al=Rt("colorPalettePlatinumBorderActive"),Il=Rt("colorPaletteAnchorBackground2"),Tl=Rt("colorPaletteAnchorForeground2"),Ll=Rt("colorPaletteAnchorBorderActive"),Ol=Rt("colorPaletteRedForegroundInverted"),Hl=Rt("colorPaletteGreenForegroundInverted"),Dl=Rt("colorPaletteYellowForegroundInverted"),Vl=Rt("shadow2"),Ml=Rt("shadow4"),El=Rt("shadow8"),Rl=Rt("shadow16"),_l=Rt("shadow28"),jl=Rt("shadow64"),Gl=Rt("shadow2Brand"),ql=Rt("shadow4Brand"),Xl=Rt("shadow8Brand"),Wl=Rt("shadow16Brand"),Yl=Rt("shadow28Brand"),Ul=Rt("shadow64Brand");var Kl=Object.freeze({__proto__:null,borderRadiusNone:_t,borderRadiusSmall:jt,borderRadiusMedium:Gt,borderRadiusLarge:qt,borderRadiusXLarge:Xt,borderRadiusCircular:Wt,fontSizeBase100:Yt,fontSizeBase200:Ut,fontSizeBase300:Kt,fontSizeBase400:Qt,fontSizeBase500:Jt,fontSizeBase600:Zt,fontSizeHero700:eo,fontSizeHero800:to,fontSizeHero900:oo,fontSizeHero1000:ro,lineHeightBase100:no,lineHeightBase200:io,lineHeightBase300:so,lineHeightBase400:ao,lineHeightBase500:lo,lineHeightBase600:co,lineHeightHero700:ho,lineHeightHero800:uo,lineHeightHero900:go,lineHeightHero1000:po,fontFamilyBase:fo,fontFamilyMonospace:vo,fontFamilyNumeric:bo,fontWeightRegular:mo,fontWeightMedium:yo,fontWeightSemibold:ko,fontWeightBold:Bo,strokeWidthThin:xo,strokeWidthThick:wo,strokeWidthThicker:Po,strokeWidthThickest:$o,spacingHorizontalNone:So,spacingHorizontalXXS:Fo,spacingHorizontalXS:Co,spacingHorizontalSNudge:No,spacingHorizontalS:zo,spacingHorizontalMNudge:Ao,spacingHorizontalM:Io,spacingHorizontalL:To,spacingHorizontalXL:Lo,spacingHorizontalXXL:Oo,spacingHorizontalXXXL:Ho,spacingVerticalNone:Do,spacingVerticalXXS:Vo,spacingVerticalXS:Mo,spacingVerticalSNudge:Eo,spacingVerticalS:Ro,spacingVerticalMNudge:_o,spacingVerticalM:jo,spacingVerticalL:Go,spacingVerticalXL:qo,spacingVerticalXXL:Xo,spacingVerticalXXXL:Wo,durationUltraFast:Yo,durationFaster:Uo,durationFast:Ko,durationNormal:Qo,durationSlow:Jo,durationSlower:Zo,durationUltraSlow:er,curveAccelerateMax:tr,curveAccelerateMid:or,curveAccelerateMin:rr,curveDecelerateMax:nr,curveDecelerateMid:ir,curveDecelerateMin:sr,curveEasyEaseMax:ar,curveEasyEase:lr,curveLinear:cr,colorNeutralForeground1:dr,colorNeutralForeground1Hover:hr,colorNeutralForeground1Pressed:ur,colorNeutralForeground1Selected:gr,colorNeutralForeground2:pr,colorNeutralForeground2Hover:fr,colorNeutralForeground2Pressed:vr,colorNeutralForeground2Selected:br,colorNeutralForeground2BrandHover:mr,colorNeutralForeground2BrandPressed:yr,colorNeutralForeground2BrandSelected:kr,colorNeutralForeground3:Br,colorNeutralForeground3Hover:xr,colorNeutralForeground3Pressed:wr,colorNeutralForeground3Selected:Pr,colorNeutralForeground3BrandHover:$r,colorNeutralForeground3BrandPressed:Sr,colorNeutralForeground3BrandSelected:Fr,colorNeutralForeground4:Cr,colorNeutralForegroundDisabled:Nr,colorNeutralForegroundInvertedDisabled:zr,colorBrandForegroundLink:Ar,colorBrandForegroundLinkHover:Ir,colorBrandForegroundLinkPressed:Tr,colorBrandForegroundLinkSelected:Lr,colorNeutralForeground2Link:Or,colorNeutralForeground2LinkHover:Hr,colorNeutralForeground2LinkPressed:Dr,colorNeutralForeground2LinkSelected:Vr,colorCompoundBrandForeground1:Mr,colorCompoundBrandForeground1Hover:Er,colorCompoundBrandForeground1Pressed:Rr,colorBrandForeground1:_r,colorBrandForeground2:jr,colorNeutralForeground1Static:Gr,colorNeutralForegroundStaticInverted:qr,colorNeutralForegroundInverted:Xr,colorNeutralForegroundInvertedHover:Wr,colorNeutralForegroundInvertedPressed:Yr,colorNeutralForegroundInvertedSelected:Ur,colorNeutralForegroundInverted2:Kr,colorNeutralForegroundOnBrand:Qr,colorNeutralForegroundInvertedLink:Jr,colorNeutralForegroundInvertedLinkHover:Zr,colorNeutralForegroundInvertedLinkPressed:en,colorNeutralForegroundInvertedLinkSelected:tn,colorBrandForegroundInverted:on,colorBrandForegroundInvertedHover:rn,colorBrandForegroundInvertedPressed:nn,colorBrandForegroundOnLight:sn,colorBrandForegroundOnLightHover:an,colorBrandForegroundOnLightPressed:ln,colorBrandForegroundOnLightSelected:cn,colorNeutralBackground1:dn,colorNeutralBackground1Hover:hn,colorNeutralBackground1Pressed:un,colorNeutralBackground1Selected:gn,colorNeutralBackground2:pn,colorNeutralBackground2Hover:fn,colorNeutralBackground2Pressed:vn,colorNeutralBackground2Selected:bn,colorNeutralBackground3:mn,colorNeutralBackground3Hover:yn,colorNeutralBackground3Pressed:kn,colorNeutralBackground3Selected:Bn,colorNeutralBackground4:xn,colorNeutralBackground4Hover:wn,colorNeutralBackground4Pressed:Pn,colorNeutralBackground4Selected:$n,colorNeutralBackground5:Sn,colorNeutralBackground5Hover:Fn,colorNeutralBackground5Pressed:Cn,colorNeutralBackground5Selected:Nn,colorNeutralBackground6:zn,colorNeutralBackgroundInverted:An,colorNeutralBackgroundStatic:In,colorSubtleBackground:Tn,colorSubtleBackgroundHover:Ln,colorSubtleBackgroundPressed:On,colorSubtleBackgroundSelected:Hn,colorSubtleBackgroundLightAlphaHover:Dn,colorSubtleBackgroundLightAlphaPressed:Vn,colorSubtleBackgroundLightAlphaSelected:Mn,colorSubtleBackgroundInverted:En,colorSubtleBackgroundInvertedHover:Rn,colorSubtleBackgroundInvertedPressed:_n,colorSubtleBackgroundInvertedSelected:jn,colorTransparentBackground:Gn,colorTransparentBackgroundHover:qn,colorTransparentBackgroundPressed:Xn,colorTransparentBackgroundSelected:Wn,colorNeutralBackgroundDisabled:Yn,colorNeutralBackgroundInvertedDisabled:Un,colorNeutralStencil1:Kn,colorNeutralStencil2:Qn,colorNeutralStencil1Alpha:Jn,colorNeutralStencil2Alpha:Zn,colorBackgroundOverlay:ei,colorScrollbarOverlay:ti,colorBrandBackground:oi,colorBrandBackgroundHover:ri,colorBrandBackgroundPressed:ni,colorBrandBackgroundSelected:ii,colorCompoundBrandBackground:si,colorCompoundBrandBackgroundHover:ai,colorCompoundBrandBackgroundPressed:li,colorBrandBackgroundStatic:ci,colorBrandBackground2:di,colorBrandBackgroundInverted:hi,colorBrandBackgroundInvertedHover:ui,colorBrandBackgroundInvertedPressed:gi,colorBrandBackgroundInvertedSelected:pi,colorNeutralStrokeAccessible:fi,colorNeutralStrokeAccessibleHover:vi,colorNeutralStrokeAccessiblePressed:bi,colorNeutralStrokeAccessibleSelected:mi,colorNeutralStroke1:yi,colorNeutralStroke1Hover:ki,colorNeutralStroke1Pressed:Bi,colorNeutralStroke1Selected:xi,colorNeutralStroke2:wi,colorNeutralStroke3:Pi,colorNeutralStrokeOnBrand:$i,colorNeutralStrokeOnBrand2:Si,colorNeutralStrokeOnBrand2Hover:Fi,colorNeutralStrokeOnBrand2Pressed:Ci,colorNeutralStrokeOnBrand2Selected:Ni,colorBrandStroke1:zi,colorBrandStroke2:Ai,colorCompoundBrandStroke:Ii,colorCompoundBrandStrokeHover:Ti,colorCompoundBrandStrokePressed:Li,colorNeutralStrokeDisabled:Oi,colorNeutralStrokeInvertedDisabled:Hi,colorTransparentStroke:Di,colorTransparentStrokeInteractive:Vi,colorTransparentStrokeDisabled:Mi,colorStrokeFocus1:Ei,colorStrokeFocus2:Ri,colorNeutralShadowAmbient:_i,colorNeutralShadowKey:ji,colorNeutralShadowAmbientLighter:Gi,colorNeutralShadowKeyLighter:qi,colorNeutralShadowAmbientDarker:Xi,colorNeutralShadowKeyDarker:Wi,colorBrandShadowAmbient:Yi,colorBrandShadowKey:Ui,colorPaletteRedBackground1:Ki,colorPaletteRedBackground2:Qi,colorPaletteRedBackground3:Ji,colorPaletteRedForeground1:Zi,colorPaletteRedForeground2:es,colorPaletteRedForeground3:ts,colorPaletteRedBorderActive:os,colorPaletteRedBorder1:rs,colorPaletteRedBorder2:ns,colorPaletteGreenBackground1:is,colorPaletteGreenBackground2:ss,colorPaletteGreenBackground3:as,colorPaletteGreenForeground1:ls,colorPaletteGreenForeground2:cs,colorPaletteGreenForeground3:ds,colorPaletteGreenBorderActive:hs,colorPaletteGreenBorder1:us,colorPaletteGreenBorder2:gs,colorPaletteDarkOrangeBackground1:ps,colorPaletteDarkOrangeBackground2:fs,colorPaletteDarkOrangeBackground3:vs,colorPaletteDarkOrangeForeground1:bs,colorPaletteDarkOrangeForeground2:ms,colorPaletteDarkOrangeForeground3:ys,colorPaletteDarkOrangeBorderActive:ks,colorPaletteDarkOrangeBorder1:Bs,colorPaletteDarkOrangeBorder2:xs,colorPaletteYellowBackground1:ws,colorPaletteYellowBackground2:Ps,colorPaletteYellowBackground3:$s,colorPaletteYellowForeground1:Ss,colorPaletteYellowForeground2:Fs,colorPaletteYellowForeground3:Cs,colorPaletteYellowBorderActive:Ns,colorPaletteYellowBorder1:zs,colorPaletteYellowBorder2:As,colorPaletteBerryBackground1:Is,colorPaletteBerryBackground2:Ts,colorPaletteBerryBackground3:Ls,colorPaletteBerryForeground1:Os,colorPaletteBerryForeground2:Hs,colorPaletteBerryForeground3:Ds,colorPaletteBerryBorderActive:Vs,colorPaletteBerryBorder1:Ms,colorPaletteBerryBorder2:Es,colorPaletteLightGreenBackground1:Rs,colorPaletteLightGreenBackground2:_s,colorPaletteLightGreenBackground3:js,colorPaletteLightGreenForeground1:Gs,colorPaletteLightGreenForeground2:qs,colorPaletteLightGreenForeground3:Xs,colorPaletteLightGreenBorderActive:Ws,colorPaletteLightGreenBorder1:Ys,colorPaletteLightGreenBorder2:Us,colorPaletteMarigoldBackground1:Ks,colorPaletteMarigoldBackground2:Qs,colorPaletteMarigoldBackground3:Js,colorPaletteMarigoldForeground1:Zs,colorPaletteMarigoldForeground2:ea,colorPaletteMarigoldForeground3:ta,colorPaletteMarigoldBorderActive:oa,colorPaletteMarigoldBorder1:ra,colorPaletteMarigoldBorder2:na,colorPaletteDarkRedBackground2:ia,colorPaletteDarkRedForeground2:sa,colorPaletteDarkRedBorderActive:aa,colorPaletteCranberryBackground2:la,colorPaletteCranberryForeground2:ca,colorPaletteCranberryBorderActive:da,colorPalettePumpkinBackground2:ha,colorPalettePumpkinForeground2:ua,colorPalettePumpkinBorderActive:ga,colorPalettePeachBackground2:pa,colorPalettePeachForeground2:fa,colorPalettePeachBorderActive:va,colorPaletteGoldBackground2:ba,colorPaletteGoldForeground2:ma,colorPaletteGoldBorderActive:ya,colorPaletteBrassBackground2:ka,colorPaletteBrassForeground2:Ba,colorPaletteBrassBorderActive:xa,colorPaletteBrownBackground2:wa,colorPaletteBrownForeground2:Pa,colorPaletteBrownBorderActive:$a,colorPaletteForestBackground2:Sa,colorPaletteForestForeground2:Fa,colorPaletteForestBorderActive:Ca,colorPaletteSeafoamBackground2:Na,colorPaletteSeafoamForeground2:za,colorPaletteSeafoamBorderActive:Aa,colorPaletteDarkGreenBackground2:Ia,colorPaletteDarkGreenForeground2:Ta,colorPaletteDarkGreenBorderActive:La,colorPaletteLightTealBackground2:Oa,colorPaletteLightTealForeground2:Ha,colorPaletteLightTealBorderActive:Da,colorPaletteTealBackground2:Va,colorPaletteTealForeground2:Ma,colorPaletteTealBorderActive:Ea,colorPaletteSteelBackground2:Ra,colorPaletteSteelForeground2:_a,colorPaletteSteelBorderActive:ja,colorPaletteBlueBackground2:Ga,colorPaletteBlueForeground2:qa,colorPaletteBlueBorderActive:Xa,colorPaletteRoyalBlueBackground2:Wa,colorPaletteRoyalBlueForeground2:Ya,colorPaletteRoyalBlueBorderActive:Ua,colorPaletteCornflowerBackground2:Ka,colorPaletteCornflowerForeground2:Qa,colorPaletteCornflowerBorderActive:Ja,colorPaletteNavyBackground2:Za,colorPaletteNavyForeground2:el,colorPaletteNavyBorderActive:tl,colorPaletteLavenderBackground2:ol,colorPaletteLavenderForeground2:rl,colorPaletteLavenderBorderActive:nl,colorPalettePurpleBackground2:il,colorPalettePurpleForeground2:sl,colorPalettePurpleBorderActive:al,colorPaletteGrapeBackground2:ll,colorPaletteGrapeForeground2:cl,colorPaletteGrapeBorderActive:dl,colorPaletteLilacBackground2:hl,colorPaletteLilacForeground2:ul,colorPaletteLilacBorderActive:gl,colorPalettePinkBackground2:pl,colorPalettePinkForeground2:fl,colorPalettePinkBorderActive:vl,colorPaletteMagentaBackground2:bl,colorPaletteMagentaForeground2:ml,colorPaletteMagentaBorderActive:yl,colorPalettePlumBackground2:kl,colorPalettePlumForeground2:Bl,colorPalettePlumBorderActive:xl,colorPaletteBeigeBackground2:wl,colorPaletteBeigeForeground2:Pl,colorPaletteBeigeBorderActive:$l,colorPaletteMinkBackground2:Sl,colorPaletteMinkForeground2:Fl,colorPaletteMinkBorderActive:Cl,colorPalettePlatinumBackground2:Nl,colorPalettePlatinumForeground2:zl,colorPalettePlatinumBorderActive:Al,colorPaletteAnchorBackground2:Il,colorPaletteAnchorForeground2:Tl,colorPaletteAnchorBorderActive:Ll,colorPaletteRedForegroundInverted:Ol,colorPaletteGreenForegroundInverted:Hl,colorPaletteYellowForegroundInverted:Dl,shadow2:Vl,shadow4:Ml,shadow8:El,shadow16:Rl,shadow28:_l,shadow64:jl,shadow2Brand:Gl,shadow4Brand:ql,shadow8Brand:Xl,shadow16Brand:Wl,shadow28Brand:Yl,shadow64Brand:Ul});const Ql=I`
|
|
5
|
+
${At("block")}
|
|
6
|
+
|
|
7
|
+
:host{max-width:fit-content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${Io} ${Ao};border-radius:${Gt};font-family:${fo};font-size:${Kt};font-weight:${mo};line-height:${so};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${dr};background:${Gn};line-height:${so};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${jt}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${zo};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${Io}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${zo};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${jt};outline:none;border:2px solid ${Ei};box-shadow:inset 0 0 0 1px ${Ri}}:host([disabled]) .button{color:${Nr}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${Kt};line-height:${so}}:host([size='small']) .heading{font-size:${Ut};line-height:${io}}:host([size='large']) .heading{font-size:${Qt};line-height:${ao}}:host([size='extra-large']) .heading{font-size:${Jt};line-height:${lo}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`,Jl=function(e={}){return fe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${be("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${Ue(e)} ${Ye(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${qe(e.expandedIcon)}</slot><slot name="collapsed-icon">${qe(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:fe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="#212121"\n />\n</svg>'),expandedIcon:fe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="#212121"\n />\n</svg>')}),Zl=Vt.compose({name:Ht.prefix+"-accordion-item",template:Jl,styles:Ql}),ec=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,tc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,oc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,rc=/\s+/g,nc=/[\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 ic(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(ec,"")).replace(tc,"")).replace(rc," ")).trim()}(e),nc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&oc.test(e)?"":function(e,t,o){let r="";const n=e.split(" ");return 0!==n.length&&(r+=n[0].charAt(0).toUpperCase()),o||(2===n.length?r+=n[1].charAt(0).toUpperCase():3===n.length&&(r+=n[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const sc={active:"active",inactive:"inactive"},ac={circular:"circular",square:"square"},lc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},cc={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"},dc={neutral:"neutral",brand:"brand",colorful:"colorful",...cc},hc={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128};class uc extends Ge{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===dc.colorful?uc.colors[gc(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%uc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!==(e=this.size)&&void 0!==e?e:32;return null!==(t=this.initials)&&void 0!==t?t:ic(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}uc.colors=Object.values(cc),Xe([Ce],uc.prototype,"name",void 0),Xe([Ce],uc.prototype,"initials",void 0),Xe([Ce({converter:Se})],uc.prototype,"size",void 0),Xe([Ce],uc.prototype,"shape",void 0),Xe([Ce],uc.prototype,"active",void 0),Xe([Ce],uc.prototype,"appearance",void 0),Xe([Ce],uc.prototype,"color",void 0),Xe([Ce({attribute:"color-id"})],uc.prototype,"colorId",void 0);const gc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),n=o%8;t^=(r<<n)+(r>>8-n)}return t},pc=fe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const fc=fe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():pc}</slot><slot name="badge"></slot></template>`,vc=sr,bc=ar,mc=cr,yc=I`
|
|
8
|
+
${At("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fo};font-weight:${ko};font-size:${Kt};border-radius:${Wt};color:${Br};background-color:${zn}}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${Wt}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${xo} ${dn}}: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 ${wo} ${dn}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Yt};font-weight:${mo}}: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:${Ut}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Qt}}: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:${Jt}}: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:${Zt}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${Gt}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${jt}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${qt}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Xt}}:host([data-color='brand']){color:${qr};background-color:${ci}}:host([data-color='dark-red']){color:${sa};background-color:${ia}}:host([data-color='cranberry']){color:${ca};background-color:${la}}:host([data-color='red']){color:${es};background-color:${Qi}}:host([data-color='pumpkin']){color:${ua};background-color:${ha}}:host([data-color='peach']){color:${fa};background-color:${pa}}:host([data-color='marigold']){color:${ea};background-color:${Qs}}:host([data-color='gold']){color:${ma};background-color:${ba}}:host([data-color='brass']){color:${Ba};background-color:${ka}}:host([data-color='brown']){color:${Pa};background-color:${wa}}:host([data-color='forest']){color:${Fa};background-color:${Sa}}:host([data-color='seafoam']){color:${za};background-color:${Na}}:host([data-color='dark-green']){color:${Ta};background-color:${Ia}}:host([data-color='light-teal']){color:${Ha};background-color:${Oa}}:host([data-color='teal']){color:${Ma};background-color:${Va}}:host([data-color='steel']){color:${_a};background-color:${Ra}}:host([data-color='blue']){color:${qa};background-color:${Ga}}:host([data-color='royal-blue']){color:${Ya};background-color:${Wa}}:host([data-color='cornflower']){color:${Qa};background-color:${Ka}}:host([data-color='navy']){color:${el};background-color:${Za}}:host([data-color='lavender']){color:${rl};background-color:${ol}}:host([data-color='purple']){color:${sl};background-color:${il}}:host([data-color='grape']){color:${cl};background-color:${ll}}:host([data-color='lilac']){color:${ul};background-color:${hl}}:host([data-color='pink']){color:${fl};background-color:${pl}}:host([data-color='magenta']){color:${ml};background-color:${bl}}:host([data-color='plum']){color:${Bl};background-color:${kl}}:host([data-color='beige']){color:${Pl};background-color:${wl}}:host([data-color='mink']){color:${Fl};background-color:${Sl}}:host([data-color='platinum']){color:${zl};background-color:${Nl}}:host([data-color='anchor']){color:${Tl};background-color:${Il}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${er},${Uo};transition-delay:${bc},${mc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${er},${Zo};transition-delay:${bc},${mc}}:host([active])::before{box-shadow:${El};border-style:solid;border-color:${ci}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${wo});border-width:${wo}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Po});border-width:${Po}}: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 * ${$o});border-width:${$o}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Ml}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Rl}}: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:${_l}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${er},${Uo};transition-delay:${vc},${mc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${er},${Zo};transition-delay:${vc},${mc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,kc=uc.compose({name:Ht.prefix+"-avatar",template:fc,styles:yc}),Bc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},xc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},wc={circular:"circular",rounded:"rounded",square:"square"},Pc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class $c extends Ge{constructor(){super(...arguments),this.appearance=Bc.filled,this.color=xc.brand}}function Sc(e={}){return fe` ${Ue(e)}<slot>${qe(e.defaultContent)}</slot>${Ye(e)} `}Xe([Ce],$c.prototype,"appearance",void 0),Xe([Ce],$c.prototype,"color",void 0),Xe([Ce],$c.prototype,"shape",void 0),Xe([Ce],$c.prototype,"size",void 0),Qe($c,We);const Fc=Sc(),Cc=Fo,Nc=I.partial`
|
|
9
|
+
${At("inline-flex")} :host {
|
|
10
|
+
position: relative;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
font-family: ${fo};
|
|
15
|
+
font-weight: ${ko};
|
|
16
|
+
font-size: ${Ut};
|
|
17
|
+
line-height: ${io};
|
|
18
|
+
min-width: 20px;
|
|
19
|
+
height: 20px;
|
|
20
|
+
padding-inline: calc(${Co} + ${Cc});
|
|
21
|
+
border-radius: ${Wt};
|
|
22
|
+
border-color: ${Di};
|
|
23
|
+
background-color: ${oi};
|
|
24
|
+
color: ${Qr};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
::slotted(svg) {
|
|
28
|
+
font-size: 12px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host(:not([appearance='ghost']))::after {
|
|
32
|
+
position: absolute;
|
|
33
|
+
content: '';
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
border-style: solid;
|
|
39
|
+
border-width: ${xo};
|
|
40
|
+
border-color: inherit;
|
|
41
|
+
border-radius: inherit;
|
|
42
|
+
}
|
|
43
|
+
`,zc=I.partial`
|
|
44
|
+
:host([size='tiny']) {
|
|
45
|
+
width: 6px;
|
|
46
|
+
height: 6px;
|
|
47
|
+
font-size: 4px;
|
|
48
|
+
line-height: 4px;
|
|
49
|
+
padding-inline: 0;
|
|
50
|
+
min-width: unset;
|
|
51
|
+
}
|
|
52
|
+
:host([size='tiny']) ::slotted(svg) {
|
|
53
|
+
font-size: 6px;
|
|
54
|
+
}
|
|
55
|
+
:host([size='extra-small']) {
|
|
56
|
+
width: 10px;
|
|
57
|
+
height: 10px;
|
|
58
|
+
font-size: 6px;
|
|
59
|
+
line-height: 6px;
|
|
60
|
+
padding-inline: 0;
|
|
61
|
+
min-width: unset;
|
|
62
|
+
}
|
|
63
|
+
:host([size='extra-small']) ::slotted(svg) {
|
|
64
|
+
font-size: 10px;
|
|
65
|
+
}
|
|
66
|
+
:host([size='small']) {
|
|
67
|
+
min-width: 16px;
|
|
68
|
+
height: 16px;
|
|
69
|
+
font-size: ${Yt};
|
|
70
|
+
line-height: ${no};
|
|
71
|
+
padding-inline: calc(${Fo} + ${Cc});
|
|
72
|
+
}
|
|
73
|
+
:host([size='small']) ::slotted(svg) {
|
|
74
|
+
font-size: 12px;
|
|
75
|
+
}
|
|
76
|
+
:host([size='large']) {
|
|
77
|
+
min-width: 24px;
|
|
78
|
+
height: 24px;
|
|
79
|
+
font-size: ${Ut};
|
|
80
|
+
line-height: ${io};
|
|
81
|
+
padding-inline: calc(${Co} + ${Cc});
|
|
82
|
+
}
|
|
83
|
+
:host([size='large']) ::slotted(svg) {
|
|
84
|
+
font-size: 16px;
|
|
85
|
+
}
|
|
86
|
+
:host([size='extra-large']) {
|
|
87
|
+
min-width: 32px;
|
|
88
|
+
height: 32px;
|
|
89
|
+
font-size: ${Ut};
|
|
90
|
+
line-height: ${io};
|
|
91
|
+
padding-inline: calc(${No} + ${Cc});
|
|
92
|
+
}
|
|
93
|
+
:host([size='extra-large']) ::slotted(svg) {
|
|
94
|
+
font-size: 20px;
|
|
95
|
+
}
|
|
96
|
+
`,Ac=I.partial`
|
|
97
|
+
:host([color='danger']) {
|
|
98
|
+
background-color: ${Ji};
|
|
99
|
+
color: ${Qr};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host([color='important']) {
|
|
103
|
+
background-color: ${dr};
|
|
104
|
+
color: ${dn};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:host([color='informative']) {
|
|
108
|
+
background-color: ${Sn};
|
|
109
|
+
color: ${Br};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:host([color='severe']) {
|
|
113
|
+
background-color: ${vs};
|
|
114
|
+
color: ${Qr};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:host([color='subtle']) {
|
|
118
|
+
background-color: ${dn};
|
|
119
|
+
color: ${dr};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host([color='success']) {
|
|
123
|
+
background-color: ${as};
|
|
124
|
+
color: ${Qr};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
:host([color='warning']) {
|
|
128
|
+
background-color: ${$s};
|
|
129
|
+
color: ${dr};
|
|
130
|
+
}
|
|
131
|
+
`,Ic=I.partial`
|
|
132
|
+
:host([appearance='ghost']) {
|
|
133
|
+
color: ${oi};
|
|
134
|
+
background-color: initial;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
:host([appearance='ghost'][color='danger']) {
|
|
138
|
+
color: ${ts};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:host([appearance='ghost'][color='important']) {
|
|
142
|
+
color: ${dr};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:host([appearance='ghost'][color='informative']) {
|
|
146
|
+
color: ${Br};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
:host([appearance='ghost'][color='severe']) {
|
|
150
|
+
color: ${ys};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([appearance='ghost'][color='subtle']) {
|
|
154
|
+
color: ${Xr};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:host([appearance='ghost'][color='success']) {
|
|
158
|
+
color: ${ds};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
:host([appearance='ghost'][color='warning']) {
|
|
162
|
+
color: ${Fs};
|
|
163
|
+
}
|
|
164
|
+
`,Tc=I`
|
|
165
|
+
:host([shape='square']){border-radius:${_t}}:host([shape='rounded']){border-radius:${Gt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${jt}}${zc}
|
|
166
|
+
${Ac}
|
|
167
|
+
${Ic}
|
|
168
|
+
${I.partial`
|
|
169
|
+
:host([appearance='outline']) {
|
|
170
|
+
border-color: currentColor;
|
|
171
|
+
color: ${_r};
|
|
172
|
+
background-color: initial;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
:host([appearance='outline'][color='danger']) {
|
|
176
|
+
color: ${ts};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:host([appearance='outline'][color='important']) {
|
|
180
|
+
color: ${Br};
|
|
181
|
+
border-color: ${fi};
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
:host([appearance='outline'][color='informative']) {
|
|
185
|
+
color: ${Br};
|
|
186
|
+
border-color: ${wi};
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:host([appearance='outline'][color='severe']) {
|
|
190
|
+
color: ${ys};
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
:host([appearance='outline'][color='subtle']) {
|
|
194
|
+
color: ${qr};
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:host([appearance='outline'][color='success']) {
|
|
198
|
+
color: ${cs};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
:host([appearance='outline'][color='warning']) {
|
|
202
|
+
color: ${Fs};
|
|
203
|
+
}
|
|
204
|
+
`}
|
|
205
|
+
${I.partial`
|
|
206
|
+
:host([appearance='tint']) {
|
|
207
|
+
background-color: ${di};
|
|
208
|
+
color: ${jr};
|
|
209
|
+
border-color: ${Ai};
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
:host([appearance='tint'][color='danger']) {
|
|
213
|
+
background-color: ${Ki};
|
|
214
|
+
color: ${Zi};
|
|
215
|
+
border-color: ${rs};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
:host([appearance='tint'][color='important']) {
|
|
219
|
+
background-color: ${Br};
|
|
220
|
+
color: ${dn};
|
|
221
|
+
border-color: ${Di};
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
:host([appearance='tint'][color='informative']) {
|
|
225
|
+
background-color: ${xn};
|
|
226
|
+
color: ${Br};
|
|
227
|
+
border-color: ${wi};
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
:host([appearance='tint'][color='severe']) {
|
|
231
|
+
background-color: ${ps};
|
|
232
|
+
color: ${bs};
|
|
233
|
+
border-color: ${Bs};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
:host([appearance='tint'][color='subtle']) {
|
|
237
|
+
background-color: ${dn};
|
|
238
|
+
color: ${Br};
|
|
239
|
+
border-color: ${wi};
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
:host([appearance='tint'][color='success']) {
|
|
243
|
+
background-color: ${is};
|
|
244
|
+
color: ${ls};
|
|
245
|
+
border-color: ${gs};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:host([appearance='tint'][color='warning']) {
|
|
249
|
+
background-color: ${ws};
|
|
250
|
+
color: ${Fs};
|
|
251
|
+
border-color: ${zs};
|
|
252
|
+
}
|
|
253
|
+
`}
|
|
254
|
+
${Nc}
|
|
255
|
+
`,Lc=$c.compose({name:Ht.prefix+"-badge",template:Fc,styles:Tc});class Oc extends Ge{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!==(e=this.count)&&void 0!==e?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Xe([Ce],Oc.prototype,"appearance",void 0),Xe([Ce],Oc.prototype,"color",void 0),Xe([Ce],Oc.prototype,"shape",void 0),Xe([Ce],Oc.prototype,"size",void 0),Xe([Ce({converter:Se})],Oc.prototype,"count",void 0),Xe([Ce({attribute:"overflow-count",converter:Se})],Oc.prototype,"overflowCount",void 0),Xe([Ce({attribute:"show-zero",mode:"boolean"})],Oc.prototype,"showZero",void 0),Xe([Ce({mode:"boolean"})],Oc.prototype,"dot",void 0),Qe(Oc,We);const Hc={filled:"filled",ghost:"ghost"},Dc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Vc={circular:"circular",rounded:"rounded"},Mc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Ec=Sc({defaultContent:fe`${e=>e.setCount()}`}),Rc=I`
|
|
256
|
+
:host([shape='rounded']){border-radius:${Gt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${jt}}${zc}
|
|
257
|
+
${Ac}
|
|
258
|
+
${Ic}
|
|
259
|
+
${Nc}
|
|
260
|
+
|
|
261
|
+
:host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,_c=Oc.compose({name:Ht.prefix+"-counter-badge",template:Ec,styles:Rc});class jc extends Pt{}Xe([Ce({attribute:"align-content"})],jc.prototype,"alignContent",void 0),Xe([Ce],jc.prototype,"appearance",void 0),Xe([Ce({mode:"boolean"})],jc.prototype,"inset",void 0);const Gc={center:"center",start:"start",end:"end"},qc={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},Xc=fe`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,Wc=I`
|
|
262
|
+
${At("flex")}
|
|
263
|
+
|
|
264
|
+
:host::after,:host::before{align-self:center;background:${wi};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${xo}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${pr};font-family:${fo};font-size:${Ut};font-weight:${mo};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${xo};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${yi}}:host([appearance='strong']) ::slotted(*){color:${dr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${zi}}:host([appearance='brand']) ::slotted(*){color:${_r}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Pi}}:host([appearance='subtle']) ::slotted(*){color:${Br}}`,Yc=jc.compose({name:Ht.prefix+"-divider",template:Xc,styles:Wc});class Uc extends Ge{}Xe([Ce({mode:"boolean"})],Uc.prototype,"block",void 0),Xe([Ce({mode:"boolean"})],Uc.prototype,"bordered",void 0),Xe([Ce({mode:"boolean"})],Uc.prototype,"shadow",void 0),Xe([Ce],Uc.prototype,"fit",void 0),Xe([Ce],Uc.prototype,"shape",void 0);const Kc={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Qc={circular:"circular",rounded:"rounded",square:"square"},Jc=fe`<slot></slot>`,Zc=I`
|
|
265
|
+
:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${xo} solid ${wi}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Ml}}:host([shape='circular']) ::slotted(img){border-radius:${Wt}}`,ed=Uc.compose({name:Ht.prefix+"-image",template:Jc,styles:Zc});class td extends Ft{constructor(){super(...arguments),this.validationState=null}}Xe([Ce],td.prototype,"thickness",void 0),Xe([Ce],td.prototype,"shape",void 0),Xe([Ce({attribute:"validation-state"})],td.prototype,"validationState",void 0);const od={medium:"medium",large:"large"},rd={rounded:"rounded",square:"square"},nd={success:"success",warning:"warning",error:"error"},id=I`
|
|
266
|
+
${At("flex")}
|
|
267
|
+
|
|
268
|
+
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Gt}}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${Ji}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
269
|
+
to right,${Qi} 0%,${Ji} 50%,${Qi}
|
|
270
|
+
)}:host([validation-state='warning']) .determinate{background-color:${vs}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
|
|
271
|
+
to right,${fs} 0%,${vs} 50%,${fs}
|
|
272
|
+
)}:host([validation-state='success']) .determinate{background-color:${as}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
|
|
273
|
+
to right,${ss} 0%,${as} 50%,${ss}
|
|
274
|
+
)}.progress{background-color:${zn};border-radius:${Gt};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${si};border-radius:${Gt};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
275
|
+
to right,${di} 0%,${si} 50%,${di}
|
|
276
|
+
);border-radius:${Gt};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
277
|
+
to right,${di} 0%,${si} 50%,${di}
|
|
278
|
+
);border-radius:${Gt};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`,sd=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${me(e=>"number"==typeof e.value,fe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${me(e=>"number"!=typeof e.value,fe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${qe(e.indeterminateIndicator1)} ${qe(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),ad=td.compose({name:Ht.prefix+"-progress-bar",template:sd,styles:id});class ld extends St{}Xe([Ce],ld.prototype,"size",void 0),Xe([Ce],ld.prototype,"appearance",void 0);const cd={primary:"primary",inverted:"inverted"},dd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},hd=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${me(e=>"number"==typeof e.value,fe`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`)} ${me(e=>"number"!=typeof e.value,fe`<slot name="indeterminate">${qe(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),ud=I`
|
|
279
|
+
${At("flex")}
|
|
280
|
+
|
|
281
|
+
:host{display:flex;align-items:center;height:32px;width:32px}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${Ai};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${zi};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${Si}}.indeterminate-indicator-1{stroke:${zi};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${Si}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,gd=ld.compose({name:Ht.prefix+"-spinner",template:hd,styles:ud});class pd extends zt{}Xe([Ce({attribute:"label-position"})],pd.prototype,"labelPosition",void 0);const fd={above:"above",after:"after",before:"before"},vd=function(e={}){return fe`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${xe("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${qe(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),bd=I`
|
|
282
|
+
${At("inline-flex")}
|
|
283
|
+
|
|
284
|
+
:host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${dr};line-height:${so};font-size:${Kt};font-weight:${mo};font-family:${fo};padding:${Mo} ${Co};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Fo};box-sizing:border-box;width:40px;height:20px;background-color:${Gn};border:1px solid ${fi};border-radius:${Wt};outline:none;cursor:pointer;margin:${Ro} ${zo}}:host(:hover) .switch{background:none;border-color:${vi}}:host(:active) .switch{border-color:${bi}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Oi};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${si}}:host([aria-checked='true']:hover) .switch{background:${ai};border-color:${ai}}:host([aria-checked='true']:active) .switch{background:${li};border-color:${li}}:host([aria-checked='true'][disabled]) .switch{background:${Yn};border-color:${Oi}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Br};transition-duration:${Qo};transition-timing-function:${lr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${Xr};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Wr}}:host([aria-checked='true']:active) .checked-indicator{background:${Yr}}:host(:hover) .checked-indicator{background-color:${xr}}:host(:active) .checked-indicator{background-color:${wr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${Nr}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${Nr}}`,md=pd.compose({name:Ht.prefix+"-switch",template:vd,styles:bd});class yd extends Ge{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Xe([Ce({mode:"boolean"})],yd.prototype,"nowrap",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"truncate",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"italic",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"underline",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"strikethrough",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"block",void 0),Xe([Ce],yd.prototype,"size",void 0),Xe([Ce],yd.prototype,"font",void 0),Xe([Ce],yd.prototype,"weight",void 0),Xe([Ce],yd.prototype,"align",void 0);const kd={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Bd={base:"base",numeric:"numeric",monospace:"monospace"},xd={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},wd={start:"start",end:"end",center:"center",justify:"justify"},Pd=fe`<slot></slot>`,$d=I`
|
|
285
|
+
${At("inline")}
|
|
286
|
+
|
|
287
|
+
::slotted(*){font-family:${fo};font-size:${Kt};line-height:${so};font-weight:${mo};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${Yt};line-height:${no}}:host([size='200']) ::slotted(*){font-size:${Ut};line-height:${io}}:host([size='400']) ::slotted(*){font-size:${Qt};line-height:${ao}}:host([size='500']) ::slotted(*){font-size:${Jt};line-height:${lo}}:host([size='600']) ::slotted(*){font-size:${Zt};line-height:${co}}:host([size='700']) ::slotted(*){font-size:${eo};line-height:${ho}}:host([size='800']) ::slotted(*){font-size:${to};line-height:${uo}}:host([size='900']) ::slotted(*){font-size:${oo};line-height:${go}}:host([size='1000']) ::slotted(*){font-size:${ro};line-height:${po}}:host([font='monospace']) ::slotted(*){font-family:${vo}}:host([font='numeric']) ::slotted(*){font-family:${bo}}:host([weight='medium']) ::slotted(*){font-weight:${yo}}:host([weight='semibold']) ::slotted(*){font-weight:${ko}}:host([weight='bold']) ::slotted(*){font-weight:${Bo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Sd=yd.compose({name:Ht.prefix+"-text",template:Pd,styles:$d}),Fd=Object.keys(Kl),Cd=e=>{for(const t of Fd)Kl[t].withDefault(e[t])};export{It as Accordion,Vt as AccordionItem,Et as AccordionItemExpandIconPosition,Mt as AccordionItemSize,uc as Avatar,sc as AvatarActive,lc as AvatarAppearance,dc as AvatarColor,kc as AvatarDefinition,cc as AvatarNamedColor,ac as AvatarShape,hc as AvatarSize,yc as AvatarStyles,fc as AvatarTemplate,$c as Badge,Bc as BadgeAppearance,xc as BadgeColor,Lc as BadgeDefinition,wc as BadgeShape,Pc as BadgeSize,Tc as BadgeStyles,Fc as BadgeTemplate,Oc as CounterBadge,Hc as CounterBadgeAppearance,Dc as CounterBadgeColor,_c as CounterBadgeDefinition,Vc as CounterBadgeShape,Mc as CounterBadgeSize,Rc as CounterBadgeStyles,Ec as CounterBadgeTemplate,jc as Divider,Gc as DividerAlignContent,qc as DividerAppearance,Yc as DividerDefinition,wt as DividerOrientation,xt as DividerRole,Wc as DividerStyles,Xc as DividerTemplate,Uc as Image,ed as ImageDefinition,Kc as ImageFit,Qc as ImageShape,Zc as ImageStyles,Jc as ImageTemplate,td as ProgressBar,ad as ProgressBarDefinition,rd as ProgressBarShape,id as ProgressBarStyles,sd as ProgressBarTemplate,od as ProgressBarThickness,nd as ProgressBarValidationState,ld as Spinner,cd as SpinnerAppearance,gd as SpinnerDefinition,dd as SpinnerSize,ud as SpinnerStyles,hd as SpinnerTemplate,pd as Switch,fd as SwitchLabelPosition,yd as Text,wd as TextAlign,Sd as TextDefinition,Bd as TextFont,kd as TextSize,$d as TextStyles,Pd as TextTemplate,xd as TextWeight,Dt as accordionDefinition,Zl as accordionItemDefinition,Ql as accordionItemStyles,Jl as accordionItemTemplate,Ot as accordionStyles,Tt as accordionTemplate,Wt as borderRadiusCircular,qt as borderRadiusLarge,Gt as borderRadiusMedium,_t as borderRadiusNone,jt as borderRadiusSmall,Xt as borderRadiusXLarge,ei as colorBackgroundOverlay,oi as colorBrandBackground,di as colorBrandBackground2,ri as colorBrandBackgroundHover,hi as colorBrandBackgroundInverted,ui as colorBrandBackgroundInvertedHover,gi as colorBrandBackgroundInvertedPressed,pi as colorBrandBackgroundInvertedSelected,ni as colorBrandBackgroundPressed,ii as colorBrandBackgroundSelected,ci as colorBrandBackgroundStatic,_r as colorBrandForeground1,jr as colorBrandForeground2,on as colorBrandForegroundInverted,rn as colorBrandForegroundInvertedHover,nn as colorBrandForegroundInvertedPressed,Ar as colorBrandForegroundLink,Ir as colorBrandForegroundLinkHover,Tr as colorBrandForegroundLinkPressed,Lr as colorBrandForegroundLinkSelected,sn as colorBrandForegroundOnLight,an as colorBrandForegroundOnLightHover,ln as colorBrandForegroundOnLightPressed,cn as colorBrandForegroundOnLightSelected,Yi as colorBrandShadowAmbient,Ui as colorBrandShadowKey,zi as colorBrandStroke1,Ai as colorBrandStroke2,si as colorCompoundBrandBackground,ai as colorCompoundBrandBackgroundHover,li as colorCompoundBrandBackgroundPressed,Mr as colorCompoundBrandForeground1,Er as colorCompoundBrandForeground1Hover,Rr as colorCompoundBrandForeground1Pressed,Ii as colorCompoundBrandStroke,Ti as colorCompoundBrandStrokeHover,Li as colorCompoundBrandStrokePressed,dn as colorNeutralBackground1,hn as colorNeutralBackground1Hover,un as colorNeutralBackground1Pressed,gn as colorNeutralBackground1Selected,pn as colorNeutralBackground2,fn as colorNeutralBackground2Hover,vn as colorNeutralBackground2Pressed,bn as colorNeutralBackground2Selected,mn as colorNeutralBackground3,yn as colorNeutralBackground3Hover,kn as colorNeutralBackground3Pressed,Bn as colorNeutralBackground3Selected,xn as colorNeutralBackground4,wn as colorNeutralBackground4Hover,Pn as colorNeutralBackground4Pressed,$n as colorNeutralBackground4Selected,Sn as colorNeutralBackground5,Fn as colorNeutralBackground5Hover,Cn as colorNeutralBackground5Pressed,Nn as colorNeutralBackground5Selected,zn as colorNeutralBackground6,Yn as colorNeutralBackgroundDisabled,An as colorNeutralBackgroundInverted,Un as colorNeutralBackgroundInvertedDisabled,In as colorNeutralBackgroundStatic,dr as colorNeutralForeground1,hr as colorNeutralForeground1Hover,ur as colorNeutralForeground1Pressed,gr as colorNeutralForeground1Selected,Gr as colorNeutralForeground1Static,pr as colorNeutralForeground2,mr as colorNeutralForeground2BrandHover,yr as colorNeutralForeground2BrandPressed,kr as colorNeutralForeground2BrandSelected,fr as colorNeutralForeground2Hover,Or as colorNeutralForeground2Link,Hr as colorNeutralForeground2LinkHover,Dr as colorNeutralForeground2LinkPressed,Vr as colorNeutralForeground2LinkSelected,vr as colorNeutralForeground2Pressed,br as colorNeutralForeground2Selected,Br as colorNeutralForeground3,$r as colorNeutralForeground3BrandHover,Sr as colorNeutralForeground3BrandPressed,Fr as colorNeutralForeground3BrandSelected,xr as colorNeutralForeground3Hover,wr as colorNeutralForeground3Pressed,Pr as colorNeutralForeground3Selected,Cr as colorNeutralForeground4,Nr as colorNeutralForegroundDisabled,Xr as colorNeutralForegroundInverted,Kr as colorNeutralForegroundInverted2,zr as colorNeutralForegroundInvertedDisabled,Wr as colorNeutralForegroundInvertedHover,Jr as colorNeutralForegroundInvertedLink,Zr as colorNeutralForegroundInvertedLinkHover,en as colorNeutralForegroundInvertedLinkPressed,tn as colorNeutralForegroundInvertedLinkSelected,Yr as colorNeutralForegroundInvertedPressed,Ur as colorNeutralForegroundInvertedSelected,Qr as colorNeutralForegroundOnBrand,qr as colorNeutralForegroundStaticInverted,_i as colorNeutralShadowAmbient,Xi as colorNeutralShadowAmbientDarker,Gi as colorNeutralShadowAmbientLighter,ji as colorNeutralShadowKey,Wi as colorNeutralShadowKeyDarker,qi as colorNeutralShadowKeyLighter,Kn as colorNeutralStencil1,Jn as colorNeutralStencil1Alpha,Qn as colorNeutralStencil2,Zn as colorNeutralStencil2Alpha,yi as colorNeutralStroke1,ki as colorNeutralStroke1Hover,Bi as colorNeutralStroke1Pressed,xi as colorNeutralStroke1Selected,wi as colorNeutralStroke2,Pi as colorNeutralStroke3,fi as colorNeutralStrokeAccessible,vi as colorNeutralStrokeAccessibleHover,bi as colorNeutralStrokeAccessiblePressed,mi as colorNeutralStrokeAccessibleSelected,Oi as colorNeutralStrokeDisabled,Hi as colorNeutralStrokeInvertedDisabled,$i as colorNeutralStrokeOnBrand,Si as colorNeutralStrokeOnBrand2,Fi as colorNeutralStrokeOnBrand2Hover,Ci as colorNeutralStrokeOnBrand2Pressed,Ni as colorNeutralStrokeOnBrand2Selected,Il as colorPaletteAnchorBackground2,Ll as colorPaletteAnchorBorderActive,Tl as colorPaletteAnchorForeground2,wl as colorPaletteBeigeBackground2,$l as colorPaletteBeigeBorderActive,Pl as colorPaletteBeigeForeground2,Is as colorPaletteBerryBackground1,Ts as colorPaletteBerryBackground2,Ls as colorPaletteBerryBackground3,Ms as colorPaletteBerryBorder1,Es as colorPaletteBerryBorder2,Vs as colorPaletteBerryBorderActive,Os as colorPaletteBerryForeground1,Hs as colorPaletteBerryForeground2,Ds as colorPaletteBerryForeground3,Ga as colorPaletteBlueBackground2,Xa as colorPaletteBlueBorderActive,qa as colorPaletteBlueForeground2,ka as colorPaletteBrassBackground2,xa as colorPaletteBrassBorderActive,Ba as colorPaletteBrassForeground2,wa as colorPaletteBrownBackground2,$a as colorPaletteBrownBorderActive,Pa as colorPaletteBrownForeground2,Ka as colorPaletteCornflowerBackground2,Ja as colorPaletteCornflowerBorderActive,Qa as colorPaletteCornflowerForeground2,la as colorPaletteCranberryBackground2,da as colorPaletteCranberryBorderActive,ca as colorPaletteCranberryForeground2,Ia as colorPaletteDarkGreenBackground2,La as colorPaletteDarkGreenBorderActive,Ta as colorPaletteDarkGreenForeground2,ps as colorPaletteDarkOrangeBackground1,fs as colorPaletteDarkOrangeBackground2,vs as colorPaletteDarkOrangeBackground3,Bs as colorPaletteDarkOrangeBorder1,xs as colorPaletteDarkOrangeBorder2,ks as colorPaletteDarkOrangeBorderActive,bs as colorPaletteDarkOrangeForeground1,ms as colorPaletteDarkOrangeForeground2,ys as colorPaletteDarkOrangeForeground3,ia as colorPaletteDarkRedBackground2,aa as colorPaletteDarkRedBorderActive,sa as colorPaletteDarkRedForeground2,Sa as colorPaletteForestBackground2,Ca as colorPaletteForestBorderActive,Fa as colorPaletteForestForeground2,ba as colorPaletteGoldBackground2,ya as colorPaletteGoldBorderActive,ma as colorPaletteGoldForeground2,ll as colorPaletteGrapeBackground2,dl as colorPaletteGrapeBorderActive,cl as colorPaletteGrapeForeground2,is as colorPaletteGreenBackground1,ss as colorPaletteGreenBackground2,as as colorPaletteGreenBackground3,us as colorPaletteGreenBorder1,gs as colorPaletteGreenBorder2,hs as colorPaletteGreenBorderActive,ls as colorPaletteGreenForeground1,cs as colorPaletteGreenForeground2,ds as colorPaletteGreenForeground3,Hl as colorPaletteGreenForegroundInverted,ol as colorPaletteLavenderBackground2,nl as colorPaletteLavenderBorderActive,rl as colorPaletteLavenderForeground2,Rs as colorPaletteLightGreenBackground1,_s as colorPaletteLightGreenBackground2,js as colorPaletteLightGreenBackground3,Ys as colorPaletteLightGreenBorder1,Us as colorPaletteLightGreenBorder2,Ws as colorPaletteLightGreenBorderActive,Gs as colorPaletteLightGreenForeground1,qs as colorPaletteLightGreenForeground2,Xs as colorPaletteLightGreenForeground3,Oa as colorPaletteLightTealBackground2,Da as colorPaletteLightTealBorderActive,Ha as colorPaletteLightTealForeground2,hl as colorPaletteLilacBackground2,gl as colorPaletteLilacBorderActive,ul as colorPaletteLilacForeground2,bl as colorPaletteMagentaBackground2,yl as colorPaletteMagentaBorderActive,ml as colorPaletteMagentaForeground2,Ks as colorPaletteMarigoldBackground1,Qs as colorPaletteMarigoldBackground2,Js as colorPaletteMarigoldBackground3,ra as colorPaletteMarigoldBorder1,na as colorPaletteMarigoldBorder2,oa as colorPaletteMarigoldBorderActive,Zs as colorPaletteMarigoldForeground1,ea as colorPaletteMarigoldForeground2,ta as colorPaletteMarigoldForeground3,Sl as colorPaletteMinkBackground2,Cl as colorPaletteMinkBorderActive,Fl as colorPaletteMinkForeground2,Za as colorPaletteNavyBackground2,tl as colorPaletteNavyBorderActive,el as colorPaletteNavyForeground2,pa as colorPalettePeachBackground2,va as colorPalettePeachBorderActive,fa as colorPalettePeachForeground2,pl as colorPalettePinkBackground2,vl as colorPalettePinkBorderActive,fl as colorPalettePinkForeground2,Nl as colorPalettePlatinumBackground2,Al as colorPalettePlatinumBorderActive,zl as colorPalettePlatinumForeground2,kl as colorPalettePlumBackground2,xl as colorPalettePlumBorderActive,Bl as colorPalettePlumForeground2,ha as colorPalettePumpkinBackground2,ga as colorPalettePumpkinBorderActive,ua as colorPalettePumpkinForeground2,il as colorPalettePurpleBackground2,al as colorPalettePurpleBorderActive,sl as colorPalettePurpleForeground2,Ki as colorPaletteRedBackground1,Qi as colorPaletteRedBackground2,Ji as colorPaletteRedBackground3,rs as colorPaletteRedBorder1,ns as colorPaletteRedBorder2,os as colorPaletteRedBorderActive,Zi as colorPaletteRedForeground1,es as colorPaletteRedForeground2,ts as colorPaletteRedForeground3,Ol as colorPaletteRedForegroundInverted,Wa as colorPaletteRoyalBlueBackground2,Ua as colorPaletteRoyalBlueBorderActive,Ya as colorPaletteRoyalBlueForeground2,Na as colorPaletteSeafoamBackground2,Aa as colorPaletteSeafoamBorderActive,za as colorPaletteSeafoamForeground2,Ra as colorPaletteSteelBackground2,ja as colorPaletteSteelBorderActive,_a as colorPaletteSteelForeground2,Va as colorPaletteTealBackground2,Ea as colorPaletteTealBorderActive,Ma as colorPaletteTealForeground2,ws as colorPaletteYellowBackground1,Ps as colorPaletteYellowBackground2,$s as colorPaletteYellowBackground3,zs as colorPaletteYellowBorder1,As as colorPaletteYellowBorder2,Ns as colorPaletteYellowBorderActive,Ss as colorPaletteYellowForeground1,Fs as colorPaletteYellowForeground2,Cs as colorPaletteYellowForeground3,Dl as colorPaletteYellowForegroundInverted,ti as colorScrollbarOverlay,Ei as colorStrokeFocus1,Ri as colorStrokeFocus2,Tn as colorSubtleBackground,Ln as colorSubtleBackgroundHover,En as colorSubtleBackgroundInverted,Rn as colorSubtleBackgroundInvertedHover,_n as colorSubtleBackgroundInvertedPressed,jn as colorSubtleBackgroundInvertedSelected,Dn as colorSubtleBackgroundLightAlphaHover,Vn as colorSubtleBackgroundLightAlphaPressed,Mn as colorSubtleBackgroundLightAlphaSelected,On as colorSubtleBackgroundPressed,Hn as colorSubtleBackgroundSelected,Gn as colorTransparentBackground,qn as colorTransparentBackgroundHover,Xn as colorTransparentBackgroundPressed,Wn as colorTransparentBackgroundSelected,Di as colorTransparentStroke,Mi as colorTransparentStrokeDisabled,Vi as colorTransparentStrokeInteractive,tr as curveAccelerateMax,or as curveAccelerateMid,rr as curveAccelerateMin,nr as curveDecelerateMax,ir as curveDecelerateMid,sr as curveDecelerateMin,lr as curveEasyEase,ar as curveEasyEaseMax,cr as curveLinear,md as definition,Ko as durationFast,Uo as durationFaster,Qo as durationNormal,Jo as durationSlow,Zo as durationSlower,Yo as durationUltraFast,er as durationUltraSlow,fo as fontFamilyBase,vo as fontFamilyMonospace,bo as fontFamilyNumeric,Yt as fontSizeBase100,Ut as fontSizeBase200,Kt as fontSizeBase300,Qt as fontSizeBase400,Jt as fontSizeBase500,Zt as fontSizeBase600,ro as fontSizeHero1000,eo as fontSizeHero700,to as fontSizeHero800,oo as fontSizeHero900,Bo as fontWeightBold,yo as fontWeightMedium,mo as fontWeightRegular,ko as fontWeightSemibold,no as lineHeightBase100,io as lineHeightBase200,so as lineHeightBase300,ao as lineHeightBase400,lo as lineHeightBase500,co as lineHeightBase600,po as lineHeightHero1000,ho as lineHeightHero700,uo as lineHeightHero800,go as lineHeightHero900,Cd as setTheme,Rl as shadow16,Wl as shadow16Brand,Vl as shadow2,_l as shadow28,Yl as shadow28Brand,Gl as shadow2Brand,Ml as shadow4,ql as shadow4Brand,jl as shadow64,Ul as shadow64Brand,El as shadow8,Xl as shadow8Brand,To as spacingHorizontalL,Io as spacingHorizontalM,Ao as spacingHorizontalMNudge,So as spacingHorizontalNone,zo as spacingHorizontalS,No as spacingHorizontalSNudge,Lo as spacingHorizontalXL,Co as spacingHorizontalXS,Oo as spacingHorizontalXXL,Fo as spacingHorizontalXXS,Ho as spacingHorizontalXXXL,Go as spacingVerticalL,jo as spacingVerticalM,_o as spacingVerticalMNudge,Do as spacingVerticalNone,Ro as spacingVerticalS,Eo as spacingVerticalSNudge,qo as spacingVerticalXL,Mo as spacingVerticalXS,Xo as spacingVerticalXXL,Vo as spacingVerticalXXS,Wo as spacingVerticalXXXL,wo as strokeWidthThick,Po as strokeWidthThicker,$o as strokeWidthThickest,xo as strokeWidthThin,bd as switchStyles,vd as switchTemplate};
|