@holoviz/panel 0.14.3 → 1.0.0-a.1
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/dist/bundled/@microsoft/fast-components@2.30.6/dist/fast-components.iife.min.js +217 -0
- package/dist/bundled/@microsoft/fast-components@2.30.6/dist/fast-components.js +28286 -0
- package/dist/bundled/@microsoft/fast-components@2.30.6/dist/fast-components.min.js +217 -0
- package/dist/bundled/bootstrap/css/bootstrap.css +688 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.css +4226 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.rtl.css +4225 -0
- package/dist/bundled/bootstrap5/css/bootstrap-grid.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.css +591 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.rtl.css +588 -0
- package/dist/bundled/bootstrap5/css/bootstrap-reboot.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.css +5099 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.rtl.css +5090 -0
- package/dist/bundled/bootstrap5/css/bootstrap-utilities.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap.css +11783 -0
- package/dist/bundled/bootstrap5/css/bootstrap.min.css +6 -0
- package/dist/bundled/bootstrap5/css/bootstrap.rtl.css +11747 -0
- package/dist/bundled/bootstrap5/css/bootstrap.rtl.min.css +6 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.js +6295 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js +7 -0
- package/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.js +4422 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.min.js +7 -0
- package/dist/bundled/bootstrap5/js/bootstrap.esm.min.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.js +4468 -0
- package/dist/bundled/bootstrap5/js/bootstrap.js.map +1 -0
- package/dist/bundled/bootstrap5/js/bootstrap.min.js +7 -0
- package/dist/bundled/bootstrap5/js/bootstrap.min.js.map +1 -0
- package/dist/bundled/bootstrapdarktheme/bootstrap_dark.css +170 -0
- package/dist/bundled/bootstrapdefaulttheme/bootstrap_default.css +120 -0
- package/dist/bundled/bootstraptemplate/bootstrap.css +119 -77
- package/dist/bundled/darktheme/dark.css +33 -106
- package/dist/bundled/datatabulator/tabulator-tables@5.3.2/dist/css/tabulator_fast.min.css +1 -0
- package/dist/bundled/defaulttheme/default.css +33 -2
- package/dist/bundled/fast/css/fast.css +919 -0
- package/dist/bundled/fast/js/fast_design.js +87 -0
- package/dist/bundled/fastbasetemplate/fast.css +335 -0
- package/dist/bundled/fastgridtemplate/fast_grid_template.css +256 -232
- package/dist/bundled/golden-layout@1.5.9/dist/css/goldenlayout-base.css +1 -0
- package/dist/bundled/golden-layout@1.5.9/dist/css/theme/goldenlayout-dark-theme.css +1 -0
- package/dist/bundled/goldentemplate/golden.css +2 -22
- package/dist/bundled/material/css/material.css +443 -0
- package/dist/bundled/materialtemplate/dark.css +2 -20
- package/dist/bundled/materialtemplate/default.css +2 -17
- package/dist/bundled/materialtemplate/material.css +119 -114
- package/dist/bundled/materialthememixin/material_variables.css +19 -0
- package/dist/bundled/native/css/native.css +28 -0
- package/dist/bundled/notificationarea/panel/1.0.0-a.1/dist/bundled/font-awesome/css/all.min.css +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/bootstrap5/css/bootstrap.min.css +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/font-awesome/css/all.min.css +2 -0
- package/dist/bundled/panel/1.0.0-a.1/dist/bundled/jquery/jquery.slim.min.js +2 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/fonts.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/material-dark.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/material.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/monokai.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/solarized-dark.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/solarized.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/themes.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/vaporwave.css +1 -0
- package/dist/bundled/perspective/@finos/perspective-viewer@1.9.3/dist/css/variables.css +0 -0
- package/dist/bundled/plotlyplot/panel/1.0.0-a.1/dist/bundled/jquery/jquery.slim.min.js +2 -0
- package/dist/bundled/react-dom@17/umd/react-dom.production.min.js +245 -0
- package/dist/bundled/react-grid-layout@1.3.4/dist/react-grid-layout.min.js +2 -0
- package/dist/bundled/react-grid-layout@1.3.4/dist/react-grid-layout.min.js.map +1 -0
- package/dist/bundled/react@17/umd/react.production.min.js +31 -0
- package/dist/bundled/reacttemplate/react.css +0 -12
- package/dist/bundled/vanillatemplate/vanilla.css +129 -134
- package/dist/css/alerts.css +64 -64
- package/dist/css/booleanstatus.css +48 -0
- package/dist/css/card.css +16 -8
- package/dist/css/dataframe.css +7 -2
- package/dist/css/debugger.css +16 -10
- package/dist/css/divider.css +10 -0
- package/dist/css/editable_slider.css +22 -0
- package/dist/css/katex.css +3 -0
- package/dist/css/loadingspinner.css +119 -0
- package/dist/css/markdown.css +2 -1
- package/dist/css/perspective-datatable.css +504 -0
- package/dist/css/plotly.css +246 -0
- package/dist/css/progress.css +209 -0
- package/dist/css/widgetbox.css +9 -0
- package/dist/css/widgets.css +0 -305
- package/dist/dts/styles/alerts.css.d.ts +3 -0
- package/dist/dts/styles/booleanstatus.css.d.ts +3 -0
- package/dist/dts/styles/card.css.d.ts +3 -0
- package/dist/dts/styles/dataframe.css.d.ts +3 -0
- package/dist/dts/styles/debugger.css.d.ts +3 -0
- package/dist/dts/styles/divider.css.d.ts +4 -0
- package/dist/dts/styles/editable_slider.css.d.ts +8 -0
- package/dist/dts/styles/json.css.d.ts +3 -0
- package/dist/dts/styles/katex.css.d.ts +3 -0
- package/dist/dts/styles/loading.css.d.ts +3 -0
- package/dist/dts/styles/loadingspinner.css.d.ts +3 -0
- package/dist/dts/styles/markdown.css.d.ts +3 -0
- package/dist/dts/styles/perspective-datatable.css.d.ts +3 -0
- package/dist/dts/styles/plotly.css.d.ts +3 -0
- package/dist/dts/styles/progress.css.d.ts +3 -0
- package/dist/dts/styles/widgetbox.css.d.ts +3 -0
- package/dist/dts/styles/widgets.css.d.ts +4 -0
- package/dist/lib/models/ace.d.ts +3 -5
- package/dist/lib/models/ace.js +24 -23
- package/dist/lib/models/ace.js.map +1 -1
- package/dist/lib/models/audio.d.ts +2 -4
- package/dist/lib/models/audio.js +18 -18
- package/dist/lib/models/audio.js.map +1 -1
- package/dist/lib/models/card.d.ts +3 -3
- package/dist/lib/models/card.js +56 -62
- package/dist/lib/models/card.js.map +1 -1
- package/dist/lib/models/comm_manager.d.ts +2 -2
- package/dist/lib/models/comm_manager.js +20 -19
- package/dist/lib/models/comm_manager.js.map +1 -1
- package/dist/lib/models/data.js +1 -1
- package/dist/lib/models/data.js.map +1 -1
- package/dist/lib/models/datetime_picker.d.ts +8 -7
- package/dist/lib/models/datetime_picker.js +128 -34
- package/dist/lib/models/datetime_picker.js.map +1 -1
- package/dist/lib/models/deckgl.d.ts +2 -4
- package/dist/lib/models/deckgl.js +24 -25
- package/dist/lib/models/deckgl.js.map +1 -1
- package/dist/lib/models/echarts.d.ts +3 -2
- package/dist/lib/models/echarts.js +22 -12
- package/dist/lib/models/echarts.js.map +1 -1
- package/dist/lib/models/file_download.d.ts +2 -2
- package/dist/lib/models/file_download.js +18 -17
- package/dist/lib/models/file_download.js.map +1 -1
- package/dist/lib/models/html.d.ts +5 -3
- package/dist/lib/models/html.js +20 -16
- package/dist/lib/models/html.js.map +1 -1
- package/dist/lib/models/index.d.ts +1 -2
- package/dist/lib/models/index.js +1 -2
- package/dist/lib/models/index.js.map +1 -1
- package/dist/lib/models/ipywidget.d.ts +2 -6
- package/dist/lib/models/ipywidget.js +14 -24
- package/dist/lib/models/ipywidget.js.map +1 -1
- package/dist/lib/models/json.d.ts +1 -1
- package/dist/lib/models/json.js +14 -12
- package/dist/lib/models/json.js.map +1 -1
- package/dist/lib/models/jsoneditor.d.ts +9 -6
- package/dist/lib/models/jsoneditor.js +27 -18
- package/dist/lib/models/jsoneditor.js.map +1 -1
- package/dist/lib/models/katex.d.ts +0 -1
- package/dist/lib/models/katex.js +7 -6
- package/dist/lib/models/katex.js.map +1 -1
- package/dist/lib/models/layout.d.ts +25 -22
- package/dist/lib/models/layout.js +75 -81
- package/dist/lib/models/layout.js.map +1 -1
- package/dist/lib/models/location.d.ts +0 -1
- package/dist/lib/models/location.js +15 -14
- package/dist/lib/models/location.js.map +1 -1
- package/dist/lib/models/mathjax.d.ts +0 -3
- package/dist/lib/models/mathjax.js +6 -16
- package/dist/lib/models/mathjax.js.map +1 -1
- package/dist/lib/models/pdf.d.ts +24 -0
- package/dist/lib/models/pdf.js +62 -0
- package/dist/lib/models/pdf.js.map +1 -0
- package/dist/lib/models/perspective.d.ts +4 -9
- package/dist/lib/models/perspective.js +36 -64
- package/dist/lib/models/perspective.js.map +1 -1
- package/dist/lib/models/player.d.ts +0 -1
- package/dist/lib/models/player.js +18 -17
- package/dist/lib/models/player.js.map +1 -1
- package/dist/lib/models/plotly.d.ts +3 -7
- package/dist/lib/models/plotly.js +60 -67
- package/dist/lib/models/plotly.js.map +1 -1
- package/dist/lib/models/progress.d.ts +4 -7
- package/dist/lib/models/progress.js +28 -32
- package/dist/lib/models/progress.js.map +1 -1
- package/dist/lib/models/quill.d.ts +3 -6
- package/dist/lib/models/quill.js +25 -24
- package/dist/lib/models/quill.js.map +1 -1
- package/dist/lib/models/reactive_html.d.ts +6 -12
- package/dist/lib/models/reactive_html.js +48 -121
- package/dist/lib/models/reactive_html.js.map +1 -1
- package/dist/lib/models/singleselect.d.ts +0 -1
- package/dist/lib/models/singleselect.js +11 -10
- package/dist/lib/models/singleselect.js.map +1 -1
- package/dist/lib/models/speech_to_text.d.ts +1 -2
- package/dist/lib/models/speech_to_text.js +27 -26
- package/dist/lib/models/speech_to_text.js.map +1 -1
- package/dist/lib/models/state.d.ts +0 -2
- package/dist/lib/models/state.js +12 -13
- package/dist/lib/models/state.js.map +1 -1
- package/dist/lib/models/tabulator.d.ts +10 -14
- package/dist/lib/models/tabulator.js +73 -150
- package/dist/lib/models/tabulator.js.map +1 -1
- package/dist/lib/models/terminal.d.ts +6 -7
- package/dist/lib/models/terminal.js +20 -26
- package/dist/lib/models/terminal.js.map +1 -1
- package/dist/lib/models/text_to_speech.d.ts +1 -2
- package/dist/lib/models/text_to_speech.js +16 -15
- package/dist/lib/models/text_to_speech.js.map +1 -1
- package/dist/lib/models/trend.d.ts +1 -2
- package/dist/lib/models/trend.js +24 -23
- package/dist/lib/models/trend.js.map +1 -1
- package/dist/lib/models/vega.d.ts +7 -6
- package/dist/lib/models/vega.js +31 -36
- package/dist/lib/models/vega.js.map +1 -1
- package/dist/lib/models/video.d.ts +2 -4
- package/dist/lib/models/video.js +18 -18
- package/dist/lib/models/video.js.map +1 -1
- package/dist/lib/models/videostream.d.ts +2 -4
- package/dist/lib/models/videostream.js +19 -19
- package/dist/lib/models/videostream.js.map +1 -1
- package/dist/lib/models/vtk/util.d.ts +4 -4
- package/dist/lib/models/vtk/vtkaxes.d.ts +1 -2
- package/dist/lib/models/vtk/vtkaxes.js +15 -14
- package/dist/lib/models/vtk/vtkaxes.js.map +1 -1
- package/dist/lib/models/vtk/vtkjs.d.ts +0 -1
- package/dist/lib/models/vtk/vtkjs.js +9 -8
- package/dist/lib/models/vtk/vtkjs.js.map +1 -1
- package/dist/lib/models/vtk/vtklayout.d.ts +2 -5
- package/dist/lib/models/vtk/vtklayout.js +24 -30
- package/dist/lib/models/vtk/vtklayout.js.map +1 -1
- package/dist/lib/models/vtk/vtksynchronized.d.ts +0 -1
- package/dist/lib/models/vtk/vtksynchronized.js +17 -16
- package/dist/lib/models/vtk/vtksynchronized.js.map +1 -1
- package/dist/lib/models/vtk/vtkvolume.d.ts +0 -1
- package/dist/lib/models/vtk/vtkvolume.js +27 -26
- package/dist/lib/models/vtk/vtkvolume.js.map +1 -1
- package/dist/lib/styles/alerts.css.d.ts +1 -2
- package/dist/lib/styles/alerts.css.js +1 -139
- package/dist/lib/styles/booleanstatus.css.d.ts +1 -0
- package/dist/lib/styles/booleanstatus.css.js +1 -0
- package/dist/lib/styles/card.css.d.ts +1 -2
- package/dist/lib/styles/card.css.js +1 -43
- package/dist/lib/styles/dataframe.css.d.ts +1 -2
- package/dist/lib/styles/dataframe.css.js +1 -44
- package/dist/lib/styles/debugger.css.d.ts +1 -2
- package/dist/lib/styles/debugger.css.js +1 -68
- package/dist/lib/styles/divider.css.d.ts +2 -0
- package/dist/lib/styles/divider.css.js +2 -0
- package/dist/lib/styles/editable_slider.css.d.ts +6 -0
- package/dist/lib/styles/editable_slider.css.js +6 -0
- package/dist/lib/styles/json.css.d.ts +1 -2
- package/dist/lib/styles/json.css.js +1 -197
- package/dist/lib/styles/katex.css.d.ts +1 -0
- package/dist/lib/styles/katex.css.js +1 -0
- package/dist/lib/styles/loading.css.d.ts +1 -2
- package/dist/lib/styles/loading.css.js +1 -31
- package/dist/lib/styles/loadingspinner.css.d.ts +1 -0
- package/dist/lib/styles/loadingspinner.css.js +17 -0
- package/dist/lib/styles/markdown.css.d.ts +1 -2
- package/dist/lib/styles/markdown.css.js +1 -91
- package/dist/lib/styles/perspective-datatable.css.d.ts +1 -0
- package/dist/lib/styles/perspective-datatable.css.js +1 -0
- package/dist/lib/styles/plotly.css.d.ts +1 -0
- package/dist/lib/styles/plotly.css.js +1 -0
- package/dist/lib/styles/progress.css.d.ts +1 -0
- package/dist/lib/styles/progress.css.js +22 -0
- package/dist/lib/styles/widgetbox.css.d.ts +1 -0
- package/dist/lib/styles/widgetbox.css.js +1 -0
- package/dist/lib/styles/widgets.css.d.ts +2 -2
- package/dist/lib/styles/widgets.css.js +2 -320
- package/dist/panel.js +4467 -5894
- package/dist/panel.js.map +1 -1
- package/dist/panel.json +1 -1
- package/dist/panel.min.js +65 -102
- package/dist/wheels/bokeh-3.1.0.dev4-py3-none-any.whl +0 -0
- package/dist/wheels/panel-1.0.0a1-py3-none-any.whl +0 -0
- package/package.json +5 -4
- package/dist/bundled/bootstraptemplate/dark.css +0 -19
- package/dist/bundled/css/golden-layout@1.5.9/src/css/goldenlayout-base.css +0 -1
- package/dist/bundled/css/panel/0.14.3/dist/bundled/bootstrap4/css/bootstrap.min.css +0 -2
- package/dist/bundled/css/panel/0.14.3/dist/bundled/font-awesome/css/all.min.css +0 -2
- package/dist/bundled/datatabulator/@holoviz/panel@0.14.3/dist/bundled/datatabulator/tabulator-tables@5.3.2/dist/css/fast/tabulator_fast.min.css +0 -1
- package/dist/bundled/datatabulator/tabulator-tables@5.3.2/dist/css/fast/tabulator_fast.min.css +0 -1
- package/dist/bundled/fastbasetemplate/fast_awesome.css +0 -13
- package/dist/bundled/fastbasetemplate/fast_bokeh.css +0 -1646
- package/dist/bundled/fastbasetemplate/fast_bokeh_slickgrid.css +0 -200
- package/dist/bundled/fastbasetemplate/fast_panel.css +0 -53
- package/dist/bundled/fastbasetemplate/fast_panel_dataframe.css +0 -14
- package/dist/bundled/fastbasetemplate/fast_panel_markdown.css +0 -23
- package/dist/bundled/fastbasetemplate/fast_panel_widgets.css +0 -301
- package/dist/bundled/fastbasetemplate/fast_root.css +0 -41
- package/dist/bundled/fastdarktheme/fast_root_dark.css +0 -4
- package/dist/bundled/fastdefaulttheme/fast_root_default.css +0 -4
- package/dist/bundled/fastgridtemplate/dark.css +0 -26
- package/dist/bundled/fastgridtemplate/default.css +0 -4
- package/dist/bundled/fastlisttemplate/dark.css +0 -13
- package/dist/bundled/fastlisttemplate/default.css +0 -1
- package/dist/bundled/fastlisttemplate/fast_list_template.css +0 -237
- package/dist/bundled/goldentemplate/dark.css +0 -26
- package/dist/bundled/goldentemplate/default.css +0 -23
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/array-pixel-blob.js +0 -39
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-blending.js +0 -270
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-converters.js +0 -524
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-hsl.js +0 -42
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-hsv.js +0 -42
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-interpolation.js +0 -133
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-lab.js +0 -47
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-lch.js +0 -50
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-palette.js +0 -285
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-quantization.js +0 -135
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-rgba-64.js +0 -95
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-scale.js +0 -176
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/color-xyz.js +0 -50
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/component-state-color-palette.js +0 -113
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/histogram.js +0 -76
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/index.js +0 -19
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/math-utilities.js +0 -138
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/named-colors.js +0 -743
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/palette-extractor.js +0 -134
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/parse-color.js +0 -219
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/pixel-blob.js +0 -72
- package/dist/bundled/js/@microsoft/fast-colors@5.3.1/dist/pixel-box.js +0 -249
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/__test__/harness.js +0 -33
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/__test__/server.js +0 -36
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/dist/fast-components.iife.min.js +0 -19
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/dist/fast-components.js +0 -25813
- package/dist/bundled/js/@microsoft/fast-components@1.21.8/dist/fast-components.min.js +0 -19
- package/dist/bundled/js/ajax/libs/react-grid-layout/1.1.1/react-grid-layout.min.js +0 -7
- package/dist/bundled/js/ajax/libs/react-grid-layout/1.1.1/react-grid-layout.min.js.map +0 -1
- package/dist/bundled/js/panel/0.14.3/dist/bundled/bootstrap4/js/bootstrap.bundle.min.js +0 -2
- package/dist/bundled/js/panel/0.14.3/dist/bundled/jquery/jquery.slim.min.js +0 -2
- package/dist/bundled/js/react-dom@18/umd/react-dom.production.min.js +0 -267
- package/dist/bundled/js/react@18/umd/react.production.min.js +0 -31
- package/dist/bundled/notificationarea/panel/0.14.3/dist/bundled/font-awesome/css/all.min.css +0 -2
- package/dist/bundled/plotlyplot/panel/0.14.3/dist/bundled/jquery/jquery.slim.min.js +0 -2
- package/dist/bundled/reacttemplate/dark.css +0 -18
- package/dist/bundled/reacttemplate/default.css +0 -12
- package/dist/bundled/theme/dark.css +0 -107
- package/dist/bundled/theme/default.css +0 -3
- package/dist/bundled/vanillatemplate/default.css +0 -8
- package/dist/idom/package.json +0 -38
- package/dist/lib/models/idom.d.ts +0 -36
- package/dist/lib/models/idom.js +0 -239
- package/dist/lib/models/idom.js.map +0 -1
- package/dist/lib/models/tabs.d.ts +0 -24
- package/dist/lib/models/tabs.js +0 -231
- package/dist/lib/models/tabs.js.map +0 -1
- package/dist/wheels/bokeh-2.4.3-py3-none-any.whl +0 -0
- package/dist/wheels/panel-0.14.3-py3-none-any.whl +0 -0
- /package/dist/bundled/{js/babel-standalone@latest → babel-standalone@latest}/babel.min.js +0 -0
- /package/dist/bundled/{js/golden-layout@1.5.9 → golden-layout@1.5.9}/dist/goldenlayout.min.js +0 -0
- /package/dist/bundled/{css/material-components-web@7.0.0 → material-components-web@7.0.0}/dist/material-components-web.min.css +0 -0
- /package/dist/bundled/{js/material-components-web@7.0.0 → material-components-web@7.0.0}/dist/material-components-web.min.js +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
!function(e){"use strict";
|
|
2
|
-
/*! *****************************************************************************
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */function t(e,t,i,o){var s,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n}const i=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(e){return{}}}();void 0===i.trustedTypes&&(i.trustedTypes={createPolicy:(e,t)=>t});const o=Object.freeze([]),s=[],r=i.trustedTypes.createPolicy("fast-html",{createHTML:e=>e});let n=r;function a(){let e=0;for(;e<s.length;){if(s[e].call(),e++,e>1024){for(let t=0,i=s.length-e;t<i;t++)s[t]=s[t+e];s.length-=e,e=0}}s.length=0}const l="fast-"+Math.random().toString(36).substring(2,8),c=l+"{",d="}"+l,h=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(n!==r)throw new Error("The HTML policy can only be set once.");n=e},createHTML:e=>n.createHTML(e),isMarker:e=>e&&8===e.nodeType&&e.data.startsWith(l),extractDirectiveIndexFromMarker:e=>parseInt(e.data.replace(l+":","")),createInterpolationPlaceholder:e=>`${c}${e}${d}`,createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder:e=>`\x3c!--${l}:${e}--\x3e`,queueUpdate(e){s.length<1&&window.requestAnimationFrame(a),s.push(e)},nextUpdate:()=>new Promise(e=>{h.queueUpdate(e)}),setAttribute(e,t,i){null==i?e.removeAttribute(t):e.setAttribute(t,i)},setBooleanAttribute(e,t,i){i?e.setAttribute(t,""):e.removeAttribute(t)},removeChildNodes(e){for(let t=e.firstChild;null!==t;t=e.firstChild)e.removeChild(t)},createTemplateWalker:e=>document.createTreeWalker(e,133,null,!1)});function u(e){const t=this.spillover;-1===t.indexOf(e)&&t.push(e)}function p(e){const t=this.spillover,i=t.indexOf(e);-1!==i&&t.splice(i,1)}function g(e){const t=this.spillover,i=this.source;for(let o=0,s=t.length;o<s;++o)t[o].handleChange(i,e)}function v(e){return-1!==this.spillover.indexOf(e)}class f{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=e,this.sub1=t}has(e){return this.sub1===e||this.sub2===e}subscribe(e){this.has(e)||(void 0!==this.sub1?void 0!==this.sub2?(this.spillover=[this.sub1,this.sub2,e],this.subscribe=u,this.unsubscribe=p,this.notify=g,this.has=v,this.sub1=void 0,this.sub2=void 0):this.sub2=e:this.sub1=e)}unsubscribe(e){this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0)}notify(e){const t=this.sub1,i=this.sub2,o=this.source;void 0!==t&&t.handleChange(o,e),void 0!==i&&i.handleChange(o,e)}}class m{constructor(e){this.subscribers={},this.source=e}notify(e){const t=this.subscribers[e];void 0!==t&&t.notify(e)}subscribe(e,t){let i=this.subscribers[t];void 0===i&&(this.subscribers[t]=i=new f(this.source)),i.subscribe(e)}unsubscribe(e,t){const i=this.subscribers[t];void 0!==i&&i.unsubscribe(e)}}const b=/(:|&&|\|\||if)/,y=new WeakMap,x=new WeakMap;let C=void 0,w=e=>{throw new Error("Must call enableArrayObservation before observing arrays.")};class ${constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==C&&C.watch(e,this.name),e[this.field]}setValue(e,t){const i=this.field,o=e[i];if(o!==t){e[i]=t;const s=e[this.callback];"function"==typeof s&&s.call(e,o,t),S(e).notify(this.name)}}}const k=Object.freeze({setArrayObserverFactory(e){w=e},getNotifier(e){let t=e.$fastController||y.get(e);return void 0===t&&(Array.isArray(e)?t=w(e):y.set(e,t=new m(e))),t},track(e,t){void 0!==C&&C.watch(e,t)},trackVolatile(){void 0!==C&&(C.needsRefresh=!0)},notify(e,t){S(e).notify(t)},defineProperty(e,t){"string"==typeof t&&(t=new $(t)),this.getAccessors(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get:function(){return t.getValue(this)},set:function(e){t.setValue(this,e)}})},getAccessors(e){let t=x.get(e);if(void 0===t){let i=Reflect.getPrototypeOf(e);for(;void 0===t&&null!==i;)t=x.get(i),i=Reflect.getPrototypeOf(i);t=void 0===t?[]:t.slice(0),x.set(e,t)}return t},binding(e,t,i=this.isVolatileBinding(e)){return new R(e,t,i)},isVolatileBinding:e=>b.test(e.toString())}),S=k.getNotifier,T=k.trackVolatile,F=h.queueUpdate;function A(e,t){k.defineProperty(e,t)}let D=null;function P(e){D=e}class I{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return D}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}}k.defineProperty(I.prototype,"index"),k.defineProperty(I.prototype,"length");const E=Object.seal(new I);class R extends f{constructor(e,t,i=!1){super(e,t),this.binding=e,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(e,t){this.needsRefresh&&null!==this.last&&this.disconnect();const i=C;C=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;const o=this.binding(e,t);return C=i,o}disconnect(){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=!0}}watch(e,t){const i=this.last,o=S(e),s=null===i?this.first:{};if(s.propertySource=e,s.propertyName=t,s.notifier=o,o.subscribe(this,t),null!==i){if(!this.needsRefresh){C=void 0;const t=i.propertySource[i.propertyName];C=this,e===t&&(this.needsRefresh=!0)}i.next=s}this.last=s}handleChange(){this.needsQueue&&(this.needsQueue=!1,F(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let e=this.first;return{next:()=>{const t=e;return void 0===t?{value:void 0,done:!0}:(e=e.next,{value:t,done:!1})},[Symbol.iterator]:function(){return this}}}}class O{constructor(){this.targetIndex=0}}class L extends O{constructor(){super(...arguments),this.createPlaceholder=h.createInterpolationPlaceholder}}class B extends O{constructor(e,t,i){super(),this.name=e,this.behavior=t,this.options=i}createPlaceholder(e){return h.createCustomAttributePlaceholder(this.name,e)}createBehavior(e){return new this.behavior(e,this.options)}}function H(e,t){this.source=e,this.context=t,null===this.bindingObserver&&(this.bindingObserver=k.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function M(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function z(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function N(){this.bindingObserver.disconnect(),this.source=null,this.context=null;const e=this.target.$fastView;void 0!==e&&e.isComposed&&(e.unbind(),e.needsBindOnly=!0)}function V(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function j(e){h.setAttribute(this.target,this.targetName,e)}function _(e){h.setBooleanAttribute(this.target,this.targetName,e)}function G(e){if(null==e&&(e=""),e.create){this.target.textContent="";let t=this.target.$fastView;void 0===t?t=e.create():this.target.$fastTemplate!==e&&(t.isComposed&&(t.remove(),t.unbind()),t=e.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(this.source,this.context)):(t.isComposed=!0,t.bind(this.source,this.context),t.insertBefore(this.target),this.target.$fastView=t,this.target.$fastTemplate=e)}else{const t=this.target.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),this.target.textContent=e}}function q(e){this.target[this.targetName]=e}function U(e){const t=this.classVersions||Object.create(null),i=this.target;let o=this.version||0;if(null!=e&&e.length){const s=e.split(/\s+/);for(let e=0,r=s.length;e<r;++e){const r=s[e];""!==r&&(t[r]=o,i.classList.add(r))}}if(this.classVersions=t,this.version=o+1,0!==o){o-=1;for(const e in t)t[e]===o&&i.classList.remove(e)}}class W extends L{constructor(e){super(),this.binding=e,this.bind=H,this.unbind=z,this.updateTarget=j,this.isBindingVolatile=k.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(e){if(this.originalTargetName=e,void 0!==e)switch(e[0]){case":":if(this.cleanedTargetName=e.substr(1),this.updateTarget=q,"innerHTML"===this.cleanedTargetName){const e=this.binding;this.binding=(t,i)=>h.createHTML(e(t,i))}break;case"?":this.cleanedTargetName=e.substr(1),this.updateTarget=_;break;case"@":this.cleanedTargetName=e.substr(1),this.bind=M,this.unbind=V;break;default:this.cleanedTargetName=e,"class"===e&&(this.updateTarget=U)}}targetAtContent(){this.updateTarget=G,this.unbind=N}createBehavior(e){return new K(e,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class K{constructor(e,t,i,o,s,r,n){this.source=null,this.context=null,this.bindingObserver=null,this.target=e,this.binding=t,this.isBindingVolatile=i,this.bind=o,this.unbind=s,this.updateTarget=r,this.targetName=n}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(e){P(e);const t=this.binding(this.source,this.context);P(null),!0!==t&&e.preventDefault()}}let Q=null;class X{addFactory(e){e.targetIndex=this.targetIndex,this.behaviorFactories.push(e)}captureContentBinding(e){e.targetAtContent(),this.addFactory(e)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){Q=this}static borrow(e){const t=Q||new X;return t.directives=e,t.reset(),Q=null,t}}function Y(e){if(1===e.length)return e[0];let t;const i=e.length,o=e.map(e=>"string"==typeof e?()=>e:(t=e.targetName||t,e.binding)),s=new W((e,t)=>{let s="";for(let r=0;r<i;++r)s+=o[r](e,t);return s});return s.targetName=t,s}const Z=d.length;function J(e,t){const i=t.split(c);if(1===i.length)return null;const o=[];for(let t=0,s=i.length;t<s;++t){const s=i[t],r=s.indexOf(d);let n;if(-1===r)n=s;else{const t=parseInt(s.substring(0,r));o.push(e.directives[t]),n=s.substring(r+Z)}""!==n&&o.push(n)}return o}function ee(e,t,i=!1){const o=t.attributes;for(let s=0,r=o.length;s<r;++s){const n=o[s],a=n.value,l=J(e,a);let c=null;null===l?i&&(c=new W(()=>a),c.targetName=n.name):c=Y(l),null!==c&&(t.removeAttributeNode(n),s--,r--,e.addFactory(c))}}function te(e,t,i){const o=J(e,t.textContent);if(null!==o){let s=t;for(let r=0,n=o.length;r<n;++r){const n=o[r],a=0===r?t:s.parentNode.insertBefore(document.createTextNode(""),s.nextSibling);"string"==typeof n?a.textContent=n:(a.textContent=" ",e.captureContentBinding(n)),s=a,e.targetIndex++,a!==t&&i.nextNode()}e.targetIndex--}}function ie(e,t){const i=e.content;document.adoptNode(i);const o=X.borrow(t);ee(o,e,!0);const s=o.behaviorFactories;o.reset();const r=h.createTemplateWalker(i);let n;for(;n=r.nextNode();)switch(o.targetIndex++,n.nodeType){case 1:ee(o,n);break;case 3:te(o,n,r);break;case 8:h.isMarker(n)&&o.addFactory(t[h.extractDirectiveIndexFromMarker(n)])}let a=0;(h.isMarker(i.firstChild)||1===i.childNodes.length&&t.length)&&(i.insertBefore(document.createComment(""),i.firstChild),a=-1);const l=o.behaviorFactories;return o.release(),{fragment:i,viewBehaviorFactories:l,hostBehaviorFactories:s,targetOffset:a}}const oe=document.createRange();class se{constructor(e,t){this.fragment=e,this.behaviors=t,this.source=null,this.context=null,this.firstChild=e.firstChild,this.lastChild=e.lastChild}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=e.parentNode,i=this.lastChild;let o,s=this.firstChild;for(;s!==i;)o=s.nextSibling,t.insertBefore(s,e),s=o;t.insertBefore(i,e)}}remove(){const e=this.fragment,t=this.lastChild;let i,o=this.firstChild;for(;o!==t;)i=o.nextSibling,e.appendChild(o),o=i;e.appendChild(t)}dispose(){const e=this.firstChild.parentNode,t=this.lastChild;let i,o=this.firstChild;for(;o!==t;)i=o.nextSibling,e.removeChild(o),o=i;e.removeChild(t);const s=this.behaviors,r=this.source;for(let e=0,t=s.length;e<t;++e)s[e].unbind(r)}bind(e,t){const i=this.behaviors;if(this.source!==e)if(null!==this.source){const o=this.source;this.source=e,this.context=t;for(let s=0,r=i.length;s<r;++s){const r=i[s];r.unbind(o),r.bind(e,t)}}else{this.source=e,this.context=t;for(let o=0,s=i.length;o<s;++o)i[o].bind(e,t)}}unbind(){if(null===this.source)return;const e=this.behaviors,t=this.source;for(let i=0,o=e.length;i<o;++i)e[i].unbind(t);this.source=null}static disposeContiguousBatch(e){if(0!==e.length){oe.setStartBefore(e[0].firstChild),oe.setEndAfter(e[e.length-1].lastChild),oe.deleteContents();for(let t=0,i=e.length;t<i;++t){const i=e[t],o=i.behaviors,s=i.source;for(let e=0,t=o.length;e<t;++e)o[e].unbind(s)}}}}class re{constructor(e,t){this.behaviorCount=0,this.hasHostBehaviors=!1,this.fragment=null,this.targetOffset=0,this.viewBehaviorFactories=null,this.hostBehaviorFactories=null,this.html=e,this.directives=t}create(e){if(null===this.fragment){let e;const t=this.html;if("string"==typeof t){e=document.createElement("template"),e.innerHTML=h.createHTML(t);const i=e.content.firstElementChild;null!==i&&"TEMPLATE"===i.tagName&&(e=i)}else e=t;const i=ie(e,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 t=this.fragment.cloneNode(!0),i=this.viewBehaviorFactories,o=new Array(this.behaviorCount),s=h.createTemplateWalker(t);let r=0,n=this.targetOffset,a=s.nextNode();for(let e=i.length;r<e;++r){const e=i[r],t=e.targetIndex;for(;null!==a;){if(n===t){o[r]=e.createBehavior(a);break}a=s.nextNode(),n++}}if(this.hasHostBehaviors){const t=this.hostBehaviorFactories;for(let i=0,s=t.length;i<s;++i,++r)o[r]=t[i].createBehavior(e)}return new se(t,o)}render(e,t,i){"string"==typeof t&&(t=document.getElementById(t)),void 0===i&&(i=t);const o=this.create(i);return o.bind(e,E),o.appendTo(t),o}}const ne=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function ae(e,...t){const i=[];let o="";for(let s=0,r=e.length-1;s<r;++s){const r=e[s];let n=t[s];if(o+=r,n instanceof re){const e=n;n=()=>e}if("function"==typeof n&&(n=new W(n)),n instanceof L){const e=ne.exec(r);null!==e&&(n.targetName=e[2])}n instanceof O?(o+=n.createPlaceholder(i.length),i.push(n)):o+=n}return o+=e[e.length-1],new re(o,i)}class le{constructor(){this.targets=new WeakSet,this.behaviors=null}addStylesTo(e){this.targets.add(e)}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}}function ce(e){return e.map(e=>e instanceof le?ce(e.styles):[e]).reduce((e,t)=>e.concat(t),[])}function de(e){return e.map(e=>e instanceof le?e.behaviors:null).reduce((e,t)=>null===t?e:(null===e&&(e=[]),e.concat(t)),null)}le.create=(()=>{if(h.supportsAdoptedStyleSheets){const e=new Map;return t=>new he(t,e)}return e=>new pe(e)})();class he extends le{constructor(e,t){super(),this.styles=e,this.styleSheetCache=t,this._styleSheets=void 0,this.behaviors=de(e)}get styleSheets(){if(void 0===this._styleSheets){const e=this.styles,t=this.styleSheetCache;this._styleSheets=ce(e).map(e=>{if(e instanceof CSSStyleSheet)return e;let i=t.get(e);return void 0===i&&(i=new CSSStyleSheet,i.replaceSync(e),t.set(e,i)),i})}return this._styleSheets}addStylesTo(e){e.adoptedStyleSheets=[...e.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(e)}removeStylesFrom(e){const t=this.styleSheets;e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e)),super.removeStylesFrom(e)}}let ue=0;class pe extends le{constructor(e){super(),this.styles=e,this.behaviors=null,this.behaviors=de(e),this.styleSheets=ce(e),this.styleClass="fast-style-class-"+ ++ue}addStylesTo(e){const t=this.styleSheets,i=this.styleClass;e=this.normalizeTarget(e);for(let o=t.length-1;o>-1;--o){const s=document.createElement("style");s.innerHTML=t[o],s.className=i,e.prepend(s)}super.addStylesTo(e)}removeStylesFrom(e){const t=(e=this.normalizeTarget(e)).querySelectorAll("."+this.styleClass);for(let i=0,o=t.length;i<o;++i)e.removeChild(t[i]);super.removeStylesFrom(e)}isAttachedTo(e){return super.isAttachedTo(this.normalizeTarget(e))}normalizeTarget(e){return e===document?document.body:e}}const ge={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e},ve={toView(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t.toString()},fromView(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}};class fe{constructor(e,t,i=t.toLowerCase(),o="reflect",s){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=i,this.mode=o,this.converter=s,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===o&&void 0===s&&(this.converter=ge)}setValue(e,t){const i=e[this.fieldName],o=this.converter;void 0!==o&&(t=o.fromView(t)),i!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](i,t),e.$fastController.notify(this.name))}getValue(e){return k.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,i=this.guards;i.has(e)||"fromView"===t||h.queueUpdate(()=>{i.add(e);const o=e[this.fieldName];switch(t){case"reflect":const t=this.converter;h.setAttribute(e,this.attribute,void 0!==t?t.toView(o):o);break;case"boolean":h.setBooleanAttribute(e,this.attribute,o)}i.delete(e)})}static collect(e,...t){const i=[];t.push(e.attributes);for(let o=0,s=t.length;o<s;++o){const s=t[o];if(void 0!==s)for(let t=0,o=s.length;t<o;++t){const o=s[t];"string"==typeof o?i.push(new fe(e,o)):i.push(new fe(e,o.property,o.attribute,o.mode,o.converter))}}return i}}function me(e,t){let i;function o(e,t){arguments.length>1&&(i.property=t);const o=e.constructor.attributes||(e.constructor.attributes=[]);o.push(i)}return arguments.length>1?(i={},void o(e,t)):(i=void 0===e?{}:e,o)}const be={mode:"open"},ye={},xe=new Map;class Ce{constructor(e,t=e.definition){"string"==typeof t&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template;const i=fe.collect(e,t.attributes),o=new Array(i.length),s={},r={};for(let e=0,t=i.length;e<t;++e){const t=i[e];o[e]=t.attribute,s[t.name]=t,r[t.attribute]=t}this.attributes=i,this.observedAttributes=o,this.propertyLookup=s,this.attributeLookup=r,this.shadowOptions=void 0===t.shadowOptions?be:null===t.shadowOptions?void 0:Object.assign(Object.assign({},be),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?ye:Object.assign(Object.assign({},ye),t.elementOptions),this.styles=void 0===t.styles?void 0:Array.isArray(t.styles)?le.create(t.styles):t.styles instanceof le?t.styles:le.create([t.styles])}define(e=customElements){const t=this.type;if(!this.isDefined){const e=this.attributes,i=t.prototype;for(let t=0,o=e.length;t<o;++t)k.defineProperty(i,e[t]);Reflect.defineProperty(t,"observedAttributes",{value:this.observedAttributes,enumerable:!0}),xe.set(t,this),this.isDefined=!0}return e.get(this.name)||e.define(this.name,t,this.elementOptions),this}static forType(e){return xe.get(e)}}const we=new WeakMap,$e={bubbles:!0,composed:!0,cancelable:!0};function ke(e){return e.shadowRoot||we.get(e)||null}class Se extends m{constructor(e,t){super(e),this.boundObservables=null,this.behaviors=null,this.needsInitialization=!0,this._template=null,this._styles=null,this._isConnected=!1,this.view=null,this.element=e,this.definition=t;const i=t.shadowOptions;if(void 0!==i){const t=e.attachShadow(i);"closed"===i.mode&&we.set(e,t)}const o=k.getAccessors(e);if(o.length>0){const t=this.boundObservables=Object.create(null);for(let i=0,s=o.length;i<s;++i){const s=o[i].name,r=e[s];void 0!==r&&(delete e[s],t[s]=r)}}}get isConnected(){return k.track(this,"isConnected"),this._isConnected}setIsConnected(e){this._isConnected=e,k.notify(this,"isConnected")}get template(){return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get styles(){return this._styles}set styles(e){this._styles!==e&&(null!==this._styles&&this.removeStyles(this._styles),this._styles=e,this.needsInitialization||null===e||this.addStyles(e))}addStyles(e){const t=ke(this.element)||this.element.getRootNode();if(e instanceof HTMLStyleElement)t.prepend(e);else if(!e.isAttachedTo(t)){const i=e.behaviors;e.addStylesTo(t),null!==i&&this.addBehaviors(i)}}removeStyles(e){const t=ke(this.element)||this.element.getRootNode();if(e instanceof HTMLStyleElement)t.removeChild(e);else if(e.isAttachedTo(t)){const i=e.behaviors;e.removeStylesFrom(t),null!==i&&this.removeBehaviors(i)}}addBehaviors(e){const t=this.behaviors||(this.behaviors=new Map),i=e.length,o=[];for(let s=0;s<i;++s){const i=e[s];t.has(i)?t.set(i,t.get(i)+1):(t.set(i,1),o.push(i))}if(this._isConnected){const e=this.element;for(let t=0;t<o.length;++t)o[t].bind(e,E)}}removeBehaviors(e,t=!1){const i=this.behaviors;if(null===i)return;const o=e.length,s=[];for(let r=0;r<o;++r){const o=e[r];if(i.has(o)){const e=i.get(o)-1;0===e||t?i.delete(o)&&s.push(o):i.set(o,e)}}if(this._isConnected){const e=this.element;for(let t=0;t<s.length;++t)s[t].unbind(e)}}onConnectedCallback(){if(this._isConnected)return;const e=this.element;this.needsInitialization?this.finishInitialization():null!==this.view&&this.view.bind(e,E);const t=this.behaviors;if(null!==t)for(const[i]of t)i.bind(e,E);this.setIsConnected(!0)}onDisconnectedCallback(){if(!this._isConnected)return;this.setIsConnected(!1);const e=this.view;null!==e&&e.unbind();const t=this.behaviors;if(null!==t){const e=this.element;for(const[i]of t)i.unbind(e)}}onAttributeChangedCallback(e,t,i){const o=this.definition.attributeLookup[e];void 0!==o&&o.onAttributeChangedCallback(this.element,i)}emit(e,t,i){return!!this._isConnected&&this.element.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},$e),i)))}finishInitialization(){const e=this.element,t=this.boundObservables;if(null!==t){const i=Object.keys(t);for(let o=0,s=i.length;o<s;++o){const s=i[o];e[s]=t[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(e){const t=this.element,i=ke(t)||t;null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||h.removeChildNodes(i),e&&(this.view=e.render(t,i,t))}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const i=Ce.forType(e.constructor);if(void 0===i)throw new Error("Missing FASTElement definition.");return e.$fastController=new Se(e,i)}}function Te(e){return class extends e{constructor(){super(),Se.forCustomElement(this)}$emit(e,t,i){return this.$fastController.emit(e,t,i)}connectedCallback(){this.$fastController.onConnectedCallback()}disconnectedCallback(){this.$fastController.onDisconnectedCallback()}attributeChangedCallback(e,t,i){this.$fastController.onAttributeChangedCallback(e,t,i)}}}const Fe=Object.assign(Te(HTMLElement),{from:e=>Te(e),define:(e,t)=>new Ce(e,t).define().type});function Ae(e){return function(t){new Ce(t,e).define()}}class De{createCSS(){return""}createBehavior(){}}function Pe(e,t){const i=[];let o="";const s=[];for(let r=0,n=e.length-1;r<n;++r){o+=e[r];let n=t[r];if(n instanceof De){const e=n.createBehavior();n=n.createCSS(),e&&s.push(e)}n instanceof le||n instanceof CSSStyleSheet?(""!==o.trim()&&(i.push(o),o=""),i.push(n)):o+=n}return o+=e[e.length-1],""!==o.trim()&&i.push(o),{styles:i,behaviors:s}}function Ie(e,...t){const{styles:i,behaviors:o}=Pe(e,t),s=le.create(i);return o.length&&s.withBehaviors(...o),s}class Ee extends De{constructor(e,t){super(),this.behaviors=t,this.css="";const i=e.reduce((e,t)=>("string"==typeof t?this.css+=t:e.push(t),e),[]);i.length&&(this.styles=le.create(i))}createBehavior(){return this}createCSS(){return this.css}bind(e){this.styles&&e.$fastController.addStyles(this.styles),this.behaviors.length&&e.$fastController.addBehaviors(this.behaviors)}unbind(e){this.styles&&e.$fastController.removeStyles(this.styles),this.behaviors.length&&e.$fastController.removeBehaviors(this.behaviors)}}function Re(e,t,i){return{index:e,removed:t,addedCount:i}}function Oe(e,t,i,s,r,n){let a=0,l=0;const c=Math.min(i-t,n-r);if(0===t&&0===r&&(a=function(e,t,i){for(let o=0;o<i;++o)if(e[o]!==t[o])return o;return i}(e,s,c)),i===e.length&&n===s.length&&(l=function(e,t,i){let o=e.length,s=t.length,r=0;for(;r<i&&e[--o]===t[--s];)r++;return r}(e,s,c-a)),r+=a,n-=l,(i-=l)-(t+=a)==0&&n-r==0)return o;if(t===i){const e=Re(t,[],0);for(;r<n;)e.removed.push(s[r++]);return[e]}if(r===n)return[Re(t,[],i-t)];const d=function(e){let t=e.length-1,i=e[0].length-1,o=e[t][i];const s=[];for(;t>0||i>0;){if(0===t){s.push(2),i--;continue}if(0===i){s.push(3),t--;continue}const r=e[t-1][i-1],n=e[t-1][i],a=e[t][i-1];let l;l=n<a?n<r?n:r:a<r?a:r,l===r?(r===o?s.push(0):(s.push(1),o=r),t--,i--):l===n?(s.push(3),t--,o=n):(s.push(2),i--,o=a)}return s.reverse(),s}(function(e,t,i,o,s,r){const n=r-s+1,a=i-t+1,l=new Array(n);let c,d;for(let e=0;e<n;++e)l[e]=new Array(a),l[e][0]=e;for(let e=0;e<a;++e)l[0][e]=e;for(let i=1;i<n;++i)for(let r=1;r<a;++r)e[t+r-1]===o[s+i-1]?l[i][r]=l[i-1][r-1]:(c=l[i-1][r]+1,d=l[i][r-1]+1,l[i][r]=c<d?c:d);return l}(e,t,i,s,r,n)),h=[];let u=void 0,p=t,g=r;for(let e=0;e<d.length;++e)switch(d[e]){case 0:void 0!==u&&(h.push(u),u=void 0),p++,g++;break;case 1:void 0===u&&(u=Re(p,[],0)),u.addedCount++,p++,u.removed.push(s[g]),g++;break;case 2:void 0===u&&(u=Re(p,[],0)),u.addedCount++,p++;break;case 3:void 0===u&&(u=Re(p,[],0)),u.removed.push(s[g]),g++}return void 0!==u&&h.push(u),h}const Le=Array.prototype.push;function Be(e,t,i,o){const s=Re(t,i,o);let r=!1,n=0;for(let t=0;t<e.length;t++){const i=e[t];if(i.index+=n,r)continue;const o=(a=s.index,l=s.index+s.removed.length,c=i.index,d=i.index+i.addedCount,l<c||d<a?-1:l===c||d===a?0:a<c?l<d?l-c:d-c:d<l?d-a:l-a);if(o>=0){e.splice(t,1),t--,n-=i.addedCount-i.removed.length,s.addedCount+=i.addedCount-o;const a=s.removed.length+i.removed.length-o;if(s.addedCount||a){let e=i.removed;if(s.index<i.index){const t=s.removed.slice(0,i.index-s.index);Le.apply(t,e),e=t}if(s.index+s.removed.length>i.index+i.addedCount){const t=s.removed.slice(i.index+i.addedCount-s.index);Le.apply(e,t)}s.removed=e,i.index<s.index&&(s.index=i.index)}else r=!0}else if(s.index<i.index){r=!0,e.splice(t,0,s),t++;const o=s.addedCount-s.removed.length;i.index+=o,n+=o}}var a,l,c,d;r||e.push(s)}function He(e,t){let i=[];const o=function(e){const t=[];for(let i=0,o=e.length;i<o;i++){const o=e[i];Be(t,o.index,o.removed,o.addedCount)}return t}(t);for(let t=0,s=o.length;t<s;++t){const s=o[t];1!==s.addedCount||1!==s.removed.length?i=i.concat(Oe(e,s.index,s.index+s.addedCount,s.removed,0,s.removed.length)):s.removed[0]!==e[s.index]&&i.push(s)}return i}let Me=!1;function ze(e,t){let i=e.index;const o=t.length;return i>o?i=o-e.addedCount:i<0&&(i=o+e.removed.length+i-e.addedCount),i<0&&(i=0),e.index=i,e}class Ne extends f{constructor(e){super(e),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,e.$fastController=this}addSplice(e){void 0===this.splices?this.splices=[e]:this.splices.push(e),this.needsQueue&&(this.needsQueue=!1,h.queueUpdate(this))}reset(e){this.oldCollection=e,this.needsQueue&&(this.needsQueue=!1,h.queueUpdate(this))}flush(){const e=this.splices,t=this.oldCollection;if(void 0===e&&void 0===t)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;const i=void 0===t?He(this.source,e):Oe(this.source,0,this.source.length,t,0,t.length);this.notify(i)}}function Ve(){if(Me)return;Me=!0,k.setArrayObserverFactory(e=>new Ne(e));const e=Array.prototype,t=e.pop,i=e.push,o=e.reverse,s=e.shift,r=e.sort,n=e.splice,a=e.unshift;e.pop=function(){const e=this.length>0,i=t.apply(this,arguments),o=this.$fastController;return void 0!==o&&e&&o.addSplice(Re(this.length,[i],0)),i},e.push=function(){const e=i.apply(this,arguments),t=this.$fastController;return void 0!==t&&t.addSplice(ze(Re(this.length-arguments.length,[],arguments.length),this)),e},e.reverse=function(){let e;const t=this.$fastController;void 0!==t&&(t.flush(),e=this.slice());const i=o.apply(this,arguments);return void 0!==t&&t.reset(e),i},e.shift=function(){const e=this.length>0,t=s.apply(this,arguments),i=this.$fastController;return void 0!==i&&e&&i.addSplice(Re(0,[t],0)),t},e.sort=function(){let e;const t=this.$fastController;void 0!==t&&(t.flush(),e=this.slice());const i=r.apply(this,arguments);return void 0!==t&&t.reset(e),i},e.splice=function(){const e=n.apply(this,arguments),t=this.$fastController;return void 0!==t&&t.addSplice(ze(Re(+arguments[0],e,arguments.length>2?arguments.length-2:0),this)),e},e.unshift=function(){const e=a.apply(this,arguments),t=this.$fastController;return void 0!==t&&t.addSplice(ze(Re(0,[],arguments.length),this)),e}}class je{constructor(e,t){this.target=e,this.propertyName=t}bind(e){e[this.propertyName]=this.target}unbind(){}}function _e(e){return new B("fast-ref",je,e)}function Ge(e,t){const i="function"==typeof t?t:()=>t;return(t,o)=>e(t,o)?i(t,o):null}const qe=Object.freeze({positioning:!1});function Ue(e,t,i,o){e.bind(t[i],o)}function We(e,t,i,o){const s=Object.create(o);s.index=i,s.length=t.length,e.bind(t[i],s)}class Ke{constructor(e,t,i,o,s,r){this.location=e,this.itemsBinding=t,this.templateBinding=o,this.options=r,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=Ue,this.itemsBindingObserver=k.binding(t,this,i),this.templateBindingObserver=k.binding(o,this,s),r.positioning&&(this.bindView=We)}bind(e,t){this.source=e,this.originalContext=t,this.childContext=Object.create(t),this.childContext.parent=e,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(e,this.originalContext),this.template=this.templateBindingObserver.observe(e,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(e,t){e===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):e===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(t)}observeItems(e=!1){if(!this.items)return void(this.items=o);const t=this.itemsObserver,i=this.itemsObserver=k.getNotifier(this.items),s=t!==i;s&&null!==t&&t.unsubscribe(this),(s||e)&&i.subscribe(this)}updateViews(e){const t=this.childContext,i=this.views,o=[],s=this.bindView;let r=0;for(let t=0,s=e.length;t<s;++t){const s=e[t],n=s.removed;o.push(...i.splice(s.index+r,n.length)),r-=s.addedCount}const n=this.items,a=this.template;for(let r=0,l=e.length;r<l;++r){const l=e[r];let c=l.index;const d=c+l.addedCount;for(;c<d;++c){const e=i[c],r=e?e.firstChild:this.location,l=o.length>0?o.shift():a.create();i.splice(c,0,l),s(l,n,c,t),l.insertBefore(r)}}for(let e=0,t=o.length;e<t;++e)o[e].dispose();if(this.options.positioning)for(let e=0,t=i.length;e<t;++e){const o=i[e].context;o.length=t,o.index=e}}refreshAllViews(e=!1){const t=this.items,i=this.childContext,o=this.template,s=this.location,r=this.bindView;let n=t.length,a=this.views,l=a.length;if((0===n||e)&&(se.disposeContiguousBatch(a),l=0),0===l){this.views=a=new Array(n);for(let e=0;e<n;++e){const n=o.create();r(n,t,e,i),a[e]=n,n.insertBefore(s)}}else{let e=0;for(;e<n;++e)if(e<l){r(a[e],t,e,i)}else{const n=o.create();r(n,t,e,i),a.push(n),n.insertBefore(s)}const c=a.splice(e,l-e);for(e=0,n=c.length;e<n;++e)c[e].dispose()}}unbindAllViews(){const e=this.views;for(let t=0,i=e.length;t<i;++t)e[t].unbind()}}class Qe extends O{constructor(e,t,i){super(),this.itemsBinding=e,this.templateBinding=t,this.options=i,this.createPlaceholder=h.createBlockPlaceholder,Ve(),this.isItemsBindingVolatile=k.isVolatileBinding(e),this.isTemplateBindingVolatile=k.isVolatileBinding(t)}createBehavior(e){return new Ke(e,this.itemsBinding,this.isItemsBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile,this.options)}}function Xe(e){return e?function(t,i,o){return 1===t.nodeType&&t.matches(e)}:function(e,t,i){return 1===e.nodeType}}class Ye{constructor(e,t){this.target=e,this.options=t,this.source=null}bind(e){const t=this.options.property;this.shouldUpdate=k.getAccessors(e).some(e=>e.name===t),this.source=e,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 e=this.getNodes();return void 0!==this.options.filter&&(e=e.filter(this.options.filter)),e}updateTarget(e){this.source[this.options.property]=e}}class Ze extends Ye{constructor(e,t){super(e,t)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function Je(e){return"string"==typeof e&&(e={property:e}),new B("fast-slotted",Ze,e)}class et extends Ye{constructor(e,t){super(e,t),this.observer=null,t.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 tt(e){return"string"==typeof e&&(e={property:e}),new B("fast-children",et,e)}class it{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const ot=ae`<span part="end" ${_e("endContainer")}><slot name="end" ${_e("end")}@slotchange="${e=>e.handleEndContentChange()}"></slot></span>`,st=ae`<span part="start" ${_e("startContainer")}><slot name="start" ${_e("start")}@slotchange="${e=>e.handleStartContentChange()}"></slot></span>`,rt=ae`<template class="${e=>e.expanded?"expanded":""}" slot="item"><div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${_e("expandbutton")}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"><slot name="heading" part="heading"></slot></span></button>${st} ${ot}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon" part="expanded-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.78 3h12.44c.43 0 .78.35.78.78v12.44c0 .43-.35.78-.78.78H3.78a.78.78 0 01-.78-.78V3.78c0-.43.35-.78.78-.78zm12.44-1H3.78C2.8 2 2 2.8 2 3.78v12.44C2 17.2 2.8 18 3.78 18h12.44c.98 0 1.78-.8 1.78-1.78V3.78C18 2.8 17.2 2 16.22 2zM14 9H6v2h8V9z" /></svg></slot><slot name="collapsed-icon" part="collapsed-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.22 3H3.78a.78.78 0 00-.78.78v12.44c0 .43.35.78.78.78h12.44c.43 0 .78-.35.78-.78V3.78a.78.78 0 00-.78-.78zM3.78 2h12.44C17.2 2 18 2.8 18 3.78v12.44c0 .98-.8 1.78-1.78 1.78H3.78C2.8 18 2 17.2 2 16.22V3.78C2 2.8 2.8 2 3.78 2zM11 9h3v2h-3v3H9v-3H6V9h3V6h2v3z" /></svg></slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div></template>`;function nt(e,...t){t.forEach(t=>{if(Object.getOwnPropertyNames(t.prototype).forEach(i=>{Object.defineProperty(e.prototype,i,Object.getOwnPropertyDescriptor(t.prototype,i))}),t.attributes){const i=e.attributes||[];e.attributes=i.concat(t.attributes)}})}class at extends Fe{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.clickHandler=e=>{this.expanded=!this.expanded,this.change()},this.change=()=>{this.$emit("change")}}}t([me({attribute:"heading-level",mode:"fromView",converter:ve})],at.prototype,"headinglevel",void 0),t([me({mode:"boolean"})],at.prototype,"expanded",void 0),t([me],at.prototype,"id",void 0),nt(at,it);const lt=ae`<template><slot name="item" part="item" ${Je("accordionItems")}></slot></template>`;var ct;!function(e){e.horizontal="horizontal",e.vertical="vertical"}(ct||(ct={}));var dt="object"==typeof global&&global&&global.Object===Object&&global,ht="object"==typeof self&&self&&self.Object===Object&&self,ut=dt||ht||Function("return this")(),pt=ut.Symbol,gt=Object.prototype,vt=gt.hasOwnProperty,ft=gt.toString,mt=pt?pt.toStringTag:void 0;var bt=Object.prototype.toString;var yt=pt?pt.toStringTag:void 0;function xt(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":yt&&yt in Object(e)?function(e){var t=vt.call(e,mt),i=e[mt];try{e[mt]=void 0;var o=!0}catch(e){}var s=ft.call(e);return o&&(t?e[mt]=i:delete e[mt]),s}(e):function(e){return bt.call(e)}(e)}function Ct(e){return null!=e&&"object"==typeof e}function wt(e){return"symbol"==typeof e||Ct(e)&&"[object Symbol]"==xt(e)}var $t=Array.isArray,kt=pt?pt.prototype:void 0,St=kt?kt.toString:void 0;function Tt(e){if("string"==typeof e)return e;if($t(e))return function(e,t){for(var i=-1,o=null==e?0:e.length,s=Array(o);++i<o;)s[i]=t(e[i],i,e);return s}(e,Tt)+"";if(wt(e))return St?St.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ft(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var At=/^\s+|\s+$/g,Dt=/^[-+]0x[0-9a-f]+$/i,Pt=/^0b[01]+$/i,It=/^0o[0-7]+$/i,Et=parseInt;function Rt(e){if("number"==typeof e)return e;if(wt(e))return NaN;if(Ft(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ft(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(At,"");var i=Pt.test(e);return i||It.test(e)?Et(e.slice(2),i?2:8):Dt.test(e)?NaN:+e}function Ot(e){return e?(e=Rt(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function Lt(e){if(!Ft(e))return!1;var t=xt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Bt,Ht=ut["__core-js_shared__"],Mt=(Bt=/[^.]+$/.exec(Ht&&Ht.keys&&Ht.keys.IE_PROTO||""))?"Symbol(src)_1."+Bt:"";var zt=Function.prototype.toString;var Nt=/^\[object .+?Constructor\]$/,Vt=Function.prototype,jt=Object.prototype,_t=Vt.toString,Gt=jt.hasOwnProperty,qt=RegExp("^"+_t.call(Gt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ut(e){return!(!Ft(e)||(t=e,Mt&&Mt in t))&&(Lt(e)?qt:Nt).test(function(e){if(null!=e){try{return zt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function Wt(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return Ut(i)?i:void 0}var Kt=/^(?:0|[1-9]\d*)$/;function Qt(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&Kt.test(e))&&e>-1&&e%1==0&&e<t}function Xt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}var Yt=Object.prototype;function Zt(e){return Ct(e)&&"[object Arguments]"==xt(e)}var Jt=Object.prototype,ei=Jt.hasOwnProperty,ti=Jt.propertyIsEnumerable,ii=Zt(function(){return arguments}())?Zt:function(e){return Ct(e)&&ei.call(e,"callee")&&!ti.call(e,"callee")};var oi="object"==typeof e&&e&&!e.nodeType&&e,si=oi&&"object"==typeof module&&module&&!module.nodeType&&module,ri=si&&si.exports===oi?ut.Buffer:void 0,ni=(ri?ri.isBuffer:void 0)||function(){return!1},ai={};ai["[object Float32Array]"]=ai["[object Float64Array]"]=ai["[object Int8Array]"]=ai["[object Int16Array]"]=ai["[object Int32Array]"]=ai["[object Uint8Array]"]=ai["[object Uint8ClampedArray]"]=ai["[object Uint16Array]"]=ai["[object Uint32Array]"]=!0,ai["[object Arguments]"]=ai["[object Array]"]=ai["[object ArrayBuffer]"]=ai["[object Boolean]"]=ai["[object DataView]"]=ai["[object Date]"]=ai["[object Error]"]=ai["[object Function]"]=ai["[object Map]"]=ai["[object Number]"]=ai["[object Object]"]=ai["[object RegExp]"]=ai["[object Set]"]=ai["[object String]"]=ai["[object WeakMap]"]=!1;var li,ci="object"==typeof e&&e&&!e.nodeType&&e,di=ci&&"object"==typeof module&&module&&!module.nodeType&&module,hi=di&&di.exports===ci&&dt.process,ui=function(){try{var e=di&&di.require&&di.require("util").types;return e||hi&&hi.binding&&hi.binding("util")}catch(e){}}(),pi=ui&&ui.isTypedArray,gi=pi?(li=pi,function(e){return li(e)}):function(e){return Ct(e)&&Xt(e.length)&&!!ai[xt(e)]},vi=Object.prototype.hasOwnProperty;function fi(e,t){var i=$t(e),o=!i&&ii(e),s=!i&&!o&&ni(e),r=!i&&!o&&!s&&gi(e),n=i||o||s||r,a=n?function(e,t){for(var i=-1,o=Array(e);++i<e;)o[i]=t(i);return o}(e.length,String):[],l=a.length;for(var c in e)!t&&!vi.call(e,c)||n&&("length"==c||s&&("offset"==c||"parent"==c)||r&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Qt(c,l))||a.push(c);return a}var mi=function(e,t){return function(i){return e(t(i))}}(Object.keys,Object),bi=Object.prototype.hasOwnProperty;function yi(e){if(i=(t=e)&&t.constructor,t!==("function"==typeof i&&i.prototype||Yt))return mi(e);var t,i,o=[];for(var s in Object(e))bi.call(e,s)&&"constructor"!=s&&o.push(s);return o}function xi(e){return null!=(t=e)&&Xt(t.length)&&!Lt(t)?fi(e):yi(e);var t}var Ci=Wt(Object,"create");var wi=Object.prototype.hasOwnProperty;var $i=Object.prototype.hasOwnProperty;function ki(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}function Si(e,t){for(var i,o,s=e.length;s--;)if((i=e[s][0])===(o=t)||i!=i&&o!=o)return s;return-1}ki.prototype.clear=function(){this.__data__=Ci?Ci(null):{},this.size=0},ki.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ki.prototype.get=function(e){var t=this.__data__;if(Ci){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return wi.call(t,e)?t[e]:void 0},ki.prototype.has=function(e){var t=this.__data__;return Ci?void 0!==t[e]:$i.call(t,e)},ki.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=Ci&&void 0===t?"__lodash_hash_undefined__":t,this};var Ti=Array.prototype.splice;function Fi(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}Fi.prototype.clear=function(){this.__data__=[],this.size=0},Fi.prototype.delete=function(e){var t=this.__data__,i=Si(t,e);return!(i<0)&&(i==t.length-1?t.pop():Ti.call(t,i,1),--this.size,!0)},Fi.prototype.get=function(e){var t=this.__data__,i=Si(t,e);return i<0?void 0:t[i][1]},Fi.prototype.has=function(e){return Si(this.__data__,e)>-1},Fi.prototype.set=function(e,t){var i=this.__data__,o=Si(i,e);return o<0?(++this.size,i.push([e,t])):i[o][1]=t,this};var Ai=Wt(ut,"Map");function Di(e,t){var i,o,s=e.__data__;return("string"==(o=typeof(i=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==i:null===i)?s["string"==typeof t?"string":"hash"]:s.map}function Pi(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var o=e[t];this.set(o[0],o[1])}}Pi.prototype.clear=function(){this.size=0,this.__data__={hash:new ki,map:new(Ai||Fi),string:new ki}},Pi.prototype.delete=function(e){var t=Di(this,e).delete(e);return this.size-=t?1:0,t},Pi.prototype.get=function(e){return Di(this,e).get(e)},Pi.prototype.has=function(e){return Di(this,e).has(e)},Pi.prototype.set=function(e,t){var i=Di(this,e),o=i.size;return i.set(e,t),this.size+=i.size==o?0:1,this};function Ii(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var o=arguments,s=t?t.apply(this,o):o[0],r=i.cache;if(r.has(s))return r.get(s);var n=e.apply(this,o);return i.cache=r.set(s,n)||r,n};return i.cache=new(Ii.Cache||Pi),i}Ii.Cache=Pi;var Ei,Ri=function(e,t,i){for(var o=-1,s=Object(e),r=i(e),n=r.length;n--;){var a=r[Ei?n:++o];if(!1===t(s[a],a,s))break}return e};var Oi=Math.max,Li=Math.min;function Bi(e,t,i){return t=Ot(t),void 0===i?(i=t,t=0):i=Ot(i),function(e,t,i){return e>=Li(t,i)&&e<Oi(t,i)}(e=Rt(e),t,i)}function Hi(e,t,i,o){return function(e,t){e&&Ri(e,t,xi)}(e,(function(e,s,r){t(o,i(e),s,r)})),o}var Mi,zi,Ni=Object.prototype.toString,Vi=(Mi=function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=Ni.call(t)),e[t]=i},zi=function(e){return function(){return e}}((function(e){return e})),function(e,t){return Hi(e,Mi,zi(t),{})});var ji=0;function _i(e){var t,i=++ji;return(null==(t=e)?"":Tt(t))+i}function Gi(...e){return e.every(e=>e instanceof HTMLElement)}let qi;var Ui;!function(e){e[e.alt=18]="alt",e[e.arrowDown=40]="arrowDown",e[e.arrowLeft=37]="arrowLeft",e[e.arrowRight=39]="arrowRight",e[e.arrowUp=38]="arrowUp",e[e.back=8]="back",e[e.backSlash=220]="backSlash",e[e.break=19]="break",e[e.capsLock=20]="capsLock",e[e.closeBracket=221]="closeBracket",e[e.colon=186]="colon",e[e.colon2=59]="colon2",e[e.comma=188]="comma",e[e.ctrl=17]="ctrl",e[e.delete=46]="delete",e[e.end=35]="end",e[e.enter=13]="enter",e[e.equals=187]="equals",e[e.equals2=61]="equals2",e[e.equals3=107]="equals3",e[e.escape=27]="escape",e[e.forwardSlash=191]="forwardSlash",e[e.function1=112]="function1",e[e.function10=121]="function10",e[e.function11=122]="function11",e[e.function12=123]="function12",e[e.function2=113]="function2",e[e.function3=114]="function3",e[e.function4=115]="function4",e[e.function5=116]="function5",e[e.function6=117]="function6",e[e.function7=118]="function7",e[e.function8=119]="function8",e[e.function9=120]="function9",e[e.home=36]="home",e[e.insert=45]="insert",e[e.menu=93]="menu",e[e.minus=189]="minus",e[e.minus2=109]="minus2",e[e.numLock=144]="numLock",e[e.numPad0=96]="numPad0",e[e.numPad1=97]="numPad1",e[e.numPad2=98]="numPad2",e[e.numPad3=99]="numPad3",e[e.numPad4=100]="numPad4",e[e.numPad5=101]="numPad5",e[e.numPad6=102]="numPad6",e[e.numPad7=103]="numPad7",e[e.numPad8=104]="numPad8",e[e.numPad9=105]="numPad9",e[e.numPadDivide=111]="numPadDivide",e[e.numPadDot=110]="numPadDot",e[e.numPadMinus=109]="numPadMinus",e[e.numPadMultiply=106]="numPadMultiply",e[e.numPadPlus=107]="numPadPlus",e[e.openBracket=219]="openBracket",e[e.pageDown=34]="pageDown",e[e.pageUp=33]="pageUp",e[e.period=190]="period",e[e.print=44]="print",e[e.quote=222]="quote",e[e.scrollLock=145]="scrollLock",e[e.shift=16]="shift",e[e.space=32]="space",e[e.tab=9]="tab",e[e.tilde=192]="tilde",e[e.windowsLeft=91]="windowsLeft",e[e.windowsOpera=219]="windowsOpera",e[e.windowsRight=92]="windowsRight"}(Ui||(Ui={}));const Wi={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var Ki,Qi,Xi;function Yi(e,t,i){return i<e?t:i>t?e:i}function Zi(e,t,i){return Math.min(Math.max(i,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(Ki||(Ki={})),function(e){e.Canvas="Canvas",e.CanvasText="CanvasText",e.LinkText="LinkText",e.VisitedText="VisitedText",e.ActiveText="ActiveText",e.ButtonFace="ButtonFace",e.ButtonText="ButtonText",e.Field="Field",e.FieldText="FieldText",e.Highlight="Highlight",e.HighlightText="HighlightText",e.GrayText="GrayText"}(Qi||(Qi={})),(Xi=e.AccordionExpandMode||(e.AccordionExpandMode={})).single="single",Xi.multi="multi";class Ji extends Fe{constructor(){super(...arguments),this.expandmode=e.AccordionExpandMode.multi,this.activeItemIndex=0,this.change=()=>{this.$emit("change")},this.setItems=()=>{this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof at&&(e.addEventListener("change",this.activeItemChange),this.isSingleExpandMode()&&(this.activeItemIndex!==t?e.expanded=!1:e.expanded=!0));const i=this.accordionIds[t];e.setAttribute("id","string"!=typeof i?"accordion-"+(t+1):i),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)})},this.removeItemListeners=e=>{e.forEach((e,t)=>{e.removeEventListener("change",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{const t=e.target;this.isSingleExpandMode()&&(this.resetItems(),e.target.expanded=!0),this.activeid=e.target.getAttribute("id"),this.activeItemIndex=Array.from(this.accordionItems).indexOf(t),this.change()},this.handleItemKeyDown=e=>{if(e.target!==e.currentTarget)return;const t=e.keyCode;switch(this.accordionIds=this.getItemIds(),t){case 38:e.preventDefault(),this.adjust(-1);break;case 40:e.preventDefault(),this.adjust(1);break;case 36:this.activeItemIndex=0,this.focusItem();break;case 35:this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,i=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==i&&-1!==i&&(this.activeItemIndex=i,this.activeid=this.accordionIds[this.activeItemIndex])}}}accordionItemsChanged(e,t){this.$fastController.isConnected&&(this.removeItemListeners(e),this.accordionIds=this.getItemIds(),this.setItems())}resetItems(){this.accordionItems.forEach((e,t)=>{e.expanded=!1})}getItemIds(){return this.accordionItems.map(e=>e.getAttribute("id"))}isSingleExpandMode(){return this.expandmode===e.AccordionExpandMode.single}adjust(e){this.activeItemIndex=Yi(0,this.accordionItems.length-1,this.activeItemIndex+e),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof at&&e.expandbutton.focus()}}t([me({attribute:"expand-mode"})],Ji.prototype,"expandmode",void 0),t([A],Ji.prototype,"accordionItems",void 0);const eo=ae`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedBy="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${_e("control")}>${st}<span class="content" part="content"><slot ${Je("defaultSlottedContent")}></slot></span>${ot}</a>`;class to{}t([me({attribute:"aria-atomic",mode:"fromView"})],to.prototype,"ariaAtomic",void 0),t([me({attribute:"aria-busy",mode:"fromView"})],to.prototype,"ariaBusy",void 0),t([me({attribute:"aria-controls",mode:"fromView"})],to.prototype,"ariaControls",void 0),t([me({attribute:"aria-current",mode:"fromView"})],to.prototype,"ariaCurrent",void 0),t([me({attribute:"aria-describedby",mode:"fromView"})],to.prototype,"ariaDescribedby",void 0),t([me({attribute:"aria-details",mode:"fromView"})],to.prototype,"ariaDetails",void 0),t([me({attribute:"aria-disabled",mode:"fromView"})],to.prototype,"ariaDisabled",void 0),t([me({attribute:"aria-errormessage",mode:"fromView"})],to.prototype,"ariaErrormessage",void 0),t([me({attribute:"aria-flowto",mode:"fromView"})],to.prototype,"ariaFlowto",void 0),t([me({attribute:"aria-haspopup",mode:"fromView"})],to.prototype,"ariaHaspopup",void 0),t([me({attribute:"aria-hidden",mode:"fromView"})],to.prototype,"ariaHidden",void 0),t([me({attribute:"aria-invalid",mode:"fromView"})],to.prototype,"ariaInvalid",void 0),t([me({attribute:"aria-keyshortcuts",mode:"fromView"})],to.prototype,"ariaKeyshortcuts",void 0),t([me({attribute:"aria-label",mode:"fromView"})],to.prototype,"ariaLabel",void 0),t([me({attribute:"aria-labelledby",mode:"fromView"})],to.prototype,"ariaLabelledby",void 0),t([me({attribute:"aria-live",mode:"fromView"})],to.prototype,"ariaLive",void 0),t([me({attribute:"aria-owns",mode:"fromView"})],to.prototype,"ariaOwns",void 0),t([me({attribute:"aria-relevant",mode:"fromView"})],to.prototype,"ariaRelevant",void 0),t([me({attribute:"aria-roledescription",mode:"fromView"})],to.prototype,"ariaRoledescription",void 0);class io extends Fe{}t([me],io.prototype,"download",void 0),t([me],io.prototype,"href",void 0),t([me],io.prototype,"hreflang",void 0),t([me],io.prototype,"ping",void 0),t([me],io.prototype,"referrerpolicy",void 0),t([me],io.prototype,"rel",void 0),t([me],io.prototype,"target",void 0),t([me],io.prototype,"type",void 0),t([A],io.prototype,"defaultSlottedContent",void 0);class oo{}t([me({attribute:"aria-expanded",mode:"fromView"})],oo.prototype,"ariaExpanded",void 0),nt(oo,to),nt(io,it,oo);const so=ae`<template class="${e=>e.initialLayoutComplete?"loaded":""}">${Ge(e=>e.initialLayoutComplete,ae`<slot></slot>`)}</template>`;function ro(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}class no{constructor(e){this.listenerCache=new WeakMap,this.query=e}bind(e){const{query:t}=this,i=this.constructListener(e);i.bind(t)(),t.addListener(i),this.listenerCache.set(e,i)}unbind(e){const t=this.listenerCache.get(e);t&&(this.query.removeListener(t),this.listenerCache.delete(e))}}class ao extends no{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new ao(e,t)}constructListener(e){let t=!1;const i=this.styles;return function(){const{matches:o}=this;o&&!t?(e.$fastController.addStyles(i),t=o):!o&&t&&(e.$fastController.removeStyles(i),t=o)}}unbind(e){super.unbind(e),e.$fastController.removeStyles(this.styles)}}const lo=ao.with(window.matchMedia("(forced-colors)")),co=ao.with(window.matchMedia("(prefers-color-scheme: dark)")),ho=ao.with(window.matchMedia("(prefers-color-scheme: light)"));class uo{constructor(e,t,i){this.propertyName=e,this.value=t,this.styles=i}bind(e){k.getNotifier(e).subscribe(this,this.propertyName),this.handleChange(e,this.propertyName)}unbind(e){k.getNotifier(e).unsubscribe(this,this.propertyName),e.$fastController.removeStyles(this.styles)}handleChange(e,t){e[t]===this.value?e.$fastController.addStyles(this.styles):e.$fastController.removeStyles(this.styles)}}const po=":host([hidden]){display:none}";function go(e){return`${po}:host{display:${e}}`}const vo=function(){if(!0===(e=qi)||!1===e||Ct(e)&&"[object Boolean]"==xt(e))return qi;var e;if("undefined"==typeof window||!window.document||!window.document.createElement)return qi=!1,qi;const t=document.createElement("style"),i=function(){const e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}();null!==i&&t.setAttribute("nonce",i),document.head.appendChild(t);try{t.sheet.insertRule("foo:focus-visible {color:inherit}",0),qi=!0}catch(e){qi=!1}finally{document.head.removeChild(t)}return qi}()?"focus-visible":"focus";class fo{constructor(){this.queue=new Set,this.customPropertyTarget=null,this._owner=null,this.ticking=!1,this.cssCustomPropertyDefinitions=new Map}get owner(){return this._owner}register(e){const t=this.cssCustomPropertyDefinitions.get(e.name);t?t.count+=1:(this.cssCustomPropertyDefinitions.set(e.name,Object.assign(Object.assign({},e),{count:1})),this.set(e))}unregister(e){const t=this.cssCustomPropertyDefinitions.get(e);t&&(t.count-=1,0===t.count&&(this.cssCustomPropertyDefinitions.delete(e),this.remove(e)))}set(e){this.owner&&(this.customPropertyTarget?this.customPropertyTarget.setProperty("--"+e.name,this.owner.evaluate(e)):this.queue.add(this.set.bind(this,e)))}remove(e){this.customPropertyTarget?this.customPropertyTarget.removeProperty("--"+e):this.queue.add(this.remove.bind(this,e))}setAll(){this.ticking||(this.ticking=!0,h.queueUpdate(()=>{this.ticking=!1,this.cssCustomPropertyDefinitions.forEach(e=>{this.set(e)})}))}}class mo extends fo{constructor(e){super(),this.subscribers=new Set,this.sheet=e,this.styles=le.create([e]),this.customPropertyTarget=e.cssRules[e.insertRule(":host{}")].style}subscribe(e){this.subscribers.add(e),1===this.subscribers.size&&(this._owner=e),e.cssCustomPropertyDefinitions.forEach(e=>{this.register(e)}),e.$fastController.addStyles(this.styles)}unsubscribe(e){this.subscribers.delete(e),e.cssCustomPropertyDefinitions.forEach(e=>this.unregister(e.name)),this.owner===e&&(this._owner=this.subscribers.size?this.subscribers.values().next().value:null),!this.sheet.ownerNode&&this.styles&&e.$fastController.removeStyles(this.styles)}isSubscribed(e){return this.subscribers.has(e)}}class bo extends fo{constructor(e,t){super(),this._sheet=null,this.handleConnection={handleChange:()=>{var e;this._sheet=this.styles.sheet;const t=this.sheet.insertRule(":host{}");this.customPropertyTarget=this.sheet.rules[t].style,k.getNotifier(null===(e=this._owner)||void 0===e?void 0:e.$fastController).unsubscribe(this.handleConnection,"isConnected")}};const i=t.$fastController;i.addStyles(e),this.styles=e,this._owner=t,t.isConnected?this.handleConnection.handleChange():k.getNotifier(i).subscribe(this.handleConnection,"isConnected"),t.cssCustomPropertyDefinitions.forEach(e=>{this.register(e)})}get sheet(){return this._sheet}customPropertyTargetChanged(e,t){!e&&this.queue.size&&(this.queue.forEach(e=>e()),this.queue.clear())}}function yo(e){const t=e.provider;return null!=t&&Co.isDesignSystemProvider(t)}t([A],bo.prototype,"customPropertyTarget",void 0);const xo={bind(e){e.provider=Co.findProvider(e)},unbind(e){}};class Co extends Fe{constructor(){super(),this.isDesignSystemProvider=!0,this.designSystem={},this.useDefaults=!1,this.provider=null,this.cssCustomPropertyDefinitions=new Map,this.attributeChangeHandler={handleChange:(e,t)=>{const i=this[t],o=this.customPropertyManager;if(this.isValidDesignSystemValue(i)){this.designSystem[t]=i;const e=this.designSystemProperties[t];e&&e.cssCustomProperty&&o&&o.set({name:e.cssCustomProperty,value:i})}else{this.syncDesignSystemWithProvider();const e=this.designSystemProperties[t].cssCustomProperty;o&&("string"==typeof e&&o.remove(e),o.setAll())}}},this.localDesignSystemChangeHandler={handleChange:()=>{const e=this.customPropertyManager;e&&e.owner===this&&e.setAll()}},this.providerDesignSystemChangeHandler={handleChange:(e,t)=>{e[t]===this.designSystem[t]||this.isValidDesignSystemValue(this[t])||(this.designSystem[t]=e[t])}},h.supportsAdoptedStyleSheets?this.customPropertyManager=new mo(new CSSStyleSheet):this.customPropertyManager=new bo(document.createElement("style"),this),void 0===this.designSystemProperties&&(this.designSystemProperties={}),this.$fastController.addBehaviors([xo])}static get tagNames(){return Co._tagNames}static isDesignSystemProvider(e){return e.isDesignSystemProvider||-1!==Co.tagNames.indexOf(e.tagName)}static findProvider(e){if(yo(e))return e.provider;let t=ro(e);for(;null!==t;){if(Co.isDesignSystemProvider(t))return e.provider=t,t;if(yo(t))return e.provider=t.provider,t.provider;t=ro(t)}return null}static registerTagName(e){const t=e.toUpperCase();-1===Co.tagNames.indexOf(t)&&Co._tagNames.push(t)}useDefaultsChanged(){if(this.useDefaults){const e=this.designSystemProperties;Object.keys(e).forEach(t=>{void 0===this[t]&&(this[t]=e[t].default)})}}providerChanged(e,t){if(e instanceof HTMLElement){const t=k.getNotifier(e.designSystem);k.getAccessors(e.designSystem).forEach(e=>{t.unsubscribe(this.providerDesignSystemChangeHandler,e.name)})}if(t instanceof HTMLElement&&Co.isDesignSystemProvider(t)){const e=k.getNotifier(t.designSystem),i=k.getAccessors(this.designSystem).reduce((e,t)=>Object.assign(Object.assign({},e),{[t.name]:t}),{}),o=k.getNotifier(this.designSystem);k.getAccessors(t.designSystem).forEach(t=>{e.subscribe(this.providerDesignSystemChangeHandler,t.name),i[t.name]||(A(this.designSystem,t.name),o.subscribe(this.localDesignSystemChangeHandler,t.name))}),this.syncDesignSystemWithProvider()}}customPropertyManagerChanged(e,t){e&&e.unsubscribe&&e.unsubscribe(this),t.subscribe&&t.subscribe(this)}connectedCallback(){super.connectedCallback(),this.customPropertyManager.subscribe&&this.customPropertyManager.isSubscribed&&!this.customPropertyManager.isSubscribed(this)&&this.customPropertyManager.subscribe(this);const e=k.getNotifier(this),t=k.getNotifier(this.designSystem);if(Object.keys(this.designSystemProperties).forEach(i=>{A(this.designSystem,i),e.subscribe(this.attributeChangeHandler,i),t.subscribe(this.localDesignSystemChangeHandler,i);const o=this[i];if(this.isValidDesignSystemValue(o)){this.designSystem[i]=o;const{cssCustomProperty:e}=this.designSystemProperties[i];"string"==typeof e&&this.customPropertyManager&&this.customPropertyManager.owner===this&&this.customPropertyManager.set({name:e,value:this[i]})}}),Array.isArray(this.disconnectedCSSCustomPropertyRegistry)){for(let e=0;e<this.disconnectedCSSCustomPropertyRegistry.length;e++)this.registerCSSCustomProperty(this.disconnectedCSSCustomPropertyRegistry[e]);delete this.disconnectedCSSCustomPropertyRegistry}if(Array.isArray(this.disconnectedRegistry)){for(let e=0;e<this.disconnectedRegistry.length;e++)this.disconnectedRegistry[e](this);delete this.disconnectedRegistry}}disconnectedCallback(){super.disconnectedCallback(),this.customPropertyManager.unsubscribe&&this.customPropertyManager.unsubscribe(this)}registerCSSCustomProperty(e){this.cssCustomPropertyDefinitions.set(e.name,e),this.customPropertyManager.register(e)}unregisterCSSCustomProperty(e){this.cssCustomPropertyDefinitions.delete(e.name),this.customPropertyManager.unregister(e.name)}evaluate(e){return"function"==typeof e.value?e.value(Object.assign({},this.designSystem)):e.value}syncDesignSystemWithProvider(){if(this.provider){const e=k.getAccessors(this.designSystem).reduce((e,t)=>(e[t.name]=t,e),{});k.getAccessors(this.provider.designSystem).forEach(t=>{var i;this.designSystemProperties.hasOwnProperty(t.name)&&this.isValidDesignSystemValue(this[t.name])||!this.isValidDesignSystemValue(null===(i=this.provider)||void 0===i?void 0:i.designSystem[t.name])||(e[t.name]||k.defineProperty(this.designSystem,t.name),this.designSystem[t.name]=this.provider.designSystem[t.name])})}}isValidDesignSystemValue(e){return null!=e}}function wo(e){return t=>{Ae(e)(t),t.registerTagName("string"==typeof e?e:e.name)}}Co._tagNames=[],t([me({attribute:"use-defaults",mode:"boolean"})],Co.prototype,"useDefaults",void 0),t([A],Co.prototype,"provider",void 0),t([A],Co.prototype,"customPropertyManager",void 0);const $o=wo;function ko(e){return(t,i)=>{((e,t,i)=>{const{cssCustomProperty:o,attribute:s}=i;e.designSystemProperties||(e.designSystemProperties={}),!1===s?A(e,t):(void 0===i.mode&&(i=Object.assign(Object.assign({},i),{mode:"fromView"})),me(i)(e,t)),e.designSystemProperties[t]={cssCustomProperty:!1!==o&&("string"==typeof o?o:"string"==typeof s?s:t),default:i.default}})(t,i,e)}}const So=ae`<slot></slot>`;class To{constructor(e,t){this.cache=new WeakMap,this.ltr=e,this.rtl=t}bind(e){const t=Co.findProvider(e);null!==t&&(t.$fastController&&t.$fastController.isConnected?this.attach(e,t):(Array.isArray(t.disconnectedRegistry)||(t.disconnectedRegistry=[]),t.disconnectedRegistry.push(this.attach.bind(this,e))))}unbind(e){const t=this.cache.get(e);t&&k.getNotifier(t[0].designSystem).unsubscribe(t[1])}attach(e,t){const i=new Fo(this.ltr,this.rtl,e);k.getNotifier(t.designSystem).subscribe(i,"direction"),i.attach(t.designSystem.direction),this.cache.set(e,[t,i])}}class Fo{constructor(e,t,i){this.ltr=e,this.rtl=t,this.source=i,this.attached=null}handleChange(e){this.attach(e.direction)}attach(e){this.attached!==this[e]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[e],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const Ao=e=>{const t=e.closest("[dir]");return null!==t&&"rtl"===t.dir?Ki.rtl:Ki.ltr};function Do(e,t,i){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&!!e.nodeValue.trim().length}class Po extends Fe{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",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.pendingPositioningUpdate=!1,this.pendingLayoutUpdate=!1,this.pendingReset=!1,this.currentDirection=Ki.ltr,this.regionVisible=!1,this.updateThreshold=.5,this.update=()=>{null!==this.viewportRect&&null!==this.regionDimension?this.requestPositionUpdates():this.requestLayoutUpdate()},this.updateAnchorOffset=(e,t)=>{this.anchorLeft=this.anchorLeft+e,this.anchorRight=this.anchorRight+e,this.anchorTop=this.anchorTop+t,this.anchorBottom=this.anchorBottom+t,this.updateLayout()},this.startObservers=()=>{this.stopObservers(),null!==this.anchorElement&&(this.requestPositionUpdates(),null!==this.resizeDetector&&this.resizeDetector.observe(this.anchorElement))},this.requestPositionUpdates=()=>{null===this.anchorElement||this.pendingPositioningUpdate||(Po.intersectionService.requestPosition(this,this.handleIntersection),Po.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Po.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,Po.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&Po.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Po.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=e=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(e)&&null!==this.regionRect&&(this.initialLayoutComplete||(this.containingBlockHeight=this.regionRect.height,this.containingBlockWidth=this.regionRect.width),this.updateRegionOffset(this.regionRect),this.updateLayout()))},this.applyIntersectionEntries=e=>{let t=e.find(e=>e.target===this),i=e.find(e=>e.target===this.anchorElement),o=e.find(e=>e.target===this.viewportElement);return void 0!==t&&void 0!==o&&void 0!==i&&(!!(null===this.regionRect||null===this.anchorRect||null===this.viewportRect||this.isRectDifferent(this.anchorRect,i.boundingClientRect)||this.isRectDifferent(this.viewportRect,o.boundingClientRect)||this.isRectDifferent(this.regionRect,t.boundingClientRect))&&(this.regionRect=t.boundingClientRect,this.anchorRect=i.boundingClientRect,this.viewportRect=o.boundingClientRect,this.handleRegionIntersection(t),this.handleAnchorIntersection(i),!0))},this.isRectDifferent=(e,t)=>Math.abs(e.top-t.top)>this.updateThreshold||Math.abs(e.right-t.right)>this.updateThreshold||Math.abs(e.bottom-t.bottom)>this.updateThreshold||Math.abs(e.left-t.left)>this.updateThreshold,this.handleAnchorIntersection=e=>{this.anchorTop=e.boundingClientRect.top,this.anchorRight=e.boundingClientRect.right,this.anchorBottom=e.boundingClientRect.bottom,this.anchorLeft=e.boundingClientRect.left,this.anchorHeight=e.boundingClientRect.height,this.anchorWidth=e.boundingClientRect.width},this.handleRegionIntersection=e=>{const t=e.boundingClientRect;this.regionDimension={height:t.height,width:t.width}},this.handleResize=e=>{this.initialLayoutComplete&&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=Ao(this),this.startObservers())},this.updateLayout=()=>{this.pendingLayoutUpdate=!1;let e="undefined",t="undefined";if("uncontrolled"!==this.horizontalPositioningMode){const e=this.getHorizontalPositioningOptions();if("unset"!==this.horizontalDefaultPosition){let e=this.horizontalDefaultPosition;if("start"===e||"end"===e){const t=Ao(this);if(t!==this.currentDirection)return this.currentDirection=t,void this.initialize();e=this.currentDirection===Ki.ltr?"start"===e?"left":"right":"start"===e?"right":"left"}switch(e){case"left":t=this.horizontalInset?"insetLeft":"left";break;case"right":t=this.horizontalInset?"insetRight":"right"}}const i=void 0!==this.horizontalThreshold?this.horizontalThreshold:this.regionDimension.width;("undefined"===t||"locktodefault"!==this.horizontalPositioningMode&&this.getAvailableWidth(t)<i)&&(t=this.getAvailableWidth(e[0])>this.getAvailableWidth(e[1])?e[0]:e[1])}if("uncontrolled"!==this.verticalPositioningMode){const t=this.getVerticalPositioningOptions();if("unset"!==this.verticalDefaultPosition)switch(this.verticalDefaultPosition){case"top":e=this.verticalInset?"insetTop":"top";break;case"bottom":e=this.verticalInset?"insetBottom":"bottom"}const i=void 0!==this.verticalThreshold?this.verticalThreshold:this.regionDimension.height;("undefined"===e||"locktodefault"!==this.verticalPositioningMode&&this.getAvailableHeight(e)<i)&&(e=this.getAvailableHeight(t[0])>this.getAvailableHeight(t[1])?t[0]:t[1])}const i=this.getNextRegionDimension(t,e),o=this.horizontalPosition!==t||this.verticalPosition!==e;if(this.setHorizontalPosition(t,i),this.setVerticalPosition(e,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})),o&&(this.requestPositionUpdates(),this.$emit("positionchange",this,{bubbles:!1}))},this.updateRegionStyle=()=>{this.classList.toggle("top","top"===this.verticalPosition),this.classList.toggle("bottom","bottom"===this.verticalPosition),this.classList.toggle("inset-top","insetTop"===this.verticalPosition),this.classList.toggle("inset-bottom","insetBottom"===this.verticalPosition),this.classList.toggle("left","left"===this.horizontalPosition),this.classList.toggle("right","right"===this.horizontalPosition),this.classList.toggle("inset-left","insetLeft"===this.horizontalPosition),this.classList.toggle("inset-right","insetRight"===this.horizontalPosition),this.style.position=this.fixedPlacement?"fixed":"absolute",this.style.transformOrigin=`${this.yTransformOrigin} ${this.xTransformOrigin}`,"uncontrolled"===this.horizontalPositioningMode?(this.style.width="unset",this.style.right="unset",this.style.left="unset"):(this.style.width=this.regionWidth,this.style.right=this.regionRight,this.style.left=this.regionLeft),"uncontrolled"===this.verticalPositioningMode?(this.style.height="unset",this.style.top="unset",this.style.bottom="unset"):(this.style.height=this.regionHeight,this.style.top=this.regionTop,this.style.bottom=this.regionBottom)},this.setHorizontalPosition=(e,t)=>{let i=null,o=null,s="left";switch(e){case"left":s="right",i=this.containingBlockWidth-this.baseHorizontalOffset;break;case"insetLeft":s="right",i=this.containingBlockWidth-this.anchorWidth-this.baseHorizontalOffset;break;case"insetRight":s="left",o=this.baseHorizontalOffset;break;case"right":s="left",o=this.anchorWidth+this.baseHorizontalOffset}switch(this.xTransformOrigin=s,this.regionRight=null===i?"unset":i+"px",this.regionLeft=null===o?"unset":o+"px",this.horizontalPosition=e,this.horizontalScaling){case"anchor":this.regionWidth=this.anchorWidth+"px";break;case"fill":this.regionWidth=t.width+"px";break;case"content":this.regionWidth="unset"}},this.setVerticalPosition=(e,t)=>{let i=null,o=null,s="top";switch(e){case"top":s="bottom",o=this.containingBlockHeight-this.baseVerticalOffset;break;case"insetTop":s="bottom",o=this.containingBlockHeight-this.baseVerticalOffset-this.anchorHeight;break;case"insetBottom":s="top",i=this.baseVerticalOffset;break;case"bottom":s="top",i=this.baseVerticalOffset+this.anchorHeight}switch(this.yTransformOrigin=s,this.regionTop=null===i?"unset":i+"px",this.regionBottom=null===o?"unset":o+"px",this.verticalPosition=e,this.verticalScaling){case"anchor":this.regionHeight=this.anchorHeight+"px";break;case"fill":this.regionHeight=t.height+"px";break;case"content":this.regionHeight="unset"}},this.updateRegionOffset=e=>{if("uncontrolled"===this.horizontalPositioningMode)this.baseHorizontalOffset=this.anchorLeft-e.left;else switch(this.horizontalPosition){case"undefined":this.baseHorizontalOffset=this.anchorLeft-e.left;break;case"left":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorLeft-e.right);break;case"insetLeft":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRight-e.right);break;case"insetRight":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorLeft-e.left);break;case"right":this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRight-e.left)}if("uncontrolled"===this.verticalPositioningMode)this.baseVerticalOffset=this.anchorTop-e.top;else switch(this.verticalPosition){case"undefined":this.baseVerticalOffset=this.anchorTop-e.top;break;case"top":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorTop-e.bottom);break;case"insetTop":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorBottom-e.bottom);break;case"insetBottom":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorTop-e.top);break;case"bottom":this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorBottom-e.top)}},this.getHorizontalPositioningOptions=()=>this.horizontalInset?["insetLeft","insetRight"]:["left","right"],this.getVerticalPositioningOptions=()=>this.verticalInset?["insetTop","insetBottom"]:["top","bottom"],this.getAvailableWidth=e=>{if(null!==this.viewportRect){const t=this.anchorLeft-this.viewportRect.left,i=this.viewportRect.right-(this.anchorLeft+this.anchorWidth);switch(e){case"left":return t;case"insetLeft":return t+this.anchorWidth;case"insetRight":return i+this.anchorWidth;case"right":return i}}return 0},this.getAvailableHeight=e=>{if(null!==this.viewportRect){const t=this.anchorTop-this.viewportRect.top,i=this.viewportRect.bottom-(this.anchorTop+this.anchorHeight);switch(e){case"top":return t;case"insetTop":return t+this.anchorHeight;case"insetBottom":return i+this.anchorHeight;case"bottom":return i}}return 0},this.getNextRegionDimension=(e,t)=>{const i={height:this.regionDimension.height,width:this.regionDimension.width};return"fill"===this.horizontalScaling&&(i.width=this.getAvailableWidth(e)),"fill"===this.verticalScaling&&(i.height=this.getAvailableHeight(t)),i},this.startAutoUpdateEventListeners=()=>{window.addEventListener("resize",this.update),window.addEventListener("scroll",this.update,!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()}horizontalInsetChanged(){this.updateForAttributeChange()}horizontalThresholdChanged(){this.updateForAttributeChange()}horizontalScalingChanged(){this.updateForAttributeChange()}verticalPositioningModeChanged(){this.requestReset()}verticalDefaultPositionChanged(){this.updateForAttributeChange()}verticalInsetChanged(){this.updateForAttributeChange()}verticalThresholdChanged(){this.updateForAttributeChange()}verticalScalingChanged(){this.updateForAttributeChange()}fixedPlacementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}autoUpdateModeChanged(e,t){this.$fastController.isConnected&&this.initialLayoutComplete&&("auto"===e&&this.stopAutoUpdateEventListeners(),"auto"===t&&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.update()}initialize(){this.initializeResizeDetector(),null===this.anchorElement&&(this.anchorElement=this.getAnchor()),this.requestReset()}requestLayoutUpdate(){!1===this.pendingLayoutUpdate&&!1===this.pendingReset&&(this.pendingLayoutUpdate=!0,h.queueUpdate(()=>this.updateLayout()))}requestReset(){this.$fastController.isConnected&&!1===this.pendingReset&&(this.pendingLayoutUpdate=!1,this.setInitialState(),h.queueUpdate(()=>this.reset()),this.pendingReset=!0)}setInitialState(){this.initialLayoutComplete=!1,this.regionVisible=!1,this.regionTop="0",this.regionRight="0",this.regionBottom="0",this.regionLeft="0",this.regionWidth="100%",this.regionHeight="100%",this.xTransformOrigin="left",this.yTransformOrigin="top",this.viewportRect=null,this.regionRect=null,this.anchorRect=null,this.regionDimension={height:0,width:0},this.anchorTop=0,this.anchorRight=0,this.anchorBottom=0,this.anchorLeft=0,this.anchorHeight=0,this.anchorWidth=0,this.verticalPosition="undefined",this.horizontalPosition="undefined",this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.style.opacity="0",this.style.pointerEvents="none",this.updateRegionStyle()}}Po.intersectionService=new class{constructor(){this.intersectionDetector=null,this.observedElements=new Map,this.requestPosition=(e,t)=>{var i;null!==this.intersectionDetector&&(this.observedElements.has(e)?null===(i=this.observedElements.get(e))||void 0===i||i.push(t):(this.observedElements.set(e,[t]),this.intersectionDetector.observe(e)))},this.cancelRequestPosition=(e,t)=>{const i=this.observedElements.get(e);if(void 0!==i){const e=i.indexOf(t);-1!==e&&i.splice(e,1)}},this.initializeIntersectionDetector=()=>{i.IntersectionObserver&&(this.intersectionDetector=new IntersectionObserver(this.handleIntersection,{root:null,rootMargin:"0px",threshold:[0,1]}))},this.handleIntersection=e=>{if(null===this.intersectionDetector)return;const t=[],i=[];e.forEach(e=>{var o;null===(o=this.intersectionDetector)||void 0===o||o.unobserve(e.target);const s=this.observedElements.get(e.target);void 0!==s&&(s.forEach(o=>{let s=t.indexOf(o);-1===s&&(s=t.length,t.push(o),i.push([])),i[s].push(e)}),this.observedElements.delete(e.target))}),t.forEach((e,t)=>{e(i[t])})},this.initializeIntersectionDetector()}},t([me],Po.prototype,"anchor",void 0),t([me],Po.prototype,"viewport",void 0),t([me({attribute:"horizontal-positioning-mode"})],Po.prototype,"horizontalPositioningMode",void 0),t([me({attribute:"horizontal-default-position"})],Po.prototype,"horizontalDefaultPosition",void 0),t([me({attribute:"horizontal-inset",mode:"boolean"})],Po.prototype,"horizontalInset",void 0),t([me({attribute:"horizontal-threshold"})],Po.prototype,"horizontalThreshold",void 0),t([me({attribute:"horizontal-scaling"})],Po.prototype,"horizontalScaling",void 0),t([me({attribute:"vertical-positioning-mode"})],Po.prototype,"verticalPositioningMode",void 0),t([me({attribute:"vertical-default-position"})],Po.prototype,"verticalDefaultPosition",void 0),t([me({attribute:"vertical-inset",mode:"boolean"})],Po.prototype,"verticalInset",void 0),t([me({attribute:"vertical-threshold"})],Po.prototype,"verticalThreshold",void 0),t([me({attribute:"vertical-scaling"})],Po.prototype,"verticalScaling",void 0),t([me({attribute:"fixed-placement",mode:"boolean"})],Po.prototype,"fixedPlacement",void 0),t([me({attribute:"auto-update-mode"})],Po.prototype,"autoUpdateMode",void 0),t([A],Po.prototype,"anchorElement",void 0),t([A],Po.prototype,"viewportElement",void 0),t([A],Po.prototype,"initialLayoutComplete",void 0);const Io=ae`<template class="${e=>e.circular?"circular":""}"><div class="control" part="control" style="${e=>e.generateBadgeStyle()}"><slot></slot></div></template>`;class Eo extends Fe{constructor(){super(...arguments),this.generateBadgeStyle=()=>{if(!this.fill&&!this.color)return;const e=`background-color: var(--badge-fill-${this.fill});`,t=`color: var(--badge-color-${this.color});`;return this.fill&&!this.color?e:this.color&&!this.fill?t:`${t} ${e}`}}}t([me({attribute:"fill"})],Eo.prototype,"fill",void 0),t([me({attribute:"color"})],Eo.prototype,"color",void 0),t([me({mode:"boolean"})],Eo.prototype,"circular",void 0);const Ro=ae`<div role="listitem" class="listitem" part="listitem">${Ge(e=>e.href&&e.href.length>0,ae` ${eo} `)} ${Ge(e=>!e.href,ae` ${st}<slot></slot>${ot} `)} ${Ge(e=>e.separator,ae`<span class="separator" part="separator" aria-hidden="true"><slot name="separator">/</slot></span>`)}</div>`;class Oo extends io{constructor(){super(...arguments),this.separator=!0}}t([A],Oo.prototype,"separator",void 0),nt(Oo,it,oo);const Lo=ae`<template role="navigation"><div role="list" class="list" part="list"><slot ${Je({property:"slottedBreadcrumbItems",filter:Xe()})}></slot></div></template>`;class Bo extends Fe{slottedBreadcrumbItemsChanged(){if(this.$fastController.isConnected){if(void 0===this.slottedBreadcrumbItems||0===this.slottedBreadcrumbItems.length)return;const e=this.slottedBreadcrumbItems[this.slottedBreadcrumbItems.length-1];this.setItemSeparator(e),this.setLastItemAriaCurrent(e)}}setItemSeparator(e){this.slottedBreadcrumbItems.forEach(e=>{e instanceof Oo&&(e.separator=!0)}),e instanceof Oo&&(e.separator=!1)}findChildWithHref(e){var t,i;return e.childElementCount>0?e.querySelector("a[href]"):(null===(t=e.shadowRoot)||void 0===t?void 0:t.childElementCount)?null===(i=e.shadowRoot)||void 0===i?void 0:i.querySelector("a[href]"):null}setLastItemAriaCurrent(e){const t=this.findChildWithHref(e);null===t&&e.hasAttribute("href")&&e instanceof Oo?e.ariaCurrent="page":null!==t&&t.setAttribute("aria-current","page")}}t([A],Bo.prototype,"slottedBreadcrumbItems",void 0);const Ho=ae`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedBy="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${_e("control")}>${st}<span class="content" part="content"><slot ${Je("defaultSlottedContent")}></slot></span>${ot}</button>`,Mo="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,zo=new Map;function No(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.formDisabledCallback=e=>{this.disabled=e},this.formResetCallback=()=>{this.value=this.initialValue,this.dirtyValue=!1},this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||""}static get formAssociated(){return Mo}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}']`)),i=e?t.concat(Array.from(e)):t;return Object.freeze(i)}return o}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.setFormValue(this.value),this.validate()}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),h.queueUpdate(()=>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),h.queueUpdate(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!Mo)return null;let e=zo.get(this);return e||(e=this.attachInternals(),zo.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.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,i){this.elementInternals?this.elementInternals.setValidity(e,t,i):"string"==typeof t&&this.proxy.setCustomValidity(t)}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(){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.keyCode){case 13:if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return me({mode:"boolean"})(t.prototype,"disabled"),me({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),me(t.prototype,"name"),me({mode:"boolean"})(t.prototype,"required"),A(t.prototype,"value"),t}class Vo extends Fe{}class jo extends(No(Vo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class _o extends jo{constructor(){super(...arguments),this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null===(e=this.form)||void 0===e||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),"submit"===t&&this.addEventListener("click",this.handleSubmission),"submit"===e&&this.removeEventListener("click",this.handleSubmission),"reset"===t&&this.addEventListener("click",this.handleFormReset),"reset"===e&&this.removeEventListener("click",this.handleFormReset)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}get root(){return this.control}}t([me({mode:"boolean"})],_o.prototype,"autofocus",void 0),t([me({attribute:"form"})],_o.prototype,"formId",void 0),t([me],_o.prototype,"formaction",void 0),t([me],_o.prototype,"formenctype",void 0),t([me],_o.prototype,"formmethod",void 0),t([me({mode:"boolean"})],_o.prototype,"formnovalidate",void 0),t([me],_o.prototype,"formtarget",void 0),t([me],_o.prototype,"type",void 0),t([A],_o.prototype,"defaultSlottedContent",void 0);class Go{}t([me({attribute:"aria-expanded",mode:"fromView"})],Go.prototype,"ariaExpanded",void 0),t([me({attribute:"aria-pressed",mode:"fromView"})],Go.prototype,"ariaPressed",void 0),nt(Go,to),nt(_o,it,Go);const qo=ae`<slot></slot>`;const Uo=ae`<template role="checkbox" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" 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)}" class="${e=>e.readOnly?"readonly":""} ${e=>e.checked?"checked":""} ${e=>e.indeterminate?"indeterminate":""}"><div part="control" class="control"><slot name="checked-indicator"><svg aria-hidden="true" part="checked-indicator" class="checked-indicator" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z" /></svg></slot><slot name="indeterminate-indicator"><div part="indeterminate-indicator" class="indeterminate-indicator"></div></slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Je("defaultSlottedNodes")}></slot></label></template>`;class Wo extends Fe{}class Ko extends(No(Wo)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Qo extends Ko{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.dirtyChecked=!1,this.constructed=!1,this.formResetCallback=()=>{this.checked=this.checkedAttribute,this.dirtyChecked=!1},this.keypressHandler=e=>{switch(e.keyCode){case 32:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.defaultChecked=!!this.checkedAttribute,this.checked=this.defaultChecked,this.constructed=!0}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(){this.dirtyChecked||(this.dirtyChecked=!0),this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),this.constructed&&this.$emit("change"),this.validate()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","checkbox"),this.updateForm()}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}}var Xo,Yo;function Zo(e){return Gi(e)&&("option"===e.getAttribute("role")||e instanceof HTMLOptionElement)}t([me({attribute:"readonly",mode:"boolean"})],Qo.prototype,"readOnly",void 0),t([me({attribute:"checked",mode:"boolean"})],Qo.prototype,"checkedAttribute",void 0),t([A],Qo.prototype,"defaultSlottedNodes",void 0),t([A],Qo.prototype,"defaultChecked",void 0),t([A],Qo.prototype,"checked",void 0),t([A],Qo.prototype,"indeterminate",void 0),(Xo=e.SelectPosition||(e.SelectPosition={})).above="above",Xo.below="below",(e.SelectRole||(e.SelectRole={})).combobox="combobox";class Jo extends Fe{constructor(e,t,i,o){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,this.initialValue=this.initialValue||"",e&&(this.textContent=e),t&&(this.initialValue=t),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}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(e,t){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.$fastController.isConnected&&(this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected))}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){return this.value?this.value:this.textContent?this.textContent:""}get text(){return this.textContent}set value(e){this._value=e,this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=e),k.notify(this,"value")}get value(){return k.track(this,"value"),this._value?this._value:this.text}get form(){return this.proxy?this.proxy.form:null}}t([A],Jo.prototype,"defaultSelected",void 0),t([me({mode:"boolean"})],Jo.prototype,"disabled",void 0),t([me({attribute:"selected",mode:"boolean"})],Jo.prototype,"selectedAttribute",void 0),t([A],Jo.prototype,"selected",void 0),t([me({attribute:"value",mode:"fromView"})],Jo.prototype,"initialValue",void 0),nt(Jo,it),(e.ListboxRole||(e.ListboxRole={})).listbox="listbox";class es extends Fe{constructor(){super(...arguments),this.selectedIndex=-1,this.typeaheadBuffer="",this.typeaheadTimeout=-1,this.typeAheadExpired=!0,this.role=e.ListboxRole.listbox,this._options=[],this.selectedOptions=[],this.shouldSkipFocus=!1,this.handleTypeAhead=e=>{this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout(()=>this.typeAheadExpired=!0,es.TYPE_AHEAD_TIMEOUT_MS),e.length>1||(this.typeaheadBuffer=`${this.typeAheadExpired?"":this.typeaheadBuffer}${e}`)}}selectedIndexChanged(e,t){this.setSelectedOptions()}typeaheadBufferChanged(e,t){if(this.$fastController.isConnected){const e=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),t=new RegExp("^"+e,"gi"),i=this.options.filter(e=>e.text.trim().match(t));if(i.length){const e=this.options.indexOf(i[0]);e>-1&&(this.selectedIndex=e)}this.typeAheadExpired=!1}}slottedOptionsChanged(e,t){this.$fastController.isConnected&&(this.options=t.reduce((e,t)=>(Zo(t)&&e.push(t),e),[]),this.options.forEach(e=>{e.id=e.id||_i("option-")}),this.setSelectedOptions(),this.setDefaultSelectedOption())}get options(){return k.track(this,"options"),this._options}set options(e){this._options=e,k.notify(this,"options")}selectedOptionsChanged(e,t){this.$fastController.isConnected&&this.options.forEach(e=>{e.selected=t.includes(e)})}get firstSelectedOption(){return this.selectedOptions[0]}focusAndScrollOptionIntoView(){this.contains(document.activeElement)&&this.firstSelectedOption&&(this.firstSelectedOption.focus(),requestAnimationFrame(()=>{this.firstSelectedOption.scrollIntoView({block:"nearest"})}))}focusinHandler(e){this.shouldSkipFocus||e.target!==e.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}mousedownHandler(e){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}setDefaultSelectedOption(){if(this.options&&this.$fastController.isConnected){const e=this.options.findIndex(e=>null!==e.getAttribute("selected"));if(-1!==e)return void(this.selectedIndex=e);this.selectedIndex=0}}setSelectedOptions(){if(this.$fastController.isConnected&&this.options){const e=this.options[this.selectedIndex]||null;this.selectedOptions=this.options.filter(t=>t.isSameNode(e)),this.ariaActiveDescendant=this.firstSelectedOption?this.firstSelectedOption.id:"",this.focusAndScrollOptionIntoView()}}selectFirstOption(){this.disabled||(this.selectedIndex=0)}selectLastOption(){this.disabled||(this.selectedIndex=this.options.length-1)}selectNextOption(){!this.disabled&&this.options&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}get length(){return this.options?this.options.length:0}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}clickHandler(e){const t=e.target.closest("option,[role=option]");if(t&&!t.disabled)return this.selectedIndex=this.options.indexOf(t),!0}keydownHandler(e){if(this.disabled)return!0;this.shouldSkipFocus=!1;const t=e.key;switch(t){case"Home":e.shiftKey||(e.preventDefault(),this.selectFirstOption());break;case"ArrowDown":e.shiftKey||(e.preventDefault(),this.selectNextOption());break;case"ArrowUp":e.shiftKey||(e.preventDefault(),this.selectPreviousOption());break;case"End":e.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===t.length&&this.handleTypeAhead(""+t),!0}}}es.TYPE_AHEAD_TIMEOUT_MS=1e3,es.slottedOptionFilter=e=>Zo(e)&&!e.disabled&&!e.hidden,t([A],es.prototype,"selectedIndex",void 0),t([A],es.prototype,"typeaheadBuffer",void 0),t([me],es.prototype,"role",void 0),t([me({mode:"boolean"})],es.prototype,"disabled",void 0),t([A],es.prototype,"slottedOptions",void 0),t([A],es.prototype,"selectedOptions",void 0);class ts{constructor(){this.ariaActiveDescendant=""}}t([A],ts.prototype,"ariaActiveDescendant",void 0),t([A],ts.prototype,"ariaDisabled",void 0),t([A],ts.prototype,"ariaExpanded",void 0),nt(ts,to),nt(es,ts);class is extends es{}class os extends(No(is)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}(Yo=e.ComboboxAutocomplete||(e.ComboboxAutocomplete={})).inline="inline",Yo.list="list",Yo.both="both",Yo.none="none";class ss extends os{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.formResetCallback=()=>{this.value=this.initialValue,this.dirtyValue=!1,this.setDefaultSelectedOption(),this.updateValue()},this.listboxId=_i("listbox-"),this.maxHeight=0,this.open=!1,this.position=e.SelectPosition.below,this.role=e.SelectRole.combobox}get isAutocompleteInline(){return this.autocomplete===e.ComboboxAutocomplete.inline||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===e.ComboboxAutocomplete.list||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===e.ComboboxAutocomplete.both}openChanged(){this.ariaExpanded=this.open?"true":"false",this.open&&(this.setPositioning(),this.focusAndScrollOptionIntoView())}get options(){return k.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(e){this._options=e,k.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}get value(){return k.track(this,"value"),this._value}set value(e){var t,i,o;const s=""+this._value;if(this.$fastController.isConnected&&this.options){const s=this.options.findIndex(t=>t.text.toLowerCase()===e.toLowerCase()),r=null===(t=this.options[this.selectedIndex])||void 0===t?void 0:t.text,n=null===(i=this.options[s])||void 0===i?void 0:i.text;this.selectedIndex=r!==n?s:this.selectedIndex,e=(null===(o=this.firstSelectedOption)||void 0===o?void 0:o.text)||e}s!==e&&(this._value=e,super.valueChanged(s,e),k.notify(this,"value"))}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]");if(!t||t.disabled)return;this.selectedOptions=[t],this.control.value=t.text}return this.open=!this.open,this.open||this.updateValue(!0),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==e.ComboboxAutocomplete.none||(this.filter="");const t=this.filter.toLowerCase();this.filteredOptions=this._options.filter(e=>e.text.toLowerCase().startsWith(this.filter.toLowerCase())),this.isAutocompleteList&&(this.filteredOptions.length||t||(this.filteredOptions=this._options),this._options.forEach(e=>{e.hidden=!this.filteredOptions.includes(e)}))}focusoutHandler(e){if(this.updateValue(),!this.open)return!0;const t=e.relatedTarget;this.isSameNode(t)?this.focus():this.options&&this.options.includes(t)||(this.open=!1)}inputHandler(e){if(this.filter=this.control.value,this.filterOptions(),"deleteContentBackward"===e.inputType||!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())}keydownHandler(e){const t=e.key;if(e.ctrlKey||e.shiftKey)return!0;switch(t){case"Enter":{this.updateValue(!0),this.isAutocompleteInline&&(this.filter=this.value),this.open=!1;const e=this.control.value.length;this.control.setSelectionRange(e,e);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.updateValue(),!this.open)return!0;e.preventDefault(),this.open=!1;break;case"ArrowUp":case"ArrowDown":if(this.filterOptions(),!this.open){this.open=!0;break}this.filteredOptions.length>0&&super.keydownHandler(e),this.isAutocompleteInline&&(this.updateValue(),this.setInlineSelection());break;default:return!0}}keyupHandler(e){switch(e.key){case"ArrowLeft":case"ArrowRight":case"Backspace":case"Delete":case"Home":case"End":this.filter=this.control.value,this.selectedIndex=-1,this.filterOptions()}}selectedIndexChanged(e,t){if(this.$fastController.isConnected){if((t=Zi(-1,this.options.length-1,t))!==this.selectedIndex)return void(this.selectedIndex=t);super.selectedIndexChanged(e,t)}}selectPreviousOption(){!this.disabled&&this.selectedIndex>=0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){if(this.$fastController.isConnected&&this.options){const e=this.options.findIndex(e=>null!==e.getAttribute("selected")||e.selected);this.selectedIndex=e,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInlineSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}setPositioning(){const t=this.getBoundingClientRect(),i=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>i?e.SelectPosition.above:e.SelectPosition.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===e.SelectPosition.above?~~t.top:~~i}selectedOptionsChanged(e,t){this.$fastController.isConnected&&this._options.forEach(e=>{e.selected=t.includes(e)})}slottedOptionsChanged(e,t){super.slottedOptionsChanged(e,t),this.updateValue()}updateValue(e){var t;this.$fastController.isConnected&&(this.value=(null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)||this.control.value),e&&this.$emit("change")}}t([me({attribute:"autocomplete",mode:"fromView"})],ss.prototype,"autocomplete",void 0),t([A],ss.prototype,"maxHeight",void 0),t([me({attribute:"open",mode:"boolean"})],ss.prototype,"open",void 0),t([me],ss.prototype,"placeholder",void 0),t([me({attribute:"position"})],ss.prototype,"positionAttribute",void 0),t([A],ss.prototype,"position",void 0);class rs{}t([me({attribute:"aria-autocomplete",mode:"fromView"})],rs.prototype,"ariaAutocomplete",void 0),nt(rs,to),nt(ss,it,rs);const ns=ae`<template autocomplete="${e=>e.autocomplete}" class="${e=>e.disabled?"disabled":""} ${e=>e.position}" tabindex="${e=>e.disabled?null:"0"}" aria-disabled="${e=>e.ariaDisabled}" aria-autocomplete="${e=>e.autocomplete}" @click="${(e,t)=>e.clickHandler(t.event)}" @focusout="${(e,t)=>e.focusoutHandler(t.event)}"><div class="control" part="control">${st}<slot name="control"><input class="selected-value" part="selected-value" placeholder="${e=>e.placeholder}" role="${e=>e.role}" type="text" aria-activedescendant="${e=>e.open?e.ariaActiveDescendant:null}" aria-controls="${e=>e.listboxId}" aria-expanded="${e=>e.ariaExpanded}" aria-haspopup="listbox" ?disabled="${e=>e.disabled}" :value="${e=>e.value}" @input="${(e,t)=>e.inputHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @keyup="${(e,t)=>e.keyupHandler(t.event)}" ${_e("control")}/><div class="indicator" part="indicator" aria-hidden="true"><slot name="indicator"><svg class="select-indicator" part="select-indicator" viewBox="0 0 12 7" xmlns="http://www.w3.org/2000/svg"><path d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z" /></svg></slot></div></slot>${ot}</div><div aria-disabled="${e=>e.disabled}" class="listbox" id="${e=>e.listboxId}" part="listbox" role="listbox" style="--max-height:${e=>e.maxHeight}px" ?disabled="${e=>e.disabled}" ?hidden="${e=>!e.open}"><slot ${Je({filter:es.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}></slot></div></template>`;class as{constructor(e,t,i){this.name=e,this.value=t,this.host=i,this.propertyName="--"+e,this.var=`var(${this.propertyName})`}bind(e){const t=this.host(e);null!==t&&("function"==typeof t.registerCSSCustomProperty?t.registerCSSCustomProperty(this):(Array.isArray(t.disconnectedCSSCustomPropertyRegistry)||(t.disconnectedCSSCustomPropertyRegistry=[]),t.disconnectedCSSCustomPropertyRegistry.push(this)))}unbind(e){const t=this.host(e);null!==t&&"function"==typeof t.unregisterCSSCustomProperty&&t.unregisterCSSCustomProperty(this)}}function ls(e,t,i){return new as(e,t,i)}function cs(e){return ae`<template role="grid" tabindex="0" :prefix="${e}" :defaultRowItemTemplate="${function(e){return ae`<${e}-data-grid-row :rowData="${e=>e}" :cellItemTemplate="${(e,t)=>t.parent.cellItemTemplate}" :headerCellItemTemplate="${(e,t)=>t.parent.headerCellItemTemplate}"></${e}-data-grid-row>`}(e)}" ${tt({property:"rowElements",filter:Xe("[role=row]")})}><slot></slot></template>`}var ds,hs,us;(ds=e.GenerateHeaderOptions||(e.GenerateHeaderOptions={})).none="none",ds.default="default",ds.sticky="sticky",(hs=e.DataGridCellTypes||(e.DataGridCellTypes={})).default="default",hs.columnHeader="columnheader",(us=e.DataGridRowTypes||(e.DataGridRowTypes={})).default="default",us.header="header",us.stickyHeader="sticky-header";class ps extends Fe{constructor(){super(),this.generateHeader=e.GenerateHeaderOptions.default,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=(e,t,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,e)),s=this.rowElements[o].querySelectorAll('[role="cell"], [role="gridcell"], [role="columnheader"]'),r=s[Math.max(0,Math.min(s.length-1,t))];i&&this.scrollHeight!==this.clientHeight&&(o<this.focusRowIndex&&this.scrollTop>0||o>this.focusRowIndex&&this.scrollTop<this.scrollHeight-this.clientHeight)&&r.scrollIntoView({block:"center",inline:"center"}),r.focus()},this.onChildListChange=(e,t)=>{e.length&&(e.forEach(e=>{e.addedNodes.forEach(e=>{1===e.nodeType&&"row"===e.getAttribute("role")&&(e.columnDefinitions=this.columnDefinitions)})}),this.queueRowIndexUpdate())},this.queueRowIndexUpdate=()=>{this.rowindexUpdateQueued||(this.rowindexUpdateQueued=!0,h.queueUpdate(this.updateRowIndexes))},this.updateRowIndexes=()=>{const e=void 0===this.gridTemplateColumns?this.generatedGridTemplateColumns:this.gridTemplateColumns;this.rowElements.forEach((t,i)=>{const o=t;o.rowIndex=i,o.gridTemplateColumns=e,this.columnDefinitionsStale&&(o.columnDefinitions=this.columnDefinitions)}),this.rowindexUpdateQueued=!1,this.columnDefinitionsStale=!1}}static generateTemplateColumns(e){let t="";return e.forEach(e=>{t=`${t}${""===t?"":" "}1fr`}),t}generateHeaderChanged(){this.$fastController.isConnected&&this.toggleGeneratedHeader()}gridTemplateColumnsChanged(){this.$fastController.isConnected&&this.updateRowIndexes()}rowsDataChanged(){null===this.columnDefinitions&&this.rowsData.length>0&&(this.columnDefinitions=ps.generateColumns(this.rowsData[0]))}columnDefinitionsChanged(){null!==this.columnDefinitions?(this.generatedGridTemplateColumns=ps.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 Qe(e=>e.rowsData,e=>e.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}),h.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(e){this.isUpdatingFocus=!0;const t=e.target;this.focusRowIndex=this.rowElements.indexOf(t),this.focusColumnIndex=t.focusColumnIndex,this.setAttribute("tabIndex","-1"),this.isUpdatingFocus=!1}handleFocus(e){this.focusOnCell(this.focusRowIndex,this.focusColumnIndex,!0)}handleFocusOut(e){null!==e.relatedTarget&&this.contains(e.relatedTarget)||this.setAttribute("tabIndex","0")}handleKeydown(t){if(t.defaultPrevented)return;let i;const o=this.rowElements.length-1,s=this.offsetHeight+this.scrollTop,r=this.rowElements[o];switch(t.keyCode){case 38:t.preventDefault(),this.focusOnCell(this.focusRowIndex-1,this.focusColumnIndex,!0);break;case 40:t.preventDefault(),this.focusOnCell(this.focusRowIndex+1,this.focusColumnIndex,!0);break;case 33: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(i=this.focusRowIndex-1;i>=0;i--){const e=this.rowElements[i];if(e.offsetTop<this.scrollTop){this.scrollTop=e.offsetTop+e.clientHeight-this.clientHeight;break}}this.focusOnCell(i,this.focusColumnIndex,!1);break;case 34:if(t.preventDefault(),0===this.rowElements.length){this.focusOnCell(0,0,!1);break}if(this.focusRowIndex>=o||r.offsetTop+r.offsetHeight<=s)return void this.focusOnCell(o,this.focusColumnIndex,!1);for(i=this.focusRowIndex+1;i<=o;i++){const t=this.rowElements[i];if(t.offsetTop+t.offsetHeight>s){let i=0;this.generateHeader===e.GenerateHeaderOptions.sticky&&null!==this.generatedHeader&&(i=this.generatedHeader.clientHeight),this.scrollTop=t.offsetTop-i;break}}this.focusOnCell(i,this.focusColumnIndex,!1);break;case 36:t.ctrlKey&&(t.preventDefault(),this.focusOnCell(0,0,!0));break;case 35: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,h.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!==e.GenerateHeaderOptions.none){const t=document.createElement(this.prefix+"-data-grid-row");return this.generatedHeader=t,this.generatedHeader.columnDefinitions=this.columnDefinitions,this.generatedHeader.gridTemplateColumns=this.gridTemplateColumns,this.generatedHeader.rowType=this.generateHeader===e.GenerateHeaderOptions.sticky?e.DataGridRowTypes.stickyHeader:e.DataGridRowTypes.header,void(null===this.firstChild&&null===this.rowsPlaceholder||this.insertBefore(t,null!==this.firstChild?this.firstChild:this.rowsPlaceholder))}}}function gs(e){return ae`<template role="row" class="${e=>"default"!==e.rowType?e.rowType:""}" :defaultCellItemTemplate="${function(e){return ae`<${e}-data-grid-cell grid-column="${(e,t)=>t.index+1}" :rowData="${(e,t)=>t.parent.rowData}" :columnDefinition="${e=>e}"></${e}-data-grid-cell>`}(e)}" :defaultHeaderCellItemTemplate="${function(e){return ae`<${e}-data-grid-cell cell-type="columnheader" grid-column="${(e,t)=>t.index+1}" :columnDefinition="${e=>e}"></${e}-data-grid-cell>`}(e)}" ${tt({property:"cellElements",filter:Xe('[role="cell"],[role="gridcell"],[role="columnheader"]')})}><slot ${Je("slottedCellElements")}></slot></template>`}ps.generateColumns=e=>Object.getOwnPropertyNames(e).map((e,t)=>({columnDataKey:e,gridColumn:""+t})),t([me({attribute:"generate-header"})],ps.prototype,"generateHeader",void 0),t([me({attribute:"grid-template-columns"})],ps.prototype,"gridTemplateColumns",void 0),t([A],ps.prototype,"rowsData",void 0),t([A],ps.prototype,"columnDefinitions",void 0),t([A],ps.prototype,"rowItemTemplate",void 0),t([A],ps.prototype,"cellItemTemplate",void 0),t([A],ps.prototype,"headerCellItemTemplate",void 0),t([A],ps.prototype,"focusRowIndex",void 0),t([A],ps.prototype,"focusColumnIndex",void 0),t([A],ps.prototype,"defaultRowItemTemplate",void 0),t([A],ps.prototype,"prefix",void 0),t([A],ps.prototype,"rowElements",void 0);class vs extends Fe{constructor(){super(...arguments),this.rowType=e.DataGridRowTypes.default,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 Qe(e=>e.columnDefinitions,e=>e.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(e){this.contains(e.target)||(this.isActiveRow=!1,this.focusColumnIndex=0)}handleCellFocus(e){this.isActiveRow=!0,this.focusColumnIndex=this.cellElements.indexOf(e.target),this.$emit("row-focused",this)}handleKeydown(e){if(e.defaultPrevented)return;let t=0;switch(e.keyCode){case 37:t=Math.max(0,this.focusColumnIndex-1),this.cellElements[t].focus(),e.preventDefault();break;case 39:t=Math.min(this.cellElements.length-1,this.focusColumnIndex+1),this.cellElements[t].focus(),e.preventDefault();break;case 36:e.ctrlKey||(this.cellElements[0].focus(),e.preventDefault());break;case 35:e.ctrlKey||(this.cellElements[this.cellElements.length-1].focus(),e.preventDefault())}}updateItemTemplate(){this.activeCellItemTemplate=this.rowType===e.DataGridRowTypes.default&&void 0!==this.cellItemTemplate?this.cellItemTemplate:this.rowType===e.DataGridRowTypes.default&&void 0===this.cellItemTemplate?this.defaultCellItemTemplate:void 0!==this.headerCellItemTemplate?this.headerCellItemTemplate:this.defaultHeaderCellItemTemplate}}function fs(e){return ae`<template tabindex="-1" role="${e=>"columnheader"===e.cellType?"columnheader":"gridcell"}" class="${e=>"columnheader"===e.cellType?"column-header":""}"><slot></slot></template>`}t([me({attribute:"grid-template-columns"})],vs.prototype,"gridTemplateColumns",void 0),t([me({attribute:"row-type"})],vs.prototype,"rowType",void 0),t([A],vs.prototype,"rowData",void 0),t([A],vs.prototype,"columnDefinitions",void 0),t([A],vs.prototype,"cellItemTemplate",void 0),t([A],vs.prototype,"headerCellItemTemplate",void 0),t([A],vs.prototype,"rowIndex",void 0),t([A],vs.prototype,"isActiveRow",void 0),t([A],vs.prototype,"activeCellItemTemplate",void 0),t([A],vs.prototype,"defaultCellItemTemplate",void 0),t([A],vs.prototype,"defaultHeaderCellItemTemplate",void 0),t([A],vs.prototype,"cellElements",void 0);const ms=ae`<template>${e=>null===e.rowData||null===e.columnDefinition||null===e.columnDefinition.columnDataKey?null:e.rowData[e.columnDefinition.columnDataKey]}</template>`,bs=ae`<template>${e=>null===e.columnDefinition?null:void 0===e.columnDefinition.title?e.columnDefinition.columnDataKey:e.columnDefinition.title}</template>`;class ys extends Fe{constructor(){super(...arguments),this.rowData=null,this.columnDefinition=null,this.isActiveCell=!1,this.customCellView=null,this.isInternalFocused=!1,this.updateCellStyle=()=>{this.style.gridColumn=this.gridColumn}}cellTypeChanged(){this.$fastController.isConnected&&this.updateCellView()}gridColumnChanged(){this.$fastController.isConnected&&this.updateCellStyle()}columnDefinitionChanged(e,t){this.$fastController.isConnected&&this.updateCellView()}connectedCallback(){var e;super.connectedCallback(),this.addEventListener("focusin",this.handleFocusin),this.addEventListener("focusout",this.handleFocusout),this.addEventListener("keydown",this.handleKeydown),this.style.gridColumn=""+(void 0===(null===(e=this.columnDefinition)||void 0===e?void 0:e.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 e.DataGridCellTypes.columnHeader:if(null!==this.columnDefinition&&!0!==this.columnDefinition.headerCellInternalFocusQueue&&"function"==typeof this.columnDefinition.headerCellFocusTargetCallback){const e=this.columnDefinition.headerCellFocusTargetCallback(this);null!==e&&e.focus()}break;default:if(null!==this.columnDefinition&&!0!==this.columnDefinition.cellInternalFocusQueue&&"function"==typeof this.columnDefinition.cellFocusTargetCallback){const e=this.columnDefinition.cellFocusTargetCallback(this);null!==e&&e.focus()}}this.$emit("cell-focused",this)}}handleFocusout(e){this===document.activeElement||this.contains(document.activeElement)||(this.isActiveCell=!1,this.isInternalFocused=!1)}handleKeydown(t){if(!(t.defaultPrevented||null===this.columnDefinition||this.cellType===e.DataGridCellTypes.default&&!0!==this.columnDefinition.cellInternalFocusQueue||this.cellType===e.DataGridCellTypes.columnHeader&&!0!==this.columnDefinition.headerCellInternalFocusQueue))switch(t.keyCode){case 13:case 113:if(this.isInternalFocused||void 0===this.columnDefinition)return;switch(this.cellType){case e.DataGridCellTypes.default:if(void 0!==this.columnDefinition.cellFocusTargetCallback){const e=this.columnDefinition.cellFocusTargetCallback(this);null!==e&&(this.isInternalFocused=!0,e.focus()),t.preventDefault()}break;case e.DataGridCellTypes.columnHeader:if(void 0!==this.columnDefinition.headerCellFocusTargetCallback){const e=this.columnDefinition.headerCellFocusTargetCallback(this);null!==e&&(this.isInternalFocused=!0,e.focus()),t.preventDefault()}}break;case 27:this.isInternalFocused&&(this.focus(),this.isInternalFocused=!1,t.preventDefault())}}updateCellView(){if(this.disconnectCellView(),null!==this.columnDefinition)switch(this.cellType){case e.DataGridCellTypes.columnHeader:void 0!==this.columnDefinition.headerCellTemplate?this.customCellView=this.columnDefinition.headerCellTemplate.render(this,this):this.customCellView=bs.render(this,this);break;case void 0:case e.DataGridCellTypes.default:void 0!==this.columnDefinition.cellTemplate?this.customCellView=this.columnDefinition.cellTemplate.render(this,this):this.customCellView=ms.render(this,this)}}disconnectCellView(){null!==this.customCellView&&(this.customCellView.dispose(),this.customCellView=null)}}t([me({attribute:"cell-type"})],ys.prototype,"cellType",void 0),t([me({attribute:"grid-column"})],ys.prototype,"gridColumn",void 0),t([A],ys.prototype,"rowData",void 0),t([A],ys.prototype,"columnDefinition",void 0);const xs=new Map;"metadata"in Reflect||(Reflect.metadata=function(e,t){return function(i){Reflect.defineMetadata(e,t,i)}},Reflect.defineMetadata=function(e,t,i){let o=xs.get(i);void 0===o&&xs.set(i,o=new Map),o.set(e,t)},Reflect.getOwnMetadata=function(e,t){const i=xs.get(t);if(void 0!==i)return i.get(e)});class Cs{constructor(e,t){this.container=e,this.key=t}instance(e){return this.registerResolver(0,e)}singleton(e){return this.registerResolver(1,e)}transient(e){return this.registerResolver(2,e)}callback(e){return this.registerResolver(3,e)}cachedCallback(e){return this.registerResolver(3,er(e))}aliasTo(e){return this.registerResolver(5,e)}registerResolver(e,t){const{container:i,key:o}=this;return this.container=this.key=void 0,i.registerResolver(o,new js(o,e,t))}}function ws(e){const t=e.slice(),i=Object.keys(e),o=i.length;let s;for(let r=0;r<o;++r)s=i[r],lr(s)||(t[s]=e[s]);return t}const $s=Object.freeze({none(e){throw Error(e.toString()+" not registered, did you forget to add @singleton()?")},singleton:e=>new js(e,1,e),transient:e=>new js(e,2,e)}),ks=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:$s.singleton})}),Ss=new Map;function Ts(e){return t=>Reflect.getOwnMetadata(e,t)}const Fs=Object.freeze({createContainer:e=>new Zs(null,Object.assign({},ks.default,e)),findResponsibleContainer(e){const t=e.$container;return t&&t.responsibleForOwnerRequests?t:Fs.findParentContainer(e)},findParentContainer(e){const t=new CustomEvent(Xs,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}});return e.dispatchEvent(t),t.detail.container||Fs.getOrCreateDOMContainer()},getOrCreateDOMContainer:(e=document.body,t)=>e.$container||new Zs(e,Object.assign({},ks.default,t,{parentLocator:e===document.body?()=>null:Fs.findParentContainer})),getDesignParamtypes:Ts("design:paramtypes"),getAnnotationParamtypes:Ts("di:paramtypes"),getOrCreateAnnotationParamTypes(e){let t=this.getAnnotationParamtypes(e);return void 0===t&&Reflect.defineMetadata("di:paramtypes",t=[],e),t},getDependencies(e){let t=Ss.get(e);if(void 0===t){const i=e.inject;if(void 0===i){const i=Fs.getDesignParamtypes(e),o=Fs.getAnnotationParamtypes(e);if(void 0===i)if(void 0===o){const i=Object.getPrototypeOf(e);t="function"==typeof i&&i!==Function.prototype?ws(Fs.getDependencies(i)):[]}else t=ws(o);else if(void 0===o)t=ws(i);else{t=ws(i);let e,s=o.length;for(let i=0;i<s;++i)e=o[i],void 0!==e&&(t[i]=e);const r=Object.keys(o);let n;s=r.length;for(let e=0;e<s;++e)n=r[e],lr(n)||(t[n]=o[n])}}else t=ws(i);Ss.set(e,t)}return t},defineProperty(e,t,i,o=!1){const s="$di_"+t;Reflect.defineProperty(e,t,{get:function(){let e=this[s];if(void 0===e){const r=this instanceof HTMLElement?Fs.findResponsibleContainer(this):Fs.getOrCreateDOMContainer();if(e=r.get(i),this[s]=e,o&&this instanceof Fe){const o=this.$fastController,r=()=>{Fs.findResponsibleContainer(this).get(i)!==this[s]&&(this[s]=e,o.notify(t))};o.subscribe({handleChange:r},"isConnected")}}return e}})},createInterface(e,t){const i="function"==typeof e?e:t,o="string"==typeof e?e:e&&"friendlyName"in e&&e.friendlyName||sr,s="string"!=typeof e&&(e&&"respectConnection"in e&&e.respectConnection||!1),r=function(e,t,i){if(null==e||void 0!==new.target)throw new Error(`No registration for interface: '${r.friendlyName}'`);if(t)Fs.defineProperty(e,t,r,s);else{Fs.getOrCreateAnnotationParamTypes(e)[i]=r}};return r.$isInterface=!0,r.friendlyName=null==o?"(anonymous)":o,null!=i&&(r.register=function(e,t){return i(new Cs(e,null!=t?t:r))}),r.toString=function(){return`InterfaceSymbol<${r.friendlyName}>`},r},inject:(...e)=>function(t,i,o){if("number"==typeof o){const i=Fs.getOrCreateAnnotationParamTypes(t),s=e[0];void 0!==s&&(i[o]=s)}else if(i)Fs.defineProperty(t,i,e[0]);else{const i=o?Fs.getOrCreateAnnotationParamTypes(o.value):Fs.getOrCreateAnnotationParamTypes(t);let s;for(let t=0;t<e.length;++t)s=e[t],void 0!==s&&(i[t]=s)}},transient:e=>(e.register=function(t){return tr.transient(e,e).register(t,e)},e.registerInRequestor=!1,e),singleton:(e,t=Rs)=>(e.register=function(t){return tr.singleton(e,e).register(t,e)},e.registerInRequestor=t.scoped,e)}),As=Fs.createInterface("Container"),Ds=As;function Ps(e){return function(t){const i=function(e,t,o){Fs.inject(i)(e,t,o)};return i.$isResolver=!0,i.resolve=function(i,o){return e(t,i,o)},i}}const Is=Fs.inject;function Es(e){return Fs.transient(e)}const Rs={scoped:!1};const Os=(Ls=(e,t,i,o)=>i.getAll(e,o),function(e,t){t=!!t;const i=function(e,t,o){Fs.inject(i)(e,t,o)};return i.$isResolver=!0,i.resolve=function(i,o){return Ls(e,i,o,t)},i});var Ls;const Bs=Ps((e,t,i)=>()=>i.get(e)),Hs=Ps((e,t,i)=>i.has(e,!0)?i.get(e):void 0);function Ms(e,t,i){Fs.inject(Ms)(e,t,i)}Ms.$isResolver=!0,Ms.resolve=()=>{};const zs=Ps((e,t,i)=>{const o=Vs(e,t),s=new js(e,0,o);return i.registerResolver(e,s),o}),Ns=Ps((e,t,i)=>Vs(e,t));function Vs(e,t){return t.getFactory(e).construct(t)}class js{constructor(e,t,i){this.key=e,this.strategy=t,this.state=i,this.resolving=!1}get $isResolver(){return!0}register(e,t){return e.registerResolver(t||this.key,this)}resolve(e,t){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=e.getFactory(this.state).construct(t),this.strategy=0,this.resolving=!1,this.state;case 2:{const i=e.getFactory(this.state);if(null===i)throw new Error(`Resolver for ${String(this.key)} returned a null factory`);return i.construct(t)}case 3:return this.state(e,t,this);case 4:return this.state[0].resolve(e,t);case 5:return t.get(this.state);default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(e){var t,i,o;switch(this.strategy){case 1:case 2:return e.getFactory(this.state);case 5:return null!==(o=null===(i=null===(t=e.getResolver(this.state))||void 0===t?void 0:t.getFactory)||void 0===i?void 0:i.call(t,e))&&void 0!==o?o:null;default:return null}}}function _s(e){return this.get(e)}function Gs(e,t){return t(e)}class qs{constructor(e,t){this.Type=e,this.dependencies=t,this.transformers=null}construct(e,t){let i;return i=void 0===t?new this.Type(...this.dependencies.map(_s,e)):new this.Type(...this.dependencies.map(_s,e),...t),null==this.transformers?i:this.transformers.reduce(Gs,i)}registerTransformer(e){(this.transformers||(this.transformers=[])).push(e)}}const Us={$isResolver:!0,resolve:(e,t)=>t};function Ws(e){return"function"==typeof e.register}function Ks(e){return function(e){return Ws(e)&&"boolean"==typeof e.registerInRequestor}(e)&&e.registerInRequestor}const Qs=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"]),Xs="__DI_LOCATE_PARENT__",Ys=new Map;class Zs{constructor(e,t){this.owner=e,this.config=t,this._parent=void 0,this.registerDepth=0,null!==e&&(e.$container=this),this.resolvers=new Map,this.resolvers.set(As,Us),e instanceof HTMLElement&&e.addEventListener(Xs,e=>{e.composedPath()[0]!==this.owner&&(e.detail.container=this,e.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}register(...e){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency");let t,i,o,s,r;for(let n=0,a=e.length;n<a;++n)if(t=e[n],rr(t))if(Ws(t))t.register(this);else if(void 0!==t.prototype)tr.singleton(t,t).register(this);else for(i=Object.keys(t),s=0,r=i.length;s<r;++s)o=t[i[s]],rr(o)&&(Ws(o)?o.register(this):this.register(o));return--this.registerDepth,this}registerResolver(e,t){ir(e);const i=this.resolvers,o=i.get(e);return null==o?i.set(e,t):o instanceof js&&4===o.strategy?o.state.push(t):i.set(e,new js(e,4,[o,t])),t}registerTransformer(e,t){const i=this.getResolver(e);if(null==i)return!1;if(i.getFactory){const e=i.getFactory(this);return null!=e&&(e.registerTransformer(t),!0)}return!1}getResolver(e,t=!0){if(ir(e),void 0!==e.resolve)return e;let i,o=this;for(;null!=o;){if(i=o.resolvers.get(e),null!=i)return i;if(null==o.parent){const i=Ks(e)?this:o;return t?this.jitRegister(e,i):null}o=o.parent}return null}has(e,t=!1){return!!this.resolvers.has(e)||!(!t||null==this.parent)&&this.parent.has(e,!0)}get(e){if(ir(e),e.$isResolver)return e.resolve(this,this);let t,i=this;for(;null!=i;){if(t=i.resolvers.get(e),null!=t)return t.resolve(i,this);if(null==i.parent){const o=Ks(e)?this:i;return t=this.jitRegister(e,o),t.resolve(i,this)}i=i.parent}throw new Error("Unable to resolve key: "+e)}getAll(e,t=!1){ir(e);const i=this;let s,r=i;if(t){let t=o;for(;null!=r;)s=r.resolvers.get(e),null!=s&&(t=t.concat(or(s,r,i))),r=r.parent;return t}for(;null!=r;){if(s=r.resolvers.get(e),null!=s)return or(s,r,i);if(r=r.parent,null==r)return o}return o}getFactory(e){let t=Ys.get(e);if(void 0===t){if(nr(e))throw new Error(e.name+" is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.");Ys.set(e,t=new qs(e,Fs.getDependencies(e)))}return t}registerFactory(e,t){Ys.set(e,t)}createChild(e){return new Zs(null,Object.assign({},this.config,e,{parentLocator:()=>this}))}jitRegister(e,t){if("function"!=typeof e)throw new Error(`Attempted to jitRegister something that is not a constructor: '${e}'. Did you forget to register this resource?`);if(Qs.has(e.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${e.name}. Did you forget to add @inject(Key)`);if(Ws(e)){const i=e.register(t,e);if(!(i instanceof Object)||null==i.resolve){const i=t.resolvers.get(e);if(null!=i)return i;throw new Error("A valid resolver was not returned from the static register method")}return i}if(e.$isInterface)throw new Error("Attempted to jitRegister an interface: "+e.friendlyName);{const i=this.config.defaultResolver(e,t);return t.resolvers.set(e,i),i}}}const Js=new WeakMap;function er(e){return function(t,i,o){if(Js.has(o))return Js.get(o);const s=e(t,i,o);return Js.set(o,s),s}}const tr=Object.freeze({instance:(e,t)=>new js(e,0,t),singleton:(e,t)=>new js(e,1,t),transient:(e,t)=>new js(e,2,t),callback:(e,t)=>new js(e,3,t),cachedCallback:(e,t)=>new js(e,3,er(t)),aliasTo:(e,t)=>new js(t,5,e)});function ir(e){if(null==e)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function or(e,t,i){if(e instanceof js&&4===e.strategy){const o=e.state;let s=o.length;const r=new Array(s);for(;s--;)r[s]=o[s].resolve(t,i);return r}return[e.resolve(t,i)]}const sr="(anonymous)";function rr(e){return"object"==typeof e&&null!==e||"function"==typeof e}const nr=function(){const e=new WeakMap;let t=!1,i="",o=0;return function(s){return t=e.get(s),void 0===t&&(i=s.toString(),o=i.length,t=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),e.set(s,t)),t}}(),ar={};function lr(e){switch(typeof e){case"number":return e>=0&&(0|e)===e;case"string":{const t=ar[e];if(void 0!==t)return t;const i=e.length;if(0===i)return ar[e]=!1;let o=0;for(let t=0;t<i;++t)if(o=e.charCodeAt(t),0===t&&48===o&&i>1||o<48||o>57)return ar[e]=!1;return ar[e]=!0}default:return!1}}const cr=Fs.createInterface(),dr=new Map,hr=new Map;class ur{constructor(e,t,i,o,s){this.container=e,this.name=t,this.type=i,this.callback=o,this.willDefine=s,this.definition=null}defineElement(e){this.definition=new Ce(this.type,Object.assign(Object.assign({},e),{name:this.name}))}tagFor(e){return hr.get(e)}}const pr=new Map,gr=Object.freeze({keyFrom(e){const t=e.toLowerCase();let i=pr.get(t);return void 0===i&&(i=Fs.createInterface(t+":presentation"),pr.set(t,i)),i}});class vr{constructor(e,t){this.template=e||null,this.styles=void 0===t?null:Array.isArray(t)?le.create(t):t instanceof le?t:le.create([t])}applyTo(e){const t=e.$fastController;null===t.template&&(t.template=this.template),null===t.styles&&(t.styles=this.styles)}}class fr{getElementStyles(e,t){let i=fr.cache.get(e.cssCustomProperty);i||(i=new Map,fr.cache.set(e.cssCustomProperty,i));let o=i.get(t);return o||(o=this.createElementStyles(e,t),i.set(t,o)),o}getOrCreateAppliedCache(e){return(fr.appliedCache.has(e)||fr.appliedCache.set(e,new Map))&&fr.appliedCache.get(e)}createElementStyles(e,t){return Ie`:host{${e.cssCustomProperty}:${t}}`}addTo(e,t,i){if(mr(e)){const o=this.getElementStyles(t,i);e.$fastController.addStyles(o),this.getOrCreateAppliedCache(e).set(t.cssCustomProperty,o)}else h.queueUpdate(()=>e.style.setProperty(t.cssCustomProperty,i))}removeFrom(e,t){if(mr(e)){const i=this.getOrCreateAppliedCache(e),o=i.get(t.cssCustomProperty);o&&(e.$fastController.removeStyles(o),i.delete(t.cssCustomProperty))}else h.queueUpdate(()=>e.style.removeProperty(t.cssCustomProperty))}}function mr(e){return e instanceof Fe}fr.cache=new Map,fr.appliedCache=new WeakMap;const br=new fr,yr=document.body;class xr extends De{constructor(e){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=e.name,null!==e.cssCustomPropertyName&&(this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`)}get appliedTo(){return[...this._appliedTo]}static from(e){return new xr({name:"string"==typeof e?e:e.name,cssCustomPropertyName:"string"==typeof e?e:void 0===e.cssCustomPropertyName?e.name:e.cssCustomPropertyName})}static isCSSDesignToken(e){return"string"==typeof e.cssCustomProperty}getOrCreateSubscriberSet(e=this){return this.subscribers.get(e)||this.subscribers.set(e,new Set)&&this.subscribers.get(e)}createCSS(){return this.cssVar||""}getValueFor(e){const t=Sr.for(this,e);return k.track(t,"value"),Sr.for(this,e).value}setValueFor(e,t){if(this._appliedTo.add(e),t instanceof xr){const e=t;t=t=>Sr.for(e,t).value}return Sr.for(this,e).set(t),[...this.getOrCreateSubscriberSet(this),...this.getOrCreateSubscriberSet(e)].forEach(t=>t.handleChange({token:this,target:e})),this}deleteValueFor(e){return this._appliedTo.delete(e),Sr.for(this,e).delete(),this}withDefault(e){return Sr.for(this,yr).set(e),this}subscribe(e,t){const i=this.getOrCreateSubscriberSet(t);i.has(e)||i.add(e)}unsubscribe(e,t){this.getOrCreateSubscriberSet(t).delete(e)}}const Cr=new WeakMap,wr=new Map,$r=new WeakMap,kr=Function.prototype;class Sr{constructor(e,t){var i;if(this.token=e,this.target=t,this.children=new Set,this.useCSSCustomProperty=!1,this.handleChange=this.unsetValueChangeHandler,this.bindingChangeHandler={handleChange:()=>{k.getNotifier(this).notify("value")}},this.cssCustomPropertySubscriber={handleChange:()=>{br.removeFrom(this.target,this.token),br.addTo(this.target,this.token,this.resolveCSSValue(this.value))},dispose:()=>{br.removeFrom(this.target,this.token)}},this.tokenDependencySubscriber={handleChange:e=>{const t=this.resolveRawValue(),i=Sr.for(this.token,e.target);this.contains(i)&&!i.useCSSCustomProperty&&i.resolveRawValue()===t&&(i.useCSSCustomProperty=!0)}},Cr.has(t)&&Cr.get(t).has(e))throw new Error(`DesignTokenNode already created for ${e.name} and ${t}. Use DesignTokenNode.for() to ensure proper reuse`);const o=Fs.getOrCreateDOMContainer(this.target),s=Sr.channel(e);o.register(tr.instance(s,this)),xr.isCSSDesignToken(e)||delete this.useCSSCustomPropertyChanged,t instanceof Fe?t.$fastController.addBehaviors([this]):null===(i=this.findParentNode())||void 0===i||i.appendChild(this)}_rawValueChanged(){k.getNotifier(this).notify("value")}get rawValue(){return this._rawValue}useCSSCustomPropertyChanged(e,t){t?(k.getNotifier(this).subscribe(this.cssCustomPropertySubscriber,"value"),this.cssCustomPropertySubscriber.handleChange()):e&&(k.getNotifier(this).unsubscribe(this.cssCustomPropertySubscriber,"value"),this.cssCustomPropertySubscriber.dispose())}bind(){var e;null===(e=this.findParentNode())||void 0===e||e.appendChild(this)}unbind(){var e;null===(e=$r.get(this))||void 0===e||e.removeChild(this),this.tearDownBindingObserver()}resolveRealValue(){const e=this.resolveRawValue();return Sr.isDerivedTokenValue(e)?(this.bindingObserver&&this.bindingObserver.source===e||this.setupBindingObserver(e),this.bindingObserver.observe(this.target,E)):(this.bindingObserver&&this.tearDownBindingObserver(),e)}resolveRawValue(){let e=this;do{const{rawValue:t}=e;if(void 0!==t)return t;e=$r.get(e)}while(void 0!==e);if(!$r.has(this)){const e=this.findParentNode();if(e)return e.appendChild(this),this.resolveRawValue()}throw new Error(`Value could not be retrieved for token named "${this.token.name}". Ensure the value is set for ${this.target} or an ancestor of ${this.target}. `)}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}static channel(e){return(wr.has(e)||wr.set(e,Fs.createInterface()))&&wr.get(e)}static isDerivedTokenValue(e){return"function"==typeof e}unsetValueChangeHandler(e,t){void 0===this._rawValue&&k.getNotifier(this).notify("value")}setupBindingObserver(e){this.tearDownBindingObserver(),this.bindingObserver=k.binding(e,this.bindingChangeHandler)}tearDownBindingObserver(){this.bindingObserver&&(this.bindingObserver.disconnect(),this.bindingObserver=void 0)}static for(e,t){const i=(Cr.has(t)||Cr.set(t,new Map))&&Cr.get(t);return(i.has(e)||i.set(e,new Sr(e,t)))&&i.get(e)}appendChild(e){this.children.has(e)||(this.children.forEach(t=>{e.contains(t)&&(this.removeChild(t),e.appendChild(t))}),this.children.add(e),k.getNotifier(this).subscribe(e,"value"),$r.set(e,this))}removeChild(e){this.children.delete(e),$r.delete(e),k.getNotifier(this).unsubscribe(e,"value")}contains(e){return this.target.contains(e.target)}findParentNode(){if(this.target===yr)return null;const e=ro(this.target);if(this.target!==document.body&&e){const t=Fs.getOrCreateDOMContainer(e);if(t.has(Sr.channel(this.token),!0))return t.get(Sr.channel(this.token))}return Sr.for(this.token,yr)}get value(){return this.resolveRealValue()}set(e){if(e!==this._rawValue&&(this.handleChange=kr,this._rawValue=e,this.useCSSCustomProperty||(this.useCSSCustomProperty=!0),this.bindingObserver)){const e=this.bindingObserver.records();for(const t of e)if(t.propertySource instanceof Sr&&t.propertySource.token instanceof xr){const{token:e}=t.propertySource;e.subscribe(this.tokenDependencySubscriber),e.appliedTo.forEach(t=>this.tokenDependencySubscriber.handleChange({token:e,target:t}))}}}delete(){this.useCSSCustomProperty&&(this.useCSSCustomProperty=!1),this._rawValue=void 0,this.handleChange=this.unsetValueChangeHandler,this.tearDownBindingObserver()}}t([A],Sr.prototype,"_rawValue",void 0),t([A],Sr.prototype,"useCSSCustomProperty",void 0);const Tr=Object.freeze({create:function(e){return xr.from(e)}}),Fr=ae`<div class="positioning-region" part="positioning-region">${Ge(e=>e.modal,ae`<div class="overlay" part="overlay" role="presentation" tabindex="-1" @click="${e=>e.dismiss()}"></div>`)}<div role="dialog" class="control" part="control" aria-modal="${e=>e.modal}" aria-describedby="${e=>e.ariaDescribedby}" aria-labelledby="${e=>e.ariaLabelledby}" aria-label="${e=>e.ariaLabel}" ${_e("dialog")}><slot></slot></div></div>`
|
|
16
|
-
/*!
|
|
17
|
-
* tabbable 5.2.0
|
|
18
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
19
|
-
*/;var Ar=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Dr=Ar.join(","),Pr="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ir=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t},Er=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Rr=function(e){return"INPUT"===e.tagName},Or=function(e){return function(e){return Rr(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,i=e.form||e.ownerDocument,o=function(e){return i.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var s=function(e,t){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===t)return e[i]}(t,e.form);return!s||s===e}(e)},Lr=function(e,t){return!(t.disabled||function(e){return Rr(e)&&"hidden"===e.type}(t)||function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;var i=Pr.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Pr.call(i,"details:not([open]) *"))return!0;if(t&&"full"!==t){if("non-zero-area"===t){var o=e.getBoundingClientRect(),s=o.width,r=o.height;return 0===s&&0===r}}else for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,e.displayCheck)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t))},Br=function(e,t){return!(!Lr(e,t)||Or(t)||Ir(t)<0)},Hr=function(e,t){var i=[],o=[];return function(e,t,i){var o=Array.prototype.slice.apply(e.querySelectorAll(Dr));return t&&Pr.call(e,Dr)&&o.unshift(e),o=o.filter(i)}(e,(t=t||{}).includeContainer,Br.bind(null,t)).forEach((function(e,t){var s=Ir(e);0===s?i.push(e):o.push({documentOrder:t,tabIndex:s,node:e})})),o.sort(Er).map((function(e){return e.node})).concat(i)},Mr=Ar.concat("iframe").join(","),zr=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Pr.call(e,Mr)&&Lr(t,e)};class Nr extends Fe{constructor(){super(...arguments),this.modal=!0,this.hidden=!1,this.trapFocus=!0,this.onChildListChange=e=>{e.length&&(this.tabbableElements=Hr(this))},this.trapFocusChanged=()=>{this.trapFocus?(this.tabbableElements=Hr(this),document.addEventListener("focusin",this.handleDocumentFocus),this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()):document.removeEventListener("focusin",this.handleDocumentFocus)},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&!this.hidden)switch(e.keyCode){case 27:this.dismiss();break;case 9:this.handleTabKeyDown(e)}},this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.handleTabKeyDown=e=>{if(!this.trapFocus)return;const t=this.tabbableElements.length;if(0===t)return this.dialog.focus(),void e.preventDefault();e.shiftKey&&e.target===this.tabbableElements[0]?(this.tabbableElements[t-1].focus(),e.preventDefault()):e.shiftKey||e.target!==this.tabbableElements[t-1]||(this.tabbableElements[0].focus(),e.preventDefault())},this.focusFirstElement=()=>{0===this.tabbableElements.length?this.dialog.focus():this.tabbableElements[0].focus()},this.shouldForceFocus=e=>!this.hidden&&!this.contains(e)}dismiss(){this.$emit("dismiss")}show(){this.hidden=!1}hide(){this.hidden=!0}connectedCallback(){super.connectedCallback(),this.observer=new MutationObserver(this.onChildListChange),this.observer.observe(this,{childList:!0}),document.addEventListener("keydown",this.handleDocumentKeydown),h.queueUpdate(this.trapFocusChanged)}disconnectedCallback(){super.disconnectedCallback(),this.observer.disconnect(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.trapFocus&&document.removeEventListener("focusin",this.handleDocumentFocus)}}t([me({mode:"boolean"})],Nr.prototype,"modal",void 0),t([me({mode:"boolean"})],Nr.prototype,"hidden",void 0),t([me({attribute:"trap-focus",mode:"boolean"})],Nr.prototype,"trapFocus",void 0),t([me({attribute:"aria-describedby"})],Nr.prototype,"ariaDescribedby",void 0),t([me({attribute:"aria-labelledby"})],Nr.prototype,"ariaLabelledby",void 0),t([me({attribute:"aria-label"})],Nr.prototype,"ariaLabel",void 0);const Vr=ae`<details class="disclosure" ${_e("details")}><summary class="invoker" role="button" aria-controls="disclosure-content" aria-expanded="${e=>e.expanded}"><slot name="start"></slot><slot name="title">${e=>e.title}</slot><slot name="end"></slot></summary><div id="disclosure-content"><slot></slot></div></details>`;class jr extends Fe{connectedCallback(){super.connectedCallback(),this.setup()}disconnectedCallback(){super.disconnectedCallback(),this.details.removeEventListener("toggle",this.onToggle)}show(){this.details.open=!0}hide(){this.details.open=!1}toggle(){this.details.open=!this.details.open}setup(){this.onToggle=this.onToggle.bind(this),this.details.addEventListener("toggle",this.onToggle),this.expanded&&this.show()}onToggle(){this.expanded=this.details.open,this.$emit("toggle")}}t([me({mode:"boolean"})],jr.prototype,"expanded",void 0),t([me],jr.prototype,"title",void 0);const _r=ae`<template role="${e=>e.role}"></template>`;var Gr,qr;(Gr=e.DividerRole||(e.DividerRole={})).separator="separator",Gr.presentation="presentation";class Ur extends Fe{constructor(){super(...arguments),this.role=e.DividerRole.separator}}t([me],Ur.prototype,"role",void 0),(qr=e.FlipperDirection||(e.FlipperDirection={})).next="next",qr.previous="previous";const Wr=ae`<template role="button" aria-disabled="${e=>!!e.disabled||void 0}" tabindex="${e=>e.hiddenFromAT?-1:0}" class="${e=>e.direction} ${e=>e.disabled?"disabled":""}">${Ge(t=>t.direction===e.FlipperDirection.next,ae`<span part="next" class="next"><slot name="next"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z" /></svg></slot></span>`)} ${Ge(t=>t.direction===e.FlipperDirection.previous,ae`<span part="previous" class="previous"><slot name="previous"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z" /></svg></slot></span>`)}</template>`;class Kr extends Fe{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=e.FlipperDirection.next}}t([me({mode:"boolean"})],Kr.prototype,"disabled",void 0),t([me({attribute:"aria-hidden",converter:ge})],Kr.prototype,"hiddenFromAT",void 0),t([me],Kr.prototype,"direction",void 0);class Qr extends Fe{constructor(){super(...arguments),this._presentation=null}get $presentation(){return null===this._presentation&&(this._presentation=this.container.get(gr.keyFrom(this.tagName))),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){this.$presentation.applyTo(this),super.connectedCallback()}static compose(e){return(t={})=>new Yr(this===Qr?class extends Qr{}:this,e,t)}}function Xr(e,t,i){return"function"==typeof e?e(t,i):e}t([As],Qr.prototype,"container",void 0),t([A],Qr.prototype,"template",void 0),t([A],Qr.prototype,"styles",void 0);class Yr{constructor(e,t,i){this.type=e,this.elementDefinition=t,this.overrideDefinition=i}register(e){const t=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition),i=e.get(cr),o=`${t.prefix||i.elementPrefix}-${t.baseName}`;i.tryDefineElement(o,this.type,e=>{const i=new vr(Xr(t.template,e,t),Xr(t.styles,e,t));e.container.register(tr.instance(gr.keyFrom(e.name),i)),e.defineElement({elementOptions:Xr(t.elementOptions,e,t),shadowOptions:Xr(t.shadowOptions,e,t),attributes:Xr(t.attributes,e,t)})})}}const Zr=ae`<template aria-selected="${e=>e.selected}" class="${e=>e.selected?"selected":""} ${e=>e.disabled?"disabled":""}" role="option">${st}<span class="content" part="content"><slot></slot></span>${ot}</template>`,Jr=ae`<template aria-activedescendant="${e=>e.ariaActiveDescendant}" class="listbox" role="${e=>e.role}" tabindex="${e=>e.disabled?null:"0"}" @click="${(e,t)=>e.clickHandler(t.event)}" @focusin="${(e,t)=>e.focusinHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @mousedown="${(e,t)=>e.mousedownHandler(t.event)}"><slot ${Je({filter:es.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}></slot></template>`;var en;(en=e.MenuItemRole||(e.MenuItemRole={})).menuitem="menuitem",en.menuitemcheckbox="menuitemcheckbox",en.menuitemradio="menuitemradio";class tn extends Fe{constructor(){super(...arguments),this.role=e.MenuItemRole.menuitem,this.hasSubmenu=!1,this.currentDirection=Ki.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.keyCode){case 13:case 32:return this.invoke(),!1;case 39:return this.expandAndFocus(),!1;case 37:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case e.MenuItemRole.menuitemcheckbox:this.checked=!this.checked,this.$emit("change");break;case e.MenuItemRole.menuitem:this.updateSubmenu(),this.hasSubmenu?this.expandAndFocus():this.$emit("change");break;case e.MenuItemRole.menuitemradio:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find(e=>"menu"===e.getAttribute("role")),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(e){if(this.$fastController.isConnected){if(void 0===this.submenu)return;!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=Ao(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),h.queueUpdate(()=>{this.updateSubmenu()}),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)}}t([me({mode:"boolean"})],tn.prototype,"disabled",void 0),t([me({attribute:"expanded"})],tn.prototype,"expanded",void 0),t([me],tn.prototype,"role",void 0),t([me],tn.prototype,"checked",void 0),t([A],tn.prototype,"submenuRegion",void 0),t([A],tn.prototype,"hasSubmenu",void 0),t([A],tn.prototype,"currentDirection",void 0),t([A],tn.prototype,"submenu",void 0),nt(tn,it);const on=sn("fast");function sn(t){return ae`<template role="${e=>e.role}" aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${t=>t.role!==e.MenuItemRole.menuitem?t.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @keydown="${(e,t)=>e.handleMenuItemKeyDown(t.event)}" @click="${(e,t)=>e.handleMenuItemClick(t.event)}" @mouseover="${(e,t)=>e.handleMouseOver(t.event)}" @mouseout="${(e,t)=>e.handleMouseOut(t.event)}" class="${e=>e.disabled?"disabled":""} ${e=>e.expanded?"expanded":""}">${Ge(t=>t.role===e.MenuItemRole.menuitemcheckbox,ae`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator"><svg aria-hidden="true" part="checkbox-indicator" class="checkbox-indicator" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.143 12.6697L15.235 4.5L16.8 5.90363L8.23812 15.7667L3.80005 11.2556L5.27591 9.7555L8.143 12.6697Z" /></svg></slot></span></div>`)} ${Ge(t=>t.role===e.MenuItemRole.menuitemradio,ae`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator"><span part="radio-indicator" class="radio-indicator"></span></slot></span></div>`)} ${Ge(e=>e.hasSubmenu,ae`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph" part="expand-collapse-glyph"><path d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z" /></svg></slot></span></div>`)}</div>${st}<span class="content" part="content"><slot></slot></span>${ot} ${Ge(e=>e.expanded,ae`<${t}-anchored-region :anchorElement="${e=>e}" vertical-positioning-mode="dynamic" vertical-default-position="bottom" vertical-inset="true" horizontal-positioning-mode="dynamic" horizontal-default-position="end" class="submenu-region" dir="${e=>e.currentDirection}" @loaded="${e=>e.submenuLoaded()}" ${_e("submenuRegion")}part="submenu-region"><slot name="submenu"></slot></${t}-anchored-region>`)}</template>`}const rn=ae`<template slot="${e=>e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Je("items")}></slot></template>`;class nn extends Fe{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Gi(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.setItems=()=>{const e=this.menuItems.filter(this.isMenuItemElement);e.length&&(this.focusIndex=0),e.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})},this.resetItems=e=>{e.forEach(e=>{e.removeEventListener("expanded-change",this.handleExpandedChanged),e.removeEventListener("focus",this.handleItemFocus)})},this.changeHandler=t=>{const i=t.target,o=this.menuItems.indexOf(i);if(-1!==o&&"menuitemradio"===i.role&&!0===i.checked){for(let t=o-1;t>=0;--t){const i=this.menuItems[t],o=i.getAttribute("role");if(o===e.MenuItemRole.menuitemradio&&(i.checked=!1),"separator"===o)break}const t=this.menuItems.length-1;for(let i=o+1;i<=t;++i){const t=this.menuItems[i],o=t.getAttribute("role");if(o===e.MenuItemRole.menuitemradio&&(t.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>Gi(e)&&nn.focusableElementRoles.hasOwnProperty(e.getAttribute("role")),this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&(this.menuItems=this.domChildren(),this.resetItems(e),this.setItems())}connectedCallback(){super.connectedCallback(),this.menuItems=this.domChildren(),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.menuItems=[],this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented)switch(e.keyCode){case 40:return void this.setFocus(this.focusIndex+1,1);case 38:return void this.setFocus(this.focusIndex-1,-1);case 35:return void this.setFocus(this.menuItems.length-1,-1);case 36:return void this.setFocus(0,1);default:return!0}}domChildren(){return Array.from(this.children)}setFocus(e,t){if(void 0!==this.menuItems)for(;Bi(e,this.menuItems.length);){const i=this.menuItems[e];if(this.isFocusableElement(i)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,i.setAttribute("tabindex","0"),i.focus();break}e+=t}}}nn.focusableElementRoles=Vi(e.MenuItemRole),t([A],nn.prototype,"items",void 0);const an=ae`<template class="${e=>e.readOnly?"readonly":""}"><label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Je("defaultSlottedNodes")}></slot></label><div class="root" part="root">${st}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" :value="${e=>e.value}" type="text" inputmode="numeric" min="${e=>e.min}" max="${e=>e.max}" step="${e=>e.step}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedBy="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${_e("control")}/>${Ge(e=>!e.hideStep,ae`<div class="controls" part="controls"><div class="step-up" part="step-up" @click="${e=>e.stepUp()}"></div><div class="step-down" part="step-down" @click="${e=>e.stepDown()}"></div></div>`)} ${ot}</div></template>`,ln=ae`<template class=" ${e=>e.readOnly?"readonly":""}"><label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Je({property:"defaultSlottedNodes",filter:Do})}></slot></label><div class="root" part="root">${st}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedBy="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${_e("control")}/>${ot}</div></template>`;class cn extends Fe{}class dn extends(No(cn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var hn;(hn=e.TextFieldType||(e.TextFieldType={})).email="email",hn.password="password",hn.tel="tel",hn.text="text",hn.url="url";class un extends dn{constructor(){super(...arguments),this.type=e.TextFieldType.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&h.queueUpdate(()=>{this.focus()})}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}}t([me({attribute:"readonly",mode:"boolean"})],un.prototype,"readOnly",void 0),t([me({mode:"boolean"})],un.prototype,"autofocus",void 0),t([me],un.prototype,"placeholder",void 0),t([me],un.prototype,"type",void 0),t([me],un.prototype,"list",void 0),t([me({converter:ve})],un.prototype,"maxlength",void 0),t([me({converter:ve})],un.prototype,"minlength",void 0),t([me],un.prototype,"pattern",void 0),t([me({converter:ve})],un.prototype,"size",void 0),t([me({mode:"boolean"})],un.prototype,"spellcheck",void 0),t([A],un.prototype,"defaultSlottedNodes",void 0);class pn{}nt(pn,to),nt(un,it,pn);class gn extends Fe{}class vn extends(No(gn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class fn extends vn{constructor(){super(...arguments),this.hideStep=!1,this.step=1}maxChanged(e,t){const i=parseFloat(t);void 0!==i&&(void 0!==this.min&&i<this.min?(this.max=this.min,this.min=i):this.max=i)}minChanged(e,t){const i=parseFloat(t);void 0!==i&&(void 0!==this.max&&i>this.max?(this.min=this.max,this.max=i):this.min=i)}valueChanged(e,t){super.valueChanged(e,t);const i=parseFloat(t);let o=i==t?t:i;o=""===t||isNaN(i)?"":this.getValidValue(i),this.value=o,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value)}getValidValue(e){return void 0!==this.min&&e<this.min?e=this.min:void 0!==this.max&&e>this.max&&(e=this.max),parseFloat(e.toPrecision(12)).toString()}stepUp(){const e=this.step+(parseFloat(this.value)||0);this.value=this.getValidValue(e),this.$emit("input")}stepDown(){const e=(parseFloat(this.value)||0)-this.step;this.value=this.getValidValue(e),this.$emit("input")}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.autofocus&&h.queueUpdate(()=>{this.focus()})}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}}t([me({attribute:"readonly",mode:"boolean"})],fn.prototype,"readOnly",void 0),t([me({mode:"boolean"})],fn.prototype,"autofocus",void 0),t([me({attribute:"hide-step",mode:"boolean"})],fn.prototype,"hideStep",void 0),t([me],fn.prototype,"placeholder",void 0),t([me],fn.prototype,"list",void 0),t([me({converter:ve})],fn.prototype,"maxlength",void 0),t([me({converter:ve})],fn.prototype,"minlength",void 0),t([me({converter:ve})],fn.prototype,"size",void 0),t([me({converter:ve})],fn.prototype,"step",void 0),t([me({converter:ve})],fn.prototype,"max",void 0),t([me({converter:ve})],fn.prototype,"min",void 0),t([A],fn.prototype,"defaultSlottedNodes",void 0),nt(fn,it,pn);const mn=ae`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" class="${e=>e.paused?"paused":""}">${Ge(e=>"number"==typeof e.value,ae`<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.value/100}px 44px" cx="8px" cy="8px" r="7px"></circle></svg>`)} ${Ge(e=>"number"!=typeof e.value,ae`<slot name="indeterminate" slot="indeterminate"><svg class="progress" part="progress" viewBox="0 0 16 16"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle></svg></slot>`)}</template>`;class bn extends Fe{}t([me({converter:ve})],bn.prototype,"value",void 0),t([me({converter:ve})],bn.prototype,"min",void 0),t([me({converter:ve})],bn.prototype,"max",void 0),t([me({mode:"boolean"})],bn.prototype,"paused",void 0);const yn=ae`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" class="${e=>e.paused?"paused":""}">${Ge(e=>"number"==typeof e.value,ae`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width:${e=>e.value}%"></div></div>`)} ${Ge(e=>"number"!=typeof e.value,ae`<div class="progress" part="progress" slot="indeterminate"><slot class="indeterminate" name="indeterminate"><span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span><span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span></slot></div>`)}</template>`,xn=ae`<template role="radiogroup" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" @click="${(e,t)=>e.clickHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===ct.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Je({property:"slottedRadioButtons",filter:Xe("[role=radio]")})}></slot></div></template>`;class Cn extends Fe{constructor(){super(...arguments),this.orientation=ct.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const i=e[t];this.isInsideToolbar||(i.setAttribute("tabindex","0"),i.readOnly?this.slottedRadioButtons.forEach(e=>{e!==i&&e.setAttribute("tabindex","-1")}):(i.checked=!0,this.selectedRadio=i)),this.focusedRadio=i,i.focus()},this.moveRightOffGroup=()=>{var e;null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,i=e.target,o=null!==i?t.indexOf(i):0,s=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===s&&o===s||s===t.length-1&&s===o)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.clickHandler=e=>{const t=e.target;if(t){const e=this.slottedRadioButtons;t.checked||0===e.indexOf(t)?(t.setAttribute("tabindex","0"),this.selectedRadio=t):(t.setAttribute("tabindex","-1"),this.selectedRadio=null),this.focusedRadio=t}e.preventDefault()},this.shouldMoveOffGroupToTheRight=(e,t,i)=>e===t.length&&this.isInsideToolbar&&39===i,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&37===t,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=e=>{const t=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(i,t,e.keyCode))this.moveRightOffGroup();else for(i===t.length&&(i=0);i<t.length&&t.length>1;){if(!t[i].disabled){this.moveToRadioByIndex(t,i);break}if(this.focusedRadio&&i===t.indexOf(this.focusedRadio))break;if(i+1>=t.length){if(this.isInsideToolbar)break;i=0}else i+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let i=0;if(i=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,i=i<0?t.length-1:i,this.shouldMoveOffGroupToTheLeft(t,e.keyCode))this.moveLeftOffGroup();else for(;i>=0&&t.length>1;){if(!t[i].disabled){this.moveToRadioByIndex(t,i);break}if(this.focusedRadio&&i===t.indexOf(this.focusedRadio))break;i-1<0?i=t.length-1:i-=1}},this.keydownHandler=e=>{const t=e.key;if(t in Wi&&this.isInsideFoundationToolbar)return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===Ki.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===Ki.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}readOnlyChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{this.readOnly?e.readOnly=!0:e.readOnly=!1})}disabledChanged(){void 0!==this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{this.disabled?e.disabled=!0:e.disabled=!1})}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.getAttribute("value")===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!==(e=this.parentToolbar)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=Ao(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let i=!1;if(this.slottedRadioButtons.forEach(e=>{void 0!==this.name&&e.setAttribute("name",this.name),this.disabled&&(e.disabled=!0),this.readOnly&&(e.readOnly=!0),this.value&&this.value===e.getAttribute("value")?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),i=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler)}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!i){const i=e[t-1];i.checked=!0,this.focusedRadio=i,i.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}t([me({attribute:"readonly",mode:"boolean"})],Cn.prototype,"readOnly",void 0),t([me({attribute:"disabled",mode:"boolean"})],Cn.prototype,"disabled",void 0),t([me],Cn.prototype,"name",void 0),t([me],Cn.prototype,"value",void 0),t([me],Cn.prototype,"orientation",void 0),t([A],Cn.prototype,"childItems",void 0),t([A],Cn.prototype,"slottedRadioButtons",void 0);const wn=ae`<template role="radio" class="${e=>e.checked?"checked":""} ${e=>e.readOnly?"readonly":""}" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator"><div part="checked-indicator" class="checked-indicator"></div></slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Je("defaultSlottedNodes")}></slot></label></template>`;class $n extends Fe{}class kn extends(No($n)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Sn extends kn{constructor(){var e;super(),this.initialValue="on",this.checkedAttribute=!1,this.dirtyChecked=!1,this.formResetCallback=()=>{this.checked=!!this.defaultChecked,this.dirtyChecked=!1},this.keypressHandler=e=>{switch(e.keyCode){case 32:return void(this.checked||this.readOnly||(this.checked=!0))}return!0},this.clickHandler=e=>{this.disabled||this.readOnly||this.checked||(this.checked=!0)},this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}checkedChanged(){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),this.$emit("change"),this.validate())}connectedCallback(){var e,t;super.connectedCallback(),this.proxy.setAttribute("type","radio"),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.updateForm(),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}}t([me({attribute:"readonly",mode:"boolean"})],Sn.prototype,"readOnly",void 0),t([A],Sn.prototype,"name",void 0),t([me({attribute:"checked",mode:"boolean"})],Sn.prototype,"checkedAttribute",void 0),t([A],Sn.prototype,"defaultSlottedNodes",void 0),t([A],Sn.prototype,"defaultChecked",void 0),t([A],Sn.prototype,"checked",void 0);class Tn extends Fe{constructor(){super(...arguments),this.framesPerSecond=120,this.updatingItems=!1,this.speed=600,this.easing="ease-in-out",this.scrolling=!1,this.resizeDetector=null}get frameTime(){return 1e3/this.framesPerSecond}get isRtl(){return this.scrollItems.length>1&&this.scrollItems[0].offsetLeft>this.scrollItems[1].offsetLeft}connectedCallback(){super.connectedCallback(),this.initializeResizeDetector()}disconnectedCallback(){super.disconnectedCallback(),this.disconnectResizeDetector()}scrollItemsChanged(e,t){t&&!this.updatingItems&&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;let e=[];this.scrollItems.forEach(t=>{t instanceof HTMLSlotElement?e=e.concat(t.assignedElements()):e.push(t)}),this.scrollItems=e,this.updatingItems=!1}setStops(){this.updateScrollStops(),this.width=this.offsetWidth;let e=0,t=this.scrollItems.map(({offsetLeft:t,offsetWidth:i},o)=>{const s=t+i;return this.isRtl?-s:(e=s,0===o?0:t)}).concat(e);t=this.fixScrollMisalign(t),t.sort((e,t)=>Math.abs(e)-Math.abs(t)),this.scrollStops=t,this.setFlippers()}fixScrollMisalign(e){if(this.isRtl&&e.some(e=>e>0)){e.sort((e,t)=>t-e);const t=e[0];e=e.map(e=>e-t)}return e}setFlippers(){const e=this.scrollContainer.scrollLeft;if(this.previousFlipper&&this.previousFlipper.classList.toggle("disabled",0===e),this.nextFlipper&&this.scrollStops){const t=Math.abs(this.scrollStops[this.scrollStops.length-1]);this.nextFlipper.classList.toggle("disabled",Math.abs(e)+this.width>=t)}}scrollToPrevious(){const e=this.scrollContainer.scrollLeft,t=this.scrollStops.findIndex((t,i)=>t<=e&&(this.isRtl||i===this.scrollStops.length-1||this.scrollStops[i+1]>e)),i=Math.abs(this.scrollStops[t+1]);let o=this.scrollStops.findIndex(e=>Math.abs(e)+this.width>i);(o>t||-1===o)&&(o=t>0?t-1:0),this.scrollToPosition(this.scrollStops[o],e)}scrollToNext(){const e=this.scrollContainer.scrollLeft,t=this.scrollStops.findIndex(t=>Math.abs(t)>=Math.abs(e)),i=this.scrollStops.findIndex(t=>Math.abs(e)+this.width<=Math.abs(t));let o=t;i>t+2?o=i-2:t<this.scrollStops.length-2&&(o=t+1);const s=this.scrollStops[o];this.scrollToPosition(s,e)}scrollToPosition(e,t=this.scrollContainer.scrollLeft){if(this.scrolling)return;this.scrolling=!0;const i=[],o=t<e?1:-1,s=Math.abs(e-t),r=s/this.speed,n=Math.floor(this.framesPerSecond*r);if(n<1)this.scrolling=!1;else{for(let e=0;e<n;e++){const r=e/n,a=s*this.getEasedFactor(this.easing,r)*o;i.push(a+t)}i.push(e),this.move(i,this.frameTime)}}move(e,t){if(!e||e.length<=0)return this.setFlippers(),void(this.scrolling=!1);this.moveStartTime=requestAnimationFrame(i=>{if(i-this.moveStartTime>=t){const t=e.shift();this.scrollContainer.scrollLeft=null!=t?t:this.scrollContainer.scrollLeft}this.move(e,t)})}resized(){this.resizeTimeout&&(this.resizeTimeout=clearTimeout(this.resizeTimeout)),this.resizeTimeout=setTimeout(()=>{this.width=this.offsetWidth,this.setFlippers()},this.frameTime)}scrolled(){this.scrollTimeout&&(this.scrollTimeout=clearTimeout(this.scrollTimeout)),this.scrollTimeout=setTimeout(()=>{this.setFlippers()},this.frameTime)}getEasedFactor(e,t){switch(t>1&&(t=1),e){case"ease-in":return Math.pow(t,1.675);case"ease-out":return 1-Math.pow(1-t,1.675);case"ease-in-out":return.5*(Math.sin((t-.5)*Math.PI)+1);default:return t}}}t([me({converter:ve})],Tn.prototype,"speed",void 0),t([me],Tn.prototype,"easing",void 0),t([A],Tn.prototype,"scrollItems",void 0),t([me({attribute:"view"})],Tn.prototype,"view",void 0);const Fn=ae`<template class="horizontal-scroll">${st}<div class="scroll-area"><div class="scroll-view" @scroll="${e=>e.scrolled()}" ${_e("scrollContainer")}><div class="content-container"><slot ${Je({property:"scrollItems",filter:Xe()})}></slot></div></div>${Ge(e=>"mobile"!==e.view,ae`<div class="scroll scroll-prev" part="scroll-prev" ${_e("previousFlipper")}><div class="scroll-action" @click="${e=>e.scrollToPrevious()}"><slot name="previous-flipper"></slot></div></div><div class="scroll scroll-next" part="scroll-next" ${_e("nextFlipper")}><div class="scroll-action" @click="${e=>e.scrollToNext()}"><slot name="next-flipper"></slot></div></div>`)}</div>${ot}</template>`;class An extends es{}class Dn extends(No(An)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}class Pn extends Dn{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.role=e.SelectRole.combobox,this.position=e.SelectPosition.below,this.maxHeight=0,this.displayValue="",this.formResetCallback=()=>{this.setProxyOptions(),this.setDefaultSelectedOption(),this.value=this.firstSelectedOption.value}}openChanged(){this.ariaExpanded=this.open?"true":"false",this.open&&(this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex)}get value(){return k.track(this,"value"),this._value}set value(e){const t=""+this._value;if(this.$fastController.isConnected&&this.options){const t=this.options.findIndex(t=>t.value===e),i=this.options[this.selectedIndex],o=this.options[t],s=i?i.value:null,r=o?o.value:null;-1!==t&&s===r||(e="",this.selectedIndex=t),this.firstSelectedOption&&(e=this.firstSelectedOption.value)}t!==e&&(this._value=e,super.valueChanged(t,e),k.notify(this,"value"))}updateValue(e){this.$fastController.isConnected&&(this.value=this.firstSelectedOption?this.firstSelectedOption.value:"",this.displayValue=this.firstSelectedOption?this.firstSelectedOption.textContent||this.firstSelectedOption.value:this.value),e&&this.$emit("change")}selectedIndexChanged(e,t){super.selectedIndexChanged(e,t),this.updateValue()}setPositioning(){const t=this.getBoundingClientRect(),i=window.innerHeight-t.bottom;this.position=this.forcedPosition?this.positionAttribute:t.top>i?e.SelectPosition.above:e.SelectPosition.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===e.SelectPosition.above?~~t.top:~~i}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]");if(t&&t.disabled)return}return super.clickHandler(e),this.open=!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(e){if(!this.open)return!0;const t=e.relatedTarget;this.isSameNode(t)?this.focus():this.options&&this.options.includes(t)||(this.open=!1)}slottedOptionsChanged(e,t){super.slottedOptionsChanged(e,t),this.setProxyOptions(),this.updateValue()}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach(e=>{const t=e.proxy||(e instanceof HTMLOptionElement?e.cloneNode():null);t&&this.proxy.appendChild(t)}))}keydownHandler(e){super.keydownHandler(e);switch(e.key||e.key.charCodeAt(0)){case" ":this.typeAheadExpired&&(e.preventDefault(),this.open=!this.open);break;case"Enter":e.preventDefault(),this.open=!this.open;break;case"Escape":this.open&&(e.preventDefault(),this.open=!1);break;case"Tab":if(!this.open)return!0;e.preventDefault(),this.open=!1}return this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute}}t([me({attribute:"open",mode:"boolean"})],Pn.prototype,"open",void 0),t([me({attribute:"position"})],Pn.prototype,"positionAttribute",void 0),t([A],Pn.prototype,"position",void 0),t([A],Pn.prototype,"maxHeight",void 0),t([A],Pn.prototype,"displayValue",void 0);class In{}t([A],In.prototype,"ariaExpanded",void 0),t([me({attribute:"aria-pressed",mode:"fromView"})],In.prototype,"ariaPressed",void 0),nt(In,to),nt(Pn,it,In);const En=ae`<template class="${e=>e.open?"open":""} ${e=>e.disabled?"disabled":""} ${e=>e.position}" role="${e=>e.role}" tabindex="${e=>e.disabled?null:"0"}" aria-disabled="${e=>e.ariaDisabled}" aria-expanded="${e=>e.ariaExpanded}" @click="${(e,t)=>e.clickHandler(t.event)}" @focusout="${(e,t)=>e.focusoutHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}"><div aria-activedescendant="${e=>e.open?e.ariaActiveDescendant:null}" aria-controls="listbox" aria-expanded="${e=>e.ariaExpanded}" aria-haspopup="listbox" class="control" part="control" role="button" ?disabled="${e=>e.disabled}">${st}<slot name="button-container"><div class="selected-value" part="selected-value"><slot name="selected-value">${e=>e.displayValue}</slot></div><div class="indicator" part="indicator" aria-hidden="true"><slot name="indicator"><svg class="select-indicator" part="select-indicator" viewBox="0 0 12 7" xmlns="http://www.w3.org/2000/svg"><path d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z" /></svg></slot></div></slot>${ot}</div><div aria-disabled="${e=>e.disabled}" class="listbox" id="listbox" part="listbox" role="listbox" style="--max-height:${e=>e.maxHeight}px" ?disabled="${e=>e.disabled}" ?hidden="${e=>!e.open}"><slot ${Je({filter:es.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}></slot></div></template>`,Rn=ae`<template class="${e=>"circle"===e.shape?"circle":"rect"}" pattern="${e=>e.pattern}" ?shimmer="${e=>e.shimmer}">${Ge(e=>!0===e.shimmer,ae`<span class="shimmer"></span>`)}<object type="image/svg+xml" data="${e=>e.pattern}"><img class="pattern" src="${e=>e.pattern}" /></object><slot></slot></template>`;class On extends Fe{constructor(){super(...arguments),this.shape="rect"}}t([me],On.prototype,"fill",void 0),t([me],On.prototype,"shape",void 0),t([me],On.prototype,"pattern",void 0),t([me({mode:"boolean"})],On.prototype,"shimmer",void 0);const Ln=ae`<template aria-disabled="${e=>e.disabled}" class="${e=>e.sliderOrientation||ct.horizontal} ${e=>e.disabled?"disabled":""}"><div ${_e("root")}part="root" class="root" style="${e=>e.positionStyle}"><div class="container">${Ge(e=>!e.hideMark,ae`<div class="mark"></div>`)}<div class="label"><slot></slot></div></div></div></template>`;function Bn(e,t,i,o){let s=Zi(0,1,(e-t)/(i-t));return o===Ki.rtl&&(s=1-s),s}const Hn={min:0,max:0,direction:Ki.ltr,orientation:ct.horizontal,disabled:!1};class Mn extends Fe{constructor(){super(...arguments),this.hideMark=!1,this.sliderDirection=Ki.ltr,this.getSliderConfiguration=()=>{if(this.isSliderConfig(this.parentNode)){const e=this.parentNode,{min:t,max:i,direction:o,orientation:s,disabled:r}=e;void 0!==r&&(this.disabled=r),this.sliderDirection=o||Ki.ltr,this.sliderOrientation=s||ct.horizontal,this.sliderMaxPosition=i,this.sliderMinPosition=t}else this.sliderDirection=Hn.direction||Ki.ltr,this.sliderOrientation=Hn.orientation||ct.horizontal,this.sliderMaxPosition=Hn.max,this.sliderMinPosition=Hn.min},this.positionAsStyle=()=>{const e=this.sliderDirection?this.sliderDirection:Ki.ltr,t=Bn(Number(this.position),Number(this.sliderMinPosition),Number(this.sliderMaxPosition));let i=Math.round(100*(1-t)),o=Math.round(100*t);return o===Number.NaN&&i===Number.NaN&&(i=50,o=50),this.sliderOrientation===ct.horizontal?e===Ki.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=k.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(e,t){switch(t){case"direction":this.sliderDirection=e.direction;break;case"orientation":this.sliderOrientation=e.orientation;break;case"max":this.sliderMinPosition=e.max;break;case"min":this.sliderMinPosition=e.min}this.positionStyle=this.positionAsStyle()}isSliderConfig(e){return void 0!==e.max&&void 0!==e.min}}t([A],Mn.prototype,"positionStyle",void 0),t([me],Mn.prototype,"position",void 0),t([me({attribute:"hide-mark",mode:"boolean"})],Mn.prototype,"hideMark",void 0),t([me({attribute:"disabled",mode:"boolean"})],Mn.prototype,"disabled",void 0),t([A],Mn.prototype,"sliderOrientation",void 0),t([A],Mn.prototype,"sliderMinPosition",void 0),t([A],Mn.prototype,"sliderMaxPosition",void 0),t([A],Mn.prototype,"sliderDirection",void 0);const zn=ae`<template role="slider" class="${e=>e.readOnly?"readonly":""} ${e=>e.orientation||ct.horizontal}" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${_e("track")}part="track-container" class="track"><slot name="track"></slot></div><slot></slot><div ${_e("thumb")}part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb"><div class="thumb-cursor"></div></slot></div></div></template>`;class Nn extends Fe{}class Vn extends(No(Nn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}(e.SliderMode||(e.SliderMode={})).singleValue="single-value";class jn extends Vn{constructor(){super(...arguments),this.direction=Ki.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=ct.horizontal,this.mode=e.SliderMode.singleValue,this.keypressHandler=e=>{if(9!==e.keyCode&&e.preventDefault(),36===e.keyCode)this.value=""+this.min;else if(35===e.keyCode)this.value=""+this.max;else if(!e.shiftKey)switch(e.keyCode){case 39:case 38:this.increment();break;case 37:case 40:this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.bottom,this.trackMinHeight=e.top,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=()=>{this.addEventListener("keydown",this.keypressHandler),this.addEventListener("mousedown",this.handleMouseDown),this.thumb.addEventListener("mousedown",this.handleThumbMouseDown),this.thumb.addEventListener("touchstart",this.handleThumbMouseDown)},this.initialValue="",this.handleThumbMouseDown=e=>{this.readOnly||this.disabled||e.defaultPrevented||(e.preventDefault(),e.target.focus(),window.addEventListener("mouseup",this.handleWindowMouseUp),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("touchmove",this.handleMouseMove),window.addEventListener("touchend",this.handleWindowMouseUp),this.isDragging=!0)},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,i=this.orientation===ct.horizontal?t.pageX-this.trackLeft:t.pageY;this.value=""+this.calculateNewValue(i)},this.calculateNewValue=e=>{const t=Bn(e,this.orientation===ct.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===ct.horizontal?this.trackWidth:this.trackHeight,this.direction),i=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(i)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,window.removeEventListener("mouseup",this.handleWindowMouseUp),window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("touchmove",this.handleMouseMove),window.removeEventListener("touchend",this.handleWindowMouseUp)},this.handleMouseDown=e=>{if(e.preventDefault(),!this.disabled&&!this.readOnly){this.setupTrackConstraints(),e.target.focus(),window.addEventListener("mouseup",this.handleWindowMouseUp),window.addEventListener("mousemove",this.handleMouseMove);const t=this.orientation===ct.horizontal?e.pageX-this.trackLeft:e.pageY;this.value=""+this.calculateNewValue(t)}},this.convertToConstrainedValue=e=>{isNaN(e)&&(e=this.min);let t=e-this.min;const i=t-Math.round(t/this.step)*(this.stepMultiplier*this.step)/this.stepMultiplier;return t=i>=Number(this.step)/2?t-i+Number(this.step):t-i,t+this.min}}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}valueChanged(e,t){super.valueChanged(e,t),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=Ao(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.removeEventListener("keydown",this.keypressHandler),this.removeEventListener("mousedown",this.handleMouseDown),this.thumb.removeEventListener("mousedown",this.handleThumbMouseDown),this.thumb.removeEventListener("touchstart",this.handleThumbMouseDown)}increment(){const e=this.direction!==Ki.rtl&&this.orientation!==ct.vertical?Number(this.value)+Number(this.step):Number(this.value)-Number(this.step),t=this.convertToConstrainedValue(e),i=t<Number(this.max)?""+t:""+this.max;this.value=i}decrement(){const e=this.direction!==Ki.rtl&&this.orientation!==ct.vertical?Number(this.value)-Number(this.step):Number(this.value)+Number(this.step),t=this.convertToConstrainedValue(e),i=t>Number(this.min)?""+t:""+this.min;this.value=i}setThumbPositionForOrientation(e){const t=Bn(Number(this.value),Number(this.min),Number(this.max),e),i=Math.round(100*(1-t));this.orientation===ct.horizontal?this.position=this.isDragging?`right: ${i}%; transition: none;`:`right: ${i}%; transition: all 0.2s ease;`:this.position=this.isDragging?`bottom: ${i}%; transition: none;`:`bottom: ${i}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.step+"",t=this.step%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}}t([me({attribute:"readonly",mode:"boolean"})],jn.prototype,"readOnly",void 0),t([A],jn.prototype,"direction",void 0),t([A],jn.prototype,"isDragging",void 0),t([A],jn.prototype,"position",void 0),t([A],jn.prototype,"trackWidth",void 0),t([A],jn.prototype,"trackMinWidth",void 0),t([A],jn.prototype,"trackHeight",void 0),t([A],jn.prototype,"trackLeft",void 0),t([A],jn.prototype,"trackMinHeight",void 0),t([A],jn.prototype,"valueTextFormatter",void 0),t([me({converter:ve})],jn.prototype,"min",void 0),t([me({converter:ve})],jn.prototype,"max",void 0),t([me({converter:ve})],jn.prototype,"step",void 0),t([me],jn.prototype,"orientation",void 0),t([me],jn.prototype,"mode",void 0);const _n=ae`<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)}" class="${e=>e.checked?"checked":""}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Je("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><span class="checked-indicator" part="checked-indicator"></span></div><span class="status-message" part="status-message"><span class="checked-message" part="checked-message"><slot name="checked-message"></slot></span><span class="unchecked-message" part="unchecked-message"><slot name="unchecked-message"></slot></span></span></template>`;class Gn extends Fe{}class qn extends(No(Gn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Un extends qn{constructor(){super(),this.initialValue="on",this.dirtyChecked=!1,this.formResetCallback=()=>{this.checked=this.checkedAttribute,this.dirtyChecked=!1},this.keypressHandler=e=>{switch(e.keyCode){case 32:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.defaultChecked=!!this.checkedAttribute,this.checked=this.defaultChecked}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(){this.dirtyChecked||(this.dirtyChecked=!0),this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),this.$emit("change"),this.checked?this.classList.add("checked"):this.classList.remove("checked"),this.validate()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","checkbox"),this.updateForm()}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}}t([me({attribute:"readonly",mode:"boolean"})],Un.prototype,"readOnly",void 0),t([me({attribute:"checked",mode:"boolean"})],Un.prototype,"checkedAttribute",void 0),t([A],Un.prototype,"defaultSlottedNodes",void 0),t([A],Un.prototype,"defaultChecked",void 0),t([A],Un.prototype,"checked",void 0);const Wn=ae`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`;class Kn extends Fe{}const Qn=ae`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}"><slot></slot></template>`;class Xn extends Fe{}t([me({mode:"boolean"})],Xn.prototype,"disabled",void 0);const Yn=ae`<template class="${e=>e.orientation}">${st}<div class="tablist" part="tablist" role="tablist"><slot class="tab" name="tab" part="tab" ${Je("tabs")}></slot>${Ge(e=>e.showActiveIndicator,ae`<div ${_e("activeIndicatorRef")}class="activeIndicator" part="activeIndicator"></div>`)}</div>${ot}<div class="tabpanel"><slot name="tabpanel" part="tabpanel" ${Je("tabpanels")}></slot></div></template>`;var Zn,Jn;(Zn=e.TabsOrientation||(e.TabsOrientation={})).vertical="vertical",Zn.horizontal="horizontal";class ea extends Fe{constructor(){super(...arguments),this.orientation=e.TabsOrientation.horizontal,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(e),this.setTabs=()=>{const e=this.isHorizontal()?"gridColumn":"gridRow";this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach((t,i)=>{if("tab"===t.slot&&this.isFocusableElement(t)){this.activeindicator&&(this.showActiveIndicator=!0);const e=this.tabIds[i],o=this.tabpanelIds[i];t.setAttribute("id","string"!=typeof e?"tab-"+(i+1):e),t.setAttribute("aria-selected",this.activeTabIndex===i?"true":"false"),t.setAttribute("aria-controls","string"!=typeof o?"panel-"+(i+1):o),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",this.activeTabIndex===i?"0":"-1"),this.activeTabIndex===i&&(this.activetab=t)}t.style[e]=""+(i+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")})},this.setTabPanels=()=>{this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.tabpanels.forEach((e,t)=>{const i=this.tabIds[t],o=this.tabpanelIds[t];e.setAttribute("id","string"!=typeof o?"panel-"+(t+1):o),e.setAttribute("aria-labelledby","string"!=typeof i?"tab-"+(t+1):i),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{const t=e.keyCode;if(this.isHorizontal())switch(t){case 37:e.preventDefault(),this.adjustBackward(e);break;case 39:e.preventDefault(),this.adjustForward(e)}else switch(t){case 38:e.preventDefault(),this.adjustBackward(e);break;case 40:e.preventDefault(),this.adjustForward(e)}switch(t){case 36:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case 35:e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)+1:1,i===t.length&&(i=0);i<t.length&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}if(this.activetab&&i===t.indexOf(this.activetab))break;i+1>=t.length?i=0:i+=1}},this.adjustBackward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)-1:0,i=i<0?t.length-1:i;i>=0&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}i-1<0?i=t.length-1:i-=1}},this.moveToTabByIndex=(e,t)=>{const i=e[t];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,i.focus(),this.setComponent()}}activeidChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(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(e=>e.getAttribute("id"))}getTabPanelIds(){return this.tabpanels.map(e=>e.getAttribute("id"))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.change(),this.setTabs(),this.handleActiveIndicatorPosition(),this.setTabPanels(),this.focusTab(),this.change())}isHorizontal(){return this.orientation===e.TabsOrientation.horizontal}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const e=this.isHorizontal()?"gridColumn":"gridRow",t=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",o=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=""+(this.activeTabIndex+1);const s=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=""+(this.prevActiveTabIndex+1);const r=s-o;this.activeIndicatorRef.style.transform=`${t}(${r}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",()=>{this.ticking=!1,this.activeIndicatorRef.style[e]=""+(this.activeTabIndex+1),this.activeIndicatorRef.style.transform=t+"(0px)",this.activeIndicatorRef.classList.remove("activeIndicatorTransition")})}adjust(e){this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=Yi(0,this.tabs.length-1,this.activeTabIndex+e),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}t([me],ea.prototype,"orientation",void 0),t([me],ea.prototype,"activeid",void 0),t([A],ea.prototype,"tabs",void 0),t([A],ea.prototype,"tabpanels",void 0),t([me({mode:"boolean"})],ea.prototype,"activeindicator",void 0),t([A],ea.prototype,"activeIndicatorRef",void 0),t([A],ea.prototype,"showActiveIndicator",void 0),nt(ea,it);class ta extends Fe{}class ia extends(No(ta)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}(Jn=e.TextAreaResize||(e.TextAreaResize={})).none="none",Jn.both="both",Jn.horizontal="horizontal",Jn.vertical="vertical";class oa extends ia{constructor(){super(...arguments),this.resize=e.TextAreaResize.none,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)}handleChange(){this.$emit("change")}}t([me({mode:"boolean"})],oa.prototype,"readOnly",void 0),t([me],oa.prototype,"resize",void 0),t([me({mode:"boolean"})],oa.prototype,"autofocus",void 0),t([me({attribute:"form"})],oa.prototype,"formId",void 0),t([me],oa.prototype,"list",void 0),t([me({converter:ve})],oa.prototype,"maxlength",void 0),t([me({converter:ve})],oa.prototype,"minlength",void 0),t([me],oa.prototype,"name",void 0),t([me],oa.prototype,"placeholder",void 0),t([me({converter:ve,mode:"fromView"})],oa.prototype,"cols",void 0),t([me({converter:ve,mode:"fromView"})],oa.prototype,"rows",void 0),t([me({mode:"boolean"})],oa.prototype,"spellcheck",void 0),t([A],oa.prototype,"defaultSlottedNodes",void 0),nt(oa,pn);const sa=ae`<template class=" ${e=>e.readOnly?"readonly":""} ${t=>t.resize!==e.TextAreaResize.none?"resize-"+t.resize:""}"><label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Je("defaultSlottedNodes")}></slot></label><textarea part="control" class="control" id="control" ?autofocus="${e=>e.autofocus}" cols="${e=>e.cols}" ?disabled="${e=>e.disabled}" form="${e=>e.form}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" name="${e=>e.name}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" rows="${e=>e.rows}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedBy="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" @input="${(e,t)=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ${_e("control")}></textarea></template>`,ra=ae`<template aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-orientation="${e=>e.orientation}" orientation="${e=>e.orientation}" role="toolbar" @click="${(e,t)=>e.clickHandler(t.event)}" @focusin="${(e,t)=>e.focusinHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}"><slot name="label"></slot><div class="positioning-region" part="positioning-region">${st}<slot ${Je({filter:Xe(),property:"slottedItems"})}></slot>${ot}</div></template>`,na=Object.freeze({[Wi.ArrowUp]:{[ct.vertical]:-1},[Wi.ArrowDown]:{[ct.vertical]:1},[Wi.ArrowLeft]:{[ct.horizontal]:{[Ki.ltr]:-1,[Ki.rtl]:1}},[Wi.ArrowRight]:{[ct.horizontal]:{[Ki.ltr]:1,[Ki.rtl]:-1}}});class aa extends Fe{constructor(){super(...arguments),this._activeIndex=0,this.direction=Ki.ltr,this.orientation=ct.horizontal}get activeIndex(){return k.track(this,"activeIndex"),this._activeIndex}set activeIndex(e){this.$fastController.isConnected&&(this._activeIndex=Zi(0,this.focusableElements.length-1,e),k.notify(this,"activeIndex"))}slottedItemsChanged(e,t){this.$fastController.isConnected&&(this.focusableElements=t.reduce(aa.reduceFocusableItems,[]),this.setFocusableElements())}clickHandler(e){var t;const i=null===(t=this.focusableElements)||void 0===t?void 0:t.indexOf(e.target);return i>-1&&this.activeIndex!==i&&this.setFocusedElement(i),!0}connectedCallback(){super.connectedCallback(),this.direction=Ao(this)}focusinHandler(e){const t=e.relatedTarget;t&&!this.contains(t)&&this.setFocusedElement()}getDirectionalIncrementer(e){var t,i,o,s,r;return null!==(r=null!==(o=null===(i=null===(t=na[e])||void 0===t?void 0:t[this.orientation])||void 0===i?void 0:i[this.direction])&&void 0!==o?o:null===(s=na[e])||void 0===s?void 0:s[this.orientation])&&void 0!==r?r:0}keydownHandler(e){const t=e.key;if(!(t in Wi)||e.defaultPrevented||e.shiftKey)return!0;const i=this.getDirectionalIncrementer(t);if(!i)return!e.target.closest("[role=radiogroup]");const o=this.activeIndex+i;return this.focusableElements[o]&&e.preventDefault(),this.setFocusedElement(o),!0}setFocusedElement(e=this.activeIndex){var t;this.activeIndex=e,this.setFocusableElements(),null===(t=this.focusableElements[this.activeIndex])||void 0===t||t.focus()}static reduceFocusableItems(e,t){var i,o,s,r;const n="radio"===t.getAttribute("role"),a=null===(o=null===(i=t.$fastController)||void 0===i?void 0:i.definition.shadowOptions)||void 0===o?void 0:o.delegatesFocus,l=Array.from(null!==(r=null===(s=t.shadowRoot)||void 0===s?void 0:s.querySelectorAll("*"))&&void 0!==r?r:[]).some(e=>zr(e));return zr(t)||n||a||l?(e.push(t),e):t.childElementCount?e.concat(Array.from(t.children).reduce(aa.reduceFocusableItems,[])):e}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach((e,t)=>{e.tabIndex=this.activeIndex===t?0:-1})}}t([A],aa.prototype,"direction",void 0),t([me],aa.prototype,"orientation",void 0),t([A],aa.prototype,"slottedItems",void 0),t([A],aa.prototype,"slottedLabel",void 0);class la{}function ca(e){return ae` ${Ge(e=>e.tooltipVisible,ae`<${e}-anchored-region fixed-placement="true" vertical-positioning-mode="${e=>e.verticalPositioningMode}" vertical-default-position="${e=>e.verticalDefaultPosition}" vertical-inset="${e=>e.verticalInset}" vertical-scaling="${e=>e.verticalScaling}" horizontal-positioning-mode="${e=>e.horizontalPositioningMode}" horizontal-default-position="${e=>e.horizontalDefaultPosition}" horizontal-scaling="${e=>e.horizontalScaling}" horizontal-inset="${e=>e.horizontalInset}" dir="${e=>e.currentDirection}" ${_e("region")}><div class="tooltip" part="tooltip" role="tooltip"><slot></slot></div></${e}-anchored-region>`)} `}var da;t([me({attribute:"aria-labelledby"})],la.prototype,"ariaLabelledby",void 0),t([me({attribute:"aria-label"})],la.prototype,"ariaLabel",void 0),nt(la,to),nt(aa,it,la),(da=e.TooltipPosition||(e.TooltipPosition={})).top="top",da.right="right",da.bottom="bottom",da.left="left",da.start="start",da.end="end";class ha extends Fe{constructor(){super(...arguments),this.anchor="",this.delay=300,this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="true",this.verticalInset="false",this.horizontalScaling="anchor",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=Ki.ltr,this.delayTimer=null,this.isAnchorHovered=!1,this.handlePositionChange=e=>{this.classList.toggle("top","top"===this.region.verticalPosition),this.classList.toggle("bottom","bottom"===this.region.verticalPosition),this.classList.toggle("inset-top","insetTop"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetBottom"===this.region.verticalPosition),this.classList.toggle("left","left"===this.region.horizontalPosition),this.classList.toggle("right","right"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetLeft"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetRight"===this.region.horizontalPosition)},this.handleAnchorMouseOver=e=>{this.startHoverTimer()},this.handleAnchorMouseOut=e=>{this.isAnchorHovered&&(this.isAnchorHovered=!1,this.updateTooltipVisibility()),this.clearDelayTimer()},this.startHoverTimer=()=>{this.isAnchorHovered||(this.delay>1?null===this.delayTimer&&(this.delayTimer=window.setTimeout(()=>{this.startHover()},this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHovered=!0,this.updateTooltipVisibility()},this.clearDelayTimer=()=>{null!==this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},this.getAnchor=()=>{const e=this.getRootNode();return e instanceof ShadowRoot?e.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.tooltipVisible)switch(e.keyCode){case 27:this.isAnchorHovered=!1,this.updateTooltipVisibility(),this.$emit("dismiss")}},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip();else if(!0===this.visible)this.showTooltip();else{if(this.isAnchorHovered)return void this.showTooltip();this.hideTooltip()}},this.showTooltip=()=>{this.tooltipVisible||(this.currentDirection=Ao(this),this.tooltipVisible=!0,document.addEventListener("keydown",this.handleDocumentKeydown),h.queueUpdate(this.setRegionProps))},this.hideTooltip=()=>{this.tooltipVisible&&(null!==this.region&&void 0!==this.region&&(this.region.removeEventListener("positionchange",this.handlePositionChange),this.region.viewportElement=null,this.region.anchorElement=null),document.removeEventListener("keydown",this.handleDocumentKeydown),this.tooltipVisible=!1)},this.setRegionProps=()=>{this.tooltipVisible&&(this.viewportElement=document.body,this.region.viewportElement=this.viewportElement,this.region.anchorElement=this.anchorElement,this.region.addEventListener("positionchange",this.handlePositionChange))}}visibleChanged(){this.$fastController.isConnected&&(this.updateTooltipVisibility(),this.updateLayout())}anchorChanged(){this.$fastController.isConnected&&this.updateLayout()}positionChanged(){this.$fastController.isConnected&&this.updateLayout()}anchorElementChanged(e){if(this.$fastController.isConnected){if(null!=e&&(e.removeEventListener("mouseover",this.handleAnchorMouseOver),e.removeEventListener("mouseout",this.handleAnchorMouseOut)),null!==this.anchorElement&&void 0!==this.anchorElement){this.anchorElement.addEventListener("mouseover",this.handleAnchorMouseOver,{passive:!0}),this.anchorElement.addEventListener("mouseout",this.handleAnchorMouseOut,{passive:!0});const e=this.anchorElement.id;null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach(t=>{t.id===e&&this.startHoverTimer()})}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.updateLayout(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.position){case e.TooltipPosition.top:case e.TooltipPosition.bottom:this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=this.position,this.horizontalDefaultPosition=void 0,this.horizontalInset="true",this.verticalInset="false",this.horizontalScaling="anchor",this.verticalScaling="content";break;case e.TooltipPosition.right:case e.TooltipPosition.left:case e.TooltipPosition.start:case e.TooltipPosition.end:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="locktodefault",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=this.position,this.horizontalInset="false",this.verticalInset="true",this.horizontalScaling="content",this.verticalScaling="anchor";break;default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.horizontalInset="true",this.verticalInset="false",this.horizontalScaling="anchor",this.verticalScaling="content"}}}ha.DirectionAttributeName="dir",t([me({mode:"boolean"})],ha.prototype,"visible",void 0),t([me],ha.prototype,"anchor",void 0),t([me],ha.prototype,"delay",void 0),t([me],ha.prototype,"position",void 0),t([A],ha.prototype,"anchorElement",void 0),t([A],ha.prototype,"viewportElement",void 0),t([A],ha.prototype,"verticalPositioningMode",void 0),t([A],ha.prototype,"horizontalPositioningMode",void 0),t([A],ha.prototype,"horizontalInset",void 0),t([A],ha.prototype,"verticalInset",void 0),t([A],ha.prototype,"horizontalScaling",void 0),t([A],ha.prototype,"verticalScaling",void 0),t([A],ha.prototype,"verticalDefaultPosition",void 0),t([A],ha.prototype,"horizontalDefaultPosition",void 0),t([A],ha.prototype,"tooltipVisible",void 0),t([A],ha.prototype,"currentDirection",void 0);const ua=ae`<template role="treeitem" slot="${e=>e.isNestedItem()?"item":void 0}" tabindex="${e=>e.disabled||!e.focusable?void 0:0}" class="${e=>e.expanded?"expanded":""} ${e=>e.selected?"selected":""} ${e=>e.nested?"nested":""} ${e=>e.disabled?"disabled":""}" aria-expanded="${e=>e.childItems&&e.childItemLength()>0?e.expanded:void 0}" aria-selected="${e=>e.selected}" aria-disabled="${e=>e.disabled}" @keydown="${(e,t)=>e.handleKeyDown(t.event)}" @click="${(e,t)=>e.handleClick(t.event)}" ${tt({property:"childItems",filter:Xe()})}><div class="positioning-region" part="positioning-region"><div class="content-region" part="content-region">${Ge(e=>e.childItems&&e.childItemLength()>0,ae`<div aria-hidden="true" class="expand-collapse-button" part="expand-collapse-button" @click="${(e,t)=>e.handleExpandCollapseButtonClick(t.event)}" ${_e("expandCollapseButton")}><slot name="expand-collapse-glyph"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph"><path d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z" /></svg></slot></div>`)} ${st}<slot></slot>${ot}</div></div>${Ge(e=>e.childItems&&e.childItemLength()>0&&(e.expanded||e.renderCollapsedChildren),ae`<div role="group" class="items" part="items"><slot name="item" ${Je("items")}></slot></div>`)}</template>`;function pa(e){return Gi(e)&&"treeitem"===e.getAttribute("role")}class ga extends Fe{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.enabledChildTreeItems=[],this.handleFocus=e=>{},this.handleBlur=e=>{},this.handleKeyDown=e=>{if(e.target!==e.currentTarget)return!0;switch(e.keyCode){case 37:e.preventDefault(),this.collapseOrFocusParent();break;case 39:e.preventDefault(),this.expandOrFocusFirstChild();break;case 40:e.preventDefault(),this.focusNextNode(1);break;case 38:e.preventDefault(),this.focusNextNode(-1);break;case 13:this.handleSelected(e)}return!0},this.handleExpandCollapseButtonClick=e=>{this.disabled||(e.preventDefault(),this.setExpanded(!this.expanded))},this.handleClick=e=>{e.defaultPrevented||this.disabled||this.handleSelected(e)},this.isNestedItem=()=>pa(this.parentElement)}itemsChanged(e,t){this.$fastController.isConnected&&(this.items.forEach(e=>{pa(e)&&(e.nested=!0)}),this.enabledChildTreeItems=this.items.filter(e=>pa(e)&&!e.hasAttribute("disabled")))}getParentTreeNode(){return this.parentElement.closest("[role='tree']")}connectedCallback(){super.connectedCallback();const e=this.getParentTreeNode();e&&(e.hasAttribute("render-collapsed-nodes")&&(this.renderCollapsedChildren="true"===e.getAttribute("render-collapsed-nodes")),this.notifier=k.getNotifier(e),this.notifier.subscribe(this,"renderCollapsedNodes"))}disconnectedCallback(){super.disconnectedCallback(),this.notifier&&this.notifier.unsubscribe(this,"renderCollapsedNodes")}static focusItem(e){e.setAttribute("tabindex","0"),e.focusable=!0,e.focus()}handleChange(e,t){switch(t){case"renderCollapsedNodes":this.renderCollapsedChildren=e.renderCollapsedNodes}}childItemLength(){const e=this.childItems.filter(e=>pa(e));return e?e.length:0}collapseOrFocusParent(){if(this.expanded)this.setExpanded(!1);else if(Gi(this.parentElement)){const e=this.parentElement.closest("[role='treeitem']");Gi(e)&&ga.focusItem(e)}}expandOrFocusFirstChild(){"boolean"==typeof this.expanded&&(!this.expanded&&this.childItemLength()>0?this.setExpanded(!0):this.enabledChildTreeItems.length>0&&ga.focusItem(this.enabledChildTreeItems[0]))}focusNextNode(e){const t=this.getVisibleNodes();if(!t)return;const i=t.indexOf(this);if(-1!==i){let o=t[i+e];if(void 0!==o)for(;o.hasAttribute("disabled");){if(o=t[i+e+(e>=0?1:-1)],!o)break}Gi(o)&&ga.focusItem(o)}}getVisibleNodes(){return function(e,t){if(!Gi(e))return;return Array.from(e.querySelectorAll(t)).filter(e=>null!==e.offsetParent)}(this.getTreeRoot(),"[role='treeitem']")}getTreeRoot(){return Gi(this)?this.closest("[role='tree']"):null}handleSelected(e){this.selected=!this.selected,this.$emit("selected-change",e)}setExpanded(e){this.expanded=e,this.$emit("expanded-change",this)}}t([me({mode:"boolean"})],ga.prototype,"expanded",void 0),t([me({mode:"boolean"})],ga.prototype,"selected",void 0),t([me({mode:"boolean"})],ga.prototype,"disabled",void 0),t([A],ga.prototype,"focusable",void 0),t([A],ga.prototype,"childItems",void 0),t([A],ga.prototype,"items",void 0),t([A],ga.prototype,"nested",void 0),t([A],ga.prototype,"renderCollapsedChildren",void 0),nt(ga,it);const va=ae`<template role="tree" ${_e("treeView")}@keydown="${(e,t)=>e.handleKeyDown(t.event)}" @focus="${(e,t)=>e.handleFocus(t.event)}" @focusout="${(e,t)=>e.handleBlur(t.event)}"><slot ${Je("slottedTreeItems")}></slot></template>`;class fa extends Fe{constructor(){super(...arguments),this.focusable=!0,this.handleBlur=e=>{const{relatedTarget:t,target:i}=e;t instanceof HTMLElement&&i instanceof HTMLElement&&this.contains(t)&&i.removeAttribute("tabindex")},this.handleFocus=e=>{},this.handleKeyDown=e=>{if(!this.treeItems)return!0;switch(e.keyCode){case 36:this.treeItems&&this.treeItems.length&&ga.focusItem(this.treeItems[0]);break;case 35:this.treeItems&&this.treeItems.length&&ga.focusItem(this.treeItems[this.treeItems.length-1]);break;default:return!0}},this.setItems=()=>{const e=this.treeItems.findIndex(this.isFocusableElement);for(let t=0;t<this.treeItems.length;t++)t!==e||this.treeItems[t].hasAttribute("disabled")||this.treeItems[t].setAttribute("tabindex","0"),this.treeItems[t].addEventListener("selected-change",this.handleItemSelected)},this.resetItems=()=>{for(let e=0;e<this.treeItems.length;e++)this.treeItems[e].removeEventListener("selected-change",this.handleItemSelected)},this.handleItemSelected=e=>{const t=e.target;t!==this.currentSelected&&(this.currentSelected&&(this.currentSelected.removeAttribute("selected"),this.currentSelected.selected=!1),this.currentSelected=t)},this.isFocusableElement=e=>pa(e)&&!this.isDisabledElement(e),this.isDisabledElement=e=>pa(e)&&"true"===e.getAttribute("aria-disabled")}slottedTreeItemsChanged(e,t){this.$fastController.isConnected&&(this.resetItems(),this.treeItems=this.getVisibleNodes(),this.setItems(),this.checkForNestedItems()&&this.slottedTreeItems.forEach(e=>{pa(e)&&(e.nested=!0)}))}checkForNestedItems(){return this.slottedTreeItems.some(e=>pa(e)&&e.querySelector("[role='treeitem']"))}connectedCallback(){super.connectedCallback(),this.treeItems=this.getVisibleNodes(),h.queueUpdate(()=>{const e=this.treeView.querySelector("[aria-selected='true']");e&&(this.currentSelected=e)})}getVisibleNodes(){const e=[];return void 0!==this.slottedTreeItems&&this.slottedTreeItems.forEach(t=>{pa(t)&&e.push(t)}),e}}t([me({attribute:"render-collapsed-nodes"})],fa.prototype,"renderCollapsedNodes",void 0),t([A],fa.prototype,"focusable",void 0),t([A],fa.prototype,"currentSelected",void 0),t([A],fa.prototype,"lastFocused",void 0),t([A],fa.prototype,"nested",void 0),t([A],fa.prototype,"slottedTreeItems",void 0);const ma={typeRampMinus2FontSize:"10px",typeRampMinus2LineHeight:"16px",typeRampMinus1FontSize:"12px",typeRampMinus1LineHeight:"16px",typeRampBaseFontSize:"14px",typeRampBaseLineHeight:"20px",typeRampPlus1FontSize:"16px",typeRampPlus1LineHeight:"24px",typeRampPlus2FontSize:"20px",typeRampPlus2LineHeight:"28px",typeRampPlus3FontSize:"28px",typeRampPlus3LineHeight:"36px",typeRampPlus4FontSize:"34px",typeRampPlus4LineHeight:"44px",typeRampPlus5FontSize:"46px",typeRampPlus5LineHeight:"56px",typeRampPlus6FontSize:"60px",typeRampPlus6LineHeight:"72px",accentBaseColor:"#DA1A5F",accentPalette:["#FFFFFF","#FEFBFC","#FEF7FA","#FDF4F7","#FDF0F5","#FCECF2","#FBE8EF","#FBE5ED","#FAE1EA","#FADDE7","#F9D9E5","#F8D6E2","#F8D2E0","#F7CEDD","#F7CADA","#F6C7D8","#F5C3D5","#F5BFD2","#F4BBD0","#F3B8CD","#F3B4CB","#F2B0C8","#F2ACC5","#F1A9C3","#F0A5C0","#F0A1BD","#EF9DBB","#EF9AB8","#EE96B6","#ED92B3","#ED8EB0","#EC8BAE","#EC87AB","#EB83A8","#EA7FA6","#EA7CA3","#E978A1","#E9749E","#E8709B","#E76D99","#E76996","#E66593","#E66191","#E55E8E","#E45A8C","#E45689","#E35286","#E24F84","#E24B81","#E1477E","#E1437C","#E04079","#DF3C77","#DF3874","#DE3471","#DE316F","#DD2D6C","#DC2969","#DC2567","#DB2264","#DB1E62","#DA1A5F","#D4195C","#CD1859","#C71857","#C01754","#BA1651","#B3154E","#AD154B","#A71449","#A01346","#9A1243","#931240","#8D113D","#86103B","#800F38","#7A0F35","#730E32","#6D0D2F","#660C2D","#600B2A","#590B27","#530A24","#4D0921","#46081F","#40081C","#3B071A","#350617","#300615","#2B0513","#260511","#21040E","#1C030C","#000000"],backgroundColor:"#181818",baseHeightMultiplier:10,baseHorizontalSpacingMultiplier:3,cornerRadius:3,density:0,designUnit:4,direction:Ki.ltr,disabledOpacity:.3,focusOutlineWidth:2,neutralPalette:["#FFFFFF","#FCFCFC","#FAFAFA","#F7F7F7","#F5F5F5","#F2F2F2","#EFEFEF","#EDEDED","#EAEAEA","#E8E8E8","#E5E5E5","#E2E2E2","#E0E0E0","#DDDDDD","#DBDBDB","#D8D8D8","#D6D6D6","#D3D3D3","#D0D0D0","#CECECE","#CBCBCB","#C9C9C9","#C6C6C6","#C3C3C3","#C1C1C1","#BEBEBE","#BCBCBC","#B9B9B9","#B6B6B6","#B4B4B4","#B1B1B1","#AFAFAF","#ACACAC","#A9A9A9","#A7A7A7","#A4A4A4","#A2A2A2","#9F9F9F","#9D9D9D","#9A9A9A","#979797","#959595","#929292","#909090","#8D8D8D","#8A8A8A","#888888","#858585","#838383","#808080","#7D7D7D","#7B7B7B","#787878","#767676","#737373","#717171","#6E6E6E","#6B6B6B","#696969","#666666","#646464","#616161","#5F5F5F","#5C5C5C","#5A5A5A","#575757","#545454","#525252","#4F4F4F","#4D4D4D","#4A4A4A","#484848","#454545","#424242","#404040","#3D3D3D","#3B3B3B","#383838","#363636","#333333","#313131","#2E2E2E","#2B2B2B","#292929","#262626","#242424","#212121","#1E1E1E","#1B1B1B","#181818","#151515","#121212","#101010","#000000"],outlineWidth:1,accentFillRestDelta:0,accentFillHoverDelta:4,accentFillActiveDelta:-5,accentFillFocusDelta:0,accentFillSelectedDelta:12,accentForegroundRestDelta:0,accentForegroundHoverDelta:6,accentForegroundActiveDelta:-4,accentForegroundFocusDelta:0,neutralFillRestDelta:7,neutralFillHoverDelta:10,neutralFillActiveDelta:5,neutralFillFocusDelta:0,neutralFillSelectedDelta:7,neutralFillInputRestDelta:0,neutralFillInputHoverDelta:0,neutralFillInputActiveDelta:0,neutralFillInputFocusDelta:0,neutralFillInputSelectedDelta:0,neutralFillStealthRestDelta:0,neutralFillStealthHoverDelta:5,neutralFillStealthActiveDelta:3,neutralFillStealthFocusDelta:0,neutralFillStealthSelectedDelta:7,neutralFillToggleHoverDelta:8,neutralFillToggleActiveDelta:-5,neutralFillToggleFocusDelta:0,baseLayerLuminance:-1,neutralFillCardDelta:3,neutralForegroundHoverDelta:0,neutralForegroundActiveDelta:0,neutralForegroundFocusDelta:0,neutralDividerRestDelta:8,neutralOutlineRestDelta:25,neutralOutlineHoverDelta:40,neutralOutlineActiveDelta:16,neutralOutlineFocusDelta:25,neutralContrastFillRestDelta:0,neutralContrastFillHoverDelta:-3,neutralContrastFillActiveDelta:7,neutralContrastFillFocusDelta:0};function ba(e,t){return"function"==typeof e?e(t):e}function ya(e){return t=>t&&void 0!==t[e]?t[e]:ma[e]}const xa=ya("backgroundColor"),Ca=ya("accentBaseColor"),wa=ya("neutralPalette"),$a=ya("accentPalette"),ka=ya("direction"),Sa=ya("accentFillHoverDelta"),Ta=ya("accentFillActiveDelta"),Fa=ya("accentFillFocusDelta"),Aa=ya("accentFillSelectedDelta"),Da=ya("accentForegroundRestDelta"),Pa=ya("accentForegroundHoverDelta"),Ia=ya("accentForegroundActiveDelta"),Ea=ya("accentForegroundFocusDelta"),Ra=ya("neutralFillRestDelta"),Oa=ya("neutralFillHoverDelta"),La=ya("neutralFillActiveDelta"),Ba=ya("neutralFillFocusDelta"),Ha=ya("neutralFillSelectedDelta"),Ma=ya("neutralFillInputRestDelta"),za=ya("neutralFillInputHoverDelta"),Na=ya("neutralFillInputActiveDelta"),Va=ya("neutralFillInputFocusDelta"),ja=ya("neutralFillInputSelectedDelta"),_a=ya("neutralFillStealthRestDelta"),Ga=ya("neutralFillStealthHoverDelta"),qa=ya("neutralFillStealthActiveDelta"),Ua=ya("neutralFillStealthFocusDelta"),Wa=ya("neutralFillStealthSelectedDelta"),Ka=ya("neutralFillToggleHoverDelta"),Qa=ya("neutralFillToggleActiveDelta"),Xa=ya("neutralFillToggleFocusDelta"),Ya=ya("baseLayerLuminance"),Za=ya("neutralFillCardDelta"),Ja=ya("neutralForegroundHoverDelta"),el=ya("neutralForegroundActiveDelta"),tl=ya("neutralForegroundFocusDelta"),il=ya("neutralDividerRestDelta"),ol=ya("neutralOutlineRestDelta"),sl=ya("neutralOutlineHoverDelta"),rl=ya("neutralOutlineActiveDelta"),nl=ya("neutralOutlineFocusDelta"),al=ya("neutralContrastFillHoverDelta"),ll=ya("neutralContrastFillActiveDelta"),cl=ya("neutralContrastFillFocusDelta");function dl(e,t,i){return isNaN(e)||e<=t?t:e>=i?i:e}function hl(e,t,i){return isNaN(e)||e<=t?0:e>=i?1:e/(i-t)}function ul(e,t,i){return isNaN(e)?t:t+e*(i-t)}function pl(e){return e*(Math.PI/180)}function gl(e,t,i){return isNaN(e)||e<=0?t:e>=1?i:t+e*(i-t)}function vl(e,t,i){if(e<=0)return t%360;if(e>=1)return i%360;const o=(t-i+360)%360;return o<=(i-t+360)%360?(t-o*e+360)%360:(t+o*e+360)%360}function fl(e,t){const i=Math.pow(10,t);return Math.round(e*i)/i}class ml{constructor(e,t,i){this.h=e,this.s=t,this.l=i}static fromObject(e){return!e||isNaN(e.h)||isNaN(e.s)||isNaN(e.l)?null:new ml(e.h,e.s,e.l)}equalValue(e){return this.h===e.h&&this.s===e.s&&this.l===e.l}roundToPrecision(e){return new ml(fl(this.h,e),fl(this.s,e),fl(this.l,e))}toObject(){return{h:this.h,s:this.s,l:this.l}}}class bl{constructor(e,t,i){this.h=e,this.s=t,this.v=i}static fromObject(e){return!e||isNaN(e.h)||isNaN(e.s)||isNaN(e.v)?null:new bl(e.h,e.s,e.v)}equalValue(e){return this.h===e.h&&this.s===e.s&&this.v===e.v}roundToPrecision(e){return new bl(fl(this.h,e),fl(this.s,e),fl(this.v,e))}toObject(){return{h:this.h,s:this.s,v:this.v}}}class yl{constructor(e,t,i){this.l=e,this.a=t,this.b=i}static fromObject(e){return!e||isNaN(e.l)||isNaN(e.a)||isNaN(e.b)?null:new yl(e.l,e.a,e.b)}equalValue(e){return this.l===e.l&&this.a===e.a&&this.b===e.b}roundToPrecision(e){return new yl(fl(this.l,e),fl(this.a,e),fl(this.b,e))}toObject(){return{l:this.l,a:this.a,b:this.b}}}yl.epsilon=216/24389,yl.kappa=24389/27;class xl{constructor(e,t,i){this.l=e,this.c=t,this.h=i}static fromObject(e){return!e||isNaN(e.l)||isNaN(e.c)||isNaN(e.h)?null:new xl(e.l,e.c,e.h)}equalValue(e){return this.l===e.l&&this.c===e.c&&this.h===e.h}roundToPrecision(e){return new xl(fl(this.l,e),fl(this.c,e),fl(this.h,e))}toObject(){return{l:this.l,c:this.c,h:this.h}}}class Cl{constructor(e,t,i,o){this.r=e,this.g=t,this.b=i,this.a="number"!=typeof o||isNaN(o)?1:o}static fromObject(e){return!e||isNaN(e.r)||isNaN(e.g)||isNaN(e.b)?null:new Cl(e.r,e.g,e.b,e.a)}equalValue(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.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(ul(this.r,0,255))},${Math.round(ul(this.g,0,255))},${Math.round(ul(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(ul(this.r,0,255))},${Math.round(ul(this.g,0,255))},${Math.round(ul(this.b,0,255))},${dl(this.a,0,1)})`}roundToPrecision(e){return new Cl(fl(this.r,e),fl(this.g,e),fl(this.b,e),fl(this.a,e))}clamp(){return new Cl(dl(this.r,0,1),dl(this.g,0,1),dl(this.b,0,1),dl(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(e){return function(e){const t=Math.round(dl(e,0,255)).toString(16);return 1===t.length?"0"+t:t}(ul(e,0,255))}}class wl{constructor(e,t,i){this.x=e,this.y=t,this.z=i}static fromObject(e){return!e||isNaN(e.x)||isNaN(e.y)||isNaN(e.z)?null:new wl(e.x,e.y,e.z)}equalValue(e){return this.x===e.x&&this.y===e.y&&this.z===e.z}roundToPrecision(e){return new wl(fl(this.x,e),fl(this.y,e),fl(this.z,e))}toObject(){return{x:this.x,y:this.y,z:this.z}}}function $l(e){return.2126*e.r+.7152*e.g+.0722*e.b}function kl(e){function t(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}return $l(new Cl(t(e.r),t(e.g),t(e.b),1))}wl.whitePoint=new wl(.95047,1,1.08883);const Sl=(e,t)=>(e+.05)/(t+.05);function Tl(e,t){const i=kl(e),o=kl(t);return i>o?Sl(i,o):Sl(o,i)}function Fl(e){const t=Math.max(e.r,e.g,e.b),i=Math.min(e.r,e.g,e.b),o=t-i;let s=0;0!==o&&(s=t===e.r?(e.g-e.b)/o%6*60:t===e.g?60*((e.b-e.r)/o+2):60*((e.r-e.g)/o+4)),s<0&&(s+=360);const r=(t+i)/2;let n=0;return 0!==o&&(n=o/(1-Math.abs(2*r-1))),new ml(s,n,r)}function Al(e,t=1){const i=(1-Math.abs(2*e.l-1))*e.s,o=i*(1-Math.abs(e.h/60%2-1)),s=e.l-i/2;let r=0,n=0,a=0;return e.h<60?(r=i,n=o,a=0):e.h<120?(r=o,n=i,a=0):e.h<180?(r=0,n=i,a=o):e.h<240?(r=0,n=o,a=i):e.h<300?(r=o,n=0,a=i):e.h<360&&(r=i,n=0,a=o),new Cl(r+s,n+s,a+s,t)}function Dl(e){const t=Math.max(e.r,e.g,e.b),i=t-Math.min(e.r,e.g,e.b);let o=0;0!==i&&(o=t===e.r?(e.g-e.b)/i%6*60:t===e.g?60*((e.b-e.r)/i+2):60*((e.r-e.g)/i+4)),o<0&&(o+=360);let s=0;return 0!==t&&(s=i/t),new bl(o,s,t)}function Pl(e){let t=0;(Math.abs(e.b)>.001||Math.abs(e.a)>.001)&&(t=Math.atan2(e.b,e.a)*(180/Math.PI)),t<0&&(t+=360);const i=Math.sqrt(e.a*e.a+e.b*e.b);return new xl(e.l,i,t)}function Il(e){function t(e){return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}const i=t(e.r),o=t(e.g),s=t(e.b);return new wl(.4124564*i+.3575761*o+.1804375*s,.2126729*i+.7151522*o+.072175*s,.0193339*i+.119192*o+.9503041*s)}function El(e,t=1){function i(e){return e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055}const o=i(3.2404542*e.x-1.5371385*e.y-.4985314*e.z),s=i(-.969266*e.x+1.8760108*e.y+.041556*e.z),r=i(.0556434*e.x-.2040259*e.y+1.0572252*e.z);return new Cl(o,s,r,t)}function Rl(e){return function(e){function t(e){return e>yl.epsilon?Math.pow(e,1/3):(yl.kappa*e+16)/116}const i=t(e.x/wl.whitePoint.x),o=t(e.y/wl.whitePoint.y),s=t(e.z/wl.whitePoint.z);return new yl(116*o-16,500*(i-o),200*(o-s))}(Il(e))}function Ol(e,t=1){return El(function(e){const t=(e.l+16)/116,i=t+e.a/500,o=t-e.b/200,s=Math.pow(i,3),r=Math.pow(t,3),n=Math.pow(o,3);let a=0;a=s>yl.epsilon?s:(116*i-16)/yl.kappa;let l=0;l=e.l>yl.epsilon*yl.kappa?r:e.l/yl.kappa;let c=0;return c=n>yl.epsilon?n:(116*o-16)/yl.kappa,a=wl.whitePoint.x*a,l=wl.whitePoint.y*l,c=wl.whitePoint.z*c,new wl(a,l,c)}(e),t)}function Ll(e){return Pl(Rl(e))}function Bl(e,t=1){return Ol(function(e){let t=0,i=0;return 0!==e.h&&(t=Math.cos(pl(e.h))*e.c,i=Math.sin(pl(e.h))*e.c),new yl(e.l,t,i)}(e),t)}function Hl(e,t,i=18){const o=Ll(e);let s=o.c+t*i;return s<0&&(s=0),Bl(new xl(o.l,s,o.h))}function Ml(e,t){return e*t}function zl(e,t){return new Cl(Ml(e.r,t.r),Ml(e.g,t.g),Ml(e.b,t.b),1)}function Nl(e,t){return dl(e<.5?2*t*e:1-2*(1-t)*(1-e),0,1)}function Vl(e,t){return new Cl(Nl(e.r,t.r),Nl(e.g,t.g),Nl(e.b,t.b),1)}var jl,_l;function Gl(e,t,i,o){if(isNaN(e)||e<=0)return i;if(e>=1)return o;switch(t){case _l.HSL:return Al(function(e,t,i){return isNaN(e)||e<=0?t:e>=1?i:new ml(vl(e,t.h,i.h),gl(e,t.s,i.s),gl(e,t.l,i.l))}(e,Fl(i),Fl(o)));case _l.HSV:return function(e,t=1){const i=e.s*e.v,o=i*(1-Math.abs(e.h/60%2-1)),s=e.v-i;let r=0,n=0,a=0;return e.h<60?(r=i,n=o,a=0):e.h<120?(r=o,n=i,a=0):e.h<180?(r=0,n=i,a=o):e.h<240?(r=0,n=o,a=i):e.h<300?(r=o,n=0,a=i):e.h<360&&(r=i,n=0,a=o),new Cl(r+s,n+s,a+s,t)}(function(e,t,i){return isNaN(e)||e<=0?t:e>=1?i:new bl(vl(e,t.h,i.h),gl(e,t.s,i.s),gl(e,t.v,i.v))}(e,Dl(i),Dl(o)));case _l.XYZ:return El(function(e,t,i){return isNaN(e)||e<=0?t:e>=1?i:new wl(gl(e,t.x,i.x),gl(e,t.y,i.y),gl(e,t.z,i.z))}(e,Il(i),Il(o)));case _l.LAB:return Ol(function(e,t,i){return isNaN(e)||e<=0?t:e>=1?i:new yl(gl(e,t.l,i.l),gl(e,t.a,i.a),gl(e,t.b,i.b))}(e,Rl(i),Rl(o)));case _l.LCH:return Bl(function(e,t,i){return isNaN(e)||e<=0?t:e>=1?i:new xl(gl(e,t.l,i.l),gl(e,t.c,i.c),vl(e,t.h,i.h))}(e,Ll(i),Ll(o)));default:return function(e,t,i){return isNaN(e)||e<=0?t:e>=1?i:new Cl(gl(e,t.r,i.r),gl(e,t.g,i.g),gl(e,t.b,i.b),gl(e,t.a,i.a))}(e,i,o)}}!function(e){e[e.Burn=0]="Burn",e[e.Color=1]="Color",e[e.Darken=2]="Darken",e[e.Dodge=3]="Dodge",e[e.Lighten=4]="Lighten",e[e.Multiply=5]="Multiply",e[e.Overlay=6]="Overlay",e[e.Screen=7]="Screen"}(jl||(jl={})),function(e){e[e.RGB=0]="RGB",e[e.HSL=1]="HSL",e[e.HSV=2]="HSV",e[e.XYZ=3]="XYZ",e[e.LAB=4]="LAB",e[e.LCH=5]="LCH"}(_l||(_l={}));class ql{constructor(e){if(null==e||0===e.length)throw new Error("The stops argument must be non-empty");this.stops=this.sortColorScaleStops(e)}static createBalancedColorScale(e){if(null==e||0===e.length)throw new Error("The colors argument must be non-empty");const t=new Array(e.length);for(let i=0;i<e.length;i++)0===i?t[i]={color:e[i],position:0}:i===e.length-1?t[i]={color:e[i],position:1}:t[i]={color:e[i],position:i*(1/(e.length-1))};return new ql(t)}getColor(e,t=_l.RGB){if(1===this.stops.length)return this.stops[0].color;if(e<=0)return this.stops[0].color;if(e>=1)return this.stops[this.stops.length-1].color;let i=0;for(let t=0;t<this.stops.length;t++)this.stops[t].position<=e&&(i=t);let o=i+1;o>=this.stops.length&&(o=this.stops.length-1);return Gl((e-this.stops[i].position)*(1/(this.stops[o].position-this.stops[i].position)),t,this.stops[i].color,this.stops[o].color)}trim(e,t,i=_l.RGB){if(e<0||t>1||t<e)throw new Error("Invalid bounds");if(e===t)return new ql([{color:this.getColor(e,i),position:0}]);const o=[];for(let i=0;i<this.stops.length;i++)this.stops[i].position>=e&&this.stops[i].position<=t&&o.push(this.stops[i]);if(0===o.length)return new ql([{color:this.getColor(e),position:e},{color:this.getColor(t),position:t}]);o[0].position!==e&&o.unshift({color:this.getColor(e),position:e}),o[o.length-1].position!==t&&o.push({color:this.getColor(t),position:t});const s=t-e,r=new Array(o.length);for(let t=0;t<o.length;t++)r[t]={color:o[t].color,position:(o[t].position-e)/s};return new ql(r)}findNextColor(e,t,i=!1,o=_l.RGB,s=.005,r=32){isNaN(e)||e<=0?e=0:e>=1&&(e=1);const n=this.getColor(e,o),a=i?0:1;if(Tl(n,this.getColor(a,o))<=t)return a;let l=i?0:e,c=i?e:0,d=a,h=0;for(;h<=r;){d=Math.abs(c-l)/2+l;const e=Tl(n,this.getColor(d,o));if(Math.abs(e-t)<=s)return d;e>t?i?l=d:c=d:i?c=d:l=d,h++}return d}clone(){const e=new Array(this.stops.length);for(let t=0;t<e.length;t++)e[t]={color:this.stops[t].color,position:this.stops[t].position};return new ql(e)}sortColorScaleStops(e){return e.sort((e,t)=>{const i=e.position,o=t.position;return i<o?-1:i>o?1:0})}}const Ul=/^rgb\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){2}(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*)\)$/i,Wl=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i;function Kl(e){const t=Wl.exec(e);if(null===t)return null;let i=t[1];if(3===i.length){const e=i.charAt(0),t=i.charAt(1),o=i.charAt(2);i=e.concat(e,t,t,o,o)}const o=parseInt(i,16);return isNaN(o)?null:new Cl(hl((16711680&o)>>>16,0,255),hl((65280&o)>>>8,0,255),hl(255&o,0,255),1)}class Ql{constructor(e){this.config=Object.assign({},Ql.defaultPaletteConfig,e),this.palette=[],this.updatePaletteColors()}updatePaletteGenerationValues(e){let t=!1;for(const i in e)this.config[i]&&(this.config[i].equalValue?this.config[i].equalValue(e[i])||(this.config[i]=e[i],t=!0):e[i]!==this.config[i]&&(this.config[i]=e[i],t=!0));return t&&this.updatePaletteColors(),t}updatePaletteColors(){const e=this.generatePaletteColorScale();for(let t=0;t<this.config.steps;t++)this.palette[t]=e.getColor(t/(this.config.steps-1),this.config.interpolationMode)}generatePaletteColorScale(){const e=Fl(this.config.baseColor),t=new ql([{position:0,color:this.config.scaleColorLight},{position:.5,color:this.config.baseColor},{position:1,color:this.config.scaleColorDark}]).trim(this.config.clipLight,1-this.config.clipDark);let i=t.getColor(0),o=t.getColor(1);if(e.s>=this.config.saturationAdjustmentCutoff&&(i=Hl(i,this.config.saturationLight),o=Hl(o,this.config.saturationDark)),0!==this.config.multiplyLight){const e=zl(this.config.baseColor,i);i=Gl(this.config.multiplyLight,this.config.interpolationMode,i,e)}if(0!==this.config.multiplyDark){const e=zl(this.config.baseColor,o);o=Gl(this.config.multiplyDark,this.config.interpolationMode,o,e)}if(0!==this.config.overlayLight){const e=Vl(this.config.baseColor,i);i=Gl(this.config.overlayLight,this.config.interpolationMode,i,e)}if(0!==this.config.overlayDark){const e=Vl(this.config.baseColor,o);o=Gl(this.config.overlayDark,this.config.interpolationMode,o,e)}return this.config.baseScalePosition?this.config.baseScalePosition<=0?new ql([{position:0,color:this.config.baseColor},{position:1,color:o.clamp()}]):this.config.baseScalePosition>=1?new ql([{position:0,color:i.clamp()},{position:1,color:this.config.baseColor}]):new ql([{position:0,color:i.clamp()},{position:this.config.baseScalePosition,color:this.config.baseColor},{position:1,color:o.clamp()}]):new ql([{position:0,color:i.clamp()},{position:.5,color:this.config.baseColor},{position:1,color:o.clamp()}])}}Ql.defaultPaletteConfig={baseColor:Kl("#808080"),steps:11,interpolationMode:_l.RGB,scaleColorLight:new Cl(1,1,1,1),scaleColorDark:new Cl(0,0,0,1),clipLight:.185,clipDark:.16,saturationAdjustmentCutoff:.05,saturationLight:.35,saturationDark:1.25,overlayLight:0,overlayDark:.25,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},Ql.greyscalePaletteConfig={baseColor:Kl("#808080"),steps:11,interpolationMode:_l.RGB,scaleColorLight:new Cl(1,1,1,1),scaleColorDark:new Cl(0,0,0,1),clipLight:0,clipDark:0,saturationAdjustmentCutoff:0,saturationLight:0,saturationDark:0,overlayLight:0,overlayDark:0,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},Ql.defaultPaletteConfig.scaleColorLight,Ql.defaultPaletteConfig.scaleColorDark;class Xl{constructor(e){this.palette=[],this.config=Object.assign({},Xl.defaultPaletteConfig,e),this.regenPalettes()}regenPalettes(){let e=this.config.steps;(isNaN(e)||e<3)&&(e=3);const t=new Cl(.14,.14,.14,1),i=new Ql(Object.assign(Object.assign({},Ql.greyscalePaletteConfig),{baseColor:t,baseScalePosition:86/94,steps:e})).palette,o=($l(this.config.baseColor)+Fl(this.config.baseColor).l)/2,s=this.matchRelativeLuminanceIndex(o,i)/(e-1),r=this.matchRelativeLuminanceIndex(.14,i)/(e-1),n=Fl(this.config.baseColor),a=Al(ml.fromObject({h:n.h,s:n.s,l:.14})),l=Al(ml.fromObject({h:n.h,s:n.s,l:.06})),c=new Array(5);c[0]={position:0,color:new Cl(1,1,1,1)},c[1]={position:s,color:this.config.baseColor},c[2]={position:r,color:a},c[3]={position:.99,color:l},c[4]={position:1,color:new Cl(0,0,0,1)};const d=new ql(c);this.palette=new Array(e);for(let t=0;t<e;t++){const i=d.getColor(t/(e-1),_l.RGB);this.palette[t]=i}}matchRelativeLuminanceIndex(e,t){let i=Number.MAX_VALUE,o=0,s=0;const r=t.length;for(;s<r;s++){const r=Math.abs($l(t[s])-e);r<i&&(i=r,o=s)}return o}}var Yl;function Zl(e){const t=Ii(e);return function(e){return"function"==typeof e||"string"==typeof e?i=>t(Object.assign({},i,{backgroundColor:"function"==typeof e?e(i):e})):t(e)}}function Jl(e,t){const i=Ii(t);return t=>"function"==typeof t||"string"==typeof t?o=>i(Object.assign({},o,{backgroundColor:"function"==typeof t?t(o):t}))[e]:i(t)[e]}Xl.defaultPaletteConfig={baseColor:Kl("#808080"),steps:94},function(e){e.rest="rest",e.hover="hover",e.active="active",e.focus="focus",e.selected="selected"}(Yl||(Yl={}));const ec=Ii(e=>{let t=Kl(e);if(null!==t)return t;if(t=function(e){const t=Ul.exec(e);if(null===t)return null;const i=t[1].split(",");return new Cl(hl(Number(i[0]),0,255),hl(Number(i[1]),0,255),hl(Number(i[2]),0,255),1)}(e),null!==t)return t;throw new Error(e+' cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"')});function tc(e){return t=e,Wl.test(t)||function(e){return Ul.test(e)}(e);var t}const ic=Ii((e,t)=>Tl(ec(e),ec(t)),(e,t)=>e+t);function oc(e){return kl(ec(e))}function sc(...e){return t=>Math.max.apply(null,e.map(e=>e(t)))}const rc=(e,t,i)=>Math.min(Math.max(e,t),i);var nc;function ac(e,t){return i=>{if(!tc(t))return-1;const o=ba(e,i),s=o.indexOf(t);return-1!==s?s:o.findIndex(e=>{return tc(e)&&(i=e,ec(t).equalValue(ec(i)));var i})}}function lc(e,t){return i=>{const o=ba(e,i),s=ba(t,i),r=ac(o,s)(i);let n;if(-1!==r)return r;try{n=oc(s)}catch(e){n=-1}return-1===n?0:o.map((e,t)=>({luminance:oc(e),index:t})).reduce((e,t)=>Math.abs(t.luminance-n)<Math.abs(e.luminance-n)?t:e).index}}function cc(e){return oc(xa(e))<=(-.1+Math.sqrt(.21))/2}function dc(e,t){return"function"==typeof e?i=>t(i)[rc(e(i),0,t(i).length-1)]:t[rc(e,0,t.length-1)]}function hc(e){return(t,i)=>o=>dc(cc(o)?ba(i,o):ba(t,o),e(o))}function uc(e){return t=>i=>o=>s=>r=>{const n=ba(e,r),a=ba(t,r),l=a.length,c=rc(i(n,a,r),0,l-1),d=o(c,a,r);const h=[].concat(a),u=l-1;let p=c;return-1===d&&(h.reverse(),p=u-p),function e(t,i,o=0,s=t.length-1){if(s===o)return t[o];const r=Math.floor((s-o)/2)+o;return i(t[r])?e(t,i,o,r):e(t,i,r+1,s)}(h,(function(e){return s(ic(n,e))}),p,u)}}function pc(e,t,i){return lc(t,e)(i)}function gc(e){return lc(wa,xa(e))(e)}function vc(e,t,i,o,s,r){return n=>{const a=ba(e,n),l=cc(n)?-1:1,c=uc(xa)(a)(pc)(()=>l)((d=ba(t,n),e=>e>=d))(n);var d;const h=ac(e,c)(n),u=ba(i,n),p=ba(o,n),g=ba(s,n),v=ba(r,n);return function(e,t,i,o,s,r,n){const a=e+i*Math.abs(o-s),l=1===i?o<s:i*o>i*s,c=l?e:a,d=l?a:e,h=c+i*r,u=c+i*n;return{rest:dc(c,t),hover:dc(d,t),active:dc(h,t),focus:dc(u,t)}}(h,a,l,u,p,g,v)}}(nc=e.PaletteType||(e.PaletteType={})).neutral="neutral",nc.accent="accent";const fc=Zl(vc(wa,14,0,Ja,el,tl)),mc=Jl(Yl.rest,fc),bc=Jl(Yl.hover,fc),yc=Jl(Yl.active,fc);Jl(Yl.focus,fc);const xc=Zl(vc(wa,4.5,0,Ka,Qa,Xa)),Cc=Jl(Yl.rest,xc),wc=Jl(Yl.hover,xc),$c=Jl(Yl.active,xc);Jl(Yl.focus,xc);const kc=(e,t)=>ic("#FFFFFF",e)>=t?"#FFFFFF":"#000000";function Sc(e){return function(t){return"function"==typeof t||"string"==typeof t?i=>kc("function"==typeof t?t(i):t,e):kc(Cc(t),e)}}const Tc=Sc(4.5),Fc=Sc(3),Ac=(e,t)=>ic("#FFFFFF",e)>=t?"#FFFFFF":"#000000";function Dc(e){return function(t){return"function"==typeof t||"string"==typeof t?i=>Ac("function"==typeof t?t(i):t,e):Ac(Ca(t),e)}}const Pc=Dc(4.5),Ic=Dc(3);function Ec(e){return vc(wa,e,0,0,0,0)}const Rc=Jl(Yl.rest,Zl(Ec(4.5))),Oc=Jl(Yl.rest,Zl(Ec(3)));function Lc(e){return t=>{const i=$a(t),o=Ca(t),s=lc($a,o)(t),r={rest:Da(t),hover:Pa(t),active:Ia(t),focus:Ea(t)},n=cc(t)?-1:1,a=s+(1===n?Math.min(r.rest,r.hover):Math.max(n*r.rest,n*r.hover)),l=uc(xa)($a)(()=>a)(()=>n)(t=>t>=e)(t),c=ac($a,l)(t),d=c+n*Math.abs(r.rest-r.hover),h=1===n?r.rest<r.hover:n*r.rest>n*r.hover,u=h?c:d,p=h?d:c,g=u+n*r.active,v=u+n*r.focus;return{rest:dc(u,i),hover:dc(p,i),active:dc(g,i),focus:dc(v,i)}}}const Bc=Zl(Lc(4.5)),Hc=Zl(Lc(3)),Mc=Jl(Yl.rest,Bc),zc=Jl(Yl.hover,Bc),Nc=Jl(Yl.active,Bc);Jl(Yl.focus,Bc);const Vc=Jl(Yl.rest,Hc),jc=Jl(Yl.hover,Hc),_c=Jl(Yl.active,Hc);Jl(Yl.focus,Hc);const Gc=sc(Ra,Oa,La,Ba);function qc(e){return t=>{const i=gc(t);return dc(i+(i>=Gc(t)?-1:1)*e(t),wa(t))}}const Uc=Zl(qc(Ra)),Wc=Zl(qc(Oa)),Kc=Zl(qc(La)),Qc=Zl(qc(Ba)),Xc=Zl(qc(Ha)),Yc=Zl(e=>({rest:Uc(e),hover:Wc(e),active:Kc(e),focus:Qc(e),selected:Xc(e)})),Zc=sc(Ra,Oa,La,Ba,_a,Ga,qa,Ua);function Jc(e){return t=>{const i=gc(t);return dc(i+(i>=Zc(t)?-1:1)*e(t),wa(t))}}const ed=Zl(Jc(_a)),td=Zl(Jc(Ga)),id=Zl(Jc(qa)),od=Zl(Jc(Ua)),sd=Zl(Jc(Wa)),rd=Zl(e=>({rest:ed(e),hover:td(e),active:id(e),focus:od(e),selected:sd(e)}));function nd(e){return t=>{const i=cc(t)?-1:1;return dc(gc(t)-e(t)*i,wa(t))}}const ad=Zl(nd(Ma)),ld=Zl(nd(za)),cd=Zl(nd(Na)),dd=Zl(nd(Va)),hd=Zl(nd(ja)),ud=Zl(e=>({rest:ad(e),hover:ld(e),active:cd(e),focus:dd(e),selected:hd(e)})),pd=sc(Ra,Oa,La);function gd(e){return t=>{const i=$a(t),o=i.length,s=Ca(t),r=Pc(Object.assign({},t,{backgroundColor:s})),n=Sa(t),a=gc(t)>=pd(t)?-1:1,l=o-1,c=lc($a,s)(t);let d=0;for(;d<a*n&&Bi(c+d+a,0,o)&&ic(i[c+d+a],r)>=e&&Bi(c+d+a+a,0,l);)d+=a;const h=c+d,u=h+-1*a*n,p=u+a*Ta(t),g=u+a*Fa(t);return{rest:dc(u,i),hover:dc(h,i),active:dc(p,i),focus:dc(g,i),selected:dc(u+(cc(t)?-1*Aa(t):Aa(t)),i)}}}const vd=Zl(gd(4.5)),fd=Zl(gd(3)),md=Jl(Yl.rest,vd),bd=Jl(Yl.hover,vd),yd=Jl(Yl.active,vd);Jl(Yl.focus,vd);const xd=Jl(Yl.selected,vd),Cd=Jl(Yl.rest,fd),wd=Jl(Yl.hover,fd),$d=Jl(Yl.active,fd);Jl(Yl.focus,fd);const kd=Jl(Yl.selected,fd),Sd=Zl(vc(wa,14,0,al,ll,cl)),Td=Jl(Yl.rest,Sd),Fd=Jl(Yl.hover,Sd),Ad=Jl(Yl.active,Sd);Jl(Yl.focus,Sd);const Dd=e=>{const t=Za(e),i=lc(wa,xa(e))(e);return dc(i-(i<t?-1*t:t),wa(e))};function Pd(e){return"function"==typeof e?t=>Dd(Object.assign({},t,{backgroundColor:e(t)})):Dd(e)}const Id=Zl(e=>{const t=wa(e),i=gc(e),o=cc(e)?-1:1,s=ol(e),r=i+o*s,n=r+o*(sl(e)-s),a=r+o*(rl(e)-s),l=r+o*(nl(e)-s);return{rest:dc(r,t),hover:dc(n,t),active:dc(a,t),focus:dc(l,t)}}),Ed=Jl(Yl.rest,Id),Rd=Jl(Yl.hover,Id),Od=Jl(Yl.active,Id);Jl(Yl.focus,Id);const Ld=Zl(e=>{const t=wa(e),i=gc(e),o=il(e);return dc(i+(cc(e)?-1:1)*o,t)});function Bd(e){return(...t)=>i=>{const o=t[0];let s="function"==typeof o?o(i):o;for(let o=1;o<t.length;o++){const r=t[o];s=e(s,"function"==typeof r?r(i):r)}return s}}const Hd=Bd((e,t)=>e+t),Md=Bd((e,t)=>e-t),zd=Bd((e,t)=>e*t);function Nd(...e){return Hd.apply(this,e)}function Vd(...e){return Md.apply(this,e)}function jd(...e){return zd.apply(this,e)}var _d;function Gd(e,t){return i=>-1===Ya(i)?t(i):e(i)}(_d=e.StandardLuminance||(e.StandardLuminance={}))[_d.LightMode=1]="LightMode",_d[_d.DarkMode=.23]="DarkMode";const qd=lc(wa,e=>{const t=Ya(e);return new Cl(t,t,t,1).toStringHexRGB()}),Ud=e=>dl(Vd(qd,Za)(e),0,wa(e).length-1),Wd=sc(Ra,Oa,La),Kd=sc(Nd(qd,Za),Wd),Qd=e=>{const t=new Cl(.14,.14,.14,1);return lc(wa,t.toStringHexRGB())(e)},Xd=Zl(Gd(dc(Vd(Ud,Za),wa),hc(wa)(0,Vd(Qd,jd(Za,5))))),Yd=Zl(Gd(dc(Ud,wa),hc(wa)(0,Vd(Qd,jd(Za,4))))),Zd=Zl(Gd(dc(Nd(Ud,Za),wa),hc(wa)(Za,Vd(Qd,jd(Za,3))))),Jd=Zl(Gd(dc(qd,wa),hc(wa)(0,Vd(Qd,jd(Za,3))))),eh=Zd,th=Zl(Gd(dc(Kd,wa),hc(wa)(Wd,Vd(Qd,jd(Za,2))))),ih=Zl(Gd(dc(Nd(Kd,Za),wa),hc(wa)(Nd(Wd,Za),Vd(Qd,Za)))),oh=Zl(Gd(dc(Nd(Kd,jd(Za,2)),wa),hc(wa)(Nd(Wd,jd(Za,2)),Qd)));function sh(e){return e>3.5}const rh=Zl(uc(xa)(wa)((function(e,t,i){return lc(wa,e)(i)}))((function(e,t,i){return cc(i)?-1:1}))(sh));function nh(e,t,i){return cc(i)?1:-1}function ah(e){return uc(rh)($a)(function(e){return(t,i,o)=>i.indexOf(e(o))}(e))(nh)(sh)}function lh(e){return new Xl({baseColor:e}).palette.map(e=>e.toStringHexRGB().toUpperCase())}const ch=Ie` ${go("block")};`,dh=new as("neutral-foreground-rest",mc,e=>e),hh=Ie` :host{background-color: var(--background-color);color: ${dh.var}}`.withBehaviors(dh,lo(Ie` :host{background-color: ${Qi.ButtonFace};box-shadow: 0 0 0 1px ${Qi.CanvasText};color: ${Qi.ButtonText}}`));e.FASTDesignSystemProvider=class extends Co{constructor(){super(...arguments),this.noPaint=!1}noPaintChanged(){this.noPaint||void 0===this.backgroundColor?this.$fastController.removeStyles(hh):this.$fastController.addStyles(hh)}backgroundColorChanged(){this.noPaintChanged()}},t([me({attribute:"no-paint",mode:"boolean"})],e.FASTDesignSystemProvider.prototype,"noPaint",void 0),t([ko({attribute:"background-color",default:ma.backgroundColor})],e.FASTDesignSystemProvider.prototype,"backgroundColor",void 0),t([ko({attribute:"accent-base-color",cssCustomProperty:!1,default:ma.accentBaseColor})],e.FASTDesignSystemProvider.prototype,"accentBaseColor",void 0),t([ko({attribute:!1,cssCustomProperty:!1,default:ma.neutralPalette})],e.FASTDesignSystemProvider.prototype,"neutralPalette",void 0),t([ko({attribute:!1,cssCustomProperty:!1,default:ma.accentPalette})],e.FASTDesignSystemProvider.prototype,"accentPalette",void 0),t([ko({default:ma.density,converter:ve})],e.FASTDesignSystemProvider.prototype,"density",void 0),t([ko({attribute:"design-unit",converter:ve,default:ma.designUnit})],e.FASTDesignSystemProvider.prototype,"designUnit",void 0),t([ko({attribute:"direction",cssCustomProperty:!1,default:ma.direction})],e.FASTDesignSystemProvider.prototype,"direction",void 0),t([ko({attribute:"base-height-multiplier",default:ma.baseHeightMultiplier,converter:ve})],e.FASTDesignSystemProvider.prototype,"baseHeightMultiplier",void 0),t([ko({attribute:"base-horizontal-spacing-multiplier",converter:ve,default:ma.baseHorizontalSpacingMultiplier})],e.FASTDesignSystemProvider.prototype,"baseHorizontalSpacingMultiplier",void 0),t([ko({attribute:"corner-radius",converter:ve,default:ma.cornerRadius})],e.FASTDesignSystemProvider.prototype,"cornerRadius",void 0),t([ko({attribute:"outline-width",converter:ve,default:ma.outlineWidth})],e.FASTDesignSystemProvider.prototype,"outlineWidth",void 0),t([ko({attribute:"focus-outline-width",converter:ve,default:ma.focusOutlineWidth})],e.FASTDesignSystemProvider.prototype,"focusOutlineWidth",void 0),t([ko({attribute:"disabled-opacity",converter:ve,default:ma.disabledOpacity})],e.FASTDesignSystemProvider.prototype,"disabledOpacity",void 0),t([ko({attribute:"type-ramp-minus-2-font-size",default:ma.typeRampMinus2FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampMinus2FontSize",void 0),t([ko({attribute:"type-ramp-minus-2-line-height",default:ma.typeRampMinus2LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampMinus2LineHeight",void 0),t([ko({attribute:"type-ramp-minus-1-font-size",default:ma.typeRampMinus1FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampMinus1FontSize",void 0),t([ko({attribute:"type-ramp-minus-1-line-height",default:ma.typeRampMinus1LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampMinus1LineHeight",void 0),t([ko({attribute:"type-ramp-base-font-size",default:ma.typeRampBaseFontSize})],e.FASTDesignSystemProvider.prototype,"typeRampBaseFontSize",void 0),t([ko({attribute:"type-ramp-base-line-height",default:ma.typeRampBaseLineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampBaseLineHeight",void 0),t([ko({attribute:"type-ramp-plus-1-font-size",default:ma.typeRampPlus1FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampPlus1FontSize",void 0),t([ko({attribute:"type-ramp-plus-1-line-height",default:ma.typeRampPlus1LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampPlus1LineHeight",void 0),t([ko({attribute:"type-ramp-plus-2-font-size",default:ma.typeRampPlus2FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampPlus2FontSize",void 0),t([ko({attribute:"type-ramp-plus-2-line-height",default:ma.typeRampPlus2LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampPlus2LineHeight",void 0),t([ko({attribute:"type-ramp-plus-3-font-size",default:ma.typeRampPlus3FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampPlus3FontSize",void 0),t([ko({attribute:"type-ramp-plus-3-line-height",default:ma.typeRampPlus3LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampPlus3LineHeight",void 0),t([ko({attribute:"type-ramp-plus-4-font-size",default:ma.typeRampPlus4FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampPlus4FontSize",void 0),t([ko({attribute:"type-ramp-plus-4-line-height",default:ma.typeRampPlus4LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampPlus4LineHeight",void 0),t([ko({attribute:"type-ramp-plus-5-font-size",default:ma.typeRampPlus5FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampPlus5FontSize",void 0),t([ko({attribute:"type-ramp-plus-5-line-height",default:ma.typeRampPlus5LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampPlus5LineHeight",void 0),t([ko({attribute:"type-ramp-plus-6-font-size",default:ma.typeRampPlus6FontSize})],e.FASTDesignSystemProvider.prototype,"typeRampPlus6FontSize",void 0),t([ko({attribute:"type-ramp-plus-6-line-height",default:ma.typeRampPlus6LineHeight})],e.FASTDesignSystemProvider.prototype,"typeRampPlus6LineHeight",void 0),t([ko({attribute:"accent-fill-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.accentFillRestDelta})],e.FASTDesignSystemProvider.prototype,"accentFillRestDelta",void 0),t([ko({attribute:"accent-fill-hover-delta",cssCustomProperty:!1,converter:ve,default:ma.accentFillHoverDelta})],e.FASTDesignSystemProvider.prototype,"accentFillHoverDelta",void 0),t([ko({attribute:"accent-fill-active-delta",cssCustomProperty:!1,converter:ve,default:ma.accentFillActiveDelta})],e.FASTDesignSystemProvider.prototype,"accentFillActiveDelta",void 0),t([ko({attribute:"accent-fill-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.accentFillFocusDelta})],e.FASTDesignSystemProvider.prototype,"accentFillFocusDelta",void 0),t([ko({attribute:"accent-fill-selected-delta",converter:ve,cssCustomProperty:!1,default:ma.accentFillSelectedDelta})],e.FASTDesignSystemProvider.prototype,"accentFillSelectedDelta",void 0),t([ko({attribute:"accent-foreground-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.accentForegroundRestDelta})],e.FASTDesignSystemProvider.prototype,"accentForegroundRestDelta",void 0),t([ko({attribute:"accent-foreground-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.accentForegroundHoverDelta})],e.FASTDesignSystemProvider.prototype,"accentForegroundHoverDelta",void 0),t([ko({attribute:"accent-foreground-active-delta",converter:ve,cssCustomProperty:!1,default:ma.accentForegroundActiveDelta})],e.FASTDesignSystemProvider.prototype,"accentForegroundActiveDelta",void 0),t([ko({attribute:"accent-foreground-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.accentForegroundFocusDelta})],e.FASTDesignSystemProvider.prototype,"accentForegroundFocusDelta",void 0),t([ko({attribute:"neutral-fill-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillRestDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillRestDelta",void 0),t([ko({attribute:"neutral-fill-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillHoverDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillHoverDelta",void 0),t([ko({attribute:"neutral-fill-active-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillActiveDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillActiveDelta",void 0),t([ko({attribute:"neutral-fill-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillFocusDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillFocusDelta",void 0),t([ko({attribute:"neutral-fill-selected-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillSelectedDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillSelectedDelta",void 0),t([ko({attribute:"neutral-fill-input-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillInputRestDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillInputRestDelta",void 0),t([ko({attribute:"neutral-fill-input-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillInputHoverDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillInputHoverDelta",void 0),t([ko({attribute:"neutral-fill-input-active-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillInputActiveDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillInputActiveDelta",void 0),t([ko({attribute:"neutral-fill-input-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillInputFocusDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillInputFocusDelta",void 0),t([ko({attribute:"neutral-fill-input-selected-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillInputSelectedDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillInputSelectedDelta",void 0),t([ko({attribute:"neutral-fill-stealth-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillStealthRestDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillStealthRestDelta",void 0),t([ko({attribute:"neutral-fill-stealth-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillStealthHoverDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillStealthHoverDelta",void 0),t([ko({attribute:"neutral-fill-stealth-active-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillStealthActiveDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillStealthActiveDelta",void 0),t([ko({attribute:"neutral-fill-stealth-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillStealthFocusDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillStealthFocusDelta",void 0),t([ko({attribute:"neutral-fill-stealth-selected-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillStealthSelectedDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillStealthSelectedDelta",void 0),t([ko({attribute:"neutral-fill-toggle-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillToggleHoverDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillToggleHoverDelta",void 0),t([ko({attribute:"neutral-fill-toggle-active-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillToggleActiveDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillToggleActiveDelta",void 0),t([ko({attribute:"neutral-fill-toggle-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillToggleFocusDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillToggleFocusDelta",void 0),t([ko({attribute:"base-layer-luminance",converter:ve,cssCustomProperty:!1,default:ma.baseLayerLuminance})],e.FASTDesignSystemProvider.prototype,"baseLayerLuminance",void 0),t([ko({attribute:"neutral-fill-card-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralFillCardDelta})],e.FASTDesignSystemProvider.prototype,"neutralFillCardDelta",void 0),t([ko({attribute:"neutral-foreground-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralForegroundHoverDelta})],e.FASTDesignSystemProvider.prototype,"neutralForegroundHoverDelta",void 0),t([ko({attribute:"neutral-foreground-active-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralForegroundActiveDelta})],e.FASTDesignSystemProvider.prototype,"neutralForegroundActiveDelta",void 0),t([ko({attribute:"neutral-foreground-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralForegroundFocusDelta})],e.FASTDesignSystemProvider.prototype,"neutralForegroundFocusDelta",void 0),t([ko({attribute:"neutral-divider-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralDividerRestDelta})],e.FASTDesignSystemProvider.prototype,"neutralDividerRestDelta",void 0),t([ko({attribute:"neutral-outline-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralOutlineRestDelta})],e.FASTDesignSystemProvider.prototype,"neutralOutlineRestDelta",void 0),t([ko({attribute:"neutral-outline-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralOutlineHoverDelta})],e.FASTDesignSystemProvider.prototype,"neutralOutlineHoverDelta",void 0),t([ko({attribute:"neutral-outline-active-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralOutlineActiveDelta})],e.FASTDesignSystemProvider.prototype,"neutralOutlineActiveDelta",void 0),t([ko({attribute:"neutral-outline-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralOutlineFocusDelta})],e.FASTDesignSystemProvider.prototype,"neutralOutlineFocusDelta",void 0),t([ko({attribute:"neutral-contrast-fill-rest-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralContrastFillRestDelta})],e.FASTDesignSystemProvider.prototype,"neutralContrastFillRestDelta",void 0),t([ko({attribute:"neutral-contrast-fill-hover-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralContrastFillHoverDelta})],e.FASTDesignSystemProvider.prototype,"neutralContrastFillHoverDelta",void 0),t([ko({attribute:"neutral-contrast-fill-active-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralContrastFillActiveDelta})],e.FASTDesignSystemProvider.prototype,"neutralContrastFillActiveDelta",void 0),t([ko({attribute:"neutral-contrast-fill-focus-delta",converter:ve,cssCustomProperty:!1,default:ma.neutralContrastFillFocusDelta})],e.FASTDesignSystemProvider.prototype,"neutralContrastFillFocusDelta",void 0),e.FASTDesignSystemProvider=t([$o({name:"fast-design-system-provider",template:So,styles:ch})],e.FASTDesignSystemProvider);const uh=ls("neutral-foreground-rest",e=>fc(e).rest,e.FASTDesignSystemProvider.findProvider),ph=ls("neutral-foreground-hover",e=>fc(e).hover,e.FASTDesignSystemProvider.findProvider),gh=ls("neutral-foreground-active",e=>fc(e).active,e.FASTDesignSystemProvider.findProvider),vh=ls("neutral-foreground-focus",e=>fc(e).focus,e.FASTDesignSystemProvider.findProvider),fh=ls("neutral-foreground-toggle",Tc,e.FASTDesignSystemProvider.findProvider),mh=ls("neutral-foreground-toggle-large",Fc,e.FASTDesignSystemProvider.findProvider),bh=ls("neutral-foreground-hint",Rc,e.FASTDesignSystemProvider.findProvider),yh=ls("neutral-foreground-hint-large",Oc,e.FASTDesignSystemProvider.findProvider),xh=ls("accent-foreground-rest",e=>Bc(e).rest,e.FASTDesignSystemProvider.findProvider),Ch=ls("accent-foreground-hover",e=>Bc(e).hover,e.FASTDesignSystemProvider.findProvider),wh=ls("accent-foreground-active",e=>Bc(e).active,e.FASTDesignSystemProvider.findProvider),$h=ls("accent-foreground-focus",e=>Bc(e).focus,e.FASTDesignSystemProvider.findProvider),kh=ls("accent-foreground-cut-rest",e=>Pc(e),e.FASTDesignSystemProvider.findProvider),Sh=ls("accent-foreground-large-rest",e=>Hc(e).rest,e.FASTDesignSystemProvider.findProvider),Th=ls("accent-foreground-large-hover",e=>Hc(e).hover,e.FASTDesignSystemProvider.findProvider),Fh=ls("accent-foreground-large-active",e=>Hc(e).active,e.FASTDesignSystemProvider.findProvider),Ah=ls("accent-foreground-large-focus",e=>Hc(e).focus,e.FASTDesignSystemProvider.findProvider),Dh=ls("neutral-fill-rest",e=>Yc(e).rest,e.FASTDesignSystemProvider.findProvider),Ph=ls("neutral-fill-hover",e=>Yc(e).hover,e.FASTDesignSystemProvider.findProvider),Ih=ls("neutral-fill-active",e=>Yc(e).active,e.FASTDesignSystemProvider.findProvider),Eh=ls("neutral-fill-focus",e=>Yc(e).focus,e.FASTDesignSystemProvider.findProvider),Rh=ls("neutral-fill-selected",e=>Yc(e).selected,e.FASTDesignSystemProvider.findProvider),Oh=ls("neutral-fill-stealth-rest",e=>rd(e).rest,e.FASTDesignSystemProvider.findProvider),Lh=ls("neutral-fill-stealth-hover",e=>rd(e).hover,e.FASTDesignSystemProvider.findProvider),Bh=ls("neutral-fill-stealth-active",e=>rd(e).active,e.FASTDesignSystemProvider.findProvider),Hh=ls("neutral-fill-stealth-focus",e=>rd(e).focus,e.FASTDesignSystemProvider.findProvider),Mh=ls("neutral-fill-stealth-selected",e=>rd(e).selected,e.FASTDesignSystemProvider.findProvider),zh=ls("neutral-fill-toggle-rest",e=>xc(e).rest,e.FASTDesignSystemProvider.findProvider),Nh=ls("neutral-fill-toggle-hover",e=>xc(e).hover,e.FASTDesignSystemProvider.findProvider),Vh=ls("neutral-fill-toggle-active",e=>xc(e).active,e.FASTDesignSystemProvider.findProvider),jh=ls("neutral-fill-toggle-focus",e=>xc(e).focus,e.FASTDesignSystemProvider.findProvider),_h=ls("neutral-fill-input-rest",e=>ud(e).rest,e.FASTDesignSystemProvider.findProvider),Gh=ls("neutral-fill-input-hover",e=>ud(e).hover,e.FASTDesignSystemProvider.findProvider),qh=ls("neutral-fill-input-active",e=>ud(e).active,e.FASTDesignSystemProvider.findProvider),Uh=ls("neutral-fill-input-selected",e=>ud(e).selected,e.FASTDesignSystemProvider.findProvider),Wh=ls("neutral-fill-input-focus",e=>ud(e).focus,e.FASTDesignSystemProvider.findProvider),Kh=ls("accent-fill-rest",e=>vd(e).rest,e.FASTDesignSystemProvider.findProvider),Qh=ls("accent-fill-hover",e=>vd(e).hover,e.FASTDesignSystemProvider.findProvider),Xh=ls("accent-fill-active",e=>vd(e).active,e.FASTDesignSystemProvider.findProvider),Yh=ls("accent-fill-focus",e=>vd(e).focus,e.FASTDesignSystemProvider.findProvider),Zh=ls("accent-fill-selected",e=>vd(e).selected,e.FASTDesignSystemProvider.findProvider),Jh=ls("accent-fill-large-rest",e=>fd(e).rest,e.FASTDesignSystemProvider.findProvider),eu=ls("accent-fill-large-hover",e=>fd(e).hover,e.FASTDesignSystemProvider.findProvider),tu=ls("accent-fill-large-active",e=>fd(e).active,e.FASTDesignSystemProvider.findProvider),iu=ls("accent-fill-large-focus",e=>fd(e).focus,e.FASTDesignSystemProvider.findProvider),ou=ls("accent-fill-large-selected",e=>fd(e).selected,e.FASTDesignSystemProvider.findProvider),su=ls("neutral-fill-card-rest",e=>Pd(e),e.FASTDesignSystemProvider.findProvider),ru=ls("neutral-outline-rest",e=>Id(e).rest,e.FASTDesignSystemProvider.findProvider),nu=ls("neutral-outline-hover",e=>Id(e).hover,e.FASTDesignSystemProvider.findProvider),au=ls("neutral-outline-active",e=>Id(e).active,e.FASTDesignSystemProvider.findProvider),lu=ls("neutral-outline-focus",e=>Id(e).focus,e.FASTDesignSystemProvider.findProvider),cu=ls("neutral-divider-rest",Ld,e.FASTDesignSystemProvider.findProvider),du=ls("neutral-layer-floating",Xd,e.FASTDesignSystemProvider.findProvider),hu=ls("neutral-layer-card",Yd,e.FASTDesignSystemProvider.findProvider),uu=ls("neutral-layer-card-container",Zd,e.FASTDesignSystemProvider.findProvider),pu=ls("neutral-layer-l1",Jd,e.FASTDesignSystemProvider.findProvider),gu=ls("neutral-layer-l1-alt",eh,e.FASTDesignSystemProvider.findProvider),vu=ls("neutral-layer-l2",th,e.FASTDesignSystemProvider.findProvider),fu=ls("neutral-layer-l3",ih,e.FASTDesignSystemProvider.findProvider),mu=ls("neutral-layer-l4",oh,e.FASTDesignSystemProvider.findProvider),bu=ls("neutral-focus",rh,e.FASTDesignSystemProvider.findProvider),yu=ls("neutral-focus-inner-accent",ah(Ca),e.FASTDesignSystemProvider.findProvider),xu=ls("neutral-contrast-foreground-rest",e=>mc(Td)(e),e.FASTDesignSystemProvider.findProvider),Cu=ls("neutral-contrast-fill-rest",e=>Sd(e).rest,e.FASTDesignSystemProvider.findProvider),wu=ls("neutral-contrast-fill-hover",e=>Sd(e).hover,e.FASTDesignSystemProvider.findProvider),$u=ls("neutral-contrast-fill-active",e=>Sd(e).active,e.FASTDesignSystemProvider.findProvider),ku=ls("neutral-contrast-fill-focus",e=>Sd(e).focus,e.FASTDesignSystemProvider.findProvider),Su=Ie` ${go("flex")} :host{box-sizing: border-box;flex-direction: column;font-family: var(--body-font);font-size: var(--type-ramp-minus-1-font-size);line-height: var(--type-ramp-minus-1-line-height);color: ${uh.var};border-top: calc(var(--outline-width) * 1px) solid ${cu.var}}`.withBehaviors(cu,uh),Tu="(var(--base-height-multiplier) + var(--density)) * var(--design-unit)",Fu=Ie` ${go("flex")} :host{box-sizing: border-box;font-family: var(--body-font);flex-direction: column;font-size: var(--type-ramp-minus-1-font-size);line-height: var(--type-ramp-minus-1-line-height);border-bottom: calc(var(--outline-width) * 1px) solid var(--neutral-divider-rest)}.region{display: none;padding: calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px)}.heading{display: grid;position: relative;grid-template-columns: auto 1fr auto calc(${Tu} * 1px);z-index: 2}.button{appearance: none;border: none;background: none;grid-column: 2;grid-row: 1;outline: none;padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);text-align: left;height: calc(${Tu} * 1px);color: ${uh.var};cursor: pointer;font-family: inherit}.button:hover{color: ${ph.var}}.button:active{color: ${gh.var}}.button::before{content: "";position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 1;cursor: pointer}.button:${vo}::before{outline: none;border: calc(var(--outline-width) * 1px) solid ${bu.var};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${bu.var}}:host([expanded]) .region{display: block}.icon{display: flex;align-items: center;justify-content: center;grid-column: 4;z-index: 2;pointer-events: none}slot[name="expanded-icon"], slot[name="collapsed-icon"]{fill: ${Kh.var}}slot[name="collapsed-icon"]{display: flex}:host([expanded]) slot[name="collapsed-icon"]{display: none}slot[name="expanded-icon"]{display: none}:host([expanded]) slot[name="expanded-icon"]{display: flex}.start{display: flex;align-items: center;padding-inline-start: calc(var(--design-unit) * 1px);justify-content: center;grid-column: 1;z-index: 2}.end{display: flex;align-items: center;justify-content: center;grid-column: 3;z-index: 2}`.withBehaviors(Kh,cu,gh,vh,ph,uh,bu,lo(Ie` .button:${vo}::before{border-color: ${Qi.Highlight};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Qi.Highlight}}`));e.FASTAccordionItem=class extends at{},e.FASTAccordionItem=t([Ae({name:"fast-accordion-item",template:rt,styles:Fu})],e.FASTAccordionItem);const Au=Fu;e.FASTAccordion=class extends Ji{},e.FASTAccordion=t([Ae({name:"fast-accordion",template:lt,styles:Su})],e.FASTAccordion);const Du=Su,Pu="box-shadow: 0 0 calc((var(--elevation) * 0.225px) + 2px) rgba(0, 0, 0, calc(.11 * (2 - var(--background-luminance, 1)))), 0 calc(var(--elevation) * 0.4px) calc((var(--elevation) * 0.9px)) rgba(0, 0, 0, calc(.13 * (2 - var(--background-luminance, 1))));",Iu=Ie` ${go("inline-flex")} :host{font-family: var(--body-font);outline: none;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);height: calc(${Tu} * 1px);min-width: calc(${Tu} * 1px);background-color: ${Dh.var};color: ${uh.var};border-radius: calc(var(--corner-radius) * 1px);fill: currentcolor;cursor: pointer}.control{background: transparent;height: inherit;flex-grow: 1;box-sizing: border-box;display: inline-flex;justify-content: center;align-items: center;padding: 0 calc((10 + (var(--design-unit) * 2 * var(--density))) * 1px);white-space: nowrap;outline: none;text-decoration: none;border: calc(var(--outline-width) * 1px) solid transparent;color: inherit;border-radius: inherit;fill: inherit;cursor: inherit;font-family: inherit;font-size: inherit;line-height: inherit}:host(:hover){background-color: ${Ph.var}}:host(:active){background-color: ${Ih.var}}.control:${vo}{border: calc(var(--outline-width) * 1px) solid ${bu.var};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${bu.var}}.control::-moz-focus-inner{border: 0}.start, .end{display: flex}.control.icon-only{padding: 0;line-height: 0}::slotted(svg){${""} width: 16px;height: 16px;pointer-events: none}.start{margin-inline-end: 11px}.end{margin-inline-start: 11px}`.withBehaviors(Dh,uh,Ph,Ih,lo(Ie` :host .control{background-color: ${Qi.ButtonFace};border-color: ${Qi.ButtonText};color: ${Qi.ButtonText};fill: currentColor}:host(:hover) .control{forced-color-adjust: none;background-color: ${Qi.Highlight};color: ${Qi.HighlightText}}.control:${vo}{forced-color-adjust: none;background-color: ${Qi.Highlight};border-color: ${Qi.ButtonText};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Qi.ButtonText};color: ${Qi.HighlightText}}.control:hover, :host([appearance="outline"]) .control:hover{border-color: ${Qi.ButtonText}}:host([href]) .control{border-color: ${Qi.LinkText};color: ${Qi.LinkText}}:host([href]) .control:hover, :host([href]) .control:${vo}{forced-color-adjust: none;background: ${Qi.ButtonFace};border-color: ${Qi.LinkText};box-shadow: 0 0 0 1px ${Qi.LinkText} inset;color: ${Qi.LinkText};fill: currentColor}`)),Eu=Ie` :host([appearance="accent"]){background: ${Kh.var};color: ${kh.var}}:host([appearance="accent"]:hover){background: ${Qh.var}}:host([appearance="accent"]:active) .control:active{background: ${Xh.var}}:host([appearance="accent"]) .control:${vo}{box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${yu.var}}`.withBehaviors(Kh,kh,Qh,Xh,yu,lo(Ie` :host([appearance="accent"]) .control{forced-color-adjust: none;background: ${Qi.Highlight};color: ${Qi.HighlightText}}:host([appearance="accent"]) .control:hover{background: ${Qi.HighlightText};border-color: ${Qi.Highlight};color: ${Qi.Highlight}}:host([appearance="accent"]) .control:${vo}{border-color: ${Qi.ButtonText};box-shadow: 0 0 0 2px ${Qi.HighlightText} inset}:host([appearance="accent"][href]) .control{background: ${Qi.LinkText};color: ${Qi.HighlightText}}:host([appearance="accent"][href]) .control:hover{background: ${Qi.ButtonFace};border-color: ${Qi.LinkText};box-shadow: none;color: ${Qi.LinkText};fill: currentColor}:host([appearance="accent"][href]) .control:${vo}{border-color: ${Qi.LinkText};box-shadow: 0 0 0 2px ${Qi.HighlightText} inset}`)),Ru=Ie` :host([appearance="hypertext"]){font-size: inherit;line-height: inherit;height: auto;min-width: 0;background: transparent}:host([appearance="hypertext"]) .control{display: inline;padding: 0;border: none;box-shadow: none;border-radius: 0;line-height: 1}:host a.control:not(:link){background-color: transparent;cursor: default}:host([appearance="hypertext"]) .control:link, :host([appearance="hypertext"]) .control:visited{background: transparent;color: ${xh.var};border-bottom: calc(var(--outline-width) * 1px) solid ${xh.var}}:host([appearance="hypertext"]:hover), :host([appearance="hypertext"]) .control:hover{background: transparent;border-bottom-color: ${Ch.var}}:host([appearance="hypertext"]:active), :host([appearance="hypertext"]) .control:active{background: transparent;border-bottom-color: ${wh.var}}:host([appearance="hypertext"]) .control:${vo}{border-bottom: calc(var(--focus-outline-width) * 1px) solid ${bu.var};margin-bottom: calc(calc(var(--outline-width) - var(--focus-outline-width)) * 1px)}`.withBehaviors(xh,Ch,wh,bu,lo(Ie` :host([appearance="hypertext"]:hover){background-color: ${Qi.ButtonFace};color: ${Qi.ButtonText}}:host([appearance="hypertext"][href]) .control:hover, :host([appearance="hypertext"][href]) .control:active, :host([appearance="hypertext"][href]) .control:${vo}{color: ${Qi.LinkText};border-bottom-color: ${Qi.LinkText};box-shadow: none}`)),Ou=Ie` :host([appearance="lightweight"]){background: transparent;color: ${xh.var}}:host([appearance="lightweight"]) .control{padding: 0;height: initial;border: none;box-shadow: none;border-radius: 0}:host([appearance="lightweight"]:hover){background: transparent;color: ${Ch.var}}:host([appearance="lightweight"]:active){background: transparent;color: ${wh.var}}:host([appearance="lightweight"]) .content{position: relative}:host([appearance="lightweight"]) .content::before{content: "";display: block;height: calc(var(--outline-width) * 1px);position: absolute;top: calc(1em + 4px);width: 100%}:host([appearance="lightweight"]:hover) .content::before{background: ${Ch.var}}:host([appearance="lightweight"]:active) .content::before{background: ${wh.var}}:host([appearance="lightweight"]) .control:${vo} .content::before{background: ${uh.var};height: calc(var(--focus-outline-width) * 1px)}`.withBehaviors(xh,Ch,wh,Ch,uh,lo(Ie` :host([appearance="lightweight"]) .control:hover, :host([appearance="lightweight"]) .control:${vo}{forced-color-adjust: none;background: ${Qi.ButtonFace};color: ${Qi.Highlight}}:host([appearance="lightweight"]) .control:hover .content::before, :host([appearance="lightweight"]) .control:${vo} .content::before{background: ${Qi.Highlight}}:host([appearance="lightweight"][href]) .control:hover, :host([appearance="lightweight"][href]) .control:${vo}{background: ${Qi.ButtonFace};box-shadow: none;color: ${Qi.LinkText}}:host([appearance="lightweight"][href]) .control:hover .content::before, :host([appearance="lightweight"][href]) .control:${vo} .content::before{background: ${Qi.LinkText}}`)),Lu=Ie` :host([appearance="outline"]){background: transparent;border-color: ${Kh.var}}:host([appearance="outline"]:hover){border-color: ${Qh.var}}:host([appearance="outline"]:active){border-color: ${Xh.var}}:host([appearance="outline"]) .control{border-color: inherit}:host([appearance="outline"]) .control:${vo}{box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${bu.var};border-color: ${bu.var}}`.withBehaviors(Kh,Qh,Xh,bu,lo(Ie` :host([appearance="outline"]) .control{border-color: ${Qi.ButtonText}}:host([appearance="outline"]) .control:${vo}{forced-color-adjust: none;background-color: ${Qi.Highlight};border-color: ${Qi.ButtonText};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${Qi.ButtonText};color: ${Qi.HighlightText};fill: currentColor}:host([appearance="outline"][href]) .control{background: ${Qi.ButtonFace};border-color: ${Qi.LinkText};color: ${Qi.LinkText};fill: currentColor}:host([appearance="outline"][href]) .control:hover, :host([appearance="outline"][href]) .control:${vo}{forced-color-adjust: none;border-color: ${Qi.LinkText};box-shadow: 0 0 0 1px ${Qi.LinkText} inset}`)),Bu=Ie` :host([appearance="stealth"]){background: ${Oh.var}}:host([appearance="stealth"]:hover){background: ${Lh.var}}:host([appearance="stealth"]:active){background: ${Bh.var}}`.withBehaviors(Oh,Lh,Bh,lo(Ie` :host([appearance="stealth"]), :host([appearance="stealth"]) .control{forced-color-adjust: none;background: ${Qi.ButtonFace};border-color: transparent;color: ${Qi.ButtonText};fill: currentColor}:host([appearance="stealth"]:hover) .control{background: ${Qi.Highlight};border-color: ${Qi.Highlight};color: ${Qi.HighlightText};fill: currentColor}:host([appearance="stealth"]:${vo}) .control{background: ${Qi.Highlight};box-shadow: 0 0 0 1px ${Qi.Highlight};color: ${Qi.HighlightText};fill: currentColor}:host([appearance="stealth"][href]) .control{color: ${Qi.LinkText}}:host([appearance="stealth"][href]:hover) .control, :host([appearance="stealth"][href]:${vo}) .control{background: ${Qi.LinkText};border-color: ${Qi.LinkText};color: ${Qi.HighlightText};fill: currentColor}:host([appearance="stealth"][href]:${vo}) .control{forced-color-adjust: none;box-shadow: 0 0 0 1px ${Qi.LinkText}}`)),Hu=ls("inline-start",e=>ka(e)===Ki.ltr?"left":"right",e.FASTDesignSystemProvider.findProvider),Mu=ls("inline-end",e=>ka(e)===Ki.ltr?"right":"left",e.FASTDesignSystemProvider.findProvider);function zu(e,t){return new uo("appearance",e,t)}const Nu=Ie` ${Iu}`.withBehaviors(zu("accent",Eu),zu("hypertext",Ru),zu("lightweight",Ou),zu("outline",Lu),zu("stealth",Bu));e.FASTAnchor=class extends io{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(e,t){const i=this.defaultSlottedContent.filter(e=>e.nodeType===Node.ELEMENT_NODE);1===i.length&&i[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}},t([me],e.FASTAnchor.prototype,"appearance",void 0),e.FASTAnchor=t([Ae({name:"fast-anchor",template:eo,styles:Nu,shadowOptions:{delegatesFocus:!0}})],e.FASTAnchor);const Vu=Nu,ju=Ie` :host{contain: layout;display: block}`;e.FASTAnchoredRegion=class extends Po{},e.FASTAnchoredRegion=t([Ae({name:"fast-anchored-region",template:so,styles:ju})],e.FASTAnchoredRegion);const _u=ju,Gu=Ie` ${go("inline-block")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-minus-1-font-size);line-height: var(--type-ramp-minus-1-line-height)}.control{border-radius: calc(var(--corner-radius) * 1px);padding: calc(var(--design-unit) * 0.5px) calc(var(--design-unit) * 1px);color: ${xh.var};font-weight: 600}.control[style]{font-weight: 400}:host([circular]) .control{border-radius: 100px;padding: 0 calc(var(--design-unit) * 1px);${""} height: calc((${Tu} - (var(--design-unit) * 3)) * 1px);min-width: calc((${Tu} - (var(--design-unit) * 3)) * 1px);display: flex;align-items: center;justify-content: center;box-sizing: border-box}`.withBehaviors(xh);e.FASTBadge=class extends Eo{},e.FASTBadge=t([Ae({name:"fast-badge",template:Io,styles:Gu})],e.FASTBadge);const qu=Gu,Uu=Ie` ${go("inline-block")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.list{display: flex}`;e.FASTBreadcrumb=class extends Bo{},e.FASTBreadcrumb=t([Ae({name:"fast-breadcrumb",template:Lo,styles:Uu})],e.FASTBreadcrumb);const Wu=Ie` ${go("inline-flex")} :host{background: transparent;box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);fill: currentColor;line-height: var(--type-ramp-base-line-height);min-width: calc(${Tu} * 1px);outline: none}.listitem{display: flex;align-items: center;width: max-content}.separator{margin: 0 6px}.control{align-items: center;box-sizing: border-box;color: ${xh.var};cursor: pointer;display: flex;fill: inherit;outline: none;text-decoration: none;white-space: nowrap}.control:hover{color: ${Ch.var}}.control:active{color: ${wh.var}}.control .content{position: relative}.control .content::before{content: "";display: block;height: calc(var(--outline-width) * 1px);left: 0;position: absolute;right: 0;top: calc(1em + 4px);width: 100%}.control:hover .content::before{background: ${Ch.var}}.control:active .content::before{background: ${wh.var}}.control:${vo} .content::before{background: ${uh.var};height: calc(var(--focus-outline-width) * 1px)}.control:not([href]){color: ${uh.var};cursor: default}.control:not([href]) .content::before{background: none}.start, .end{display: flex}::slotted(svg){${""} width: 16px;height: 16px}.start{margin-inline-end: 6px}.end{margin-inline-start: 6px}`.withBehaviors(xh,Ch,wh,Ch,uh,lo(Ie` .control:hover .content::before{background: ${Qi.LinkText}}`));e.FASTBreadcrumbItem=class extends Oo{},e.FASTBreadcrumbItem=t([Ae({name:"fast-breadcrumb-item",template:Ro,styles:Wu,shadowOptions:{delegatesFocus:!0}})],e.FASTBreadcrumbItem);const Ku=Ie` :host([disabled]), :host([disabled]:hover), :host([disabled]:active){opacity: var(--disabled-opacity);background-color: ${Dh.var};cursor: ${"not-allowed"}}${Iu}`.withBehaviors(lo(Ie` :host([disabled]), :host([disabled]) .control{forced-color-adjust: none;background-color: ${Qi.ButtonFace};border-color: ${Qi.GrayText};color: ${Qi.GrayText};cursor: ${"not-allowed"};opacity: 1}`),zu("accent",Ie` :host([appearance="accent"][disabled]), :host([appearance="accent"][disabled]:hover), :host([appearance="accent"][disabled]:active){background: ${Kh.var}}${Eu} `.withBehaviors(lo(Ie` :host([appearance="accent"][disabled]) .control, :host([appearance="accent"][disabled]) .control:hover{background: ${Qi.ButtonFace};border-color: ${Qi.GrayText};color: ${Qi.GrayText}}`))),zu("lightweight",Ie` :host([appearance="lightweight"][disabled]:hover), :host([appearance="lightweight"][disabled]:active){background-color: transparent;color: ${xh.var}}:host([appearance="lightweight"][disabled]) .content::before, :host([appearance="lightweight"][disabled]:hover) .content::before, :host([appearance="lightweight"][disabled]:active) .content::before{background: transparent}${Ou} `.withBehaviors(lo(Ie` :host([appearance="lightweight"].disabled) .control{forced-color-adjust: none;color: ${Qi.GrayText}}:host([appearance="lightweight"].disabled) .control:hover .content::before{background: none}`))),zu("outline",Ie` :host([appearance="outline"][disabled]), :host([appearance="outline"][disabled]:hover), :host([appearance="outline"][disabled]:active){background: transparent;border-color: ${Kh.var}}${Lu} `.withBehaviors(lo(Ie` :host([appearance="outline"][disabled]) .control{border-color: ${Qi.GrayText}}`))),zu("stealth",Ie` :host([appearance="stealth"][disabled]), :host([appearance="stealth"][disabled]:hover), :host([appearance="stealth"][disabled]:active){background: ${Oh.var}}${Bu} `.withBehaviors(lo(Ie` :host([appearance="stealth"][disabled]){background: ${Qi.ButtonFace}}:host([appearance="stealth"][disabled]) .control{background: ${Qi.ButtonFace};border-color: transparent;color: ${Qi.GrayText}}`))));e.FASTButton=class extends _o{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(e,t){const i=this.defaultSlottedContent.filter(e=>e.nodeType===Node.ELEMENT_NODE);1===i.length&&i[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}},t([me],e.FASTButton.prototype,"appearance",void 0),e.FASTButton=t([Ae({name:"fast-button",template:Ho,styles:Ku,shadowOptions:{delegatesFocus:!0}})],e.FASTButton);const Qu=Ku,Xu=Ie` ${go("block")} :host{--elevation: 4;display: block;contain: content;height: var(--card-height, 100%);width: var(--card-width, 100%);box-sizing: border-box;background: var(--background-color);border-radius: calc(var(--corner-radius) * 1px);${Pu}}`.withBehaviors(lo(Ie` :host{forced-color-adjust: none;background: ${Qi.Canvas};box-shadow: 0 0 0 1px ${Qi.CanvasText}}`)),Yu=new Map;e.FASTCard=class extends Co{cardBackgroundColorChanged(e,t){if(t){const e=Kl(this.cardBackgroundColor);if(null!==e){if(Yu.has(e))this.neutralPalette=Yu.get(e);else{const t=lh(e);Yu.set(e,t),this.neutralPalette=t}this.backgroundColor=this.cardBackgroundColor}}else this.provider&&this.provider.designSystem&&this.handleChange(this.provider.designSystem,"backgroundColor")}handleChange(e,t){this.cardBackgroundColor||(this.backgroundColor=Pd(e))}connectedCallback(){var e,t;super.connectedCallback();const i=k.getNotifier(null===(e=this.provider)||void 0===e?void 0:e.designSystem);i.subscribe(this,"backgroundColor"),i.subscribe(this,"neutralPalette"),this.handleChange(null===(t=this.provider)||void 0===t?void 0:t.designSystem,"backgroundColor")}},t([ko({attribute:!1,cssCustomProperty:"background-color",default:"#FFFFFF"})],e.FASTCard.prototype,"backgroundColor",void 0),t([me({attribute:"card-background-color"})],e.FASTCard.prototype,"cardBackgroundColor",void 0),t([ko({attribute:!1,default:lh(Kl("#FFFFFF")),cssCustomProperty:!1})],e.FASTCard.prototype,"neutralPalette",void 0),e.FASTCard=t([Ae({name:"fast-card",template:qo,styles:Xu})],e.FASTCard);const Zu=Xu,Ju=Ie` ${go("inline-flex")} :host{align-items: center;outline: none;margin: calc(var(--design-unit) * 1px) 0;${""} user-select: none}.control{position: relative;width: calc((${Tu} / 2 + var(--design-unit)) * 1px);height: calc((${Tu} / 2 + var(--design-unit)) * 1px);box-sizing: border-box;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${ru.var};background: ${_h.var};outline: none;cursor: pointer}.label{font-family: var(--body-font);color: ${uh.var};${""} padding-inline-start: calc(var(--design-unit) * 2px + 2px);margin-inline-end: calc(var(--design-unit) * 2px + 2px);cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.label__hidden{display: none;visibility: hidden}.checked-indicator{width: 100%;height: 100%;display: block;fill: ${kh.var};opacity: 0;pointer-events: none}.indeterminate-indicator{border-radius: calc(var(--corner-radius) * 1px);background: ${kh.var};position: absolute;top: 50%;left: 50%;width: 50%;height: 50%;transform: translate(-50%, -50%);opacity: 0}:host(:not([disabled])) .control:hover{background: ${Gh.var};border-color: ${nu.var}}:host(:not([disabled])) .control:active{background: ${qh.var};border-color: ${au.var}}:host(:${vo}) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${bu.var};border-color: ${bu.var}}:host([aria-checked="true"]) .control{background: ${Kh.var};border: calc(var(--outline-width) * 1px) solid ${Kh.var}}:host([aria-checked="true"]:not([disabled])) .control:hover{background: ${Qh.var};border: calc(var(--outline-width) * 1px) solid ${Qh.var}}:host([aria-checked="true"]:not([disabled])) .control:active{background: ${Xh.var};border: calc(var(--outline-width) * 1px) solid ${Xh.var}}:host([aria-checked="true"]:${vo}:not([disabled])) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${bu.var};border-color: transparent}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([aria-checked="true"]:not(.indeterminate)) .checked-indicator, :host(.indeterminate) .indeterminate-indicator{opacity: 1}:host([disabled]){opacity: var(--disabled-opacity)}`.withBehaviors(Xh,Qh,Kh,kh,qh,Gh,_h,bu,yu,uh,au,nu,ru,lo(Ie` .control{forced-color-adjust: none;border-color: ${Qi.FieldText};background: ${Qi.Field}}.checked-indicator{fill: ${Qi.FieldText}}.indeterminate-indicator{background: ${Qi.FieldText}}:host(:not([disabled])) .control:hover, .control:active{border-color: ${Qi.Highlight};background: ${Qi.Field}}:host(:${vo}) .control{border-color: ${Qi.Highlight};box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}:host([aria-checked="true"]:${vo}:not([disabled])) .control{box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}:host([aria-checked="true"]) .control{background: ${Qi.Highlight};border-color: ${Qi.Highlight}}:host([aria-checked="true"]:not([disabled])) .control:hover, .control:active{border-color: ${Qi.Highlight};background: ${Qi.HighlightText}}:host([aria-checked="true"]) .checked-indicator{fill: ${Qi.HighlightText}}:host([aria-checked="true"]:not([disabled])) .control:hover .checked-indicator{fill: ${Qi.Highlight}}:host([aria-checked="true"]) .indeterminate-indicator{background: ${Qi.HighlightText}}:host([aria-checked="true"]) .control:hover .indeterminate-indicator{background: ${Qi.Highlight}}:host([disabled]){opacity: 1}:host([disabled]) .control{forced-color-adjust: none;border-color: ${Qi.GrayText};background: ${Qi.Field}}:host([disabled]) .indeterminate-indicator, :host([aria-checked="true"][disabled]) .control:hover .indeterminate-indicator{forced-color-adjust: none;background: ${Qi.GrayText}}:host([disabled]) .checked-indicator, :host([aria-checked="true"][disabled]) .control:hover .checked-indicator{forced-color-adjust: none;fill: ${Qi.GrayText}}`));e.FASTCheckbox=class extends Qo{},e.FASTCheckbox=t([Ae({name:"fast-checkbox",template:Uo,styles:Ju})],e.FASTCheckbox);const ep=Ju,tp=Ie` ${go("inline-flex")} :host{--elevation: 14;background: ${_h.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${Kh.var};box-sizing: border-box;color: ${uh.var};font-family: var(--body-font);height: calc(${Tu} * 1px);position: relative;user-select: none;min-width: 250px;outline: none;vertical-align: top}.listbox{${Pu} background: ${du.var};border: calc(var(--outline-width) * 1px) solid ${ru.var};border-radius: calc(var(--corner-radius) * 1px);box-sizing: border-box;display: inline-flex;flex-direction: column;left: 0;max-height: calc(var(--max-height) - (${Tu} * 1px));padding: calc(var(--design-unit) * 1px) 0;overflow-y: auto;position: absolute;width: 100%;z-index: 1}.listbox[hidden]{display: none}.control{align-items: center;box-sizing: border-box;cursor: pointer;display: flex;font-size: var(--type-ramp-base-font-size);font-family: inherit;line-height: var(--type-ramp-base-line-height);min-height: 100%;padding: 0 calc(var(--design-unit) * 2.25px);width: 100%}:host(:not([disabled]):hover){background: ${Gh.var};border-color: ${Qh.var}}:host(:${vo}){border-color: ${bu.var};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) ${bu.var}}:host(:${vo}) ::slotted([aria-selected="true"][role="option"]:not([disabled])){box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${yu.var};border-color: ${bu.var};background: ${Qh.var};color: ${kh.var}}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]) .control{cursor: ${"not-allowed"};user-select: none}:host([disabled]:hover){background: ${Oh.var};color: ${uh.var};fill: currentcolor}:host(:not([disabled])) .control:active{background: ${qh.var};border-color: ${Xh.var}}:host([open][position="above"]) .listbox, :host([open][position="below"]) .control{border-bottom-left-radius: 0;border-bottom-right-radius: 0}:host([open][position="above"]) .control, :host([open][position="below"]) .listbox{border-top-left-radius: 0;border-top-right-radius: 0}:host([open][position="above"]) .listbox{border-bottom: 0;bottom: calc(${Tu} * 1px)}:host([open][position="below"]) .listbox{border-top: 0;top: calc(${Tu} * 1px)}.selected-value{flex: 1 1 auto;font-family: inherit;text-align: start;white-space: nowrap;text-overflow: ellipsis;overflow: hidden}.indicator{flex: 0 0 auto;margin-inline-start: 1em}slot[name="listbox"]{display: none;width: 100%}:host([open]) slot[name="listbox"]{display: flex;position: absolute;${Pu}}.end{margin-inline-start: auto}.start, .end, .indicator, .select-indicator, ::slotted(svg){${""} fill: currentcolor;height: 1em;min-height: calc(var(--design-unit) * 4px);min-width: calc(var(--design-unit) * 4px);width: 1em}::slotted([role="option"]), ::slotted(option){flex: 0 0 auto}`.withBehaviors(Xh,Qh,Kh,kh,$h,lo(Ie` :host(:not([disabled]):hover), :host(:not([disabled]):active){border-color: ${Qi.Highlight}}:host(:not([disabled]):${vo}){background-color: ${Qi.ButtonFace};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) ${Qi.Highlight};color: ${Qi.ButtonText};fill: currentcolor;forced-color-adjust: none}:host(:not([disabled]):${vo}) .listbox{background: ${Qi.ButtonFace}}:host([disabled]){border-color: ${Qi.GrayText};background-color: ${Qi.ButtonFace};color: ${Qi.GrayText};fill: currentcolor;opacity: 1;forced-color-adjust: none}:host([disabled]:hover){background: ${Qi.ButtonFace}}:host([disabled]) .control{color: ${Qi.GrayText};border-color: ${Qi.GrayText}}:host([disabled]) .control .select-indicator{fill: ${Qi.GrayText}}:host(:${vo}) ::slotted([aria-selected="true"][role="option"]), :host(:${vo}) ::slotted(option[aria-selected="true"]), :host(:${vo}) ::slotted([aria-selected="true"][role="option"]:not([disabled])){background: ${Qi.Highlight};border-color: ${Qi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Qi.HighlightText};color: ${Qi.HighlightText};fill: currentcolor}.start, .end, .indicator, .select-indicator, ::slotted(svg){color: ${Qi.ButtonText};fill: currentcolor}`),qh,Gh,_h,bu,yu,uh,du,ru),ip=Ie` ${tp} :host(:empty) .listbox{display: none}:host([disabled]) *, :host([disabled]){cursor: ${"not-allowed"};user-select: none}.selected-value{-webkit-appearance: none;background: transparent;border: none;color: inherit;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);height: calc(100% - (var(--outline-width) * 1px));margin: auto 0;width: 100%}.selected-value:hover, .selected-value:${vo}, .selected-value:disabled, .selected-value:active{outline: none}`;e.FASTCombobox=class extends ss{},e.FASTCombobox=t([Ae({name:"fast-combobox",template:ns,styles:ip,shadowOptions:{delegatesFocus:!0}})],e.FASTCombobox);const op=ip,sp=Ie` :host{display: flex;position: relative;flex-direction: column}`,rp=Ie` :host{display: grid;padding: 1px 0;box-sizing: border-box;width: 100%;border-bottom: calc(var(--outline-width) * 1px) solid var(--neutral-divider-rest)}:host(.header){}:host(.sticky-header){background: ${Dh.var};position: sticky;top: 0}`.withBehaviors(cu,Dh,lo(Ie` :host{}`)),np=Ie` :host{padding: calc(var(--design-unit) * 1px) calc(var(--design-unit) * 3px);color: ${uh.var};box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);font-weight: 400;border: transparent calc(var(--outline-width) * 1px) solid;overflow: hidden;white-space: nowrap;border-radius: calc(var(--corner-radius) * 1px)}:host(.column-header){font-weight: 600}:host(:${vo}){border: ${bu.var} calc(var(--outline-width) * 1px) solid;color: ${gh.var}}`.withBehaviors(bu,gh,uh,lo(Ie` :host{forced-color-adjust: none;border-color: transparent;background: ${Qi.Field};color: ${Qi.FieldText}}:host(:${vo}){border-color: ${Qi.FieldText};box-shadow: 0 0 0 2px inset ${Qi.Field};color: ${Qi.FieldText}}`)),ap=cs("fast"),lp=gs("fast"),cp=fs();e.FASTDataGrid=class extends ps{},e.FASTDataGrid=t([Ae({name:"fast-data-grid",template:ap,styles:sp})],e.FASTDataGrid);const dp=sp;e.FASTDataGridRow=class extends vs{},e.FASTDataGridRow=t([Ae({name:"fast-data-grid-row",template:lp,styles:rp})],e.FASTDataGridRow);const hp=rp;e.FASTDataGridCell=class extends ys{},e.FASTDataGridCell=t([Ae({name:"fast-data-grid-cell",template:cp,styles:np})],e.FASTDataGridCell);const up=np,pp=Ie` :host([hidden]){display: none}:host{--elevation: 14;--dialog-height: 480px;--dialog-width: 640px;display: block}.overlay{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0, 0, 0, 0.3);touch-action: none}.positioning-region{display: flex;justify-content: center;position: fixed;top: 0;bottom: 0;left: 0;right: 0;overflow: auto}.control{${Pu} margin-top: auto;margin-bottom: auto;width: var(--dialog-width);height: var(--dialog-height);background-color: var(--background-color);z-index: 1;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid transparent}`;e.FASTDialog=class extends Nr{},e.FASTDialog=t([Ae({name:"fast-dialog",template:Fr,styles:pp})],e.FASTDialog);const gp=pp,vp=Ie` .disclosure{transition: height 0.35s}.disclosure .invoker::-webkit-details-marker{display: none}.disclosure .invoker{list-style-type: none}:host([appearance="accent"]) .invoker{background: ${Kh.var};color: ${kh.var};font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);border-radius: calc(var(--corner-radius) * 1px);outline: none;cursor: pointer;margin: 16px 0;padding: 12px;max-width: max-content}:host([appearance="accent"]) .invoker:active{background: ${Xh.var}}:host([appearance="accent"]) .invoker:hover{background: ${Qh.var}}:host([appearance="lightweight"]) .invoker{background: transparent;color: ${xh.var};border-bottom: calc(var(--outline-width) * 1px) solid var(--accent-foreground-rest);cursor: pointer;width: max-content;margin: 16px 0}:host([appearance="lightweight"]) .invoker:active{border-bottom-color: ${wh.var}}:host([appearance="lightweight"]) .invoker:hover{border-bottom-color: ${Ch.var}}.disclosure[open] .invoker ~ *{animation: fadeIn 0.5s ease-in-out}@keyframes fadeIn{0%{opacity: 0}100%{opacity: 1}}`.withBehaviors(Kh,xh,kh,wh,Ch,Qh,Xh);e.FASTDisclosure=class extends jr{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}onToggle(){super.onToggle(),this.details.style.setProperty("height",this.disclosureHeight+"px")}setup(){super.setup(),this.appearance||(this.appearance="accent");const e=()=>this.details.getBoundingClientRect().height;this.show(),this.totalHeight=e(),this.hide(),this.height=e(),this.expanded&&this.show()}get disclosureHeight(){return this.expanded?this.totalHeight:this.height}},t([me],e.FASTDisclosure.prototype,"appearance",void 0),e.FASTDisclosure=t([Ae({name:"fast-disclosure",template:Vr,styles:vp})],e.FASTDisclosure);const fp=vp,mp=Ie` ${go("block")} :host{box-sizing: content-box;height: 0;margin: calc(var(--design-unit) * 1px) 0;border: none;border-top: calc(var(--outline-width) * 1px) solid ${cu.var}}`.withBehaviors(cu);e.FASTDivider=class extends Ur{},e.FASTDivider=t([Ae({name:"fast-divider",template:_r,styles:mp})],e.FASTDivider);const bp=mp,yp=Ie` ${go("inline-flex")} :host{width: calc(${Tu} * 1px);height: calc(${Tu} * 1px);justify-content: center;align-items: center;margin: 0;position: relative;fill: currentcolor;color: ${kh.var};background: transparent;outline: none;border: none;padding: 0}:host::before{content: "";background: ${Kh.var};border: calc(var(--outline-width) * 1px) solid ${Kh.var};border-radius: 50%;position: absolute;top: 0;right: 0;left: 0;bottom: 0;transition: all 0.1s ease-in-out}.next, .previous{position: relative;${""} width: 16px;height: 16px;display: grid}:host([disabled]){opacity: var(--disabled-opacity);cursor: ${"not-allowed"};fill: currentcolor;color: ${uh.var}}:host([disabled])::before, :host([disabled]:hover)::before, :host([disabled]:active)::before{background: ${Oh.var};border: calc(var(--outline-width) * 1px) solid ${ru.var}}:host(:hover)::before{background: ${Qh.var};border-color: ${Qh.var}}:host(:active)::before{background: ${Xh.var};border-color: ${Xh.var}}:host(:${vo}){outline: none}:host(:${vo})::before{box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${yu.var};border-color: ${bu.var}}:host::-moz-focus-inner{border: 0}`.withBehaviors(Xh,Qh,Kh,kh,Oh,bu,yu,uh,ru,lo(Ie` :host{background: ${Qi.Canvas}}:host .next, :host .previous{color: ${Qi.ButtonText};fill: currentcolor}:host::before{background: ${Qi.Canvas};border-color: ${Qi.ButtonText}}:host(:hover)::before{forced-color-adjust: none;background: ${Qi.Highlight};border-color: ${Qi.ButtonText};opacity: 1}:host(:hover) .next, :host(:hover) .previous{forced-color-adjust: none;color: ${Qi.HighlightText};fill: currentcolor}:host([disabled]){opacity: 1}:host([disabled])::before, :host([disabled]:hover)::before, :host([disabled]) .next, :host([disabled]) .previous{forced-color-adjust: none;background: ${Qi.Canvas};border-color: ${Qi.GrayText};color: ${Qi.GrayText};fill: ${Qi.GrayText}}:host(:${vo})::before{forced-color-adjust: none;border-color: ${Qi.Highlight};box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}`));e.FASTFlipper=class extends Kr{},e.FASTFlipper=t([Ae({name:"fast-flipper",template:Wr,styles:yp})],e.FASTFlipper);const xp=yp,Cp=Ie` .scroll-prev{right: auto;left: 0}.scroll.scroll-next::before, .scroll-next .scroll-action{left: auto;right: 0}.scroll.scroll-next::before{background: linear-gradient(to right, transparent, var(--scroll-fade-next))}.scroll-next .scroll-action{transform: translate(50%, -50%)}`,wp=Ie` .scroll.scroll-next{right: auto;left: 0}.scroll.scroll-next::before{background: linear-gradient(to right, var(--scroll-fade-next), transparent);left: auto;right: 0}.scroll.scroll-prev::before{background: linear-gradient(to right, transparent, var(--scroll-fade-previous))}.scroll-prev .scroll-action{left: auto;right: 0;transform: translate(50%, -50%)}`,$p=Ie` .scroll-area{position: relative}div.scroll-view{overflow-x: hidden}.scroll{bottom: 0;pointer-events: none;position: absolute;right: 0;top: 0;user-select: none;width: 100px}.scroll.disabled{display: none}.scroll::before, .scroll-action{left: 0;position: absolute}.scroll::before{background: linear-gradient(to right, var(--scroll-fade-previous), transparent);content: "";display: block;height: 100%;width: 100%}.scroll-action{pointer-events: auto;right: auto;top: 50%;transform: translate(-50%, -50%)}`.withBehaviors(new To(Cp,wp)),kp=Ie` ${go("block")} :host{--scroll-align: center;--scroll-item-spacing: 5px;contain: layout;position: relative}.scroll-view{overflow-x: auto;scrollbar-width: none}::-webkit-scrollbar{display: none}.content-container{align-items: var(--scroll-align);display: inline-flex;flex-wrap: nowrap;position: relative}.content-container ::slotted(*){margin-right: var(--scroll-item-spacing)}.content-container ::slotted(*:last-child){margin-right: 0}`;e.FASTHorizontalScroll=class extends Tn{connectedCallback(){super.connectedCallback(),"mobile"!==this.view&&this.$fastController.addStyles($p)}},e.FASTHorizontalScroll=t([Ae({name:"fast-horizontal-scroll",template:Fn,styles:kp})],e.FASTHorizontalScroll);const Sp=Ie` ${go("inline-flex")} :host{background: ${du.var};border: calc(var(--outline-width) * 1px) solid ${ru.var};border-radius: calc(var(--corner-radius) * 1px);box-sizing: border-box;flex-direction: column;padding: calc(var(--design-unit) * 1px) 0}:host(:focus-within:not([disabled])){border-color: ${bu.var};box-shadow: 0 0 0 1px ${bu.var} inset}`.withBehaviors(lo(Ie` :host(:${vo}) ::slotted([aria-selected="true"][role="option"]){background: ${Qi.Highlight};border-color: ${Qi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Qi.HighlightText};color: ${Qi.HighlightText};fill: currentcolor}:host(:${vo}) ::slotted([aria-selected="true"][role="option"]){background: ${Qi.Highlight};border-color: ${Qi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Qi.HighlightText};color: ${Qi.HighlightText};fill: currentcolor}`),du,ru,lu);e.FASTListbox=class extends es{},e.FASTListbox=t([Ae({name:"fast-listbox",template:Jr,styles:Sp})],e.FASTListbox);const Tp=Sp,Fp=Ie` ${go("inline-flex")} :host{align-items: center;font-family: var(--body-font);border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--focus-outline-width) * 1px) solid transparent;box-sizing: border-box;color: ${uh.var};cursor: pointer;fill: currentcolor;font-size: var(--type-ramp-base-font-size);height: calc(${Tu} * 1px);line-height: var(--type-ramp-base-line-height);margin: 0 calc(var(--design-unit) * 1px);outline: none;overflow: hidden;padding: 0 calc(var(--design-unit) * 2.25px);user-select: none;white-space: nowrap}:host(:${vo}){box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${yu.var};border-color: ${bu.var};background: ${Qh.var};color: ${kh.var}}:host([aria-selected="true"]){background: ${Qh.var};color: ${kh.var}}:host(:active){background: ${Xh.var};color: ${kh.var}}:host(:not([aria-selected="true"]):hover){background: ${Ph.var};color: ${ph.var}}:host(:not([aria-selected="true"]):active){background: ${Ph.var};color: ${ph.var}}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]:hover){background-color: inherit}.content{grid-column-start: 2;justify-self: start;overflow: hidden;text-overflow: ellipsis}.start, .end, ::slotted(svg){display: flex}::slotted(svg){${""} height: calc(var(--design-unit) * 4px);width: calc(var(--design-unit) * 4px)}::slotted([slot="end"]){margin-inline-start: 1ch}::slotted([slot="start"]){margin-inline-end: 1ch}`.withBehaviors(Xh,Qh,Zh,kh,lo(Ie` :host{border-color: transparent;forced-color-adjust: none;color: ${Qi.ButtonText};fill: currentcolor}:host(:not([aria-selected="true"]):hover), :host([aria-selected="true"]){background: ${Qi.Highlight};color: ${Qi.HighlightText}}:host([disabled]), :host([disabled]:not([aria-selected="true"]):hover){background: ${Qi.Canvas};color: ${Qi.GrayText};fill: currentcolor;opacity: 1}`),Ph,Lh,Oh,Mh,bu,yu,ph,uh,pu);e.FASTOption=class extends Jo{},e.FASTOption=t([Ae({name:"fast-option",template:Zr,styles:Fp})],e.FASTOption);const Ap=Fp,Dp=Ie` ${go("block")} :host{--elevation: 11;background: ${du.var};border: calc(var(--outline-width) * 1px) solid transparent;${Pu} margin: 0;border-radius: calc(var(--corner-radius) * 1px);padding: calc(var(--design-unit) * 1px) 0;max-width: 368px;min-width: 64px}:host([slot="submenu"]){width: max-content;margin: 0 calc(var(--design-unit) * 1px)}::slotted(hr){box-sizing: content-box;height: 0;margin: 0;border: none;border-top: calc(var(--outline-width) * 1px) solid var(--neutral-divider-rest)}`.withBehaviors(du,cu,lo(Ie` :host{background: ${Qi.Canvas};border-color: ${Qi.CanvasText}}`));e.FASTMenu=class extends nn{},e.FASTMenu=t([Ae({name:"fast-menu",template:rn,styles:Dp})],e.FASTMenu);const Pp=Dp,Ip=Ie` ${go("grid")} :host{contain: layout;overflow: visible;font-family: var(--body-font);outline: none;box-sizing: border-box;height: calc(${Tu} * 1px);grid-template-columns: minmax(42px, auto) 1fr minmax(42px, auto);grid-template-rows: auto;justify-items: center;align-items: center;padding: 0;margin: 0 calc(var(--design-unit) * 1px);white-space: nowrap;color: ${uh.var};fill: currentcolor;cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--focus-outline-width) * 1px) solid transparent}:host(:${vo}){border-color: ${bu.var};background: ${fu.var};color: ${uh.var}}:host(:hover){background: ${fu.var};color: ${ph.var}}:host([aria-checked="true"]), :host(:active), :host(.expanded){background: ${vu.var};color: ${uh.var}}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]:hover){color: ${uh.var};fill: currentcolor;background: ${Oh.var}}:host([disabled]:hover) .start, :host([disabled]:hover) .end, :host([disabled]:hover)::slotted(svg){fill: ${uh.var}}.expand-collapse-glyph{${""} width: 16px;height: 16px;transition: transform 0.1s linear;fill: currentcolor}.content{grid-column-start: 2;justify-self: start;overflow: hidden;text-overflow: ellipsis}.start, .end{display: flex;justify-content: center}::slotted(svg){${""} width: 16px;height: 16px}:host(:hover) .start, :host(:hover) .end, :host(:hover)::slotted(svg), :host(:active) .start, :host(:active) .end, :host(:active)::slotted(svg){fill: ${uh.var}}:host([aria-haspopup="menu"]), :host([role="menuitemcheckbox"]), :host([role="menuitemradio"]){display: grid;grid-template-columns: auto auto 1fr minmax(42px, auto);align-items: center;min-height: 32px}:host .input-container, :host .expand-collapse-glyph-container{display: none}:host([aria-haspopup="menu"]) .expand-collapse-glyph-container, :host([role="menuitemcheckbox"]) .input-container, :host([role="menuitemradio"]) .input-container{display: grid;margin-inline-end: 10px}:host([aria-haspopup="menu"]) .start, :host([role="menuitemcheckbox"]) .start, :host([role="menuitemradio"]) .start{grid-column-start: 2;margin-inline-end: 10px}:host([aria-haspopup="menu"]) .content, :host([role="menuitemcheckbox"]) .content, :host([role="menuitemradio"]) .content{grid-column-start: 3}:host([aria-haspopup="menu"]) .end, :host([role="menuitemcheckbox"]) .end, :host([role="menuitemradio"]) .end{grid-column-start: 4}:host .expand-collapse, :host .checkbox, :host .radio{display: flex;align-items: center;justify-content: center;position: relative;width: 20px;height: 20px;box-sizing: border-box;outline: none;margin-inline-start: 10px}:host .checkbox, :host .radio{border: calc(var(--outline-width) * 1px) solid ${uh.var}}:host([aria-checked="true"]) .checkbox, :host([aria-checked="true"]) .radio{background: ${Kh.var};border-color: ${Kh.var}}:host .checkbox{border-radius: calc(var(--corner-radius) * 1px)}:host .radio{border-radius: 999px}:host .checkbox-indicator, :host .radio-indicator, :host .expand-collapse-indicator, ::slotted([slot="checkbox-indicator"]), ::slotted([slot="radio-indicator"]), ::slotted([slot="expand-collapse-indicator"]){display: none}:host([aria-checked="true"]) .checkbox-indicator, :host([aria-checked="true"]) ::slotted([slot="checkbox-indicator"]){width: 100%;height: 100%;display: block;fill: ${uh.var};pointer-events: none}:host([aria-checked="true"]) .radio-indicator{position: absolute;top: 4px;left: 4px;right: 4px;bottom: 4px;border-radius: 999px;display: block;background: ${uh.var};pointer-events: none}:host([aria-checked="true"]) ::slotted([slot="radio-indicator"]){display: block;pointer-events: none}`.withBehaviors(Kh,Oh,bu,ph,uh,vu,fu,lo(Ie` :host{border-color: transparent;color: ${Qi.ButtonText};forced-color-adjust: none}:host(:hover){background: ${Qi.Highlight};color: ${Qi.HighlightText}}:host(:hover) .start, :host(:hover) .end, :host(:hover)::slotted(svg), :host(:active) .start, :host(:active) .end, :host(:active)::slotted(svg){fill: ${Qi.HighlightText}}:host(.expanded){background: ${Qi.Highlight};border-color: ${Qi.Highlight};color: ${Qi.HighlightText}}:host(:${vo}){background: ${Qi.Highlight};border-color: ${Qi.ButtonText};box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${Qi.HighlightText};color: ${Qi.HighlightText};fill: currentcolor}:host([disabled]), :host([disabled]:hover), :host([disabled]:hover) .start, :host([disabled]:hover) .end, :host([disabled]:hover)::slotted(svg){background: ${Qi.Canvas};color: ${Qi.GrayText};fill: currentcolor;opacity: 1}:host .expanded-toggle, :host .checkbox, :host .radio{border-color: ${Qi.ButtonText};background: ${Qi.HighlightText}}:host([checked="true"]) .checkbox, :host([checked="true"]) .radio{background: ${Qi.HighlightText};border-color: ${Qi.HighlightText}}:host(:hover) .expanded-toggle, :host(:hover) .checkbox, :host(:hover) .radio, :host(:${vo}) .expanded-toggle, :host(:${vo}) .checkbox, :host(:${vo}) .radio, :host([checked="true"]:hover) .checkbox, :host([checked="true"]:hover) .radio, :host([checked="true"]:${vo}) .checkbox, :host([checked="true"]:${vo}) .radio{border-color: ${Qi.HighlightText}}:host([aria-checked="true"]){background: ${Qi.Highlight};color: ${Qi.HighlightText}}:host([aria-checked="true"]) .checkbox-indicator, :host([aria-checked="true"]) ::slotted([slot="checkbox-indicator"]), :host([aria-checked="true"]) ::slotted([slot="radio-indicator"]){fill: ${Qi.Highlight}}:host([aria-checked="true"]) .radio-indicator{background: ${Qi.Highlight}}`),new To(Ie` .expand-collapse-glyph{transform: rotate(0deg)}:host([expanded="true"]) .expand-collapse-glyph{transform: rotate(45deg)}`,Ie` .expand-collapse-glyph{transform: rotate(180deg)}:host([expanded="true"]) .expand-collapse-glyph{transform: rotate(135deg)}`)),Ep=sn("fast");e.FASTMenuItem=class extends tn{},e.FASTMenuItem=t([Ae({name:"fast-menu-item",template:Ep,styles:Ip})],e.FASTMenuItem);const Rp=Ip,Op=Ie` ${go("inline-block")} :host{font-family: var(--body-font);outline: none;user-select: none}.root{box-sizing: border-box;position: relative;display: flex;flex-direction: row;color: ${uh.var};background: ${_h.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${Kh.var};height: calc(${Tu} * 1px)}.control{-webkit-appearance: none;font: inherit;background: transparent;border: 0;color: inherit;height: calc(100% - 4px);width: 100%;margin-top: auto;margin-bottom: auto;border: none;padding: 0 calc(var(--design-unit) * 2px + 1px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.control:hover, .control:${vo}, .control:disabled, .control:active{outline: none}.controls{opacity: 0}.label{display: block;color: ${uh.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);margin-bottom: 4px}.label__hidden{display: none;visibility: hidden}.start, .end{margin: auto;fill: currentcolor}.step-up, .step-down{padding: 4px 10px;cursor: pointer}.step-up:before, .step-down:before{content: '';display: block;border: solid transparent 6px}.step-up:before{border-bottom-color: ${uh.var}}.step-down:before{border-top-color: ${uh.var}}::slotted(svg){${""} width: 16px;height: 16px}.start{margin-inline-start: 11px}.end{margin-inline-end: 11px}:host(:hover:not([disabled])) .root{background: ${Gh.var};border-color: ${Qh.var}}:host(:active:not([disabled])) .root{background: ${Gh.var};border-color: ${Xh.var}}:host(:focus-within:not([disabled])) .root{border-color: ${bu.var};box-shadow: 0 0 0 1px ${bu.var} inset}:host(:hover:not([disabled])) .controls, :host(:focus-within:not([disabled])) .controls{opacity: 1}:host([appearance="filled"]) .root{background: ${Dh.var}}:host([appearance="filled"]:hover:not([disabled])) .root{background: ${Ph.var}}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .control{border-color: ${ru.var}}`.withBehaviors(Xh,Qh,Kh,Ph,Gh,_h,Dh,bu,uh,ru,lo(Ie` .root, :host([appearance="filled"]) .root{forced-color-adjust: none;background: ${Qi.Field};border-color: ${Qi.FieldText}}:host(:hover:not([disabled])) .root, :host([appearance="filled"]:hover:not([disabled])) .root, :host([appearance="filled"]:hover) .root{background: ${Qi.Field};border-color: ${Qi.Highlight}}.start, .end{fill: currentcolor}:host([disabled]){opacity: 1}:host([disabled]) .root, :host([appearance="filled"]:hover[disabled]) .root{border-color: ${Qi.GrayText};background: ${Qi.Field}}:host(:focus-within:enabled) .root{border-color: ${Qi.Highlight};box-shadow: 0 0 0 1px ${Qi.Highlight} inset}`));e.FASTNumberField=class extends fn{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}},t([me],e.FASTNumberField.prototype,"appearance",void 0),e.FASTNumberField=t([Ae({name:"fast-number-field",shadowOptions:{delegatesFocus:!0},styles:Op,template:an})],e.FASTNumberField);const Lp=Op,Bp=Ie` ${go("flex")} :host{align-items: center;outline: none;height: calc(var(--design-unit) * 1px);margin: calc(var(--design-unit) * 1px) 0}.progress{background-color: ${Dh.var};border-radius: calc(var(--design-unit) * 1px);width: 100%;height: 100%;display: flex;align-items: center;position: relative}.determinate{background-color: ${xh.var};border-radius: calc(var(--design-unit) * 1px);height: 100%;transition: all 0.2s ease-in-out;display: flex}.indeterminate{height: 100%;border-radius: calc(var(--design-unit) * 1px);display: flex;width: 100%;position: relative;overflow: hidden}.indeterminate-indicator-1{position: absolute;opacity: 0;height: 100%;background-color: ${xh.var};border-radius: calc(var(--design-unit) * 1px);animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);width: 40%;animation: indeterminate-1 2s infinite}.indeterminate-indicator-2{position: absolute;opacity: 0;height: 100%;background-color: ${xh.var};border-radius: calc(var(--design-unit) * 1px);animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);width: 60%;animation: indeterminate-2 2s infinite}:host([paused]) .indeterminate-indicator-1, :host([paused]) .indeterminate-indicator-2{animation-play-state: paused;background-color: ${Dh.var}}:host([paused]) .determinate{background-color: ${bh.var}}@keyframes indeterminate-1{0%{opacity: 1;transform: translateX(-100%)}70%{opacity: 1;transform: translateX(300%)}70.01%{opacity: 0}100%{opacity: 0;transform: translateX(300%)}}@keyframes indeterminate-2{0%{opacity: 0;transform: translateX(-150%)}29.99%{opacity: 0}30%{opacity: 1;transform: translateX(-150%)}100%{transform: translateX(166.66%);opacity: 1}}`.withBehaviors(xh,Dh,bh,lo(Ie` .progress{forced-color-adjust: none;background-color: ${Qi.Field};box-shadow: 0 0 0 1px inset ${Qi.FieldText}}.determinate, .indeterminate-indicator-1, .indeterminate-indicator-2{forced-color-adjust: none;background-color: ${Qi.FieldText}}:host([paused]) .determinate, :host([paused]) .indeterminate-indicator-1, :host([paused]) .indeterminate-indicator-2{background-color: ${Qi.GrayText}}`));e.FASTProgress=class extends bn{},e.FASTProgress=t([Ae({name:"fast-progress",template:yn,styles:Bp})],e.FASTProgress);const Hp=Bp,Mp=Ie` ${go("flex")} :host{align-items: center;outline: none;height: calc(${Tu} * 1px);width: calc(${Tu} * 1px);margin: calc(${Tu} * 1px) 0}.progress{height: 100%;width: 100%}.background{stroke: ${Dh.var};fill: none;stroke-width: 2px}.determinate{stroke: ${xh.var};fill: none;stroke-width: 2px;stroke-linecap: round;transform-origin: 50% 50%;transform: rotate(-90deg);transition: all 0.2s ease-in-out}.indeterminate-indicator-1{stroke: ${xh.var};fill: none;stroke-width: 2px;stroke-linecap: round;transform-origin: 50% 50%;transform: rotate(-90deg);transition: all 0.2s ease-in-out;animation: spin-infinite 2s linear infinite}:host([paused]) .indeterminate-indicator-1{animation-play-state: paused;stroke: ${Dh.var}}:host([paused]) .determinate{stroke: ${bh.var}}@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)}}`.withBehaviors(xh,Dh,bh,lo(Ie` .indeterminate-indicator-1, .determinate{stroke: ${Qi.FieldText}}.background{stroke: ${Qi.Field}}:host([paused]) .indeterminate-indicator-1{stroke: ${Qi.Field}}:host([paused]) .determinate{stroke: ${Qi.GrayText}}`));e.FASTProgressRing=class extends bn{},e.FASTProgressRing=t([Ae({name:"fast-progress-ring",template:mn,styles:Mp})],e.FASTProgressRing);const zp=Mp,Np=Ie` ${go("inline-flex")} :host{--input-size: calc((${Tu} / 2) + var(--design-unit));align-items: center;outline: none;margin: calc(var(--design-unit) * 1px) 0;${""} user-select: none;position: relative;flex-direction: row;transition: all 0.2s ease-in-out}.control{position: relative;width: calc((${Tu} / 2 + var(--design-unit)) * 1px);height: calc((${Tu} / 2 + var(--design-unit)) * 1px);box-sizing: border-box;border-radius: 999px;border: calc(var(--outline-width) * 1px) solid ${ru.var};background: ${_h.var};outline: none;cursor: pointer}.label{font-family: var(--body-font);color: ${uh.var};${""} padding-inline-start: calc(var(--design-unit) * 2px + 2px);margin-inline-end: calc(var(--design-unit) * 2px + 2px);cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.label__hidden{display: none;visibility: hidden}.control, .checked-indicator{flex-shrink: 0}.checked-indicator{position: absolute;top: 5px;left: 5px;right: 5px;bottom: 5px;border-radius: 999px;display: inline-block;background: ${kh.var};fill: ${kh.var};opacity: 0;pointer-events: none}:host(:not([disabled])) .control:hover{background: ${Gh.var};border-color: ${nu.var}}:host(:not([disabled])) .control:active{background: ${qh.var};border-color: ${au.var}}:host(:${vo}) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${bu.var};border-color: ${bu.var}}:host([aria-checked="true"]) .control{background: ${Kh.var};border: calc(var(--outline-width) * 1px) solid ${Kh.var}}:host([aria-checked="true"]:not([disabled])) .control:hover{background: ${Qh.var};border: calc(var(--outline-width) * 1px) solid ${Qh.var}}:host([aria-checked="true"]:not([disabled])) .control:active{background: ${Xh.var};border: calc(var(--outline-width) * 1px) solid ${Xh.var}}:host([aria-checked="true"]:${vo}:not([disabled])) .control{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${bu.var};border-color: transparent}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([aria-checked="true"]) .checked-indicator{opacity: 1}:host([disabled]){opacity: var(--disabled-opacity)}`.withBehaviors(Xh,Qh,Kh,kh,qh,Gh,_h,bu,uh,au,nu,ru,lo(Ie` .control, :host([checked]:not([disabled])) .control{forced-color-adjust: none;border-color: ${Qi.FieldText};background: ${Qi.Field}}:host(:not([disabled])) .control:hover{border-color: ${Qi.Highlight};background: ${Qi.Field}}:host([checked]:not([disabled])) .control:hover, :host([checked]:not([disabled])) .control:active{border-color: ${Qi.Highlight};background: ${Qi.Highlight}}:host([checked]) .checked-indicator{background: ${Qi.Highlight};fill: ${Qi.Highlight}}:host([checked]:not([disabled])) .control:hover .checked-indicator, :host([checked]:not([disabled])) .control:active .checked-indicator{background: ${Qi.HighlightText};fill: ${Qi.HighlightText}}:host(:${vo}) .control{border-color: ${Qi.Highlight};box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}:host([checked]:${vo}:not([disabled])) .control{border-color: ${Qi.Highlight};box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}:host([disabled]){forced-color-adjust: none;opacity: 1}:host([disabled]) .label{color: ${Qi.GrayText}}:host([disabled]) .control, :host([checked][disabled]) .control:hover, .control:active{background: ${Qi.Field};border-color: ${Qi.GrayText}}:host([disabled]) .checked-indicator, :host([checked][disabled]) .control:hover .checked-indicator{fill: ${Qi.GrayText};background: ${Qi.GrayText}}`));e.FASTRadio=class extends Sn{},e.FASTRadio=t([Ae({name:"fast-radio",template:wn,styles:Np})],e.FASTRadio);const Vp=Np,jp=Ie` ${go("flex")} :host{align-items: flex-start;margin: calc(var(--design-unit) * 1px) 0;flex-direction: column}.positioning-region{display: flex;flex-wrap: wrap}:host([orientation="vertical"]) .positioning-region{flex-direction: column}:host([orientation="horizontal"]) .positioning-region{flex-direction: row}`;e.FASTRadioGroup=class extends Cn{},e.FASTRadioGroup=t([Ae({name:"fast-radio-group",template:xn,styles:jp})],e.FASTRadioGroup);const _p=jp;e.FASTSelect=class extends Pn{},e.FASTSelect=t([Ae({name:"fast-select",template:En,styles:tp})],e.FASTSelect);const Gp=tp,qp=Ie` ${go("block")} :host{--skeleton-fill-default: #e1dfdd;overflow: hidden;width: 100%;position: relative;background-color: var(--skeleton-fill, var(--skeleton-fill-default));--skeleton-animation-gradient-default: linear-gradient( 270deg, var(--skeleton-fill, var(--skeleton-fill-default)) 0%, #f3f2f1 51.13%, var(--skeleton-fill, var(--skeleton-fill-default)) 100% );--skeleton-animation-timing-default: ease-in-out}:host([shape="rect"]){border-radius: calc(var(--corner-radius) * 1px)}:host([shape="circle"]){border-radius: 100%;overflow: hidden}object{position: absolute;width: 100%;height: auto;z-index: 2}object img{width: 100%;height: auto}${go("block")} span.shimmer{position: absolute;width: 100%;height: 100%;background-image: var( --skeleton-animation-gradient, var(--skeleton-animation-gradient-default) );background-size: 0px 0px / 90% 100%;background-repeat: no-repeat;background-color: var(--skeleton-animation-fill, ${Dh.var});animation: shimmer 2s infinite;animation-timing-function: var( --skeleton-animation-timing, var(--skeleton-timing-default) );animation-direction: normal;z-index: 1}::slotted(svg){z-index: 2}::slotted(.pattern){width: 100%;height: 100%}@keyframes shimmer{0%{transform: translateX(-100%)}100%{transform: translateX(100%)}}`.withBehaviors(Dh,lo(Ie` :host{forced-color-adjust: none;background-color: ${Qi.ButtonFace};box-shadow: 0 0 0 1px ${Qi.ButtonText}}${go("block")} span.shimmer{display: none}`));e.FASTSkeleton=class extends On{},e.FASTSkeleton=t([Ae({name:"fast-skeleton",template:Rn,styles:qp})],e.FASTSkeleton);const Up=qp,Wp=Ie` :host([hidden]){display: none}${go("inline-grid")} :host{--thumb-size: calc(${Tu} * 0.5 - var(--design-unit));--thumb-translate: calc(var(--thumb-size) * 0.5);--track-overhang: calc((var(--design-unit) / 2) * -1);--track-width: var(--design-unit);--fast-slider-height: calc(var(--thumb-size) * 10);align-items: center;width: 100%;margin: calc(var(--design-unit) * 1px) 0;user-select: none;box-sizing: border-box;border-radius: calc(var(--corner-radius) * 1px);outline: none;cursor: pointer}:host([orientation="horizontal"]) .positioning-region{position: relative;margin: 0 8px;display: grid;grid-template-rows: calc(var(--thumb-size) * 1px) 1fr}:host([orientation="vertical"]) .positioning-region{position: relative;margin: 0 8px;display: grid;height: 100%;grid-template-columns: calc(var(--thumb-size) * 1px) 1fr}:host(:${vo}) .thumb-cursor{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px var(--neutral-focus)}.thumb-container{position: absolute;height: calc(var(--thumb-size) * 1px);width: calc(var(--thumb-size) * 1px);transition: all 0.2s ease;color: ${uh.var};fill: currentcolor}.thumb-cursor{border: none;width: calc(var(--thumb-size) * 1px);height: calc(var(--thumb-size) * 1px);background: ${uh.var};border-radius: calc(var(--corner-radius) * 1px)}.thumb-cursor:hover{background: ${ph.var};border-color: ${nu.var}}.thumb-cursor:active{background: ${gh.var}}:host([orientation="horizontal"]) .thumb-container{transform: translateX(calc(var(--thumb-translate) * 1px))}:host([orientation="vertical"]) .thumb-container{transform: translateY(calc(var(--thumb-translate) * 1px))}:host([orientation="horizontal"]){min-width: calc(var(--thumb-size) * 1px)}:host([orientation="horizontal"]) .track{right: calc(var(--track-overhang) * 1px);left: calc(var(--track-overhang) * 1px);align-self: start;margin-top: calc((var(--design-unit) + calc(var(--density) + 2)) * 1px);height: calc(var(--track-width) * 1px)}:host([orientation="vertical"]) .track{top: calc(var(--track-overhang) * 1px);bottom: calc(var(--track-overhang) * 1px);width: calc(var(--track-width) * 1px);margin-inline-start: calc((var(--design-unit) + calc(var(--density) + 2)) * 1px);height: 100%}.track{background: ${ru.var};position: absolute;border-radius: calc(var(--corner-radius) * 1px)}:host([orientation="vertical"]){height: calc(var(--fast-slider-height) * 1px);min-height: calc(var(--thumb-size) * 1px);min-width: calc(var(--design-unit) * 20px)}:host([disabled]), :host([readonly]){cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}`.withBehaviors(bu,gh,ph,uh,nu,ru,lo(Ie` .thumb-cursor{forced-color-adjust: none;border-color: ${Qi.FieldText};background: ${Qi.FieldText}}.thumb-cursor:hover, .thumb-cursor:active{background: ${Qi.Highlight}}.track{forced-color-adjust: none;background: ${Qi.FieldText}}:host(:${vo}) .thumb-cursor{border-color: ${Qi.Highlight}}:host([disabled]){opacity: 1}:host([disabled]) .track, :host([disabled]) .thumb-cursor{forced-color-adjust: none;background: ${Qi.GrayText}}:host(:${vo}) .thumb-cursor{background: ${Qi.Highlight};border-color: ${Qi.Highlight};box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}`));e.FASTSlider=class extends jn{},e.FASTSlider=t([Ae({name:"fast-slider",template:zn,styles:Wp})],e.FASTSlider);const Kp=Wp,Qp=Ie` :host{align-self: start;grid-row: 2;margin-top: -2px;height: calc((${Tu} / 2 + var(--design-unit)) * 1px);width: auto}.container{grid-template-rows: auto auto;grid-template-columns: 0}.label{margin: 2px 0}`,Xp=Ie` :host{justify-self: start;grid-column: 2;margin-left: 2px;height: auto;width: calc((${Tu} / 2 + var(--design-unit)) * 1px)}.container{grid-template-columns: auto auto;grid-template-rows: 0;min-width: calc(var(--thumb-size) * 1px);height: calc(var(--thumb-size) * 1px)}.mark{transform: rotate(90deg);align-self: center}.label{margin-left: calc((var(--design-unit) / 2) * 3px);align-self: center}`,Yp=Ie` ${go("block")} :host{font-family: var(--body-font);color: ${uh.var};fill: currentcolor}.root{position: absolute;display: grid}.container{display: grid;justify-self: center}.label{justify-self: center;align-self: center;white-space: nowrap;max-width: 30px}.mark{width: calc((var(--design-unit) / 4) * 1px);height: calc(${Tu} * 0.25 * 1px);background: ${ru.var};justify-self: center}:host(.disabled){opacity: var(--disabled-opacity)}`.withBehaviors(uh,ru,lo(Ie` .mark{forced-color-adjust: none;background: ${Qi.FieldText}}:host(.disabled){forced-color-adjust: none;opacity: 1}:host(.disabled) .label{color: ${Qi.GrayText}}:host(.disabled) .mark{background: ${Qi.GrayText}}`));e.FASTSliderLabel=class extends Mn{sliderOrientationChanged(){this.sliderOrientation===ct.horizontal?(this.$fastController.addStyles(Qp),this.$fastController.removeStyles(Xp)):(this.$fastController.addStyles(Xp),this.$fastController.removeStyles(Qp))}},e.FASTSliderLabel=t([Ae({name:"fast-slider-label",template:Ln,styles:Yp})],e.FASTSliderLabel);const Zp=Yp,Jp=Ie` :host([hidden]){display: none}${go("inline-flex")} :host{align-items: center;outline: none;font-family: var(--body-font);margin: calc(var(--design-unit) * 1px) 0;${""} user-select: none}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .switch, :host([disabled]) .switch{cursor: ${"not-allowed"}}.switch{position: relative;outline: none;box-sizing: border-box;width: calc(${Tu} * 1px);height: calc((${Tu} / 2 + var(--design-unit)) * 1px);background: ${_h.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${ru.var}}.switch:hover{background: ${Gh.var};border-color: ${nu.var};cursor: pointer}host([disabled]) .switch:hover, host([readonly]) .switch:hover{background: ${Gh.var};border-color: ${nu.var};cursor: ${"not-allowed"}}:host(:not([disabled])) .switch:active{background: ${qh.var};border-color: ${au.var}}:host(:${vo}) .switch{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${bu.var};border-color: ${bu.var}}.checked-indicator{position: absolute;top: 5px;bottom: 5px;background: ${uh.var};border-radius: calc(var(--corner-radius) * 1px);transition: all 0.2s ease-in-out}.status-message{color: ${uh.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}:host([disabled]) .status-message, :host([readonly]) .status-message{cursor: ${"not-allowed"}}.label{color: ${uh.var};${""} margin-inline-end: calc(var(--design-unit) * 2px + 2px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);cursor: pointer}.label__hidden{display: none;visibility: hidden}::slotted(*){${""} margin-inline-start: calc(var(--design-unit) * 2px + 2px)}:host([aria-checked="true"]) .checked-indicator{background: ${kh.var}}:host([aria-checked="true"]) .switch{background: ${Kh.var};border-color: ${Kh.var}}:host([aria-checked="true"]:not([disabled])) .switch:hover{background: ${Qh.var};border-color: ${Qh.var}}:host([aria-checked="true"]:not([disabled])) .switch:active{background: ${Xh.var};border-color: ${Xh.var}}:host([aria-checked="true"]:${vo}:not([disabled])) .switch{box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px ${bu.var};border-color: transparent}.unchecked-message{display: block}.checked-message{display: none}:host([aria-checked="true"]) .unchecked-message{display: none}:host([aria-checked="true"]) .checked-message{display: block}`.withBehaviors(Xh,Qh,Kh,kh,qh,Gh,_h,bu,uh,au,nu,ru,lo(Ie` .checked-indicator, :host(:not([disabled])) .switch:active .checked-indicator{forced-color-adjust: none;background: ${Qi.FieldText}}.switch{forced-color-adjust: none;background: ${Qi.Field};border-color: ${Qi.FieldText}}:host(:not([disabled])) .switch:hover{background: ${Qi.HighlightText};border-color: ${Qi.Highlight}}:host([aria-checked="true"]) .switch{background: ${Qi.Highlight};border-color: ${Qi.Highlight}}:host([aria-checked="true"]:not([disabled])) .switch:hover, :host(:not([disabled])) .switch:active{background: ${Qi.HighlightText};border-color: ${Qi.Highlight}}:host([aria-checked="true"]) .checked-indicator{background: ${Qi.HighlightText}}:host([aria-checked="true"]:not([disabled])) .switch:hover .checked-indicator{background: ${Qi.Highlight}}:host([disabled]){opacity: 1}:host(:${vo}) .switch{border-color: ${Qi.Highlight};box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}:host([aria-checked="true"]:${vo}:not([disabled])) .switch{box-shadow: 0 0 0 2px ${Qi.Field}, 0 0 0 4px ${Qi.FieldText}}:host([disabled]) .checked-indicator{background: ${Qi.GrayText}}:host([disabled]) .switch{background: ${Qi.Field};border-color: ${Qi.GrayText}}`),new To(Ie` .checked-indicator{left: 5px;right: calc(((${Tu} / 2) + 1) * 1px)}:host([aria-checked="true"]) .checked-indicator{left: calc(((${Tu} / 2) + 1) * 1px);right: 5px}`,Ie` .checked-indicator{right: 5px;left: calc(((${Tu} / 2) + 1) * 1px)}:host([aria-checked="true"]) .checked-indicator{right: calc(((${Tu} / 2) + 1) * 1px);left: 5px}`));e.FASTSwitch=class extends Un{},e.FASTSwitch=t([Ae({name:"fast-switch",template:_n,styles:Jp})],e.FASTSwitch);const eg=Jp,tg=Ie` ${go("grid")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);color: ${uh.var};grid-template-columns: auto 1fr auto;grid-template-rows: auto 1fr}.tablist{display: grid;grid-template-rows: auto auto;grid-template-columns: auto;position: relative;width: max-content;align-self: end;padding: calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px) 0;box-sizing: border-box}.start, .end{align-self: center}.activeIndicator{grid-row: 2;grid-column: 1;width: 100%;height: 5px;justify-self: center;background: ${Kh.var};margin-top: 10px;border-radius: calc(var(--corner-radius) * 1px) calc(var(--corner-radius) * 1px) 0 0}.activeIndicatorTransition{transition: transform 0.2s ease-in-out}.tabpanel{grid-row: 2;grid-column-start: 1;grid-column-end: 4;position: relative}:host([orientation="vertical"]){grid-template-rows: auto 1fr auto;grid-template-columns: auto 1fr}:host([orientation="vertical"]) .tablist{grid-row-start: 2;grid-row-end: 2;display: grid;grid-template-rows: auto;grid-template-columns: auto 1fr;position: relative;width: max-content;justify-self: end;width: 100%;padding: calc((${Tu} - var(--design-unit)) * 1px) calc(var(--design-unit) * 4px) calc((${Tu} - var(--design-unit)) * 1px) 0}:host([orientation="vertical"]) .tabpanel{grid-column: 2;grid-row-start: 1;grid-row-end: 4}:host([orientation="vertical"]) .end{grid-row: 3}:host([orientation="vertical"]) .activeIndicator{grid-column: 1;grid-row: 1;width: 5px;height: 100%;margin-inline-end: 10px;align-self: center;background: ${Kh.var};margin-top: 0;border-radius: 0 calc(var(--corner-radius) * 1px) calc(var(--corner-radius) * 1px) 0}:host([orientation="vertical"]) .activeIndicatorTransition{transition: transform 0.2s linear}`.withBehaviors(Kh,uh,lo(Ie` .activeIndicator, :host([orientation="vertical"]) .activeIndicator{forced-color-adjust: none;background: ${Qi.Highlight}}`)),ig=Ie` ${go("inline-flex")} :host{box-sizing: border-box;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);height: calc(${Tu} * 1px);padding: calc(var(--design-unit) * 5px) calc(var(--design-unit) * 4px);color: ${bh.var};fill: currentcolor;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid transparent;align-items: center;justify-content: center;grid-row: 1;cursor: pointer}:host(:hover){color: ${ph.var};fill: currentcolor}:host(:active){color: ${gh.var};fill: currentcolor}:host([disabled]){cursor: ${"not-allowed"};opacity: var(--disabled-opacity)}:host([disabled]:hover){color: ${bh.var};background: ${Oh.var}}:host([aria-selected="true"]){background: ${Dh.var};color: ${xh.var};fill: currentcolor}:host([aria-selected="true"]:hover){background: ${Ph.var};color: ${Ch.var};fill: currentcolor}:host([aria-selected="true"]:active){background: ${Ih.var};color: ${wh.var};fill: currentcolor}:host(:${vo}){outline: none;border: calc(var(--outline-width) * 1px) solid ${bu.var};box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${bu.var}}:host(:focus){outline: none}:host(.vertical){justify-content: end;grid-column: 2}:host(.vertical[aria-selected="true"]){z-index: 2}:host(.vertical:hover){color: ${ph.var}}:host(.vertical:active){color: ${gh.var}}:host(.vertical:hover[aria-selected="true"]){}`.withBehaviors(Xh,Qh,Kh,wh,Ch,xh,Ih,Ph,Dh,Oh,bu,bh,gh,ph,uh,lo(Ie` :host{forced-color-adjust: none;border-color: transparent;color: ${Qi.ButtonText};fill: currentcolor}:host(:hover), :host(.vertical:hover), :host([aria-selected="true"]:hover){background: ${Qi.Highlight};color: ${Qi.HighlightText};fill: currentcolor}:host([aria-selected="true"]){background: ${Qi.HighlightText};color: ${Qi.Highlight};fill: currentcolor}:host(:${vo}){border-color: ${Qi.ButtonText};box-shadow: none}`));e.FASTTab=class extends Xn{},e.FASTTab=t([Ae({name:"fast-tab",template:Qn,styles:ig})],e.FASTTab);const og=ig,sg=Ie` ${go("flex")} :host{box-sizing: border-box;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px)}`;e.FASTTabPanel=class extends Kn{},e.FASTTabPanel=t([Ae({name:"fast-tab-panel",template:Wn,styles:sg})],e.FASTTabPanel);const rg=sg;e.FASTTabs=class extends ea{},e.FASTTabs=t([Ae({name:"fast-tabs",template:Yn,styles:tg})],e.FASTTabs);const ng=tg,ag=Ie` ${go("inline-block")} :host{font-family: var(--body-font);outline: none;user-select: none}.control{box-sizing: border-box;position: relative;color: ${uh.var};background: ${_h.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${Kh.var};height: calc(${Tu} * 2px);font: inherit;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);padding: calc(var(--design-unit) * 2px + 1px);width: 100%;resize: none}.control:hover:enabled{background: ${Gh.var};border-color: ${Qh.var}}.control:active:enabled{background: ${qh.var};border-color: ${Xh.var}}.control:hover, .control:${vo}, .control:disabled, .control:active{outline: none}:host(:focus-within) .control{border-color: ${bu.var};box-shadow: 0 0 0 1px ${bu.var} inset}:host([appearance="filled"]) .control{background: ${Dh.var}}:host([appearance="filled"]:hover:not([disabled])) .control{background: ${Ph.var}}:host([resize="both"]) .control{resize: both}:host([resize="horizontal"]) .control{resize: horizontal}:host([resize="vertical"]) .control{resize: vertical}.label{display: block;color: ${uh.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);margin-bottom: 4px}.label__hidden{display: none;visibility: hidden}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .control{border-color: ${ru.var}}`.withBehaviors(Xh,Qh,Kh,Ph,qh,Gh,_h,Dh,bu,uh,ru,lo(Ie` :host([disabled]){opacity: 1}`));e.FASTTextArea=class extends oa{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}},t([me],e.FASTTextArea.prototype,"appearance",void 0),e.FASTTextArea=t([Ae({name:"fast-text-area",template:sa,styles:ag,shadowOptions:{delegatesFocus:!0}})],e.FASTTextArea);const lg=ag,cg=Ie` ${go("inline-block")} :host{font-family: var(--body-font);outline: none;user-select: none}.root{box-sizing: border-box;position: relative;display: flex;flex-direction: row;color: ${uh.var};background: ${_h.var};border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${Kh.var};height: calc(${Tu} * 1px)}.control{-webkit-appearance: none;font: inherit;background: transparent;border: 0;color: inherit;height: calc(100% - 4px);width: 100%;margin-top: auto;margin-bottom: auto;border: none;padding: 0 calc(var(--design-unit) * 2px + 1px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height)}.control:hover, .control:${vo}, .control:disabled, .control:active{outline: none}.label{display: block;color: ${uh.var};cursor: pointer;font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);margin-bottom: 4px}.label__hidden{display: none;visibility: hidden}.start, .end{margin: auto;fill: currentcolor}::slotted(svg){${""} width: 16px;height: 16px}.start{margin-inline-start: 11px}.end{margin-inline-end: 11px}:host(:hover:not([disabled])) .root{background: ${Gh.var};border-color: ${Qh.var}}:host(:active:not([disabled])) .root{background: ${Gh.var};border-color: ${Xh.var}}:host(:focus-within:not([disabled])) .root{border-color: ${bu.var};box-shadow: 0 0 0 1px ${bu.var} inset}:host([appearance="filled"]) .root{background: ${Dh.var}}:host([appearance="filled"]:hover:not([disabled])) .root{background: ${Ph.var}}:host([disabled]) .label, :host([readonly]) .label, :host([readonly]) .control, :host([disabled]) .control{cursor: ${"not-allowed"}}:host([disabled]){opacity: var(--disabled-opacity)}:host([disabled]) .control{border-color: ${ru.var}}`.withBehaviors(Xh,Qh,Kh,Ph,Gh,_h,Dh,bu,uh,ru,lo(Ie` .root, :host([appearance="filled"]) .root{forced-color-adjust: none;background: ${Qi.Field};border-color: ${Qi.FieldText}}:host(:hover:not([disabled])) .root, :host([appearance="filled"]:hover:not([disabled])) .root, :host([appearance="filled"]:hover) .root{background: ${Qi.Field};border-color: ${Qi.Highlight}}.start, .end{fill: currentcolor}:host([disabled]){opacity: 1}:host([disabled]) .root, :host([appearance="filled"]:hover[disabled]) .root{border-color: ${Qi.GrayText};background: ${Qi.Field}}:host(:focus-within:enabled) .root{border-color: ${Qi.Highlight};box-shadow: 0 0 0 1px ${Qi.Highlight} inset}`));e.FASTTextField=class extends un{connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}},t([me],e.FASTTextField.prototype,"appearance",void 0),e.FASTTextField=t([Ae({name:"fast-text-field",template:ln,styles:cg,shadowOptions:{delegatesFocus:!0}})],e.FASTTextField);const dg=cg,hg=Ie` ${go("inline-flex")} :host{--toolbar-item-gap: calc((var(--design-unit) + calc(var(--density) + 2)) * 1px);background-color: ${su.var};border-radius: calc(var(--corner-radius) * 1px);fill: currentcolor;padding: var(--toolbar-item-gap)}:host(${vo}){outline: calc(var(--outline-width) * 1px) solid ${lu.var}}.positioning-region{align-items: flex-start;display: inline-flex;flex-flow: row wrap;justify-content: flex-start}:host([orientation="vertical"]) .positioning-region{flex-direction: column}::slotted(:not([slot])){flex: 0 0 auto;margin: 0 var(--toolbar-item-gap)}:host([orientation="vertical"]) ::slotted(:not([slot])){margin: var(--toolbar-item-gap) 0}.start, .end{display: flex;margin: auto;margin-inline: 0}::slotted(svg){${""} width: 16px;height: 16px}`.withBehaviors(su,bu,lu,lo(Ie` :host(:${vo}){box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) ${Qi.Highlight};color: ${Qi.ButtonText};forced-color-adjust: none}`));e.FASTToolbar=class extends aa{},e.FASTToolbar=t([Ae({name:"fast-toolbar",template:ra,styles:hg,shadowOptions:{delegatesFocus:!0}})],e.FASTToolbar);const ug=Ie` :host{contain: layout;overflow: visible;height: 0;width: 0}.tooltip{box-sizing: border-box;border-radius: calc(var(--corner-radius) * 1px);border: calc(var(--outline-width) * 1px) solid ${bu.var};box-shadow: 0 0 0 1px ${bu.var} inset;background: ${Dh.var};color: ${uh.var};padding: 4px;height: fit-content;width: fit-content;font-family: var(--body-font);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);white-space: nowrap;${""} z-index: 10000}fast-anchored-region{display: flex;justify-content: center;align-items: center;overflow: visible;flex-direction: row}fast-anchored-region.right, fast-anchored-region.left{flex-direction: column}fast-anchored-region.top .tooltip{margin-bottom: 4px}fast-anchored-region.bottom .tooltip{margin-top: 4px}fast-anchored-region.left .tooltip{margin-right: 4px}fast-anchored-region.right .tooltip{margin-left: 4px}`.withBehaviors(Xh,Qh,Kh,Ph,qh,Gh,_h,Dh,bu,uh,ru,lo(Ie` :host([disabled]){opacity: 1}`));e.FASTTooltip=class extends ha{},e.FASTTooltip=t([Ae({name:"fast-tooltip",template:ca("fast"),styles:ug})],e.FASTTooltip);const pg=Ie` :host([hidden]){display: none}${go("flex")} :host{flex-direction: column;align-items: stretch;min-width: fit-content;font-size: 0}:host:focus-visible{outline: none}`;e.FASTTreeView=class extends fa{},e.FASTTreeView=t([Ae({name:"fast-tree-view",template:va,styles:pg})],e.FASTTreeView);const gg=pg,vg=Ie` .expand-collapse-glyph{transform: rotate(0deg)}:host(.nested) .expand-collapse-button{left: var(--expand-collapse-button-nested-width, calc(${Tu} * -1px))}:host([selected])::after{left: calc(var(--focus-outline-width) * 1px)}:host([expanded]) > .positioning-region .expand-collapse-glyph{transform: rotate(45deg)}`,fg=Ie` .expand-collapse-glyph{transform: rotate(180deg)}:host(.nested) .expand-collapse-button{right: var(--expand-collapse-button-nested-width, calc(${Tu} * -1px))}:host([selected])::after{right: calc(var(--focus-outline-width) * 1px)}:host([expanded]) > .positioning-region .expand-collapse-glyph{transform: rotate(135deg)}`,mg="((var(--base-height-multiplier) / 2) * var(--design-unit)) + ((var(--design-unit) * var(--density)) / 2)",bg=ls("neutral-stealth-hover-over-hover",e=>td(td)(e),e.FASTDesignSystemProvider.findProvider),yg=ls("neutral-stealth-hover-over-selected",e=>td(sd)(e),e.FASTDesignSystemProvider.findProvider),xg=Ie` ${go("block")} :host{contain: content;position: relative;outline: none;color: ${uh.var};background: ${Oh.var};cursor: pointer;font-family: var(--body-font);--expand-collapse-button-size: calc(${Tu} * 1px);--tree-item-nested-width: 0}:host(:focus) > .positioning-region{outline: none}:host(:focus) .content-region{outline: none}:host(:${vo}) .positioning-region{border: ${bu.var} calc(var(--outline-width) * 1px) solid;border-radius: calc(var(--corner-radius) * 1px);color: ${gh.var}}.positioning-region{display: flex;position: relative;box-sizing: border-box;border: transparent calc(var(--outline-width) * 1px) solid;height: calc((${Tu} + 1) * 1px)}.positioning-region::before{content: "";display: block;width: var(--tree-item-nested-width);flex-shrink: 0}.positioning-region:hover{background: ${Lh.var}}.positioning-region:active{background: ${Bh.var}}.content-region{display: inline-flex;align-items: center;white-space: nowrap;width: 100%;height: calc(${Tu} * 1px);margin-inline-start: calc(var(--design-unit) * 2px + 8px);font-size: var(--type-ramp-base-font-size);line-height: var(--type-ramp-base-line-height);font-weight: 400}.items{display: none;${""} font-size: calc(1em + (var(--design-unit) + 16) * 1px)}.expand-collapse-button{background: none;border: none;outline: none;${""} width: calc((${mg} + (var(--design-unit) * 2)) * 1px);height: calc((${mg} + (var(--design-unit) * 2)) * 1px);padding: 0;display: flex;justify-content: center;align-items: center;cursor: pointer;margin-left: 6px;margin-right: 6px}.expand-collapse-glyph{${""} width: 16px;height: 16px;transition: transform 0.1s linear;pointer-events: none;fill: currentcolor}.start, .end{display: flex;fill: currentcolor}::slotted(svg){${""} width: 16px;height: 16px}.start{${""} margin-inline-end: calc(var(--design-unit) * 2px + 2px)}.end{${""} margin-inline-start: calc(var(--design-unit) * 2px + 2px)}:host([expanded]) > .items{display: block}:host([disabled]) .content-region{opacity: var(--disabled-opacity);cursor: ${"not-allowed"}}:host(.nested) .content-region{position: relative;margin-inline-start: var(--expand-collapse-button-size)}:host(.nested) .expand-collapse-button{position: absolute}:host(.nested) .expand-collapse-button:hover{background: ${bg.var}}:host([selected]) .positioning-region{background: ${Mh.var}}:host([selected]) .expand-collapse-button:hover{background: ${yg.var}}:host([selected])::after{content: "";display: block;position: absolute;top: calc((${Tu} / 4) * 1px);width: 3px;height: calc((${Tu} / 2) * 1px);${""} background: ${xh.var};border-radius: calc(var(--corner-radius) * 1px)}::slotted(fast-tree-item){--tree-item-nested-width: 1em;--expand-collapse-button-nested-width: calc(${Tu} * -1px)}`.withBehaviors(xh,Mh,Bh,bg,Lh,yg,Oh,bu,yu,gh,uh,new To(vg,fg),lo(Ie` :host{forced-color-adjust: none;border-color: transparent;background: ${Qi.Field};color: ${Qi.FieldText}}:host .content-region .expand-collapse-glyph{fill: ${Qi.FieldText}}:host .positioning-region:hover, :host([selected]) .positioning-region{background: ${Qi.Highlight}}:host .positioning-region:hover .content-region, :host([selected]) .positioning-region .content-region{color: ${Qi.HighlightText}}:host .positioning-region:hover .content-region .expand-collapse-glyph, :host .positioning-region:hover .content-region .start, :host .positioning-region:hover .content-region .end, :host([selected]) .content-region .expand-collapse-glyph, :host([selected]) .content-region .start, :host([selected]) .content-region .end{fill: ${Qi.HighlightText}}:host([selected])::after{background: ${Qi.Field}}:host(:${vo}) .positioning-region{border-color: ${Qi.FieldText};box-shadow: 0 0 0 2px inset ${Qi.Field};color: ${Qi.FieldText}}:host([disabled]) .content-region, :host([disabled]) .positioning-region:hover .content-region{opacity: 1;color: ${Qi.GrayText}}:host([disabled]) .content-region .expand-collapse-glyph, :host([disabled]) .content-region .start, :host([disabled]) .content-region .end, :host([disabled]) .positioning-region:hover .content-region .expand-collapse-glyph, :host([disabled]) .positioning-region:hover .content-region .start, :host([disabled]) .positioning-region:hover .content-region .end{fill: ${Qi.GrayText}}:host([disabled]) .positioning-region:hover{background: ${Qi.Field}}.expand-collapse-glyph, .start, .end{fill: ${Qi.FieldText}}:host(.nested) .expand-collapse-button:hover{background: ${Qi.Field}}:host(.nested) .expand-collapse-button:hover .expand-collapse-glyph{fill: ${Qi.FieldText}}`));e.FASTTreeItem=class extends ga{},e.FASTTreeItem=t([Ae({name:"fast-tree-item",template:ua,styles:xg})],e.FASTTreeItem);const Cg=xg;e.$global=i,e.ARIAGlobalStatesAndProperties=to,e.Accordion=Ji,e.AccordionItem=at,e.AccordionItemStyles=Au,e.AccordionItemTemplate=rt,e.AccordionStyles=Du,e.AccordionTemplate=lt,e.Anchor=io,e.AnchorStyles=Vu,e.AnchorTemplate=eo,e.AnchoredRegion=Po,e.AnchoredRegionStyles=_u,e.AnchoredRegionTemplate=so,e.AttachedBehaviorHTMLDirective=B,e.AttributeDefinition=fe,e.Badge=Eo,e.BadgeStyles=qu,e.BadgeTemplate=Io,e.BaseProgress=bn,e.BindingBehavior=K,e.Breadcrumb=Bo,e.BreadcrumbItem=Oo,e.BreadcrumbItemTemplate=Ro,e.BreadcrumbTemplate=Lo,e.Button=_o,e.ButtonStyles=Qu,e.ButtonTemplate=Ho,e.CSSCustomPropertyBehavior=as,e.CSSDirective=De,e.Card=class extends Fe{},e.CardStyles=Zu,e.CardTemplate=qo,e.Checkbox=Qo,e.CheckboxStyles=ep,e.CheckboxTemplate=Uo,e.ChildrenBehavior=et,e.Combobox=ss,e.ComboboxStyles=op,e.ComboboxTemplate=ns,e.ComponentPresentation=gr,e.ConstructableStylesCustomPropertyManager=mo,e.Container=As,e.ContainerConfiguration=ks,e.ContainerImpl=Zs,e.Controller=Se,e.DI=Fs,e.DOM=h,e.DataGrid=ps,e.DataGridCell=ys,e.DataGridCellStyles=up,e.DataGridRow=vs,e.DataGridRowStyles=hp,e.DataGridStyles=dp,e.DefaultComponentPresentation=vr,e.DefaultResolver=$s,e.DelegatesARIAButton=Go,e.DelegatesARIACombobox=rs,e.DelegatesARIALink=oo,e.DelegatesARIAListbox=ts,e.DelegatesARIASelect=In,e.DelegatesARIATextbox=pn,e.DelegatesARIAToolbar=la,e.DesignSystem=class{constructor(){this.registrations=[],this.prefix="fast",this.disambiguate=()=>null}withPrefix(e){return this.prefix=e,this}withElementDisambiguation(e){return this.disambiguate=e,this}register(...e){return this.registrations.push(...e),this}applyTo(e){const t=Fs.getOrCreateDOMContainer(e),i=[],o=this.disambiguate,s={elementPrefix:this.prefix,tryDefineElement(e,s,r){let n=e,a=dr.get(n);for(;a&&n;)n=o(n,s,a),n&&(a=dr.get(n));const l=!!n;l&&(hr.has(s)&&(s=class extends s{}),dr.set(n,s),hr.set(s,n)),i.push(new ur(t,n||e,s,r,l))}};t.register(tr.instance(cr,s)),t.register(...this.registrations);for(const e of i)e.callback(e),e.willDefine&&null!==e.definition&&e.definition.define();return t}},e.DesignSystemProvider=Co,e.DesignSystemProviderTemplate=So,e.DesignSystemRegistrationContext=cr,e.DesignToken=Tr,e.Dialog=Nr,e.DialogStyles=gp,e.DialogTemplate=Fr,e.DirectionalStyleSheetBehavior=To,e.Disclosure=jr,e.DisclosureStyles=fp,e.DisclosureTemplate=Vr,e.Divider=Ur,e.DividerStyles=bp,e.DividerTemplate=_r,e.ElementStyles=le,e.ExecutionContext=I,e.FASTElement=Fe,e.FASTElementDefinition=Ce,e.FactoryImpl=qs,e.Flipper=Kr,e.FlipperStyles=xp,e.FlipperTemplate=Wr,e.FormAssociated=No,e.FoundationElement=Qr,e.HTMLBindingDirective=W,e.HTMLDirective=O,e.HTMLView=se,e.HorizontalScroll=Tn,e.HorizontalScrollTemplate=Fn,e.Listbox=es,e.ListboxOption=Jo,e.ListboxOptionTemplate=Zr,e.ListboxStyles=Tp,e.ListboxTemplate=Jr,e.MatchMediaBehavior=no,e.MatchMediaStyleSheetBehavior=ao,e.Menu=nn,e.MenuItem=tn,e.MenuItemStyles=Rp,e.MenuItemTemplate=on,e.MenuStyles=Pp,e.MenuTemplate=rn,e.NumberField=fn,e.NumberFieldStyles=Lp,e.NumberFieldTemplate=an,e.Observable=k,e.OptionStyles=Ap,e.ProgressRingStyles=zp,e.ProgressRingTemplate=mn,e.ProgressStyles=Hp,e.ProgressTemplate=yn,e.PropertyChangeNotifier=m,e.PropertyStyleSheetBehavior=uo,e.Radio=Sn,e.RadioGroup=Cn,e.RadioGroupStyles=_p,e.RadioGroupTemplate=xn,e.RadioStyles=Vp,e.RadioTemplate=wn,e.RefBehavior=je,e.Registration=tr,e.RepeatBehavior=Ke,e.RepeatDirective=Qe,e.ResolverBuilder=Cs,e.ResolverImpl=js,e.Select=Pn,e.SelectStyles=Gp,e.SelectTemplate=En,e.ServiceLocator=Ds,e.Skeleton=On,e.SkeletonStyles=Up,e.SkeletonTemplate=Rn,e.Slider=jn,e.SliderLabel=Mn,e.SliderLabelStyles=Zp,e.SliderLabelTemplate=Ln,e.SliderStyles=Kp,e.SliderTemplate=zn,e.SlottedBehavior=Ze,e.StartEnd=it,e.StyleElementCustomPropertyManager=bo,e.SubscriberSet=f,e.Switch=Un,e.SwitchStyles=eg,e.SwitchTemplate=_n,e.Tab=Xn,e.TabPanel=Kn,e.TabPanelStyles=rg,e.TabPanelTemplate=Wn,e.TabStyles=og,e.TabTemplate=Qn,e.Tabs=ea,e.TabsStyles=ng,e.TabsTemplate=Yn,e.TargetedHTMLDirective=L,e.TextArea=oa,e.TextAreaStyles=lg,e.TextAreaTemplate=sa,e.TextField=un,e.TextFieldStyles=dg,e.TextFieldTemplate=ln,e.Toolbar=aa,e.ToolbarStyles=hg,e.ToolbarTemplate=ra,e.Tooltip=ha,e.TreeItem=ga,e.TreeItemStyles=Cg,e.TreeItemTemplate=ua,e.TreeView=fa,e.TreeViewStyles=gg,e.TreeViewTemplate=va,e.ViewTemplate=re,e.accentFill=vd,e.accentFillActive=yd,e.accentFillActiveBehavior=Xh,e.accentFillFocusBehavior=Yh,e.accentFillHover=bd,e.accentFillHoverBehavior=Qh,e.accentFillLarge=fd,e.accentFillLargeActive=$d,e.accentFillLargeActiveBehavior=tu,e.accentFillLargeFocusBehavior=iu,e.accentFillLargeHover=wd,e.accentFillLargeHoverBehavior=eu,e.accentFillLargeRest=Cd,e.accentFillLargeRestBehavior=Jh,e.accentFillLargeSelected=kd,e.accentFillLargeSelectedBehavior=ou,e.accentFillRest=md,e.accentFillRestBehavior=Kh,e.accentFillSelected=xd,e.accentFillSelectedBehavior=Zh,e.accentForeground=Bc,e.accentForegroundActive=Nc,e.accentForegroundActiveBehavior=wh,e.accentForegroundCut=Pc,e.accentForegroundCutLarge=Ic,e.accentForegroundCutRestBehavior=kh,e.accentForegroundFocusBehavior=$h,e.accentForegroundHover=zc,e.accentForegroundHoverBehavior=Ch,e.accentForegroundLarge=Hc,e.accentForegroundLargeActive=_c,e.accentForegroundLargeActiveBehavior=Fh,e.accentForegroundLargeFocusBehavior=Ah,e.accentForegroundLargeHover=jc,e.accentForegroundLargeHoverBehavior=Th,e.accentForegroundLargeRest=Vc,e.accentForegroundLargeRestBehavior=Sh,e.accentForegroundRest=Mc,e.accentForegroundRestBehavior=xh,e.all=Os,e.applyMixins=nt,e.attr=me,e.booleanConverter=ge,e.children=tt,e.compileTemplate=ie,e.composedParent=ro,e.createColorPalette=lh,e.createDataGridCellTemplate=fs,e.createDataGridRowTemplate=gs,e.createDataGridTemplate=cs,e.createMenuItemTemplate=sn,e.createTooltipTemplate=ca,e.css=Ie,e.cssCustomPropertyBehaviorFactory=ls,e.cssPartial=function(e,...t){const{styles:i,behaviors:o}=Pe(e,t);return new Ee(i,o)},e.customElement=Ae,e.darkModeStylesheetBehavior=co,e.defaultExecutionContext=E,e.defineDesignSystemProvider=wo,e.designSystemConsumerBehavior=xo,e.designSystemProperty=ko,e.designSystemProvider=$o,e.disabledCursor="not-allowed",e.display=go,e.elements=Xe,e.emptyArray=o,e.enableArrayObservation=Ve,e.endTemplate=ot,e.fastDesignSystemDefaults=ma,e.focusVisible=vo,e.forcedColorsStylesheetBehavior=lo,e.getDirection=Ao,e.hidden=po,e.html=ae,e.ignore=Ms,e.inject=Is,e.inlineEndBehavior=Mu,e.inlineStartBehavior=Hu,e.isDarkMode=cc,e.isDesignSystemConsumer=yo,e.isListboxOption=Zo,e.isTreeItemElement=pa,e.lazy=Bs,e.lightModeStylesheetBehavior=ho,e.matchMediaStylesheetBehaviorFactory=function(e){return ao.with(e)},e.neutralContrastFill=Sd,e.neutralContrastFillActive=Ad,e.neutralContrastFillActiveBehavior=$u,e.neutralContrastFillFocusBehavior=ku,e.neutralContrastFillHover=Fd,e.neutralContrastFillHoverBehavior=wu,e.neutralContrastFillRest=Td,e.neutralContrastFillRestBehavior=Cu,e.neutralContrastForegroundRestBehavior=xu,e.neutralDividerRest=Ld,e.neutralDividerRestBehavior=cu,e.neutralFill=Yc,e.neutralFillActive=Kc,e.neutralFillActiveBehavior=Ih,e.neutralFillCard=Pd,e.neutralFillCardRestBehavior=su,e.neutralFillFocusBehavior=Eh,e.neutralFillHover=Wc,e.neutralFillHoverBehavior=Ph,e.neutralFillInput=ud,e.neutralFillInputActive=cd,e.neutralFillInputActiveBehavior=qh,e.neutralFillInputFocusBehavior=Wh,e.neutralFillInputHover=ld,e.neutralFillInputHoverBehavior=Gh,e.neutralFillInputRest=ad,e.neutralFillInputRestBehavior=_h,e.neutralFillInputSelected=hd,e.neutralFillInputSelectedBehavior=Uh,e.neutralFillRest=Uc,e.neutralFillRestBehavior=Dh,e.neutralFillSelected=Xc,e.neutralFillSelectedBehavior=Rh,e.neutralFillStealth=rd,e.neutralFillStealthActive=id,e.neutralFillStealthActiveBehavior=Bh,e.neutralFillStealthFocusBehavior=Hh,e.neutralFillStealthHover=td,e.neutralFillStealthHoverBehavior=Lh,e.neutralFillStealthRest=ed,e.neutralFillStealthRestBehavior=Oh,e.neutralFillStealthSelected=sd,e.neutralFillStealthSelectedBehavior=Mh,e.neutralFillToggle=xc,e.neutralFillToggleActive=$c,e.neutralFillToggleActiveBehavior=Vh,e.neutralFillToggleFocusBehavior=jh,e.neutralFillToggleHover=wc,e.neutralFillToggleHoverBehavior=Nh,e.neutralFillToggleRest=Cc,e.neutralFillToggleRestBehavior=zh,e.neutralFocus=rh,e.neutralFocusBehavior=bu,e.neutralFocusInnerAccent=ah,e.neutralFocusInnerAccentBehavior=yu,e.neutralForeground=fc,e.neutralForegroundActive=yc,e.neutralForegroundActiveBehavior=gh,e.neutralForegroundFocusBehavior=vh,e.neutralForegroundHint=Rc,e.neutralForegroundHintBehavior=bh,e.neutralForegroundHintLarge=Oc,e.neutralForegroundHintLargeBehavior=yh,e.neutralForegroundHover=bc,e.neutralForegroundHoverBehavior=ph,e.neutralForegroundRest=mc,e.neutralForegroundRestBehavior=uh,e.neutralForegroundToggle=Tc,e.neutralForegroundToggleBehavior=fh,e.neutralForegroundToggleLarge=Fc,e.neutralForegroundToggleLargeBehavior=mh,e.neutralLayerCard=Yd,e.neutralLayerCardBehavior=hu,e.neutralLayerCardContainer=Zd,e.neutralLayerCardContainerBehavior=uu,e.neutralLayerFloating=Xd,e.neutralLayerFloatingBehavior=du,e.neutralLayerL1=Jd,e.neutralLayerL1Alt=eh,e.neutralLayerL1AltBehavior=gu,e.neutralLayerL1Behavior=pu,e.neutralLayerL2=th,e.neutralLayerL2Behavior=vu,e.neutralLayerL3=ih,e.neutralLayerL3Behavior=fu,e.neutralLayerL4=oh,e.neutralLayerL4Behavior=mu,e.neutralOutline=Id,e.neutralOutlineActive=Od,e.neutralOutlineActiveBehavior=au,e.neutralOutlineFocusBehavior=lu,e.neutralOutlineHover=Rd,e.neutralOutlineHoverBehavior=nu,e.neutralOutlineRest=Ed,e.neutralOutlineRestBehavior=ru,e.newInstanceForScope=zs,e.newInstanceOf=Ns,e.nullableNumberConverter=ve,e.observable=A,e.optional=Hs,e.palette=function(t){return i=>{switch(t){case e.PaletteType.accent:return $a(i);case e.PaletteType.neutral:default:return wa(i)}}},e.parseColorString=ec,e.ref=_e,e.repeat=function(e,t,i=qe){return new Qe(e,"function"==typeof t?t:()=>t,i)},e.setCurrentEvent=P,e.singleton=function(e){return"function"==typeof e?Fs.singleton(e):function(t){return Fs.singleton(t,e)}},e.slotted=Je,e.startTemplate=st,e.supportsElementInternals=Mo,e.transient=function(e){return null==e?Es:Es(e)},e.validateKey=ir,e.volatile=function(e,t,i){return Object.assign({},i,{get:function(){return T(),i.get.apply(this)}})},e.when=Ge,e.whitespaceFilter=Do,Object.defineProperty(e,"__esModule",{value:!0})}({});
|