@awc-ui/core 1.0.0 → 1.0.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/README.md +4 -3
- package/bin/templates/astro/package.json +3 -3
- package/bin/templates/html/index.html +2 -2
- package/bin/templates/html/package.json +2 -2
- package/bin/templates/next/package.json +9 -4
- package/bin/templates/nuxt/package.json +3 -3
- package/bin/templates/sveltekit/README.md +4 -4
- package/bin/templates/sveltekit/package.json +11 -6
- package/dist/cjs/{a11y-BpJz93TM.js → a11y-t_JVsXPZ.js} +3 -3
- package/dist/cjs/{a11y-BpJz93TM.js.map → a11y-t_JVsXPZ.js.map} +1 -1
- package/dist/cjs/{bar-chart-MNgwqQFs.js → bar-chart-CGTCHpcn.js} +4 -4
- package/dist/cjs/{bar-chart-MNgwqQFs.js.map → bar-chart-CGTCHpcn.js.map} +1 -1
- package/dist/cjs/{chart-D0Am1NfS.js → chart-DdMm6cH_.js} +4 -4
- package/dist/cjs/{chart-D0Am1NfS.js.map → chart-DdMm6cH_.js.map} +1 -1
- package/dist/cjs/{hit-test-BUzBtP84.js → hit-test-DeZBOKAn.js} +3 -3
- package/dist/cjs/{hit-test-BUzBtP84.js.map → hit-test-DeZBOKAn.js.map} +1 -1
- package/dist/cjs/id-BokG8IAT.js +21 -0
- package/dist/cjs/id-BokG8IAT.js.map +1 -0
- package/dist/cjs/md-area-chart.cjs.entry.js +4 -4
- package/dist/cjs/md-avatar_2.cjs.entry.js +3 -2
- package/dist/cjs/md-avatar_2.cjs.entry.js.map +1 -1
- package/dist/cjs/md-bar-chart.cjs.entry.js +4 -4
- package/dist/cjs/md-bottom-sheet.cjs.entry.js +6 -7
- package/dist/cjs/md-bottom-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/md-button_6.cjs.entry.js +4 -3
- package/dist/cjs/md-button_6.cjs.entry.js.map +1 -1
- package/dist/cjs/md-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/md-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/md-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/md-color-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/md-dialog.cjs.entry.js +5 -4
- package/dist/cjs/md-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/md-line-chart.cjs.entry.js +4 -4
- package/dist/cjs/md-navigation-rail-tab.cjs.entry.js +3 -2
- package/dist/cjs/md-navigation-rail-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/md-navigation-rail.cjs.entry.js +4 -3
- package/dist/cjs/md-navigation-rail.cjs.entry.js.map +1 -1
- package/dist/cjs/md-otp-field.cjs.entry.js +5 -4
- package/dist/cjs/md-otp-field.cjs.entry.js.map +1 -1
- package/dist/cjs/md-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/md-side-sheet.cjs.entry.js +5 -4
- package/dist/cjs/md-side-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/md-sparkline.cjs.entry.js +4 -4
- package/dist/cjs/md-switch.cjs.entry.js +4 -3
- package/dist/cjs/md-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/md-tab-panels.cjs.entry.js +3 -2
- package/dist/cjs/md-tab-panels.cjs.entry.js.map +1 -1
- package/dist/cjs/md-tabs.cjs.entry.js +4 -3
- package/dist/cjs/md-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/md-text-field.cjs.entry.js +9 -8
- package/dist/cjs/md-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/md-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/md-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/{rtl-BlpfdSXx.js → rtl-DqtkGwAz.js} +3 -3
- package/dist/cjs/{rtl-BlpfdSXx.js.map → rtl-DqtkGwAz.js.map} +1 -1
- package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js +6 -7
- package/dist/collection/components/md-bottom-sheet/md-bottom-sheet.js.map +1 -1
- package/dist/collection/components/md-checkbox/md-checkbox.js +4 -3
- package/dist/collection/components/md-checkbox/md-checkbox.js.map +1 -1
- package/dist/collection/components/md-color-picker/md-color-picker.js +2 -2
- package/dist/collection/components/md-color-picker/md-color-picker.js.map +1 -1
- package/dist/collection/components/md-dialog/md-dialog.js +5 -4
- package/dist/collection/components/md-dialog/md-dialog.js.map +1 -1
- package/dist/collection/components/md-navigation-rail/md-navigation-rail.js +4 -3
- package/dist/collection/components/md-navigation-rail/md-navigation-rail.js.map +1 -1
- package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js +3 -2
- package/dist/collection/components/md-navigation-rail-tab/md-navigation-rail-tab.js.map +1 -1
- package/dist/collection/components/md-otp-field/md-otp-field.js +5 -4
- package/dist/collection/components/md-otp-field/md-otp-field.js.map +1 -1
- package/dist/collection/components/md-radio/md-radio.js +4 -3
- package/dist/collection/components/md-radio/md-radio.js.map +1 -1
- package/dist/collection/components/md-side-sheet/md-side-sheet.js +5 -4
- package/dist/collection/components/md-side-sheet/md-side-sheet.js.map +1 -1
- package/dist/collection/components/md-switch/md-switch.js +4 -3
- package/dist/collection/components/md-switch/md-switch.js.map +1 -1
- package/dist/collection/components/md-tab-panels/md-tab-panels.js +3 -2
- package/dist/collection/components/md-tab-panels/md-tab-panels.js.map +1 -1
- package/dist/collection/components/md-tabs/md-tabs.js +4 -3
- package/dist/collection/components/md-tabs/md-tabs.js.map +1 -1
- package/dist/collection/components/md-text-field/md-text-field.js +9 -8
- package/dist/collection/components/md-text-field/md-text-field.js.map +1 -1
- package/dist/collection/components/md-time-picker/md-time-picker.js +3 -3
- package/dist/collection/components/md-time-picker/md-time-picker.js.map +1 -1
- package/dist/collection/components/md-tooltip/md-tooltip.js +3 -2
- package/dist/collection/components/md-tooltip/md-tooltip.js.map +1 -1
- package/dist/collection/utils/charts/engine/color.js +1 -1
- package/dist/collection/utils/charts/engine/color.js.map +1 -1
- package/dist/collection/utils/id.js +15 -0
- package/dist/collection/utils/id.js.map +1 -0
- package/dist/components/md-area-chart.js +1 -1
- package/dist/components/md-autocomplete.js +1 -1
- package/dist/components/md-bar-chart.js +1 -1
- package/dist/components/md-bottom-sheet.js +1 -1
- package/dist/components/md-bottom-sheet.js.map +1 -1
- package/dist/components/md-checkbox.js +1 -1
- package/dist/components/md-color-picker.js +1 -1
- package/dist/components/md-color-picker.js.map +1 -1
- package/dist/components/md-date-picker.js +1 -1
- package/dist/components/md-dialog.js +1 -1
- package/dist/components/md-dialog.js.map +1 -1
- package/dist/components/md-line-chart.js +1 -1
- package/dist/components/md-list-item.js +1 -1
- package/dist/components/md-multi-select.js +1 -1
- package/dist/components/md-navigation-rail-tab.js +1 -1
- package/dist/components/md-navigation-rail-tab.js.map +1 -1
- package/dist/components/md-navigation-rail.js +1 -1
- package/dist/components/md-navigation-rail.js.map +1 -1
- package/dist/components/md-number-field.js +1 -1
- package/dist/components/md-organization-chart.js +1 -1
- package/dist/components/md-otp-field.js +1 -1
- package/dist/components/md-otp-field.js.map +1 -1
- package/dist/components/md-pie-chart.js +1 -1
- package/dist/components/md-radio.js +1 -1
- package/dist/components/md-radio.js.map +1 -1
- package/dist/components/md-select.js +1 -1
- package/dist/components/md-side-sheet.js +1 -1
- package/dist/components/md-side-sheet.js.map +1 -1
- package/dist/components/md-sparkline.js +1 -1
- package/dist/components/md-switch.js +1 -1
- package/dist/components/md-switch.js.map +1 -1
- package/dist/components/md-tab-panels.js +1 -1
- package/dist/components/md-tab-panels.js.map +1 -1
- package/dist/components/md-table-pagination.js +1 -1
- package/dist/components/md-tabs.js +1 -1
- package/dist/components/md-tabs.js.map +1 -1
- package/dist/components/md-text-field.js +1 -1
- package/dist/components/md-time-picker.js +1 -1
- package/dist/components/md-time-picker.js.map +1 -1
- package/dist/components/md-tooltip.js +1 -1
- package/dist/components/md-transfer-list.js +1 -1
- package/dist/components/{p-gvwcgwKe.js → p-BMKTaRiv.js} +2 -2
- package/dist/components/{p-LjoAJJQR.js → p-BnzVj-uY.js} +2 -2
- package/dist/components/{p-B9Nqbpjt.js → p-CDYr1xVr.js} +2 -2
- package/dist/components/{p-Bt29agtr.js → p-CO3L7Bki.js} +2 -2
- package/dist/components/p-CZfrvIOV.js +2 -0
- package/dist/components/p-CZfrvIOV.js.map +1 -0
- package/dist/components/p-DJLHsp6c.js +2 -0
- package/dist/components/{p-DDR-x268.js.map → p-DJLHsp6c.js.map} +1 -1
- package/dist/components/p-DRBO2_C1.js +2 -0
- package/dist/components/p-DRBO2_C1.js.map +1 -0
- package/dist/components/{p-CgPh8hKp.js → p-DnjAYLoh.js} +2 -2
- package/dist/components/p-DuRj_2H2.js +2 -0
- package/dist/components/p-DuRj_2H2.js.map +1 -0
- package/dist/components/p-mwCGMdmr.js +2 -0
- package/dist/components/p-mwCGMdmr.js.map +1 -0
- package/dist/components-csr/md-area-chart.js +1 -1
- package/dist/components-csr/md-autocomplete.js +1 -1
- package/dist/components-csr/md-bar-chart.js +1 -1
- package/dist/components-csr/md-bar-chart.js.map +1 -1
- package/dist/components-csr/md-bottom-sheet.js +1 -1
- package/dist/components-csr/md-bottom-sheet.js.map +1 -1
- package/dist/components-csr/md-checkbox.js +1 -1
- package/dist/components-csr/md-color-picker.js +1 -1
- package/dist/components-csr/md-color-picker.js.map +1 -1
- package/dist/components-csr/md-date-picker.js +1 -1
- package/dist/components-csr/md-dialog.js +1 -1
- package/dist/components-csr/md-dialog.js.map +1 -1
- package/dist/components-csr/md-line-chart.js +1 -1
- package/dist/components-csr/md-list-item.js +1 -1
- package/dist/components-csr/md-multi-select.js +1 -1
- package/dist/components-csr/md-navigation-rail-tab.js +1 -1
- package/dist/components-csr/md-navigation-rail-tab.js.map +1 -1
- package/dist/components-csr/md-navigation-rail.js +1 -1
- package/dist/components-csr/md-navigation-rail.js.map +1 -1
- package/dist/components-csr/md-number-field.js +1 -1
- package/dist/components-csr/md-organization-chart.js +1 -1
- package/dist/components-csr/md-otp-field.js +1 -1
- package/dist/components-csr/md-otp-field.js.map +1 -1
- package/dist/components-csr/md-pie-chart.js +1 -1
- package/dist/components-csr/md-radio.js +1 -1
- package/dist/components-csr/md-radio.js.map +1 -1
- package/dist/components-csr/md-select.js +1 -1
- package/dist/components-csr/md-side-sheet.js +1 -1
- package/dist/components-csr/md-side-sheet.js.map +1 -1
- package/dist/components-csr/md-sparkline.js +1 -1
- package/dist/components-csr/md-switch.js +1 -1
- package/dist/components-csr/md-switch.js.map +1 -1
- package/dist/components-csr/md-tab-panels.js +1 -1
- package/dist/components-csr/md-tab-panels.js.map +1 -1
- package/dist/components-csr/md-table-pagination.js +1 -1
- package/dist/components-csr/md-tabs.js +1 -1
- package/dist/components-csr/md-tabs.js.map +1 -1
- package/dist/components-csr/md-text-field.js +1 -1
- package/dist/components-csr/md-time-picker.js +1 -1
- package/dist/components-csr/md-time-picker.js.map +1 -1
- package/dist/components-csr/md-tooltip.js +1 -1
- package/dist/components-csr/md-transfer-list.js +1 -1
- package/dist/components-csr/{p-gvwcgwKe.js → p-BMKTaRiv.js} +2 -2
- package/dist/components-csr/p-BONcO8ij.js +2 -0
- package/dist/components-csr/p-BONcO8ij.js.map +1 -0
- package/dist/components-csr/{p-CNZ_UxvV.js → p-BjTPISfB.js} +2 -2
- package/dist/components-csr/{p-LjoAJJQR.js → p-BnzVj-uY.js} +2 -2
- package/dist/components-csr/p-C5f-Bp-B.js +2 -0
- package/dist/components-csr/p-C5f-Bp-B.js.map +1 -0
- package/dist/components-csr/{p-Bt29agtr.js → p-CO3L7Bki.js} +2 -2
- package/dist/components-csr/p-DJLHsp6c.js +2 -0
- package/dist/components-csr/{p-DDR-x268.js.map → p-DJLHsp6c.js.map} +1 -1
- package/dist/components-csr/p-DfW4VWXn.js +2 -0
- package/dist/components-csr/p-DfW4VWXn.js.map +1 -0
- package/dist/components-csr/{p-CgPh8hKp.js → p-DnjAYLoh.js} +2 -2
- package/dist/components-csr/p-mwCGMdmr.js +2 -0
- package/dist/components-csr/p-mwCGMdmr.js.map +1 -0
- package/dist/esm/{a11y-BY0m_7q-.js → a11y-MZ_Jd9Qh.js} +3 -3
- package/dist/esm/{a11y-BY0m_7q-.js.map → a11y-MZ_Jd9Qh.js.map} +1 -1
- package/dist/esm/{bar-chart-AoSxFydO.js → bar-chart-qeJoD5XG.js} +4 -4
- package/dist/esm/{bar-chart-AoSxFydO.js.map → bar-chart-qeJoD5XG.js.map} +1 -1
- package/dist/esm/{chart-Vh60PbK_.js → chart-nxmUffz8.js} +4 -4
- package/dist/esm/{chart-Vh60PbK_.js.map → chart-nxmUffz8.js.map} +1 -1
- package/dist/esm/{hit-test-DXAx7dtr.js → hit-test-CGPhVlVa.js} +3 -3
- package/dist/esm/{hit-test-DXAx7dtr.js.map → hit-test-CGPhVlVa.js.map} +1 -1
- package/dist/esm/id-mwCGMdmr.js +19 -0
- package/dist/esm/id-mwCGMdmr.js.map +1 -0
- package/dist/esm/md-area-chart.entry.js +4 -4
- package/dist/esm/md-avatar_2.entry.js +3 -2
- package/dist/esm/md-avatar_2.entry.js.map +1 -1
- package/dist/esm/md-bar-chart.entry.js +4 -4
- package/dist/esm/md-bottom-sheet.entry.js +6 -7
- package/dist/esm/md-bottom-sheet.entry.js.map +1 -1
- package/dist/esm/md-button_6.entry.js +4 -3
- package/dist/esm/md-button_6.entry.js.map +1 -1
- package/dist/esm/md-checkbox.entry.js +4 -3
- package/dist/esm/md-checkbox.entry.js.map +1 -1
- package/dist/esm/md-color-picker.entry.js +2 -2
- package/dist/esm/md-color-picker.entry.js.map +1 -1
- package/dist/esm/md-dialog.entry.js +5 -4
- package/dist/esm/md-dialog.entry.js.map +1 -1
- package/dist/esm/md-line-chart.entry.js +4 -4
- package/dist/esm/md-navigation-rail-tab.entry.js +3 -2
- package/dist/esm/md-navigation-rail-tab.entry.js.map +1 -1
- package/dist/esm/md-navigation-rail.entry.js +4 -3
- package/dist/esm/md-navigation-rail.entry.js.map +1 -1
- package/dist/esm/md-otp-field.entry.js +5 -4
- package/dist/esm/md-otp-field.entry.js.map +1 -1
- package/dist/esm/md-pie-chart.entry.js +2 -2
- package/dist/esm/md-side-sheet.entry.js +5 -4
- package/dist/esm/md-side-sheet.entry.js.map +1 -1
- package/dist/esm/md-sparkline.entry.js +4 -4
- package/dist/esm/md-switch.entry.js +4 -3
- package/dist/esm/md-switch.entry.js.map +1 -1
- package/dist/esm/md-tab-panels.entry.js +3 -2
- package/dist/esm/md-tab-panels.entry.js.map +1 -1
- package/dist/esm/md-tabs.entry.js +4 -3
- package/dist/esm/md-tabs.entry.js.map +1 -1
- package/dist/esm/md-text-field.entry.js +9 -8
- package/dist/esm/md-text-field.entry.js.map +1 -1
- package/dist/esm/md-time-picker.entry.js +3 -3
- package/dist/esm/md-time-picker.entry.js.map +1 -1
- package/dist/esm/{rtl-uZRvZT4w.js → rtl-BlY3kGkC.js} +3 -3
- package/dist/esm/{rtl-uZRvZT4w.js.map → rtl-BlY3kGkC.js.map} +1 -1
- package/dist/md3/md3.esm.js +1 -1
- package/dist/md3/p-02861409.entry.js +2 -0
- package/dist/md3/p-02861409.entry.js.map +1 -0
- package/dist/md3/p-12ad9af5.entry.js +2 -0
- package/dist/md3/p-12ad9af5.entry.js.map +1 -0
- package/dist/md3/p-157487b5.entry.js +2 -0
- package/dist/md3/p-157487b5.entry.js.map +1 -0
- package/dist/md3/p-2c73fdfd.entry.js +2 -0
- package/dist/md3/p-2c73fdfd.entry.js.map +1 -0
- package/dist/md3/p-348d2276.entry.js +2 -0
- package/dist/md3/p-348d2276.entry.js.map +1 -0
- package/dist/md3/p-356d9106.entry.js +2 -0
- package/dist/md3/p-356d9106.entry.js.map +1 -0
- package/dist/md3/p-43e01823.entry.js +2 -0
- package/dist/md3/p-43e01823.entry.js.map +1 -0
- package/dist/md3/p-43eb2f64.entry.js +2 -0
- package/dist/md3/p-43eb2f64.entry.js.map +1 -0
- package/dist/md3/p-4846e791.entry.js +2 -0
- package/dist/md3/p-4846e791.entry.js.map +1 -0
- package/dist/md3/{p-d75378a4.entry.js → p-48ffbe07.entry.js} +2 -2
- package/dist/md3/p-75c83c45.entry.js +2 -0
- package/dist/md3/p-75c83c45.entry.js.map +1 -0
- package/dist/md3/{p-a935c9d9.entry.js → p-761ad020.entry.js} +2 -2
- package/dist/md3/p-92cb9a66.entry.js +2 -0
- package/dist/md3/p-92cb9a66.entry.js.map +1 -0
- package/dist/md3/{p-83ff8c55.entry.js → p-9490a60e.entry.js} +2 -2
- package/dist/md3/p-9dd5a298.entry.js +2 -0
- package/dist/md3/p-9dd5a298.entry.js.map +1 -0
- package/dist/md3/p-Bi_jvoYB.js +2 -0
- package/dist/md3/{p-B5avc5rk.js.map → p-Bi_jvoYB.js.map} +1 -1
- package/dist/md3/p-BlY3kGkC.js +2 -0
- package/dist/md3/{p-uZRvZT4w.js.map → p-BlY3kGkC.js.map} +1 -1
- package/dist/md3/{p-C2NkFxq6.js → p-CPDT9bo8.js} +2 -2
- package/dist/md3/{p-C2NkFxq6.js.map → p-CPDT9bo8.js.map} +1 -1
- package/dist/md3/{p-HupQdS6t.js → p-D73I-I3Y.js} +2 -2
- package/dist/md3/{p-HupQdS6t.js.map → p-D73I-I3Y.js.map} +1 -1
- package/dist/md3/{p-BHU42QEq.js → p-DxYEnQN_.js} +2 -2
- package/dist/md3/{p-BHU42QEq.js.map → p-DxYEnQN_.js.map} +1 -1
- package/dist/md3/p-d5f4acee.entry.js +2 -0
- package/dist/md3/p-d5f4acee.entry.js.map +1 -0
- package/dist/md3/p-df399883.entry.js +2 -0
- package/dist/md3/p-df399883.entry.js.map +1 -0
- package/dist/md3/p-e9f3d01c.entry.js +2 -0
- package/dist/md3/p-e9f3d01c.entry.js.map +1 -0
- package/dist/md3/{p-4c610916.entry.js → p-f2a38bc5.entry.js} +2 -2
- package/dist/md3/{p-b21f0112.entry.js → p-fc94bc80.entry.js} +2 -2
- package/dist/md3/p-mwCGMdmr.js +2 -0
- package/dist/md3/p-mwCGMdmr.js.map +1 -0
- package/dist/sources/{1c65f6be7cebba6e01351c392297ba5cc30090a83548e3ec490a43843fccdb0d → 00cdfb3a94ee1f3eebec93b2c2e3efc959ea51a8c8c741bfefd127a0c743be0c}/md-time-picker.tsx +2 -2
- package/dist/sources/{4c675f0caaf379b694c4cdd7ca351ed7147e5219b7a64f62db4f2f45f8527c0f → 02593e05aa5c543017beb14ad39be4db2e4720a8d828dd1ee02ac815d78cd9b8}/md-radio.tsx +2 -1
- package/dist/sources/{b3d606320b653bcbde553e6d61569edd0fc6cbdb1cb179f4d36ad796e76b133c → 07048edbff6b2929b7bb5bada65b0d10c18130a84fd47ba9e3ff631119b508f9}/md-navigation-rail-tab.tsx +2 -1
- package/dist/sources/{e9ae836c40eea6db02a3598215af809993ad89acafeb874a064e7bdeaf79c242 → 1d870ca11c863eb8152d212c834678828ee78947a642f2fc9b78d72ec50e82b0}/md-otp-field.tsx +2 -1
- package/dist/sources/50f3027997a647cfc4bff52f59eab57bfa79b349bf5398484d1270d2ca84432e/id.ts +16 -0
- package/dist/sources/{ae95ff3e224eaf96970ab353591faf7e15467d2c54ddbbfa1b8896e22c55d389 → 5d29413a48bee87e589d3d70af7f6e331c7f0ab065f0535f861d3854f6849555}/md-bottom-sheet.tsx +2 -3
- package/dist/sources/{402f5a2492107abfa1fcb92162d5c73f149c6ca89411288cbc436f117daffbd3 → 73fb3ad02d0cbb8147d665699e2f2d4ef1f08fd4a6762a4310b732dca897a71a}/md-tooltip.tsx +2 -1
- package/dist/sources/{dfff86d088c1ff15d867fd9d2bb2551d3553ba4237806aeb3725de3be6aaa006 → 7c9338f359081efc62c0a64697a266bd9e7210cffbe51c0627ffda6db80c2358}/md-text-field.tsx +2 -1
- package/dist/sources/{79a4a375fda3e8a596d4e62110a9eace64593d8e72063d5fe04e34b4eba47f38 → 80020e60521850b557c1976bc838dca458a203cfae309e5c4b6ef25d2f96d784}/md-tab-panels.tsx +2 -1
- package/dist/sources/{12e68b45d1474ba21c1e199d024e405583a9c4b734aba0a35fae8dc5ee673429 → 80a5162cdeebd7f2729a943e9c9f3a32678c86c5b0ee75b8bb39d1f5d54007b6}/md-checkbox.tsx +2 -1
- package/dist/sources/{5f9406175f71cdc0cdb61713fb3a98544de58ebe450f3e0afc9799212b3e506a → 8a93102305bd5b1c419522473dd7d93b3a2f263f02144949353fd2c285688cd1}/color.ts +1 -1
- package/dist/sources/{65736d26ce598e886bffbbd09e7f8aa312efd75fdc8228d9e622b845f23ed985 → 91eb4f5d0803f25b9eb10e7358f99d2cb4e79ece6c1f186f7c9d7c4c35ee724d}/md-switch.tsx +2 -1
- package/dist/sources/{bac1e6c3f412a4b2ac3f7a17c310893494b2da91d660291a8efca51b7891fc4b → 938daeb41a180127214dabe713c4cf427fb33893ef1c138f0940528d982d5d8e}/md-dialog.tsx +3 -2
- package/dist/sources/{1d2144637d607fb9d0996be31e6bcb40c69c0408107e62e3579445025db8d423 → a54f6d4fbabe6cd425c526b2c3721e696fbd5cf270d8d201aac66b8c40be897d}/md-tabs.tsx +2 -1
- package/dist/sources/{b9a1e9c1101331d3cf36b88cb75e12a701d74f1e058849c74c883a0d3b134f58 → a9270896d6cce920b328291a0b45937e3c2eb96dc69b314c5295bd8aee1abdd4}/md-side-sheet.tsx +2 -1
- package/dist/sources/{0ff3480d9a3ad4d643358cd2d23546b2045fcacf8afbea2e0280ca4d1d7c2d09 → e0929b8e7a1d74ad87f89c6653c3156ca64678c21c000222407bf1fe60bab9f0}/md-navigation-rail.tsx +2 -1
- package/dist/sources/{a1ffc8361a60263979c4b8d18a5f6bbf14c32551b3880695514304debcdc90e3 → e1b24b5bed5b2be4234763edeab8754631b6d654630bb244e28f6bf07a6bdcb8}/md-color-picker.tsx +2 -2
- package/dist/types/components/md-time-picker/md-time-picker.d.ts +0 -1
- package/dist/types/utils/id.d.ts +6 -0
- package/hydrate/index.js +65 -54
- package/hydrate/index.mjs +65 -54
- package/main-llm.md +8 -8
- package/package.json +3 -3
- package/dist/components/p-BIi84oDg.js +0 -2
- package/dist/components/p-BIi84oDg.js.map +0 -1
- package/dist/components/p-CHfVUlvI.js +0 -2
- package/dist/components/p-CHfVUlvI.js.map +0 -1
- package/dist/components/p-CPjaB7Lv.js +0 -2
- package/dist/components/p-CPjaB7Lv.js.map +0 -1
- package/dist/components/p-DDR-x268.js +0 -2
- package/dist/components-csr/p-B3gZAg_4.js +0 -2
- package/dist/components-csr/p-B3gZAg_4.js.map +0 -1
- package/dist/components-csr/p-BleC9P8P.js +0 -2
- package/dist/components-csr/p-BleC9P8P.js.map +0 -1
- package/dist/components-csr/p-DC2ZvxAb.js +0 -2
- package/dist/components-csr/p-DC2ZvxAb.js.map +0 -1
- package/dist/components-csr/p-DDR-x268.js +0 -2
- package/dist/md3/p-012b6609.entry.js +0 -2
- package/dist/md3/p-012b6609.entry.js.map +0 -1
- package/dist/md3/p-0a8c367d.entry.js +0 -2
- package/dist/md3/p-0a8c367d.entry.js.map +0 -1
- package/dist/md3/p-0f05a59b.entry.js +0 -2
- package/dist/md3/p-0f05a59b.entry.js.map +0 -1
- package/dist/md3/p-278a039e.entry.js +0 -2
- package/dist/md3/p-278a039e.entry.js.map +0 -1
- package/dist/md3/p-2a5bf77b.entry.js +0 -2
- package/dist/md3/p-2a5bf77b.entry.js.map +0 -1
- package/dist/md3/p-2f30cb74.entry.js +0 -2
- package/dist/md3/p-2f30cb74.entry.js.map +0 -1
- package/dist/md3/p-3c11072b.entry.js +0 -2
- package/dist/md3/p-3c11072b.entry.js.map +0 -1
- package/dist/md3/p-3d7283b1.entry.js +0 -2
- package/dist/md3/p-3d7283b1.entry.js.map +0 -1
- package/dist/md3/p-6950bf56.entry.js +0 -2
- package/dist/md3/p-6950bf56.entry.js.map +0 -1
- package/dist/md3/p-7dcfe441.entry.js +0 -2
- package/dist/md3/p-7dcfe441.entry.js.map +0 -1
- package/dist/md3/p-85c169ac.entry.js +0 -2
- package/dist/md3/p-85c169ac.entry.js.map +0 -1
- package/dist/md3/p-90bb186b.entry.js +0 -2
- package/dist/md3/p-90bb186b.entry.js.map +0 -1
- package/dist/md3/p-91ed88af.entry.js +0 -2
- package/dist/md3/p-91ed88af.entry.js.map +0 -1
- package/dist/md3/p-B5avc5rk.js +0 -2
- package/dist/md3/p-a50ed612.entry.js +0 -2
- package/dist/md3/p-a50ed612.entry.js.map +0 -1
- package/dist/md3/p-a985fe73.entry.js +0 -2
- package/dist/md3/p-a985fe73.entry.js.map +0 -1
- package/dist/md3/p-uZRvZT4w.js +0 -2
- /package/dist/components/{p-gvwcgwKe.js.map → p-BMKTaRiv.js.map} +0 -0
- /package/dist/components/{p-LjoAJJQR.js.map → p-BnzVj-uY.js.map} +0 -0
- /package/dist/components/{p-B9Nqbpjt.js.map → p-CDYr1xVr.js.map} +0 -0
- /package/dist/components/{p-Bt29agtr.js.map → p-CO3L7Bki.js.map} +0 -0
- /package/dist/components/{p-CgPh8hKp.js.map → p-DnjAYLoh.js.map} +0 -0
- /package/dist/components-csr/{p-gvwcgwKe.js.map → p-BMKTaRiv.js.map} +0 -0
- /package/dist/components-csr/{p-CNZ_UxvV.js.map → p-BjTPISfB.js.map} +0 -0
- /package/dist/components-csr/{p-LjoAJJQR.js.map → p-BnzVj-uY.js.map} +0 -0
- /package/dist/components-csr/{p-Bt29agtr.js.map → p-CO3L7Bki.js.map} +0 -0
- /package/dist/components-csr/{p-CgPh8hKp.js.map → p-DnjAYLoh.js.map} +0 -0
- /package/dist/md3/{p-d75378a4.entry.js.map → p-48ffbe07.entry.js.map} +0 -0
- /package/dist/md3/{p-a935c9d9.entry.js.map → p-761ad020.entry.js.map} +0 -0
- /package/dist/md3/{p-83ff8c55.entry.js.map → p-9490a60e.entry.js.map} +0 -0
- /package/dist/md3/{p-4c610916.entry.js.map → p-f2a38bc5.entry.js.map} +0 -0
- /package/dist/md3/{p-b21f0112.entry.js.map → p-fc94bc80.entry.js.map} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as t,H as e,c as i,h as s,d,t as o}from"./p-B7GMP_JD.js";import{I as l,b as r,g as a,w as n,d as c}from"./p-EuzGe8T6.js";const h=()=>`:host{--_container-color:var(--md-text-field-container-color, var(--md-sys-color-surface-container-highest, #E6E0E9));--_input-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1C1B1F));--_label-color:var(--md-text-field-label-color, var(--md-sys-color-on-surface-variant, #49454F));--_active-indicator-color:var(--md-text-field-active-indicator-color, var(--md-sys-color-primary, #6750A4));--_outline-color:var(--md-text-field-outline-color, var(--md-sys-color-outline, #79747E));--_error-color:var(--md-text-field-error-color, var(--md-sys-color-error, #B3261E));--_supporting-text-color:var(--md-text-field-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454F));--_icon-color:var(--md-text-field-icon-color, var(--md-sys-color-on-surface-variant, #49454F));--_text-inset:calc(var(--md-sys-spacing-inset-lg, 16px) + 7px);--_icon-size:var(--md-text-field-icon-size, max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px)));--_container-shape:var(--md-text-field-container-shape, var(--md-sys-shape-corner-extra-small, 4px));--_filled-pill:var(--md-text-field-filled-pill, 0);--_filled-block-end-radius:calc(var(--_filled-pill) * var(--_container-shape));display:flex;flex-direction:column;position:relative;font-family:var(--md-sys-typescale-body-large-font-family, Roboto, sans-serif);width:100%;box-sizing:border-box}.md-text-field__container{position:relative;display:flex;align-items:stretch;min-height:calc(56px + var(--md-sys-density-scale, 0) * 4px);cursor:var(--md-text-field-cursor, text);box-sizing:border-box}:host(.md-text-field--filled) .md-text-field__container{background-color:var(--_container-color);border-start-start-radius:var(--_container-shape);border-start-end-radius:var(--_container-shape);border-end-start-radius:var(--_filled-block-end-radius);border-end-end-radius:var(--_filled-block-end-radius);padding-block:max(2px, calc(8px + var(--md-sys-density-scale, 0) * 0.5px));padding-inline-start:var(--md-text-field-padding-inline-start, var(--_text-inset));padding-inline-end:var(--md-text-field-padding-inline-end, var(--_text-inset));transition:background-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}:host(.md-text-field--filled.md-text-field--focused) .md-text-field__container{background-color:var(--_container-color)}:host(.md-text-field--outlined) .md-text-field__container{background-color:transparent;border-radius:var(--_container-shape);padding-block:max(2px, calc(8px + var(--md-sys-density-scale, 0) * 1px));padding-inline-start:var(--md-text-field-padding-inline-start, var(--_text-inset));padding-inline-end:var(--md-text-field-padding-inline-end, var(--_text-inset))}:host(.md-text-field--outlined) .md-text-field__input{position:relative;inset-block-start:var(--md-text-field-optical-nudge, 0px)}:host(.md-text-field--clearable) .md-text-field__input::-webkit-search-cancel-button,:host(.md-text-field--clearable) .md-text-field__input::-webkit-search-decoration{display:none}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}.md-text-field__state-layer{position:absolute;inset:0;border-radius:inherit;background-color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}:host(.md-text-field--filled:hover:not(.md-text-field--disabled)) .md-text-field__state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}:host(.md-text-field--outlined) .md-text-field__state-layer{display:none}.md-text-field__input-wrap{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;padding:0}:host(.md-text-field--filled) .md-text-field__input-wrap{justify-content:flex-end}:host(.md-text-field--filled.md-text-field--without-label:not(.md-text-field--multiline)) .md-text-field__input-wrap{justify-content:center}.md-text-field__input-row{display:flex;align-items:center}.md-text-field__chips{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:4px;min-inline-size:0;overflow:hidden}:host(.md-text-field--with-chips:not([chips-wrap])) .md-text-field__chips{flex:1 1 auto}:host(.md-text-field--with-chips) .md-text-field__input-row{flex-wrap:nowrap;gap:4px;min-inline-size:0}:host(.md-text-field--with-chips:not([chips-wrap])) .md-text-field__input{flex:0 1 0;min-inline-size:0}:host(.md-text-field--with-chips) .md-text-field__input{flex:1 0 40px;min-inline-size:40px}:host(.md-text-field--with-chips[chips-wrap]) .md-text-field__input-row{flex-wrap:wrap;row-gap:6px}:host([chips-wrap]) .md-text-field__chips{flex-wrap:wrap;overflow:visible}.md-text-field__input{flex:1;border:none;outline:none;background:transparent;font-family:inherit;font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));font-weight:var(--md-sys-typescale-body-large-weight, 400);letter-spacing:var(--md-sys-typescale-body-large-tracking, 0.5px);color:var(--_input-color);caret-color:var(--_active-indicator-color);cursor:var(--md-text-field-cursor, text);padding:0;margin:0;min-width:0;width:100%}.md-text-field__input::placeholder{color:var(--_label-color)}:host(.md-text-field--error) .md-text-field__input{caret-color:var(--_error-color)}.md-text-field__input--textarea{resize:none;overflow-wrap:break-word}.md-text-field__input--auto-grow{overflow:hidden}.md-text-field__input--fixed{overflow-y:auto}:host(.md-text-field--multiline) .md-text-field__container{align-items:flex-start;min-height:auto}:host(.md-text-field--multiline) .md-text-field__input-wrap{justify-content:flex-start}:host(.md-text-field--multiline.md-text-field--filled) .md-text-field__input-wrap{justify-content:flex-start;padding-block-start:20px}:host(.md-text-field--multiline) .md-text-field__input-row{align-items:flex-start}:host(.md-text-field--filled.md-text-field--floating.md-text-field--with-chips:not(.md-text-field--without-label)) .md-text-field__input-wrap{padding-block-start:max(12px, calc(16px + var(--md-sys-density-scale, 0) * 1px))}:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__icon,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__trailing-icon-button,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__clear,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__password-toggle,:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__speech{align-self:flex-start;margin-block-start:16px}:host(.md-text-field--auto-grow) .md-text-field__icon,:host(.md-text-field--auto-grow) .md-text-field__trailing-icon-button,:host(.md-text-field--auto-grow) .md-text-field__clear,:host(.md-text-field--auto-grow) .md-text-field__password-toggle,:host(.md-text-field--auto-grow) .md-text-field__speech{align-self:center}.md-text-field__label{position:absolute;inset-inline-start:0;font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));color:var(--_label-color);pointer-events:none;transition:top var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), inset-inline-start var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), font-size var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), line-height var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), background-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), color var(--md-sys-motion-duration-short2, 100ms) ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}:host(.md-text-field--filled) .md-text-field__label{top:50%;transform:translateY(-50%)}:host(.md-text-field--multiline:not(.md-text-field--floating)) .md-text-field__label{top:28px}:host(.md-text-field--multiline.md-text-field--outlined:not(.md-text-field--floating)) .md-text-field__label{top:12px;}:host(.md-text-field--multiline.md-text-field--filled:not(.md-text-field--floating)) .md-text-field__label{top:32px;}:host(.md-text-field--filled.md-text-field--floating) .md-text-field__label{top:0;transform:translateY(0);font-size:max(11px, calc(var(--md-sys-typescale-body-small-size, 12px) + var(--md-sys-density-scale, 0) * 0.25px));line-height:max(12px, calc(var(--md-sys-typescale-body-small-line-height, 16px) + var(--md-sys-density-scale, 0) * 1px))}:host(.md-text-field--outlined) .md-text-field__label{top:50%;transform:translateY(-50%);background-color:transparent;padding:0}:host(.md-text-field--outlined.md-text-field--floating) .md-text-field__label{top:calc(-8px - var(--md-sys-density-scale, 0) * 1px);inset-inline-start:0;transform:translateY(-50%);font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(12px, calc(16px + var(--md-sys-density-scale, 0) * 1px));background-color:transparent;padding:0}:host([density='-1'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-2'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-3'].md-text-field--filled.md-text-field--floating) .md-text-field__label,:host([density='-4'].md-text-field--filled.md-text-field--floating) .md-text-field__label{font-size:11px;line-height:12px;top:1px}:host([density='-2'].md-text-field--filled.md-text-field--floating) .md-text-field__label{top:-2px;}:host([density='-3'].md-text-field--outlined.md-text-field--floating) .md-text-field__label,:host([density='-4'].md-text-field--outlined.md-text-field--floating) .md-text-field__label{top:-4px}:host(.md-text-field--filled) .md-text-field__input{line-height:max(16px, calc(24px + var(--md-sys-density-scale, 0) * 2px))}:host(.md-text-field--outlined.md-text-field--floating.md-text-field--with-leading) .md-text-field__label{inset-inline-start:calc(-1 * (var(--_icon-size) + var(--md-sys-spacing-gap-lg, 16px)))}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__label{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label{color:var(--md-sys-color-on-error-container, #8C1D18)}:host(.md-text-field--focused) .md-text-field__label{color:var(--_active-indicator-color)}:host(.md-text-field--error) .md-text-field__label{color:var(--_error-color)}.md-text-field__prefix,.md-text-field__suffix{font-size:max(13px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(18px, calc(24px + var(--md-sys-density-scale, 0) * 1px));color:var(--_supporting-text-color);white-space:nowrap;user-select:none;transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__prefix{margin-inline-end:2px}.md-text-field__suffix{margin-inline-start:2px}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__prefix,:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__suffix{color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__icon{display:flex;align-items:center;justify-content:center;font-size:var(--_icon-size);color:var(--_icon-color);flex-shrink:0;align-self:center;user-select:none;transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__icon ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__icon--leading{margin-inline-end:var(--md-sys-spacing-gap-lg, 16px)}.md-text-field__icon--trailing{margin-inline-start:0}.md-text-field__trailing-icon-button{display:flex;align-items:center;flex-shrink:0;align-self:center;margin-inline-start:0}.md-text-field__error-icon+.md-text-field__trailing-icon-button{margin-inline-start:4px}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled)) .md-text-field__icon--leading{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__icon--trailing{color:var(--md-sys-color-on-surface, #1C1B1F)}:host(.md-text-field--error) .md-text-field__icon--trailing{color:var(--_error-color)}:host(.md-text-field--error) .md-text-field__icon--trailing ::slotted(*){color:inherit}.md-text-field__clear{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease, opacity var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__clear ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__clear:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__clear:focus-visible,.md-text-field__password-toggle:focus-visible,.md-text-field__speech:focus-visible{outline:2px solid var(--md-sys-color-secondary, #625B71);outline-offset:-6px}.md-text-field__clear--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__clear:not(:disabled){color:var(--_error-color)}.md-text-field__password-toggle{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__password-toggle ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__password-toggle:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__password-toggle--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__password-toggle:not(:disabled){color:var(--_error-color)}.md-text-field__speech{display:flex;align-items:center;justify-content:center;align-self:center;border:none;background:none;padding:0;margin:0;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);cursor:pointer;border-radius:50%;width:var(--_icon-size);height:var(--_icon-size);flex-shrink:0;color:var(--_icon-color);transition:color var(--md-sys-motion-duration-short2, 100ms) ease}.md-text-field__speech ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}.md-text-field__speech:hover:not(:disabled){color:var(--md-sys-color-on-surface, #1C1B1F)}.md-text-field__speech--listening{color:var(--_error-color);animation:md-speech-pulse 1.2s ease-in-out infinite}.md-text-field__speech--disabled{color:var(--md-sys-color-on-surface, #1C1B1F);opacity:0.38;cursor:default;pointer-events:none}:host(.md-text-field--error) .md-text-field__speech:not(:disabled):not(.md-text-field__speech--listening){color:var(--_error-color)}@keyframes md-speech-pulse{0%,100%{opacity:1}50%{opacity:0.4}}.md-text-field__error-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;align-self:center;width:var(--_icon-size);height:var(--_icon-size);font-size:var(--_icon-size);line-height:1;margin-inline-start:var(--md-sys-spacing-gap-lg, 16px);color:var(--_error-color)}.md-text-field__error-icon ::slotted(*){font-size:var(--_icon-size) !important;width:var(--_icon-size);height:var(--_icon-size);color:inherit}:host(.md-text-field--multiline:not(.md-text-field--auto-grow)) .md-text-field__error-icon{align-self:flex-start;margin-block-start:16px}:host(.md-text-field--auto-grow) .md-text-field__error-icon{align-self:center}.md-text-field__indicator{position:absolute;inset-block-end:0;inset-inline:0;height:1px;background-color:var(--md-sys-color-on-surface-variant, #49454F);opacity:calc(1 - var(--_filled-pill));transition:height var(--md-sys-motion-duration-short2, 100ms) ease, background-color var(--md-sys-motion-duration-short2, 100ms) ease, opacity var(--md-sys-motion-duration-short2, 100ms) ease}:host(.md-text-field--focused) .md-text-field__indicator{height:var(--md-text-field-focus-border-width, 3px);background-color:var(--_active-indicator-color);transition:height var(--md-sys-motion-duration-short2, 100ms) ease}:host(.md-text-field--error) .md-text-field__indicator{background-color:var(--_error-color)}:host(.md-text-field--error.md-text-field--focused) .md-text-field__indicator{height:var(--md-text-field-focus-border-width, 3px);background-color:var(--_error-color);transition:height var(--md-sys-motion-duration-short2, 100ms) ease;}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__indicator{height:1px;background-color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__indicator{height:1px;background-color:var(--md-sys-color-on-error-container, #8C1D18)}.md-text-field__fieldset{position:absolute;inset:0;margin:0;max-inline-size:100%;min-inline-size:0;overflow:hidden;padding-inline-start:calc( var(--md-text-field-padding-inline-start, var(--_text-inset)) - 1px - var(--_legend-inline-padding, 4px) );padding-inline-end:calc( var(--md-text-field-padding-inline-end, var(--_text-inset)) - 1px - var(--_legend-inline-padding, 4px) );padding-block:0;border:1px solid var(--_outline-color);border-radius:var(--_container-shape);pointer-events:none;transition:border-color var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}:host(.md-text-field--focused) .md-text-field__fieldset{border-color:var(--_active-indicator-color);border-width:var(--md-text-field-focus-border-width, 3px);inset:var(--md-text-field-focus-inset, 0);transition:none}:host(.md-text-field--error) .md-text-field__fieldset{border-color:var(--_error-color)}:host(.md-text-field--error.md-text-field--focused) .md-text-field__fieldset{border-color:var(--_error-color);border-width:var(--md-text-field-focus-border-width, 3px);inset:var(--md-text-field-focus-inset, 0);transition:none;}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__fieldset{border-color:var(--md-sys-color-on-surface, #1C1B1F)}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__fieldset{border-color:var(--md-sys-color-on-error-container, #8C1D18)}.md-text-field__legend{max-inline-size:calc(100% - 16px);overflow:hidden;height:0;padding:0;font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));max-width:0;transition:max-width var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding-inline var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1));white-space:nowrap}.md-text-field__legend--active{max-width:100%;padding-inline:var(--_legend-inline-padding, 4px);transition:max-width var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)), padding-inline var(--md-sys-motion-duration-medium1, 200ms) var(--md-sys-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}.md-text-field__legend span{display:inline-block;padding:0;visibility:hidden}.md-text-field__support-row{display:flex;justify-content:space-between;padding:4px 16px 0;gap:16px}.md-text-field__support-text{font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--_supporting-text-color)}.md-text-field__support-text--error{color:var(--_error-color)}.md-text-field__counter{font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--_supporting-text-color);flex-shrink:0}:host(.md-text-field--disabled) .md-text-field__container{cursor:default;pointer-events:none}:host(.md-text-field--disabled.md-text-field--filled) .md-text-field__container{background-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 4%, transparent)}:host(.md-text-field--disabled) .md-text-field__label{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__input{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__indicator{background-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__fieldset{border-color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 12%, transparent)}:host(.md-text-field--disabled) .md-text-field__icon{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__icon ::slotted(*){color:inherit}:host(.md-text-field--disabled) .md-text-field__support-text,:host(.md-text-field--disabled) .md-text-field__counter{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}:host(.md-text-field--disabled) .md-text-field__prefix,:host(.md-text-field--disabled) .md-text-field__suffix{color:color-mix(in srgb, var(--md-sys-color-on-surface, #1C1B1F) 38%, transparent)}.material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-weight:normal;font-style:normal;font-size:var(--_icon-size);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased}@keyframes md-tf-autofill-start{from{--md-tf-autofill:1}}@keyframes md-tf-autofill-cancel{from{--md-tf-autofill:0}}.md-text-field__input:-webkit-autofill{animation-name:md-tf-autofill-start;box-shadow:0 0 0 1000px var(--_container-color, #E6E1E6) inset;-webkit-text-fill-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1D1B20));caret-color:var(--md-text-field-input-color, var(--md-sys-color-on-surface, #1D1B20))}.md-text-field__input:not(:-webkit-autofill){animation-name:md-tf-autofill-cancel}@media (prefers-reduced-motion: reduce){.md-text-field__label,.md-text-field__indicator,.md-text-field__state-layer,.md-text-field__fieldset,.md-text-field__legend,.md-text-field__legend>span,.md-text-field__container{transition-duration:0.01ms !important}.md-text-field__speech--listening,.md-text-field__speech--listening *{animation:none !important}}@media (forced-colors: active){:host(.md-text-field--filled) .md-text-field__container,:host(.md-text-field--filled.md-text-field--focused) .md-text-field__container,:host(.md-text-field--filled.md-text-field--disabled) .md-text-field__container,:host(.md-text-field--outlined) .md-text-field__container,.md-text-field__container{border:1px solid ButtonText;forced-color-adjust:none;background:Field;color:FieldText}:host(.md-text-field--focused) .md-text-field__indicator{background-color:Highlight}.md-text-field__input{caret-color:FieldText}:host(.md-text-field--filled.md-text-field--disabled) .md-text-field__indicator{background-color:GrayText}:host(.md-text-field--outlined.md-text-field--disabled) .md-text-field__fieldset{border-color:GrayText}:host(.md-text-field--focused) .md-text-field__label,:host(.md-text-field--error) .md-text-field__label,:host(.md-text-field--disabled) .md-text-field__label{color:FieldText}:host(.md-text-field--disabled) .md-text-field__label,:host(.md-text-field--disabled) .md-text-field__input{color:GrayText}:host(.md-text-field--error) .md-text-field__indicator{background-color:LinkText}.md-text-field__input{background:Field;color:FieldText}:host(.md-text-field--focused) .md-text-field__container{outline:2px solid Highlight;outline-offset:1px}:host(.md-text-field--error) .md-text-field__container{border-color:LinkText}:host(.md-text-field--disabled) .md-text-field__container,:host(.md-text-field--disabled) .md-text-field__input{color:GrayText;border-color:GrayText}.md-text-field__support-text,.md-text-field__counter{color:CanvasText}.md-text-field__support-text--error{color:LinkText}.md-text-field__label,.md-text-field__prefix,.md-text-field__suffix,.md-text-field__icon,.md-text-field__clear,.md-text-field__password-toggle,.md-text-field__speech{color:FieldText;forced-color-adjust:none}.md-text-field__error-icon{color:LinkText}.md-text-field__indicator{background-color:FieldText}:host(.md-text-field--outlined) .md-text-field__container{border:none}:host(.md-text-field--outlined) .md-text-field__fieldset{border-color:ButtonText}:host(.md-text-field--outlined.md-text-field--error) .md-text-field__fieldset{border-color:LinkText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__label,:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label,:host(:hover) .md-text-field__prefix,:host(:hover) .md-text-field__suffix,:host(:hover) .md-text-field__icon{color:FieldText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__label{color:LinkText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled):not(.md-text-field--error)) .md-text-field__indicator,:host(:hover:not(.md-text-field--focused)) .md-text-field__indicator{background-color:FieldText}:host(:hover:not(.md-text-field--focused):not(.md-text-field--disabled).md-text-field--error) .md-text-field__indicator{background-color:LinkText}:host(:hover) .md-text-field__clear,:host(:hover) .md-text-field__password-toggle,:host(:hover) .md-text-field__speech{color:FieldText;background:none}}:host(.md-text-field--outlined) .md-text-field__input:-webkit-autofill{box-shadow:0 0 0 1000px var(--md-sys-color-surface, #FEF7FF) inset}.md-text-field__clear,.md-text-field__password-toggle,.md-text-field__speech{min-inline-size:40px;min-block-size:40px;display:inline-flex;align-items:center;justify-content:center;margin-inline:-6px;margin-block:-8px}.md-text-field__clear--empty{visibility:hidden}:host([hidden]){display:none !important}`;const f={numeric:/[^0-9]/g,integer:/[^0-9-]/g,decimal:/[^0-9.\-]/g,alpha:/[^a-zA-Z]/g,alphanumeric:/[^a-zA-Z0-9]/g};const m=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdInput=i(this,"mdInput",7);this.mdChange=i(this,"mdChange",7);this.mdSearch=i(this,"mdSearch",7);this.mdClear=i(this,"mdClear",7);this.mdPasswordToggle=i(this,"mdPasswordToggle",7);this.mdSpeechResult=i(this,"mdSpeechResult",7);this.mdValidityChange=i(this,"mdValidityChange",5);this.internals=this.attachInternals();this.reserveSupportingSpace=false;this.variant="filled";this.label="";this.value="";this.placeholder="";this.type="text";this.name="";this.pattern="";this.autocomplete="";this.inputMode="";this.enterKeyHint="";this.autoCapitalize="";this.spellcheck=true;this.disabled=false;this.readOnly=false;this.required=false;this.error=false;this.errorText="";this.supportingText="";this.prefixText="";this.suffixText="";this.clearable=false;this.passwordToggle=false;this.showPasswordLabel="Show password";this.hidePasswordLabel="Hide password";this.density=0;this.multiline=false;this.speechToText=false;this.speechLang="";this.restrict="";this.formatOn="blur";this.focusBorderWidth=3;this.appearFocused=false;this.chipsWrap=false;this.debounce=0;this.throttle=0;this.focused=false;this.formDisabled=false;this.autofilled=false;this.hostAriaLabel="";this.passwordVisible=false;this.hasSlottedLeading=false;this.hasSlottedChips=false;this.hasSlottedTrailing=false;this.hasTrailingIconButton=false;this.listening=false;this.displayValue="";this.validationMessage="";this.validation=new l({host:()=>this.el,validity:()=>this.readValidationState(),message:t=>{this.validationMessage=t},focus:()=>this.setFocus()});this.defaultValue="";this.internalWrite=false;this.composing=false;this.warnedLiveFormat=false;this.uid=`md-text-field-${Math.random().toString(36).slice(2,7)}`;this.throttlePending=false;this.customValidityMessage="";this.inputRole="";this.inputExpanded=false;this.inputAriaAutocomplete="";this.lastValidityKey=null;this.pendingTypeResync=false;this.formatterEpoch=0;this.handleInput=t=>{const e=t.target||this.inputEl;if(!e)return;if(this.composing)return;let i=e.value;let s=e.selectionStart??i.length;let d=this.applyRestrict(i);if(this.restrict&&this.maxLength!=null&&!isNaN(this.maxLength)&&d.length>this.maxLength){const t=Array.from(d);let e="";for(const i of t){if((e+i).length>this.maxLength)break;e+=i}d=e}if(d!==i){const t=this.applyRestrict(i.substring(0,s));i=d;e.value=i;s=Math.min(t.length,i.length);try{e.setSelectionRange(s,s)}catch{}}this.internalWrite=true;try{this.value=this.parser?this.parser(i):i}catch(t){this.value=i}if(this.formatter&&this.effectiveFormatOn==="input"&&this.maxLength!=null){const t=this.value.replace(/[-/\s]/g,"");if(t.length>this.maxLength){const e=Array.from(t);let i="";for(const t of e){if((i+t).length>this.maxLength)break;i+=t}this.value=i}}if(this.formatter&&this.effectiveFormatOn==="input"){try{const t=t=>this.parser?this.parser(t).length:(t.match(/[0-9a-zA-Z]/g)||[]).length;const d=t(i.substring(0,s));const o=this.formatter(this.value);this.displayValue=o;e.value=o;let l=d===0?0:o.length;for(let e=0;d>0&&e<o.length;e++){if(t(o.slice(0,e+1))===d){l=e+1;break}}try{e.setSelectionRange(l,l)}catch{}}catch(t){this.displayValue=this.value;e.value=this.value}}if(!(this.formatter&&this.effectiveFormatOn==="input")){this.displayValue=e.value}this.internalWrite=false;this.mdInput.emit(this.value);this.emitSearch(this.value);if(this.multiline==="auto-grow"){this.autoGrow()}};this.handleCompositionStart=()=>{this.composing=true};this.handleCompositionEnd=t=>{this.composing=false;this.handleInput(t)};this.handleKeyDown=t=>{r(this.internals,t,{disabled:this.isDisabled,composing:this.composing,multiline:!!this.multiline});if(t.key==="Escape"&&!this.composing&&this.clearable==="internal"&&this.value&&!this.readOnly&&!this.isDisabled){t.stopPropagation();t.preventDefault();this.clearValue();this.mdClear.emit()}};this.handleAutofillStart=t=>{if(t.animationName==="md-tf-autofill-start")this.autofilled=true;if(t.animationName==="md-tf-autofill-cancel")this.autofilled=false};this.handleChange=()=>{this.mdChange.emit(this.value);this.el.dispatchEvent(new CustomEvent("change",{bubbles:true}))};this.handleFocus=()=>{this.focused=true;if(this.formatter&&this.effectiveFormatOn==="blur"&&this.inputEl){this.displayValue=this.value;this.inputEl.value=this.value}};this.handleBlur=()=>{this.focused=false;this.composing=false;this.syncDisplayValue();if(this.inputEl){this.inputEl.value=this.displayValue}};this.handleContainerClick=()=>{this.inputEl?.focus()};this.handleClear=t=>{t.stopPropagation();if(this.isDisabled||this.readOnly||!this.value)return;if(this.clearable==="internal"){this.clearValue()}this.mdClear.emit();this.inputEl?.focus()};this.handlePasswordToggle=t=>{t.stopPropagation();if(this.isDisabled)return;if(this.passwordToggle==="internal"){this.passwordVisible=!this.passwordVisible;this.mdPasswordToggle.emit({visible:this.passwordVisible})}else{this.mdPasswordToggle.emit({visible:this.type==="password"})}this.inputEl?.focus()};this.handleSpeechToggle=t=>{t.stopPropagation();if(this.isDisabled||this.readOnly)return;if(this.speechToText==="external"){this.listening=!this.listening;this.mdSpeechResult.emit({transcript:"",listening:this.listening});return}if(this.listening){this.recognition?.stop();return}const e=window.SpeechRecognition||window.webkitSpeechRecognition;if(!e){console.warn("md-text-field: SpeechRecognition API not supported in this browser.");return}const i=new e;i.continuous=false;i.interimResults=true;if(this.speechLang){i.lang=this.speechLang}let s="";const d=this.value;i.onresult=t=>{let e="";for(let i=t.resultIndex;i<t.results.length;i++){const d=t.results[i][0].transcript;if(t.results[i].isFinal){s+=d}else{e+=d}}const i=d&&!d.endsWith(" ")?" ":"";this.internalWrite=true;this.value=d+i+s+e;this.internalWrite=false;if(this.inputEl)this.inputEl.value=this.value;this.mdInput.emit(this.value);this.mdSpeechResult.emit({transcript:s+e,listening:true})};i.onend=()=>{this.listening=false;this.recognition=undefined;const t=d&&!d.endsWith(" ")?" ":"";this.internalWrite=true;this.value=d+t+s;this.internalWrite=false;if(this.inputEl)this.inputEl.value=this.value;this.mdInput.emit(this.value);this.mdChange.emit(this.value);this.mdSpeechResult.emit({transcript:s,listening:false})};i.onerror=t=>{if(t.error!=="aborted"){console.warn("md-text-field: Speech recognition error:",t.error)}this.listening=false;this.recognition=undefined};this.recognition=i;this.listening=true;i.start()}}resetValidationPresentation(){this.validation.reset()}onInvalid(t){this.validation.handleInvalid(t)}readValidationState(){if(this.internals&&"validity"in this.internals)return a(this.internals);return{valid:this.inputEl?.validity.valid??true,validationMessage:this.inputEl?.validationMessage||""}}get hasError(){return this.error||!!this.validationMessage}get supportMessage(){return this.hasError?this.errorText||this.validationMessage||this.supportingText:this.supportingText}get isDisabled(){return this.disabled||this.formDisabled}get effectiveFormatOn(){if(this.formatOn==="input"&&this.formatter&&!this.parser){return"blur"}return this.formatOn}static isInteractive(t){const e=t.tagName.toLowerCase();return["md-icon-button","md-button","button","a","input","select","textarea"].includes(e)||t.hasAttribute("tabindex")}get isFloating(){return this.focused||this.appearFocused||!!this.value||!!this.placeholder||this.autofilled||this.hasSlottedChips}get effectiveRows(){if(this.rows!=null)return this.rows;return this.multiline==="fixed"?4:2}get restrictPattern(){if(!this.restrict)return null;if(f[this.restrict])return f[this.restrict];try{const t=this.restrict.startsWith("[")&&this.restrict.endsWith("]")?this.restrict.slice(1,-1):this.restrict;return new RegExp(`[^${t}]`,"g")}catch{return null}}applyRestrict(t){const e=this.restrictPattern;return e?t.replace(e,""):t}syncTrailingSlotState(e){if(!e)return;this.hasSlottedTrailing=e.assignedNodes().length>0;this.hasTrailingIconButton=e.assignedElements().some((e=>t.isInteractive(e)))}syncHostSlottedIcons(){const e=this.el.querySelector('[slot="leading-icon"]');const i=this.el.querySelector('[slot="trailing-icon"]');this.hasSlottedLeading=!!e;this.hasSlottedTrailing=!!i;this.hasTrailingIconButton=!!i&&t.isInteractive(i)}static normaliseMode(t){return t===true?"internal":t}normaliseModes(){this.clearable=t.normaliseMode(this.clearable);this.passwordToggle=t.normaliseMode(this.passwordToggle);this.speechToText=t.normaliseMode(this.speechToText)}handleModeChange(){this.normaliseModes()}componentWillLoad(){this.bridgeFormatterProps();this.normaliseModes();if(this.el.hasAttribute("clearable")&&!this.clearable)this.clearable="internal";if(this.el.hasAttribute("password-toggle")&&!this.passwordToggle)this.passwordToggle="internal";if(this.el.hasAttribute("speech-to-text")&&!this.speechToText)this.speechToText="internal";if(this.maxLength==null&&this.el.hasAttribute("maxlength")){this.maxLength=parseInt(this.el.getAttribute("maxlength"),10)}if(this.minLength==null&&this.el.hasAttribute("minlength")){this.minLength=parseInt(this.el.getAttribute("minlength"),10)}if(!this.label&&!this.hostAriaLabel){const t=this.el.getAttribute("aria-label");if(t){this.hostAriaLabel=t;this.el.removeAttribute("aria-label")}}if(!this.multiline&&/[\r\n]/.test(this.value)){this.value=this.value.replace(/[\r\n]+/g,"")}this.defaultValue=this.value;this.syncDisplayValue();this.syncHostSlottedIcons();this.updateFormValue()}updateFormValue(){try{this.internals?.setFormValue(this.value)}catch{}}updateValidity(){const t=this.inputEl;if(!t)return;try{if(this.customValidityMessage){this.internals?.setValidity({customError:true},this.customValidityMessage,t);return}if(this.focused&&t.value!==this.value)return;const e=t.value;let i=false;if(t.value!==this.value){t.value=this.value;i=true;if(t.value!==this.value){t.value=e;this.internals?.setValidity({badInput:true},"Invalid value",t);return}}const s=t.validity;const d={valueMissing:s.valueMissing,typeMismatch:s.typeMismatch,patternMismatch:s.patternMismatch,tooLong:s.tooLong,tooShort:s.tooShort,rangeUnderflow:s.rangeUnderflow,rangeOverflow:s.rangeOverflow,stepMismatch:s.stepMismatch,badInput:s.badInput};const o=s.valid;const l=t.validationMessage;if(i)t.value=e;if(o){this.internals?.setValidity({})}else{this.internals?.setValidity(d,l||"Invalid value",t)}}catch{}finally{this.validation.refresh();this.emitValidityChange()}}formResetCallback(){this.validation.reset();this.internalWrite=false;this.value=this.defaultValue;this.syncDisplayValue();if(this.inputEl)this.inputEl.value=this.displayValue;this.updateFormValue()}formDisabledCallback(t){if(t)queueMicrotask((()=>this.validation.reset()));queueMicrotask((()=>{this.formDisabled=t}))}async setFocus(){this.inputEl?.focus()}async select(){this.inputEl?.select()}async getInputElement(){return this.inputEl??null}async getValidity(){try{const t=this.internals.validity;return{valid:t.valid,validationMessage:this.internals.validationMessage,flags:{valueMissing:t.valueMissing,typeMismatch:t.typeMismatch,patternMismatch:t.patternMismatch,tooLong:t.tooLong,tooShort:t.tooShort,rangeUnderflow:t.rangeUnderflow,rangeOverflow:t.rangeOverflow,stepMismatch:t.stepMismatch,badInput:t.badInput,customError:t.customError}}}catch{return{valid:true,validationMessage:"",flags:{}}}}async setCustomValidity(t){this.customValidityMessage=t;this.updateValidity()}formStateRestoreCallback(t){if(typeof t==="string"){this.value=t}}emitValidityChange(){const t=a(this.internals);const e=`${t.valid}|${t.validationMessage}`;if(this.lastValidityKey===e)return;const i=this.lastValidityKey!==null;this.lastValidityKey=e;if(i)this.mdValidityChange.emit(t)}async checkValidity(){try{return n((()=>this.internals.checkValidity()))}catch{return n((()=>this.inputEl?.checkValidity()??true))}}async reportValidity(){try{return c((()=>this.internals.reportValidity()))}catch{return c((()=>this.inputEl?.reportValidity()??true))}}componentDidLoad(){const t=this.el.shadowRoot;const e=t?.querySelector('slot[name="leading-icon"]');e?.addEventListener("slotchange",(()=>{this.hasSlottedLeading=e.assignedNodes().length>0}));const i=t?.querySelector('slot[name="trailing-icon"]');i?.addEventListener("slotchange",(()=>{this.syncTrailingSlotState(i)}));const s=t?.querySelector('slot[name="chips"]');s?.addEventListener("slotchange",(()=>{this.hasSlottedChips=s.assignedNodes().length>0}));this.hasSlottedLeading=(e?.assignedNodes().length??0)>0;this.hasSlottedChips=(s?.assignedNodes().length??0)>0;this.syncTrailingSlotState(i);if(this.multiline==="auto-grow"){this.autoGrow()}this.syncDisplayValue();this.updateValidity()}onValueChange(){if(this.value==null){this.value="";return}if(!this.internalWrite&&!this.multiline&&/[\r\n]/.test(this.value)){this.value=this.value.replace(/[\r\n]+/g,"");return}if(this.multiline==="auto-grow"){this.autoGrow()}this.updateFormValue();if(!this.focused){this.syncDisplayValue();return}if(!this.internalWrite){this.composing=false;this.syncDisplayValue();const t=this.inputEl;if(t){t.value=this.effectiveFormatOn==="blur"&&this.formatter?this.value:this.displayValue;const e=t.value.length;try{t.setSelectionRange(e,e)}catch{}}this.updateValidity()}}onTypeChange(){this.pendingTypeResync=true}componentDidRender(){if(this.pendingTypeResync){this.pendingTypeResync=false;const t=this.inputEl;if(t){const e=this.focused&&this.formatter&&this.effectiveFormatOn==="blur"?this.value:this.displayValue;if(t.value!==e){t.value=e}}}this.updateValidity()}bridgeFormatterProps(){const t=this.el===this;["formatter","parser"].forEach((e=>{let i=this[e];Object.defineProperty(this.el,e,{configurable:true,get:()=>t?i:this[e],set:s=>{if(t)i=s;else this[e]=s;if(!this.focused){this.syncDisplayValue()}this.formatterEpoch++}})}))}syncDisplayValue(){if(this.formatter){try{const t=this.formatter(this.value);this.displayValue=typeof t==="string"?t:this.value}catch(t){this.displayValue=this.value}}else{this.displayValue=this.value}}emitSearchDistinct(t){if(t===this.lastEmittedSearch)return;this.lastEmittedSearch=t;this.mdSearch.emit(t)}emitSearch(t){if(this.debounce>0){clearTimeout(this.debounceTimer);this.debounceTimer=setTimeout((()=>this.emitSearchDistinct(t)),this.debounce)}if(this.throttle>0){if(!this.throttleTimer){this.emitSearchDistinct(t);this.throttlePending=false;this.throttleTimer=setTimeout((()=>{this.throttleTimer=undefined;if(this.throttlePending){this.emitSearchDistinct(this.value);this.throttlePending=false}}),this.throttle)}else{this.throttlePending=true}}if(this.debounce<=0&&this.throttle<=0){this.emitSearchDistinct(t)}}autoGrow(){const t=this.inputEl;if(!t)return;t.value=this.value;t.style.height="auto";t.style.height=`${t.scrollHeight}px`}clearValue(){this.internalWrite=true;this.value="";this.internalWrite=false;if(this.inputEl){this.inputEl.value=""}this.displayValue="";this.updateValidity();this.mdInput.emit(this.value);this.mdChange.emit(this.value);this.emitSearch("")}disconnectedCallback(){this.recognition?.abort();this.recognition=undefined;clearTimeout(this.debounceTimer);clearTimeout(this.throttleTimer);this.debounceTimer=undefined;this.throttleTimer=undefined;this.throttlePending=false}renderInputElement(){const t=this.passwordToggle==="internal"&&this.passwordVisible?"text":this.type;const e=this.focused&&this.formatter&&this.effectiveFormatOn==="blur";const i=e?this.value:this.displayValue;const d=this.supportMessage;const o=[d?`${this.uid}-support`:"",this.maxLength!=null&&!isNaN(this.maxLength)?`${this.uid}-counter`:""].filter(Boolean).join(" ");const l=this.el.getAttribute("aria-haspopup");const r=l==="dialog"||l==="listbox"?l:null;const a=this.inputRole==="combobox"?"combobox":undefined;const n={placeholder:this.isFloating?this.placeholder:"",disabled:this.isDisabled,readOnly:this.readOnly,required:this.required,maxLength:this.formatter&&this.effectiveFormatOn==="input"||this.restrict?undefined:this.maxLength,pattern:this.pattern||undefined,minLength:this.minLength,min:this.min,max:this.max,step:this.step,autocomplete:this.autocomplete||undefined,inputMode:this.inputMode||undefined,enterKeyHint:this.enterKeyHint||undefined,autoCapitalize:this.autoCapitalize||undefined,spellcheck:this.spellcheck,value:i,"aria-label":this.label||this.hostAriaLabel||undefined,"aria-haspopup":r||undefined,role:a,"aria-expanded":a?String(this.inputExpanded):undefined,"aria-autocomplete":a&&this.inputAriaAutocomplete?this.inputAriaAutocomplete:undefined,"aria-describedby":o||undefined,"aria-invalid":this.hasError?"true":undefined,"aria-required":this.required?"true":undefined,id:`${this.uid}-input`,onInvalid:t=>this.validation.handleInputInvalid(t),onInput:this.handleInput,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onAnimationStart:this.handleAutofillStart};if(this.multiline){return s("textarea",{ref:t=>{this.inputEl=t},...n,rows:this.effectiveRows,part:"input",class:{"md-text-field__input":true,"md-text-field__input--textarea":true,"md-text-field__input--auto-grow":this.multiline==="auto-grow","md-text-field__input--fixed":this.multiline==="fixed"}},i)}return s("input",{ref:t=>{this.inputEl=t},class:"md-text-field__input",part:"input",type:t,...n})}render(){const t=this.supportMessage;const e=!!this.clearable;const i=!this.multiline&&!!this.passwordToggle;const o=!!this.speechToText;const l=this.hasSlottedLeading;const r=this.hasSlottedTrailing||e||i||o||this.hasError;const a=!!this.formatter&&this.effectiveFormatOn==="input";const n=a?this.value.replace(/[-/\s]/g,"").length:this.value.length;const c=this.maxLength!=null&&!isNaN(this.maxLength)?`${n}/${this.maxLength}`:"";const h=this.isDisabled||this.readOnly||!this.value;const f=!t&&!c;const m=this.passwordToggle==="internal"?this.passwordVisible:this.type!=="password";const x=m?"visibility_off":"visibility";return s(d,{key:"3f561c2f59a504dfb81985ad61386c8fbedd7fdc",class:{"md-text-field":true,[`md-text-field--${this.variant}`]:true,"md-text-field--focused":this.focused||this.appearFocused,"md-text-field--error":this.hasError,"md-text-field--disabled":this.isDisabled,"md-text-field--with-leading":l,"md-text-field--with-trailing":r,"md-text-field--clearable":e,"md-text-field--with-chips":this.hasSlottedChips,"md-text-field--floating":this.isFloating,"md-text-field--without-label":!this.label,[`md-text-field--density${this.density}`]:this.density!==0,"md-text-field--multiline":!!this.multiline,"md-text-field--auto-grow":this.multiline==="auto-grow","md-text-field--textarea":this.multiline==="fixed","md-text-field--listening":this.listening},style:Number(this.focusBorderWidth)!==3?{"--md-text-field-focus-border-width":`${Number(this.focusBorderWidth)}px`,"--md-text-field-focus-inset":`${-(Number(this.focusBorderWidth)-1)}px`}:undefined},s("div",{key:"5f02323a92babf677677fbf6094d35e9d9590507",class:"md-text-field__container",part:"container","data-md-anchor-box":f?"":null,onClick:this.handleContainerClick},s("div",{key:"bd02212758ce34bb1672f31827c2079502ab019f",class:"md-text-field__state-layer","aria-hidden":"true"}),s("span",{key:"09b4b8c519b6e792e992fb413db5dd957ecc877f",class:"md-text-field__icon md-text-field__icon--leading","aria-hidden":"true",style:{display:l?undefined:"none"}},s("slot",{key:"3e6f1c368f5e2cd5086435fd8967fbe93005f0da",name:"leading-icon"})),s("div",{key:"e0b1f154897aa1ead6f1bedd8d9b10eaa8b3920f",class:"md-text-field__input-wrap"},this.label&&s("label",{key:"85c3146838c0ab1d54d41832d6eaee672af61e66",class:"md-text-field__label",part:"label",htmlFor:`${this.uid}-input`},this.label),s("div",{key:"fdf983635d264e05034cdec573c86976554ec797",class:"md-text-field__input-row"},s("span",{key:"4eb79842b9e9b1ae212716b59f54903454ea4077",class:"md-text-field__chips",part:"chips",style:{display:this.hasSlottedChips?undefined:"none"}},s("slot",{key:"a56c2c8e54507bfdd0824560339615d2a977d948",name:"chips"})),this.prefixText&&this.isFloating&&s("span",{key:"3a05f0f6493b13c9eb34b51574eb24971d45c2ed",class:"md-text-field__prefix"},this.prefixText),this.renderInputElement(),this.suffixText&&this.isFloating&&s("span",{key:"fccbe660541da93abe3db89cc1fb0691975a0688",class:"md-text-field__suffix"},this.suffixText))),e&&s("button",{key:"e2375b4ccc3c9efd4ff50136f330c68d0e905075",type:"button",class:{"md-text-field__clear":true,"md-text-field__clear--disabled":h,"md-text-field__clear--empty":!this.value},disabled:h,onClick:this.handleClear,"aria-label":"Clear"},s("slot",{key:"c8dcc3ab17ddef0a23c6737571f4e216013348ea",name:"clear-icon"},s("span",{key:"0a08c7e19e32647f2ecf5d4c9aec5e65746eab44",class:"material-symbols-outlined","aria-hidden":"true"},"cancel"))),i&&s("button",{key:"4c981e00c4033f512fef48270d744b46a6077a38",type:"button",class:{"md-text-field__password-toggle":true,"md-text-field__password-toggle--disabled":this.isDisabled},disabled:this.isDisabled,onClick:this.handlePasswordToggle,"aria-label":m?this.hidePasswordLabel:this.showPasswordLabel,"aria-pressed":m?"true":"false"},s("slot",{key:"d9bc4a87b27695f42a92867989461b710f7da5ed",name:"password-toggle-icon"},s("span",{key:"b35826a08a8f109190bcd5dc148ba3f2749fb4dd",class:"material-symbols-outlined","aria-hidden":"true"},x))),o&&s("button",{key:"d3eae3b5571b09bc353808bea758e4fd70893b43",type:"button",class:{"md-text-field__speech":true,"md-text-field__speech--listening":this.listening,"md-text-field__speech--disabled":this.isDisabled},disabled:this.isDisabled||this.readOnly,onClick:this.handleSpeechToggle,"aria-label":this.listening?"Stop listening":"Start voice input","aria-pressed":this.listening?"true":"false"},s("slot",{key:"e2ca2f42f976c072c15392c850822e12371e4c10",name:"speech-icon"},s("span",{key:"73422af8f9241487e6cbad69001868cd7c6631ca",class:"material-symbols-outlined","aria-hidden":"true"},this.listening?"hearing":"mic"))),this.hasError&&s("span",{key:"632750a21d84cb55396159ee0b9c918b31ca8f71",class:"md-text-field__error-icon","aria-hidden":"true"},s("slot",{key:"14e22bfbccf9e173f1ff8ed8ccfd22ea473f85a1",name:"error-icon"},s("span",{key:"645e3d80dfeb824ae50dfbeff7c8070356e39bbb",class:"material-symbols-outlined",style:{fontVariationSettings:"'FILL' 1"}},"error"))),s("span",{key:"c83c672cecedd70688304e6cf2de51a4b9a94ee9",class:{"md-text-field__icon":!this.hasTrailingIconButton,"md-text-field__icon--trailing":!this.hasTrailingIconButton,"md-text-field__trailing-icon-button":this.hasTrailingIconButton},"aria-hidden":this.hasTrailingIconButton?null:"true",style:{display:this.hasSlottedTrailing?undefined:"none"}},s("slot",{key:"3c3661a5462d7987e2dbbf0e41c9906ebcbd716f",name:"trailing-icon"})),this.variant==="filled"&&s("div",{key:"8ca4e7ac98215172e344d4b1d26f71852f755b34",class:"md-text-field__indicator"}),this.variant==="outlined"&&s("fieldset",{key:"8019f27726e18b25a69ac8ab940194236df7c739",class:"md-text-field__fieldset"},s("legend",{key:"f17b6b1c39d6b79a92467c5de85036815d9e8987",class:{"md-text-field__legend":true,"md-text-field__legend--active":this.isFloating&&!!this.label}},s("span",{key:"4d313bc133288795d70db80e856d89d09770b06f"},this.label)))),(t||c||this.reserveSupportingSpace)&&s("div",{key:"f1957c872fc8d2ea5c6844bfcd05fec2c1e825ab",class:"md-text-field__support-row"},s("span",{key:"6c1beb6617393c7c381226f7fa87c8ca27bdf3f1",id:`${this.uid}-support`,part:"supporting-text",role:this.hasError?"alert":undefined,class:{"md-text-field__support-text":true,"md-text-field__support-text--error":this.hasError}},t||(this.reserveSupportingSpace?"":"")),c&&s("span",{key:"8fbee6acb0fde297f93d51d0a478bbad5d20da51",id:`${this.uid}-counter`,part:"counter",class:"md-text-field__counter"},c)))}static get delegatesFocus(){return true}static get formAssociated(){return true}get el(){return this}static get watchers(){return{name:[{resetValidationPresentation:0}],clearable:[{handleModeChange:0}],passwordToggle:[{handleModeChange:0}],speechToText:[{handleModeChange:0}],value:[{onValueChange:0}],type:[{onTypeChange:0}]}}static get style(){return h()}},[337,"md-text-field",{reserveSupportingSpace:[4,"reserve-supporting-space"],variant:[1],label:[1],value:[1025],placeholder:[1],type:[1],name:[513],pattern:[1],minLength:[1026,"min-length"],min:[8],max:[8],step:[8],autocomplete:[1],inputMode:[1,"inputmode"],enterKeyHint:[1,"enterkeyhint"],autoCapitalize:[1,"autocapitalize"],spellcheck:[4],disabled:[516],readOnly:[4,"readonly"],required:[4],error:[4],errorText:[1,"error-text"],supportingText:[1,"supporting-text"],prefixText:[1,"prefix-text"],suffixText:[1,"suffix-text"],maxLength:[1026,"max-length"],clearable:[1032],passwordToggle:[1032,"password-toggle"],showPasswordLabel:[1,"show-password-label"],hidePasswordLabel:[1,"hide-password-label"],density:[514],multiline:[8],rows:[2],speechToText:[1032,"speech-to-text"],speechLang:[1,"speech-lang"],restrict:[1],formatter:[1040],parser:[1040],formatOn:[1,"format-on"],focusBorderWidth:[514,"focus-border-width"],appearFocused:[516,"appear-focused"],chipsWrap:[516,"chips-wrap"],debounce:[514],throttle:[514],inputRole:[1,"input-role"],inputExpanded:[4,"input-expanded"],inputAriaAutocomplete:[1,"input-aria-autocomplete"],focused:[32],formDisabled:[32],autofilled:[32],hostAriaLabel:[32],passwordVisible:[32],hasSlottedLeading:[32],hasSlottedChips:[32],hasSlottedTrailing:[32],hasTrailingIconButton:[32],listening:[32],displayValue:[32],validationMessage:[32],formatterEpoch:[32],setFocus:[64],select:[64],getInputElement:[64],getValidity:[64],setCustomValidity:[64],checkValidity:[64],reportValidity:[64]},[[0,"invalid","onInvalid"]],{name:[{resetValidationPresentation:0}],clearable:[{handleModeChange:0}],passwordToggle:[{handleModeChange:0}],speechToText:[{handleModeChange:0}],value:[{onValueChange:0}],type:[{onTypeChange:0}]}]);function x(){if(typeof customElements==="undefined"){return}const t=["md-text-field"];t.forEach((t=>{switch(t){case"md-text-field":if(!customElements.get(o(t))){customElements.define(o(t),m)}break}}))}x();export{m as M,x as d};
|
|
2
|
-
//# sourceMappingURL=p-B3gZAg_4.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["mdTextFieldCss","RESTRICT_PATTERNS","numeric","integer","decimal","alpha","alphanumeric","MdTextField","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","reserveSupportingSpace","variant","label","value","placeholder","type","name","pattern","autocomplete","inputMode","enterKeyHint","autoCapitalize","spellcheck","disabled","readOnly","required","error","errorText","supportingText","prefixText","suffixText","clearable","passwordToggle","showPasswordLabel","hidePasswordLabel","density","multiline","speechToText","speechLang","restrict","formatOn","focusBorderWidth","appearFocused","chipsWrap","debounce","throttle","focused","formDisabled","autofilled","hostAriaLabel","passwordVisible","hasSlottedLeading","hasSlottedChips","hasSlottedTrailing","hasTrailingIconButton","listening","displayValue","validationMessage","validation","InlineValidationPresenter","host","el","validity","readValidationState","message","focus","setFocus","defaultValue","internalWrite","composing","warnedLiveFormat","uid","Math","random","toString","slice","throttlePending","customValidityMessage","inputRole","inputExpanded","inputAriaAutocomplete","lastValidityKey","pendingTypeResync","formatterEpoch","handleInput","e","target","inputEl","raw","cursorPos","selectionStart","length","restricted","applyRestrict","maxLength","isNaN","points","Array","from","out","pt","strippedBefore","substring","min","setSelectionRange","parser","err","formatter","effectiveFormatOn","content","replace","contentLen","str","match","contentBeforeCursor","formatted","newPos","i","mdInput","emit","emitSearch","autoGrow","handleCompositionStart","handleCompositionEnd","handleKeyDown","submitFormOnEnter","internals","isDisabled","key","stopPropagation","preventDefault","clearValue","mdClear","handleAutofillStart","animationName","handleChange","mdChange","dispatchEvent","CustomEvent","bubbles","handleFocus","handleBlur","syncDisplayValue","handleContainerClick","handleClear","handlePasswordToggle","mdPasswordToggle","visible","handleSpeechToggle","mdSpeechResult","transcript","recognition","stop","SpeechRecognition","window","webkitSpeechRecognition","console","warn","continuous","interimResults","lang","finalTranscript","baseValue","onresult","event","interim","resultIndex","results","isFinal","separator","endsWith","onend","undefined","onerror","start","resetValidationPresentation","reset","onInvalid","handleInvalid","getValidityOf","valid","hasError","supportMessage","isInteractive","tag","tagName","toLowerCase","includes","hasAttribute","isFloating","effectiveRows","rows","restrictPattern","inner","startsWith","RegExp","syncTrailingSlotState","trailingSlot","assignedNodes","assignedElements","some","syncHostSlottedIcons","leading","querySelector","trailing","normaliseMode","normaliseModes","handleModeChange","componentWillLoad","bridgeFormatterProps","parseInt","getAttribute","minLength","hostLabel","removeAttribute","test","updateFormValue","setFormValue","updateValidity","input","setValidity","customError","shown","restore","badInput","v","flags","valueMissing","typeMismatch","patternMismatch","tooLong","tooShort","rangeUnderflow","rangeOverflow","stepMismatch","refresh","emitValidityChange","formResetCallback","formDisabledCallback","queueMicrotask","select","getInputElement","getValidity","setCustomValidity","formStateRestoreCallback","state","primed","mdValidityChange","checkValidity","withValidationCheck","reportValidity","withValidationReport","componentDidLoad","root","shadowRoot","leadingSlot","addEventListener","chipsSlot","onValueChange","end","onTypeChange","componentDidRender","expected","directHost","forEach","current","Object","defineProperty","configurable","get","set","fn","emitSearchDistinct","lastEmittedSearch","mdSearch","clearTimeout","debounceTimer","setTimeout","throttleTimer","textarea","style","height","scrollHeight","disconnectedCallback","abort","renderInputElement","inputType","useRawWhileFocused","showValue","supportText","describedBy","filter","Boolean","join","hostPopupAttr","hostPopup","comboboxRole","sharedProps","max","step","role","String","id","handleInputInvalid","onInput","onChange","onFocus","onBlur","onKeyDown","onCompositionstart","onCompositionend","onAnimationStart","h","ref","part","class","render","showClear","showPasswordToggle","showSpeech","hasLeading","hasTrailing","usesFormatterLimit","contentLength","charCount","clearDisabled","supportRowIsBlank","isPasswordRevealed","passwordIcon","Host","Number","onClick","display","htmlFor","fontVariationSettings"],"sources":["../sources/a4af1a588f4a4e29ed71029b5a5107213734c07a693e33d6556664ca85b1d3e4/md-text-field.css_tag_md-text-field_encapsulation_shadow","../sources/dfff86d088c1ff15d867fd9d2bb2551d3553ba4237806aeb3725de3be6aaa006/md-text-field.tsx"],"mappings":"kIAAA,MAAMA,EAAiB,IAAM,yx1BCG7B,MAAMC,EAA4C,CAChDC,QAAS,UACTC,QAAS,WACTC,QAAS,aACTC,MAAO,aACPC,aAAc,iB,MAWHC,EAAWC,EAAA,MAAAD,UAAAE,EARxB,WAAAC,CAAAC,G,qYAqBmDC,KAAAC,uBAAkC,MAI3ED,KAAAE,QAAiC,SACjCF,KAAAG,MAAgB,GAECH,KAAAI,MAAgB,GACjCJ,KAAAK,YAAsB,GACtBL,KAAAM,KAAe,OAEEN,KAAAO,KAAe,GAEhCP,KAAAQ,QAAkB,GAMlBR,KAAAS,aAAuB,GACGT,KAAAU,UAAoB,GACjBV,KAAAW,aAAuB,GACrBX,KAAAY,eAAyB,GAExDZ,KAAAa,WAAsB,KACLb,KAAAc,SAAoB,MACZd,KAAAe,SAAoB,MAC7Cf,KAAAgB,SAAoB,MACpBhB,KAAAiB,MAAiB,MACjBjB,KAAAkB,UAAoB,GACpBlB,KAAAmB,eAAyB,GACGnB,KAAAoB,WAAqB,GACrBpB,KAAAqB,WAAqB,GAGhCrB,KAAAsB,UAA6C,MAEftB,KAAAuB,eAAkD,MAEjGvB,KAAAwB,kBAA4B,gBAE5BxB,KAAAyB,kBAA4B,gBAEXzB,KAAA0B,QAAiC,EAOlD1B,KAAA2B,UAA2C,MAQG3B,KAAA4B,aAAgD,MAElE5B,KAAA6B,WAAqB,GAMjD7B,KAAA8B,SAAmB,GAgBO9B,KAAA+B,SAA6B,OAEL/B,KAAAgC,iBAA2B,EAgB/BhC,KAAAiC,cAAyB,MAO7BjC,KAAAkC,UAAqB,MAE9ClC,KAAAmC,SAAmB,EAEnBnC,KAAAoC,SAAmB,EAY3BpC,KAAA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AA,QAAAxL,IAAA,2CACE8K,GAAI,GAAGrS,KAAK8D,cACZmP,KAAK,kBACLd,KAAMnS,KAAK4K,SAAW,QAAUT,UAChC+I,MAAO,CAAE,8BAA+B,KAAM,qCAAsClT,KAAK4K,WAKxF4G,IAAgBxR,KAAKC,uBAAyB,IAAW,KAE3D0T,GAAaZ,EAAA,QAAAxL,IAAA,2CAAM8K,GAAI,GAAGrS,KAAK8D,cAAemP,KAAK,UAAUC,MAAM,0BAA0BS,I","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,c as s,h as o,d as i,t as a}from"./p-B7GMP_JD.js";import{t as r}from"./p-DYBUr7K_.js";import{I as c,g as n,s as d,a as l,c as h,r as m}from"./p-EuzGe8T6.js";import{d as b}from"./p-BMizw_F3.js";const y=()=>`:host{--_container-color:var(--md-checkbox-container-color, transparent);--_selected-container-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary));--_outline-color:var(--md-checkbox-outline-color, var(--md-sys-color-on-surface-variant));--_outline-width:var(--md-checkbox-outline-width, 2px);--_icon-color:var(--md-checkbox-icon-color, var(--md-sys-color-on-primary));--_container-shape:var(--md-checkbox-container-shape, 2px);--_container-size:var(--md-checkbox-container-size, max(14px, calc(18px + var(--md-sys-density-scale, 0) * 1px)));--_icon-size:var(--md-checkbox-icon-size, max(14px, calc(18px + var(--md-sys-density-scale, 0) * 1px)));--_touch-size:max(32px, calc(var(--md-checkbox-touch-target-size, 48px) + var(--md-sys-density-scale, 0) * 4px));--_state-layer-size:var(--md-checkbox-state-layer-size, min(40px, var(--_touch-size)));--_state-layer-color:var(--md-checkbox-state-layer-color, var(--md-sys-color-on-surface));--_selected-state-layer-color:var(--md-checkbox-selected-state-layer-color, var(--md-sys-color-primary));display:inline-flex;align-items:center;justify-content:center;position:relative;inline-size:var(--_touch-size);block-size:var(--_touch-size);cursor:pointer;border-radius:var(--md-sys-shape-corner-full, 50%);overflow:hidden;-webkit-tap-highlight-color:transparent;box-sizing:border-box;flex-shrink:0;vertical-align:middle;outline:none;color:var(--_state-layer-color)}:host(.md-checkbox--selected){color:var(--_selected-state-layer-color)}.md-checkbox__native{position:absolute;opacity:0;inline-size:0;block-size:0;pointer-events:none;margin:0}.md-checkbox__ripple-layer{position:absolute;inline-size:var(--_state-layer-size);block-size:var(--_state-layer-size);border-radius:var(--md-sys-shape-corner-full, 50%);overflow:hidden}:host(.md-checkbox--disabled) .md-checkbox__ripple-layer,:host([soft-disabled]) .md-checkbox__ripple-layer{display:none}.md-checkbox__state-layer{position:absolute;inline-size:var(--_state-layer-size);block-size:var(--_state-layer-size);border-radius:var(--md-sys-shape-corner-full, 50%);background-color:var(--_state-layer-color);opacity:0;transition:opacity var(--md-sys-motion-duration-short1, 100ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));pointer-events:none}:host(.md-checkbox--unselected:hover) .md-checkbox__state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}:host(.md-checkbox--unselected:focus-visible) .md-checkbox__state-layer{opacity:var(--md-sys-state-focus-state-layer-opacity, 0.12)}:host(.md-checkbox--unselected:active) .md-checkbox__state-layer{opacity:var(--md-sys-state-pressed-state-layer-opacity, 0.12)}:host(.md-checkbox--selected) .md-checkbox__state-layer{background-color:var(--_selected-state-layer-color)}:host(.md-checkbox--selected:hover) .md-checkbox__state-layer{opacity:var(--md-sys-state-hover-state-layer-opacity, 0.08)}:host(.md-checkbox--selected:focus-visible) .md-checkbox__state-layer{opacity:var(--md-sys-state-focus-state-layer-opacity, 0.12)}:host(.md-checkbox--selected:active) .md-checkbox__state-layer{opacity:var(--md-sys-state-pressed-state-layer-opacity, 0.12)}:host(:focus-visible){outline:2px solid var(--md-sys-color-secondary);outline-offset:calc((var(--_state-layer-size) - var(--_touch-size)) / 2)}.md-checkbox__container{position:relative;display:inline-flex;align-items:center;justify-content:center;inline-size:var(--_container-size);block-size:var(--_container-size);border-radius:var(--_container-shape);border:var(--_outline-width) solid var(--_outline-color);background-color:var(--_container-color);box-sizing:border-box;pointer-events:none;transition:background-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-medium4, 400ms) var(--md-sys-motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(.md-checkbox--selected) .md-checkbox__container{background-color:var(--_selected-container-color);border-color:var(--_selected-container-color)}:host(.md-checkbox--pressed) .md-checkbox__container{transform:scale(0.82);transition:background-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), border-color var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)), transform var(--md-sys-motion-duration-short4, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1))}:host([aria-invalid="true"]) .md-checkbox__container{border-color:var(--md-sys-color-error)}:host([aria-invalid="true"].md-checkbox--selected) .md-checkbox__container{background-color:var(--md-sys-color-error);border-color:var(--md-sys-color-error)}.md-checkbox__icon{display:inline-flex;align-items:center;justify-content:center;inline-size:var(--_icon-size);block-size:var(--_icon-size);color:var(--_icon-color);overflow:visible}.md-checkbox__icon .material-symbols-outlined{font-family:var(--md-sys-icon-font-family, 'Material Symbols Outlined', 'Material Icons');font-size:var(--_icon-size);line-height:1;font-weight:normal;font-style:normal;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;font-variation-settings:'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24}@keyframes md-checkbox-glyph-in{0%{transform:scale(0);opacity:0}60%{transform:scale(1.18);opacity:1}100%{transform:scale(1);opacity:1}}:host(.md-checkbox--checked) .md-checkbox__icon .material-symbols-outlined,:host(.md-checkbox--indeterminate) .md-checkbox__icon .material-symbols-outlined{animation:md-checkbox-glyph-in var(--md-sys-motion-duration-short2, 200ms) var(--md-sys-motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)) both}:host(.md-checkbox--unselected) .md-checkbox__icon{opacity:0}:host(.md-checkbox--selected) .md-checkbox__icon{opacity:1}:host(.md-checkbox--disabled){cursor:default;pointer-events:none}:host(.md-checkbox--disabled.md-checkbox--unselected) .md-checkbox__container{border-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);background-color:transparent}:host(.md-checkbox--disabled.md-checkbox--selected) .md-checkbox__container{background-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);border-color:transparent}:host(.md-checkbox--disabled.md-checkbox--selected) .md-checkbox__icon{color:var(--md-sys-color-surface)}:host(.md-checkbox--disabled) .md-checkbox__state-layer{display:none}:host([soft-disabled]){cursor:default;pointer-events:auto}:host([soft-disabled].md-checkbox--unselected) .md-checkbox__container{border-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);background-color:transparent}:host([soft-disabled].md-checkbox--selected) .md-checkbox__container{background-color:color-mix(in srgb, var(--md-sys-color-on-surface) calc(var(--md-sys-state-disabled-content-opacity, 0.38) * 100%), transparent);border-color:transparent}:host([soft-disabled].md-checkbox--selected) .md-checkbox__icon{color:var(--md-sys-color-surface)}:host([soft-disabled]) .md-checkbox__state-layer{display:none}@media (prefers-reduced-motion: reduce){.md-checkbox__container,.md-checkbox__state-layer{transition:none}.md-checkbox__icon .material-symbols-outlined{animation:none}}@media (forced-colors: active){:host{forced-color-adjust:none}.md-checkbox__container{border-color:ButtonText;background-color:ButtonFace}:host(.md-checkbox--selected) .md-checkbox__container{background-color:Highlight;border-color:Highlight}:host(.md-checkbox--selected) .md-checkbox__icon{color:HighlightText}:host(:focus-visible){outline-color:Highlight}:host(.md-checkbox--disabled) .md-checkbox__container{border-color:GrayText;opacity:1}:host(.md-checkbox--disabled.md-checkbox--selected) .md-checkbox__container{background-color:GrayText;border-color:GrayText}.md-checkbox__state-layer{display:none}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}.md-checkbox__target{position:relative;display:inline-flex;align-items:center;justify-content:center;inline-size:var(--_touch-size);block-size:var(--_touch-size);border-radius:var(--md-sys-shape-corner-full, 50%);overflow:hidden;flex-shrink:0}:host(.md-checkbox--has-support){display:inline-flex;flex-direction:column;align-items:flex-start;inline-size:var(--_touch-size);block-size:auto;overflow:visible;border-radius:0}.md-checkbox__support{display:block;margin-block-start:2px;margin-inline-start:calc((var(--_touch-size) - var(--_container-size)) / 2);inline-size:max-content;max-inline-size:min(60ch, calc(100vw - 48px));overflow-wrap:anywhere;font-family:var(--md-sys-typescale-body-small-font-family, Roboto, sans-serif);font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));color:var(--md-checkbox-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454F))}.md-checkbox__support--error{color:var(--md-checkbox-error-text-color, var(--md-sys-color-error, #B3261E))}:host([hidden]){display:none !important}`;const u=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.mdChange=s(this,"mdChange",7);this.mdValidityChange=s(this,"mdValidityChange",5);this.internals=this.attachInternals();this.valueMissingLabel="Please check this box if you want to proceed.";this.customValidityMessage="";this.validationMessage="";this.validationPresenter=new c({host:()=>this.el,validity:()=>n(this.internals),message:e=>{this.validationMessage=e},focus:()=>this.el.focus()});this.uid=`md-checkbox-${Math.random().toString(36).slice(2,7)}`;this.invalid=false;this.error=false;this.errorText="";this.supportingText="";this.checked=false;this.indeterminate=false;this.disabled=false;this.softDisabled=false;this.required=false;this.name="";this.value="on";this.density=0;this.prevChecked=false;this.prevIndeterminate=false;this.pressed=false;this.initialChecked=false;this.initialIndeterminate=false;this.lastValidityKey=null;this.handleClick=()=>{if(this.isDisabled)return;this.prevChecked=this.checked;this.prevIndeterminate=this.indeterminate;if(this.indeterminate){this.indeterminate=false;this.checked=true}else{this.checked=!this.checked}this.mdChange.emit({checked:this.checked,indeterminate:this.indeterminate})};this.handleKeyDown=e=>{if(this.isDisabled)return;if(e.key===" "){e.preventDefault();this.pressed=true;r(this.el);this.handleClick();setTimeout((()=>{this.pressed=false}),150)}};this.handlePointerDown=()=>{if(!this.isDisabled)this.pressed=true};this.handlePointerUp=()=>{this.pressed=false}}resetValidationPresentation(){this.validationPresenter.reset()}handleInvalid(e){this.validationPresenter.handleInvalid(e)}componentDidRender(){if(this.internals&&"ariaDescribedByElements"in this.internals){this.internals.ariaDescribedByElements=this.supportEl?[this.supportEl]:[]}}get isDisabled(){return this.disabled||this.softDisabled}componentWillLoad(){this.initialChecked=this.checked;this.initialIndeterminate=this.indeterminate;this.syncFormValue()}onStateChange(){this.prevChecked=this.checked;this.prevIndeterminate=this.indeterminate;this.syncFormValue()}onValueChange(){this.syncFormValue()}formDisabledCallback(e){if(e)queueMicrotask((()=>this.validationPresenter.reset()))}formResetCallback(){this.validationPresenter.reset();this.checked=this.initialChecked;this.indeterminate=this.initialIndeterminate}syncFormValue(){d(this.internals,this.checked?this.value:null);this.syncValidity()}syncValidity(){this.invalid=this.required&&!this.checked&&!this.customValidityMessage?true:!!this.customValidityMessage;l(this.internals,{missing:this.required&&!this.checked,missingMessage:this.valueMissingLabel,customMessage:this.customValidityMessage});this.validationPresenter.refresh();this.emitValidityChange()}async getValidity(){return n(this.internals)}emitValidityChange(){const e=n(this.internals);const t=`${e.valid}|${e.validationMessage}`;if(this.lastValidityKey===t)return;const s=this.lastValidityKey!==null;this.lastValidityKey=t;if(s)this.mdValidityChange.emit(e)}async checkValidity(){return h(this.internals)}async reportValidity(){return m(this.internals)}async setCustomValidity(e){this.customValidityMessage=e;this.syncValidity()}get ariaCheckedValue(){if(this.indeterminate)return"mixed";return String(this.checked)}render(){const e=this.isDisabled;const t=this.error||!!this.validationMessage;const s=this.errorText||this.validationMessage||this.supportingText;const a=this.checked||this.indeterminate;const r=this.el.getAttribute("aria-hidden")==="true";return o(i,{key:"cad7204135b9d45e6f26a7b90782871ad32745d1",class:{"md-checkbox":true,"md-checkbox--checked":this.checked&&!this.indeterminate,"md-checkbox--indeterminate":this.indeterminate,"md-checkbox--disabled":e,"md-checkbox--selected":a,"md-checkbox--unselected":!a,"md-checkbox--pressed":this.pressed,"md-checkbox--prev-unselected":!this.prevChecked&&!this.prevIndeterminate,"md-checkbox--has-support":!!s},role:"checkbox","aria-invalid":this.invalid||t?"true":undefined,"aria-checked":this.ariaCheckedValue,"aria-disabled":e?"true":undefined,"aria-required":this.required?"true":undefined,tabindex:r?null:this.disabled?"-1":"0",onPointerDown:this.handlePointerDown,onPointerUp:this.handlePointerUp,onPointerLeave:this.handlePointerUp,onPointerCancel:this.handlePointerUp,onClick:this.handleClick,onKeyDown:this.handleKeyDown},o("span",{key:"3d46f07d7b6d93fd75c84b5c3e1b50d970d4ab18",class:"md-checkbox__target",part:"target"},o("span",{key:"2e663e82732f210b87ef33e896045c4f97e0a1e4",class:"md-checkbox__ripple-layer","aria-hidden":"true"},o("md-ripple",{key:"363fd642e65a48f79bf7fe65300281a9199a3eff",disabled:e})),o("span",{key:"2d73a36fcc3680dad3c90774921a24a1ed2a6df3",class:"md-checkbox__state-layer",part:"state-layer","aria-hidden":"true"}),o("span",{key:"e7ce48e7794a3758ec740165ebe4aafded4b5092",class:"md-checkbox__container",part:"container"},o("span",{key:"5907030772228706291341518145111ba3ea7625",class:"md-checkbox__icon",part:"icon","aria-hidden":"true"},o("span",{key:"06dfa0b127354d105a97703a32b2a7b4435f0158",class:"material-symbols-outlined"},this.indeterminate?"remove":"check")))),s&&o("span",{key:"fe42e79342158d5956b180e2dcdb2d73b33a8770",id:`${this.uid}-support`,ref:e=>{this.supportEl=e},part:"supporting-text",role:t?"alert":undefined,class:{"md-checkbox__support":true,"md-checkbox__support--error":t}},s))}static get formAssociated(){return true}get el(){return this}static get watchers(){return{name:[{resetValidationPresentation:0}],checked:[{onStateChange:0}],indeterminate:[{onStateChange:0}],value:[{onValueChange:0}],required:[{syncValidity:0}],valueMissingLabel:[{syncValidity:0}]}}static get style(){return y()}},[65,"md-checkbox",{valueMissingLabel:[1,"value-missing-label"],error:[516],errorText:[1025,"error-text"],supportingText:[1,"supporting-text"],checked:[1540],indeterminate:[1540],disabled:[516],softDisabled:[516,"soft-disabled"],required:[516],name:[1],value:[1],density:[514],validationMessage:[32],invalid:[32],prevChecked:[32],prevIndeterminate:[32],pressed:[32],getValidity:[64],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},[[0,"invalid","handleInvalid"]],{name:[{resetValidationPresentation:0}],checked:[{onStateChange:0}],indeterminate:[{onStateChange:0}],value:[{onValueChange:0}],required:[{syncValidity:0}],valueMissingLabel:[{syncValidity:0}]}]);function x(){if(typeof customElements==="undefined"){return}const e=["md-checkbox","md-ripple"];e.forEach((e=>{switch(e){case"md-checkbox":if(!customElements.get(a(e))){customElements.define(a(e),u)}break;case"md-ripple":if(!customElements.get(a(e))){b()}break}}))}x();export{u as M,x as d};
|
|
2
|
-
//# sourceMappingURL=p-BleC9P8P.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["mdCheckboxCss","MdCheckbox","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","valueMissingLabel","customValidityMessage","validationMessage","validationPresenter","InlineValidationPresenter","host","el","validity","getValidityOf","internals","message","focus","uid","Math","random","toString","slice","invalid","error","errorText","supportingText","checked","indeterminate","disabled","softDisabled","required","name","value","density","prevChecked","prevIndeterminate","pressed","initialChecked","initialIndeterminate","lastValidityKey","handleClick","isDisabled","mdChange","emit","handleKeyDown","e","key","preventDefault","triggerRipple","setTimeout","handlePointerDown","handlePointerUp","resetValidationPresentation","reset","handleInvalid","event","componentDidRender","ariaDescribedByElements","supportEl","componentWillLoad","syncFormValue","onStateChange","onValueChange","formDisabledCallback","queueMicrotask","formResetCallback","setFormValue","syncValidity","setValidityState","missing","missingMessage","customMessage","refresh","emitValidityChange","getValidity","v","valid","primed","mdValidityChange","checkValidity","checkValidityOf","reportValidity","reportValidityOf","setCustomValidity","ariaCheckedValue","String","render","isEffectivelyDisabled","hasError","supportingMessage","isSelected","decorative","getAttribute","h","Host","class","role","undefined","tabindex","onPointerDown","onPointerUp","onPointerLeave","onPointerCancel","onClick","onKeyDown","part","id","ref"],"sources":["../sources/86c6289c5e904f1207eaa10055628a8f2c9fd92640a8c67f90264b735aa93ebe/md-checkbox.css_tag_md-checkbox_encapsulation_shadow","../sources/12e68b45d1474ba21c1e199d024e405583a9c4b734aba0a35fae8dc5ee673429/md-checkbox.tsx"],"mappings":"sNAAA,MAAMA,EAAgB,IAAM,m2S,MC8BfC,EAAUC,EAAA,MAAAD,UAAAE,EANvB,WAAAC,CAAAC,G,8LAoB8CC,KAAAC,kBAC1C,gDAGMD,KAAAE,sBAAwB,GAEfF,KAAAG,kBAAoB,GAE7BH,KAAAI,oBAAsB,IAAIC,EAA0B,CAC1DC,KAAM,IAAMN,KAAKO,GACjBC,SAAU,IAAMC,EAAcT,KAAKU,WACnCC,QAAUA,IAAcX,KAAKG,kBAAoBQ,CAAO,EACxDC,MAAO,IAAMZ,KAAKO,GAAGK,UAuBfZ,KAAAa,IAAM,eAAeC,KAAKC,SAASC,SAAS,IAAIC,MAAM,EAAG,KAGhDjB,KAAAkB,QAAU,MAGFlB,KAAAmB,MAAiB,MAcQnB,KAAAoB,UAAoB,GAG9BpB,KAAAqB,eAAyB,GAYzBrB,KAAAsB,QAAmB,MAGnBtB,KAAAuB,cAAyB,MAGxCvB,KAAAwB,SAAoB,MAGQxB,KAAAyB,aAAwB,MAGpDzB,KAAA0B,SAAoB,MAGrC1B,KAAA2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C,IAAA,2CAAMiD,MAAM,yBAAyBU,KAAK,aAKxCZ,EAAA,QAAA/C,IAAA,2CAAMiD,MAAM,oBAAoBU,KAAK,OAAM,cAAa,QACtDZ,EAAA,QAAA/C,IAAA,2CAAMiD,MAAM,6BACT3F,KAAKuB,cAAgB,SAAW,YAMtC8D,GACCI,EAAA,QAAA/C,IAAA,2CACE4D,GAAI,GAAGtG,KAAKa,cACZ0F,IAAMhG,IAASP,KAAKsD,UAAY/C,CAAE,EAClC8F,KAAK,kBACLT,KAAMR,EAAW,QAAUS,UAC3BF,MAAO,CACL,uBAAwB,KACxB,8BAA+BP,IAGhCC,G","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as t,H as s,c as i,h as e,d as o,t as n}from"./p-B7GMP_JD.js";const r=()=>`:host{display:inline-block;position:relative}.md-tooltip__popup{position:fixed;z-index:var(--md-sys-z-index-tooltip, 1500);pointer-events:none;box-sizing:border-box;width:max-content;opacity:0;visibility:hidden;transform:scale(0.9);transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, ease), transform var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, ease), visibility 0ms linear var(--md-sys-motion-duration-short2, 100ms)}.md-tooltip__popup--visible{opacity:1;visibility:visible;transform:scale(1);pointer-events:auto;transition:opacity var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, ease), transform var(--md-sys-motion-duration-short2, 100ms) var(--md-sys-motion-easing-standard, ease), visibility 0ms linear 0ms}.md-tooltip__popup--plain{--_container-color:var(--md-tooltip-plain-container-color, var(--md-sys-color-inverse-surface, #313033));--_text-color:var(--md-tooltip-plain-text-color, var(--md-sys-color-inverse-on-surface, #F4EFF4));--_shape:var(--md-tooltip-container-shape, var(--md-sys-shape-corner-extra-small, 4px));background-color:var(--_container-color);color:var(--_text-color);border-radius:var(--_shape);padding-block:var(--md-sys-spacing-inset-xs, 4px);padding-inline:var(--md-sys-spacing-inset-sm, 8px);min-block-size:max(20px, calc(24px + var(--md-sys-density-scale, 0) * 1px));max-inline-size:min(var(--md-tooltip-plain-max-inline-size, 280px), calc(100vw - 16px));font-family:var(--md-sys-typescale-body-small-font-family, Roboto, sans-serif);font-size:max(10px, calc(12px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-small-font-weight, 400);line-height:max(14px, calc(16px + var(--md-sys-density-scale, 0) * 0.5px));letter-spacing:var(--md-sys-typescale-body-small-letter-spacing, 0.4px);white-space:normal;display:flex;align-items:center}.md-tooltip__text{overflow-wrap:anywhere}.md-tooltip__popup--rich{--_container-color:var(--md-tooltip-rich-container-color, var(--md-sys-color-surface-container, #F3EDF7));--_subhead-color:var(--md-tooltip-rich-subhead-color, var(--md-sys-color-on-surface-variant, #49454F));--_text-color:var(--md-tooltip-rich-text-color, var(--md-sys-color-on-surface-variant, #49454F));--_action-color:var(--md-tooltip-rich-action-color, var(--md-sys-color-primary, #6750A4));--_shape:var(--md-tooltip-rich-container-shape, var(--md-sys-shape-corner-medium, 12px));background-color:var(--_container-color);color:var(--_text-color);border-radius:var(--_shape);padding-block-start:var(--md-sys-spacing-inset-md, 12px);padding-block-end:var(--md-sys-spacing-inset-sm, 8px);padding-inline:var(--md-sys-spacing-inset-lg, 16px);min-inline-size:var(--md-tooltip-rich-min-inline-size, 120px);max-inline-size:min(var(--md-tooltip-rich-max-inline-size, 320px), calc(100vw - 16px));white-space:normal;box-shadow:var(--md-sys-elevation-2, 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.3))}.md-tooltip__subhead{font-family:var(--md-sys-typescale-title-small-font-family, Roboto, sans-serif);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-title-small-font-weight, 500);line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));letter-spacing:var(--md-sys-typescale-title-small-letter-spacing, 0.1px);color:var(--_subhead-color);margin-block-end:var(--md-sys-spacing-gap-xs, 4px)}.md-tooltip__supporting-text{font-family:var(--md-sys-typescale-body-medium-font-family, Roboto, sans-serif);font-size:max(11px, calc(14px + var(--md-sys-density-scale, 0) * 0.5px));font-weight:var(--md-sys-typescale-body-medium-font-weight, 400);line-height:max(16px, calc(20px + var(--md-sys-density-scale, 0) * 1px));letter-spacing:var(--md-sys-typescale-body-medium-letter-spacing, 0.25px);color:var(--_text-color)}.md-tooltip__actions{display:flex;gap:var(--md-sys-spacing-gap-sm, 8px);justify-content:flex-end;margin-block-start:var(--md-sys-spacing-gap-md, 12px);color:var(--_action-color)}.md-tooltip__actions--empty{display:none}::slotted([slot="actions"]){color:var(--_action-color)}.md-tooltip__popup--top,.md-tooltip__popup--top-start,.md-tooltip__popup--top-end{transform-origin:bottom center}.md-tooltip__popup--bottom,.md-tooltip__popup--bottom-start,.md-tooltip__popup--bottom-end{transform-origin:top center}.md-tooltip__popup--left,.md-tooltip__popup--left-start,.md-tooltip__popup--left-end{transform-origin:center right}.md-tooltip__popup--right,.md-tooltip__popup--right-start,.md-tooltip__popup--right-end{transform-origin:center left}:host-context([dir="rtl"]) .md-tooltip__actions{justify-content:flex-start}@media (forced-colors: active){.md-tooltip__popup{border:1px solid CanvasText}}@media (prefers-reduced-motion: reduce){.md-tooltip__popup,.md-tooltip__popup--visible{transition:none;transform:none}}:host([density='-1']){--md-sys-density-scale:-1}:host([density='-2']){--md-sys-density-scale:-2}:host([density='-3']){--md-sys-density-scale:-3}:host([density='-4']){--md-sys-density-scale:-4}:host([hidden]){display:none !important}`;const a=8;const h=t(class t extends s{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.mdOpen=i(this,"mdOpen",1);this.mdClose=i(this,"mdClose",1);this.text="";this.subhead="";this.variant="plain";this.position="top";this.autoPosition=true;this.offset=8;this.crossOffset=0;this.open=false;this.showDelay=500;this.hideDelay=200;this.disabled=false;this.density=0;this.isVisible=false;this.resolvedPlacement="top";this.hasSlottedActions=false;this.hasSlottedSubhead=false;this.tooltipId=`md-tooltip-${Math.random().toString(36).slice(2,9)}`;this.scrollListenerBound=false;this.escapeListenerBound=false;this.hostHoverBound=false;this.hasLoaded=false;this.suppressed=false;this.onTriggerSlotChange=()=>{const t=this.triggerSlot?.assignedElements();if(t&&t.length>0)this.bindTrigger(t[0])};this.handleTriggerEnter=()=>this.scheduleShow();this.handleTriggerLeave=()=>{this.suppressed=false;this.scheduleHide()};this.handleTriggerFocus=()=>this.scheduleShow();this.handleTriggerBlur=t=>{if(t.relatedTarget&&this.el.contains(t.relatedTarget))return;this.suppressed=false;this.scheduleHide()};this.handleHostFocusOut=t=>{if(this.variant!=="rich"||!this.isVisible)return;if(t.relatedTarget&&this.el.contains(t.relatedTarget))return;this.scheduleHide()};this.handlePopupEnter=()=>{this.clearTimers()};this.handlePopupLeave=()=>{this.scheduleHide()};this.handleGlobalEscape=t=>{if(t.key!=="Escape"||!this.isVisible)return;t.preventDefault();this.clearTimers();this.suppressed=true;const s=this.getDeepActiveElement();const i=!!s&&(this.el.contains(s)||s===this.triggerEl);this.open=false;if(i&&this.triggerEl)this.triggerEl.focus()};this.lastGeom={at:0,al:0,aw:0,ah:0,pw:0,ph:0,vw:0,vh:0,ex:0,ey:0};this.watchdogFrame=0;this.handleScroll=()=>{if(this.isVisible)this.updatePosition()}}componentWillLoad(){this.syncSlotFlags();if(this.open&&!this.disabled)this.isVisible=true}componentDidLoad(){this.hasLoaded=true;this.setup();if(this.open)this.showTooltip()}connectedCallback(){if(!this.hasLoaded)return;this.setup();if(this.isVisible&&!this.disabled){this.addScrollListener();this.addEscapeListener();this.schedulePositionUpdate();this.startPositionWatchdog()}else if(this.open&&!this.isVisible&&!this.disabled){this.showTooltip()}}setup(){const t=this.el.shadowRoot;if(!t)return;this.triggerSlot=t.querySelector("slot:not([name])")??undefined;this.triggerSlot?.addEventListener("slotchange",this.onTriggerSlotChange);this.el.addEventListener("focusout",this.handleHostFocusOut);this.syncSlotFlags();if(typeof MutationObserver!=="undefined"&&!this.slotObserver){this.slotObserver=new MutationObserver((()=>{this.syncSlotFlags();if(this.triggerEl)this.updateTriggerAria(this.triggerEl)}));this.slotObserver.observe(this.el,{childList:true,subtree:true,characterData:true})}const s=this.triggerSlot?.assignedElements()[0];if(s)this.bindTrigger(s)}syncSlotFlags(){const t=Array.from(this.el.children);this.hasSlottedActions=t.some((t=>t.getAttribute("slot")==="actions"));this.hasSlottedSubhead=t.some((t=>t.getAttribute("slot")==="subhead"))}disconnectedCallback(){this.clearTimers();this.stopPositionWatchdog();this.unbindTrigger();this.removeScrollListener();this.removeEscapeListener();this.el.removeEventListener("focusout",this.handleHostFocusOut);this.triggerSlot?.removeEventListener("slotchange",this.onTriggerSlotChange);this.triggerSlot=undefined;this.slotObserver?.disconnect();this.slotObserver=undefined}onOpenChange(t){if(t){this.showTooltip()}else{this.hideTooltip()}}onDisabledChange(t){if(t){this.clearTimers();if(this.open)this.open=false;this.triggerEl?.removeAttribute("aria-description")}else if(this.triggerEl){this.updateTriggerAria(this.triggerEl)}}onDescriptionChange(){if(this.triggerEl)this.updateTriggerAria(this.triggerEl)}async show(){if(this.disabled)return;this.open=true}async hide(){this.open=false}bindTrigger(t){this.unbindTrigger();this.triggerEl=t;if(this.useHostHover(t)){this.el.addEventListener("mouseenter",this.handleTriggerEnter);this.el.addEventListener("mouseleave",this.handleTriggerLeave);this.hostHoverBound=true}else{t.addEventListener("mouseenter",this.handleTriggerEnter);t.addEventListener("mouseleave",this.handleTriggerLeave)}t.addEventListener("focus",this.handleTriggerFocus);t.addEventListener("blur",this.handleTriggerBlur);this.updateTriggerAria(t)}unbindTrigger(){if(this.hostHoverBound){this.el.removeEventListener("mouseenter",this.handleTriggerEnter);this.el.removeEventListener("mouseleave",this.handleTriggerLeave);this.hostHoverBound=false}else if(this.triggerEl){this.triggerEl.removeEventListener("mouseenter",this.handleTriggerEnter);this.triggerEl.removeEventListener("mouseleave",this.handleTriggerLeave)}if(!this.triggerEl)return;this.triggerEl.removeEventListener("focus",this.handleTriggerFocus);this.triggerEl.removeEventListener("blur",this.handleTriggerBlur);this.triggerEl.removeAttribute("aria-description");this.triggerEl=undefined}useHostHover(t){const s=t.tagName.toLowerCase();if(s==="button"||s==="a"||s==="input"||s==="select"||s==="textarea"){return false}if(t.hasAttribute("tabindex")&&t.tabIndex>=0)return false;if(s.startsWith("md-"))return false;return true}updateTriggerAria(t){if(this.disabled){t.removeAttribute("aria-description");return}const s=this.computeDescription();if(s){t.setAttribute("aria-description",s)}else{t.removeAttribute("aria-description")}}computeDescription(){if(this.text)return this.text;if(this.subhead)return this.subhead;const t=[];for(const s of Array.from(this.el.children)){const i=s.getAttribute("slot");if(i==="subhead"||i==="content"){const i=(s.textContent||"").trim();if(i)t.push(i)}}return t.join(". ")}scheduleShow(){if(this.disabled||this.suppressed)return;this.clearTimers();this.showTimer=setTimeout((()=>{this.open=true}),this.showDelay)}scheduleHide(){this.clearTimers();this.hideTimer=setTimeout((()=>{this.open=false}),this.hideDelay)}getDeepActiveElement(){if(typeof document==="undefined")return null;let t=document.activeElement;while(t&&t.shadowRoot&&t.shadowRoot.activeElement)t=t.shadowRoot.activeElement;return t}addEscapeListener(){if(!this.escapeListenerBound){document.addEventListener("keydown",this.handleGlobalEscape,true);this.escapeListenerBound=true}}removeEscapeListener(){if(this.escapeListenerBound){document.removeEventListener("keydown",this.handleGlobalEscape,true);this.escapeListenerBound=false}}showTooltip(){if(this.disabled)return;if(!this.el.isConnected)return;this.isVisible=true;this.mdOpen.emit();this.addScrollListener();this.addEscapeListener();this.schedulePositionUpdate();this.startPositionWatchdog()}schedulePositionUpdate(t=0){requestAnimationFrame((()=>{const s=this.updatePosition();if(!s&&t<3){this.schedulePositionUpdate(t+1)}}))}startPositionWatchdog(){if(typeof requestAnimationFrame!=="function")return;this.stopPositionWatchdog();const t=()=>{if(!this.isVisible||!this.el.isConnected){this.watchdogFrame=0;return}const s=this.popupEl;if(s&&this.triggerEl){const t=s.offsetWidth;const i=s.offsetHeight;if(t!==0||i!==0){const e=this.getAnchorRect();const o=s.getBoundingClientRect();const n=this.lastGeom;const r=e.top!==n.at||e.left!==n.al||e.width!==n.aw||e.height!==n.ah||t!==n.pw||i!==n.ph||Math.abs(o.top-n.ey)>.5||Math.abs(o.left-n.ex)>.5||window.innerWidth!==n.vw||window.innerHeight!==n.vh;if(r)this.updatePosition()}}this.watchdogFrame=requestAnimationFrame(t)};this.watchdogFrame=requestAnimationFrame(t)}stopPositionWatchdog(){if(this.watchdogFrame&&typeof cancelAnimationFrame==="function"){cancelAnimationFrame(this.watchdogFrame)}this.watchdogFrame=0}hideTooltip(){if(!this.isVisible)return;this.isVisible=false;this.mdClose.emit();this.removeScrollListener();this.removeEscapeListener();this.stopPositionWatchdog()}clearTimers(){if(this.showTimer!=null){clearTimeout(this.showTimer);this.showTimer=undefined}if(this.hideTimer!=null){clearTimeout(this.hideTimer);this.hideTimer=undefined}}addScrollListener(){if(!this.scrollListenerBound){window.addEventListener("scroll",this.handleScroll,{capture:true,passive:true});this.scrollListenerBound=true}}removeScrollListener(){if(this.scrollListenerBound){window.removeEventListener("scroll",this.handleScroll,true);this.scrollListenerBound=false}}updatePosition(){if(!this.popupEl||!this.triggerEl)return false;const t=this.getAnchorRect();const s=this.popupEl.offsetWidth;const i=this.popupEl.offsetHeight;if(s===0&&i===0)return false;let e=this.physicalPlacement(this.position);if(this.autoPosition){e=this.findBestPlacement(t,s,i,e)}const o=this.calcCoords(t.width,t.height,s,i,e);if(e.startsWith("top")||e.startsWith("bottom")){o.left+=this.crossOffset}else{o.top+=this.crossOffset}if(this.autoPosition){const n=e.startsWith("top")||e.startsWith("bottom");const r=a;if(n){const i=t.left+o.left;const e=window.innerWidth-s-r;const n=Math.min(Math.max(i,r),Math.max(r,e));o.left+=n-i}else{const s=t.top+o.top;const e=window.innerHeight-i-r;const n=Math.min(Math.max(s,r),Math.max(r,e));o.top+=n-s}}const n=this.toFixedCoords(t.top+o.top,t.left+o.left);this.popupEl.style.top=`${n.top}px`;this.popupEl.style.left=`${n.left}px`;this.popupEl.style.insetBlockStart="";this.popupEl.style.insetInlineStart="";this.resolvedPlacement=e;this.lastGeom={at:t.top,al:t.left,aw:t.width,ah:t.height,pw:s,ph:i,vw:window.innerWidth,vh:window.innerHeight,ex:t.left+o.left,ey:t.top+o.top};return true}getAnchorRect(){if(this.triggerEl){const t=this.triggerEl.getBoundingClientRect();if(t.width>0||t.height>0)return t}return this.el.getBoundingClientRect()}toFixedCoords(t,s){const i=this.getFixedContainingBlock();if(!i){return{top:t,left:s}}const e=i.getBoundingClientRect();return{top:t-e.top,left:s-e.left}}createsFixedContainingBlock(t){const s=t;if(t.transform&&t.transform!=="none"||t.filter&&t.filter!=="none"||t.perspective&&t.perspective!=="none")return true;if(s.translate&&s.translate!=="none"||s.rotate&&s.rotate!=="none"||s.scale&&s.scale!=="none")return true;if(s.backdropFilter&&s.backdropFilter!=="none")return true;if(/\b(transform|perspective|filter|translate|rotate|scale)\b/.test(t.willChange||""))return true;if(/(layout|paint|strict|content)\b/.test(s.contain||""))return true;if(s.contentVisibility==="auto"||s.contentVisibility==="hidden")return true;if(s.containerType&&/\bsize\b/.test(s.containerType))return true;return false}getFixedContainingBlock(){let t=this.el;while(t){if(this.createsFixedContainingBlock(getComputedStyle(t))){return t}if(t.parentElement){t=t.parentElement}else if(t.parentNode instanceof ShadowRoot){t=t.parentNode.host}else{t=null}}return null}physicalPlacement(t){if(typeof window==="undefined")return t;const s=getComputedStyle(this.el).direction==="rtl";if(!s)return t;const[i,e=""]=[t.split("-")[0],t.split("-").slice(1).join("-")];const o=i==="left"?"right":i==="right"?"left":i;const n=i==="top"||i==="bottom"?e==="start"?"end":e==="end"?"start":e:e;return n?`${o}-${n}`:o}calcCoords(t,s,i,e,o){const n=this.offset;switch(o){case"top":return{top:-(e+n),left:(t-i)/2};case"top-start":return{top:-(e+n),left:0};case"top-end":return{top:-(e+n),left:t-i};case"bottom":return{top:s+n,left:(t-i)/2};case"bottom-start":return{top:s+n,left:0};case"bottom-end":return{top:s+n,left:t-i};case"left":return{top:(s-e)/2,left:-(i+n)};case"left-start":return{top:0,left:-(i+n)};case"left-end":return{top:s-e,left:-(i+n)};case"right":return{top:(s-e)/2,left:t+n};case"right-start":return{top:0,left:t+n};case"right-end":return{top:s-e,left:t+n};default:return{top:-(e+n),left:(t-i)/2}}}fitsMainAxis(t,s,i,e,o,n){const r=n.startsWith("top")||n.startsWith("bottom");if(r){const s=t.top+e;return s>=0&&s+i<=window.innerHeight}const a=t.left+o;return a>=0&&a+s<=window.innerWidth}getOppositePlacement(t){const[s,i]=[t.split("-")[0],t.split("-").slice(1).join("-")];const e={top:"bottom",bottom:"top",left:"right",right:"left"};return i?`${e[s]}-${i}`:e[s]}findBestPlacement(t,s,i,e){const o=e=>{const o=this.calcCoords(t.width,t.height,s,i,e);return this.fitsMainAxis(t,s,i,o.top,o.left,e)};if(o(e))return e;const n=this.getOppositePlacement(e);if(o(n))return n;const r=e.split("-")[1]||"";const a=["top","bottom","right","left"];for(const t of a){const s=r?`${t}-${r}`:t;if(s!==e&&s!==n&&o(s)){return s}}return e}render(){const t=this.variant==="rich";const s=!!this.subhead||this.hasSlottedSubhead;const i=this.hasSlottedActions;return e(o,{key:"a08663cfe97ae858946b6e4fec4e12bb0cbfd4b7",class:"md-tooltip-wrapper"},e("slot",{key:"7902aeb4a5a55a8b72a453d1af1744e54a5749d5"}),e("div",{key:"546c994eb369bd96fde38666d9a1e1a576ea66d0",class:{"md-tooltip__popup":true,"md-tooltip__popup--plain":!t,"md-tooltip__popup--rich":t,"md-tooltip__popup--visible":this.isVisible,[`md-tooltip__popup--${this.resolvedPlacement}`]:true},id:this.tooltipId,role:"tooltip",part:"popup","aria-hidden":this.isVisible?"false":"true",ref:t=>this.popupEl=t,onMouseEnter:this.handlePopupEnter,onMouseLeave:this.handlePopupLeave},t?[s&&e("div",{class:"md-tooltip__subhead",part:"subhead",key:"subhead"},e("slot",{name:"subhead"},this.subhead)),e("div",{class:"md-tooltip__supporting-text",part:"supporting-text",key:"text"},e("slot",{name:"content"},this.text)),e("div",{class:{"md-tooltip__actions":true,"md-tooltip__actions--empty":!i},part:"actions",key:"actions"},e("slot",{name:"actions"}))]:e("span",{class:"md-tooltip__text",part:"text"},this.text)))}get el(){return this}static get watchers(){return{open:[{onOpenChange:0}],disabled:[{onDisabledChange:0}],text:[{onDescriptionChange:0}],subhead:[{onDescriptionChange:0}]}}static get style(){return r()}},[257,"md-tooltip",{text:[1],subhead:[1],variant:[513],position:[1],autoPosition:[4,"auto-position"],offset:[2],crossOffset:[2,"cross-offset"],open:[1540],showDelay:[2,"show-delay"],hideDelay:[2,"hide-delay"],disabled:[516],density:[514],isVisible:[32],resolvedPlacement:[32],hasSlottedActions:[32],hasSlottedSubhead:[32],show:[64],hide:[64]},undefined,{open:[{onOpenChange:0}],disabled:[{onDisabledChange:0}],text:[{onDescriptionChange:0}],subhead:[{onDescriptionChange:0}]}]);function l(){if(typeof customElements==="undefined"){return}const t=["md-tooltip"];t.forEach((t=>{switch(t){case"md-tooltip":if(!customElements.get(n(t))){customElements.define(n(t),h)}break}}))}l();export{h as M,l as d};
|
|
2
|
-
//# sourceMappingURL=p-DC2ZvxAb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["mdTooltipCss","TOOLTIP_VIEWPORT_MARGIN","MdTooltip","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","text","subhead","variant","position","autoPosition","offset","crossOffset","open","showDelay","hideDelay","disabled","density","isVisible","resolvedPlacement","hasSlottedActions","hasSlottedSubhead","tooltipId","Math","random","toString","slice","scrollListenerBound","escapeListenerBound","hostHoverBound","hasLoaded","suppressed","onTriggerSlotChange","els","triggerSlot","assignedElements","length","bindTrigger","handleTriggerEnter","scheduleShow","handleTriggerLeave","scheduleHide","handleTriggerFocus","handleTriggerBlur","e","relatedTarget","el","contains","handleHostFocusOut","handlePopupEnter","clearTimers","handlePopupLeave","handleGlobalEscape","key","preventDefault","active","getDeepActiveElement","focusInside","triggerEl","focus","lastGeom","at","al","aw","ah","pw","ph","vw","vh","ex","ey","watchdogFrame","handleScroll","updatePosition","componentWillLoad","syncSlotFlags","componentDidLoad","setup","showTooltip","connectedCallback","addScrollListener","addEscapeListener","schedulePositionUpdate","startPositionWatchdog","shadow","shadowRoot","querySelector","undefined","addEventListener","MutationObserver","slotObserver","updateTriggerAria","observe","childList","subtree","characterData","first","children","Array","from","some","c","getAttribute","disconnectedCallback","stopPositionWatchdog","unbindTrigger","removeScrollListener","removeEscapeListener","removeEventListener","disconnect","onOpenChange","val","hideTooltip","onDisabledChange","removeAttribute","onDescriptionChange","show","hide","useHostHover","tag","tagName","toLowerCase","hasAttribute","tabIndex","startsWith","desc","computeDescription","setAttribute","parts","child","slot","t","textContent","trim","push","join","showTimer","setTimeout","hideTimer","document","a","activeElement","isConnected","mdOpen","emit","attempt","requestAnimationFrame","positioned","tick","popup","popupEl","offsetWidth","offsetHeight","getAnchorRect","p","getBoundingClientRect","g","drifted","top","left","width","height","abs","window","innerWidth","innerHeight","cancelAnimationFrame","mdClose","clearTimeout","capture","passive","anchorRect","popupW","popupH","placement","physicalPlacement","findBestPlacement","coords","calcCoords","isVertical","M","absLeft","maxLeft","clampedLeft","min","max","absTop","maxTop","clampedTop","fixedCoords","toFixedCoords","style","insetBlockStart","insetInlineStart","triggerRect","viewportTop","viewportLeft","containingBlock","getFixedContainingBlock","cbRect","createsFixedContainingBlock","s","transform","filter","perspective","translate","rotate","scale","backdropFilter","test","willChange","contain","contentVisibility","containerType","node","getComputedStyle","parentElement","parentNode","ShadowRoot","host","isRTL","direction","axis","align","split","flippedAxis","flippedAlign","hostW","hostH","o","fitsMainAxis","hostRect","relTop","relLeft","getOppositePlacement","opp","bottom","right","preferred","check","opposite","axes","candidate","render","isRich","hasSubhead","hasActions","h","Host","class","id","role","part","ref","onMouseEnter","onMouseLeave","name"],"sources":["../sources/90fcd127ca98d44fc23297d91f23a8e0852fee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C,iBACnB8M,aAAc1P,KAAK8C,kBAElBiM,EAAM,CACLC,GACEE,EAAA,OAAKE,MAAM,sBAAsBG,KAAK,UAAUvM,IAAI,WAClDkM,EAAA,QAAMS,KAAK,WAAW3P,KAAKE,UAG/BgP,EAAA,OAAKE,MAAM,8BAA8BG,KAAK,kBAAkBvM,IAAI,QAClEkM,EAAA,QAAMS,KAAK,WAAW3P,KAAKC,OAE7BiP,EAAA,OAAKE,MAAO,CAAE,sBAAuB,KAAM,8BAA+BH,GAAcM,KAAK,UAAUvM,IAAI,WACzGkM,EAAA,QAAMS,KAAK,cAGbT,EAAA,QAAME,MAAM,mBAAmBG,KAAK,QAAQvP,KAAKC,O","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function t(t){return!!t&&typeof t==="object"&&typeof t.nodeType==="number"&&typeof t.nodeName==="string"}function n(t){if(t.startsWith("#")){let n=t.slice(1);if(n.length===3)n=n.split("").map((t=>t+t)).join("");if(n.length===4)n=n.split("").map((t=>t+t)).join("");if(n.length<6)return null;const o=parseInt(n.slice(0,2),16)/255;const e=parseInt(n.slice(2,4),16)/255;const s=parseInt(n.slice(4,6),16)/255;const c=n.length>=8?parseInt(n.slice(6,8),16)/255:1;if(Number.isNaN(o)||Number.isNaN(e)||Number.isNaN(s))return null;return[o,e,s,c]}const n=t.match(/rgba?\(([^)]+)\)/);if(n){const t=n[1].split(/[,/]/).map((t=>t.trim()));const o=t=>t.endsWith("%")?parseFloat(t)/100*255:parseFloat(t);const e=o(t[0])/255;const s=o(t[1])/255;const c=o(t[2])/255;const r=t[3]!=null?t[3].endsWith("%")?parseFloat(t[3])/100:parseFloat(t[3]):1;return[e,s,c,Number.isNaN(r)?1:r]}return null}let o;function e(t){if(o===undefined){try{o=typeof document!=="undefined"?document.createElement("canvas").getContext("2d"):null}catch{o=null}}if(!o)return null;try{o.fillStyle="#000000";o.fillStyle=t;const n=o.fillStyle;if(typeof n!=="string")return null;if(n==="#000000"&&t.trim().toLowerCase()!=="black"&&t.trim()!=="#000000"&&t.trim()!=="#000"){return null}return n}catch{return null}}function s(t,n){const[o,e,s,r]=c(t);const i=Math.round(r*n*1e3)/1e3;return`rgba(${Math.round(o*255)}, ${Math.round(e*255)}, ${Math.round(s*255)}, ${i})`}function c(t){const o=t.trim();const s=n(o);if(s)return s;const c=e(o);if(c){const t=n(c);if(t)return t}return[.5,.5,.5,1]}function r(t){const[n,o,e]=c(t);return.299*n+.587*o+.114*e>.62?"#000000":"#ffffff"}function i(t,n,o){const e=c(t);const s=c(n);const r=Math.max(0,Math.min(1,o));const i=t=>Math.round((e[t]+(s[t]-e[t])*r)*255);return`rgba(${i(0)}, ${i(1)}, ${i(2)}, ${e[3]})`}const a=["primary","tertiary","secondary","error","primary-container","tertiary-container","secondary-container","error-container"];const f={primary:"--md-sys-color-primary",secondary:"--md-sys-color-secondary",tertiary:"--md-sys-color-tertiary",error:"--md-sys-color-error","primary-container":"--md-sys-color-primary-container","secondary-container":"--md-sys-color-secondary-container","tertiary-container":"--md-sys-color-tertiary-container","error-container":"--md-sys-color-error-container","surface-variant":"--md-sys-color-surface-variant",success:"--md-sys-color-success",warning:"--md-sys-color-warning",info:"--md-sys-color-info","success-container":"--md-sys-color-success-container","warning-container":"--md-sys-color-warning-container","info-container":"--md-sys-color-info-container"};const l={primary:"#6750A4",secondary:"#625B71",tertiary:"#7D5260",error:"#B3261E","primary-container":"#EADDFF","secondary-container":"#E8DEF8","tertiary-container":"#FFD8E4","error-container":"#F9DEDC","surface-variant":"#E7E0EC",success:"#2E6B4F",warning:"#7A5900",info:"#38608F","success-container":"#B8F0CE","warning-container":"#FFDF9B","info-container":"#D3E4FF"};function u(t,n,o){const e=o??getComputedStyle(t);const s=e.getPropertyValue(f[n]).trim();return s||l[n]}function d(t,n,o){const e=t.filter(Boolean);if(n<=0||e.length===0)return[];if(e.length===1)return Array.from({length:n},(()=>e[0]));const s=[];for(let t=0;t<n;t++){if(n===1){s.push(e[0]);continue}const o=t/(n-1)*(e.length-1);const c=Math.floor(o);const r=Math.min(e.length-1,c+1);const a=o-c;s.push(a===0?e[c]:a===1?e[r]:i(e[c],e[r],a))}if(!o||n<=e.length)return s;return s.map(((t,n)=>n%2===0?t:i(t,n%4===1?o.dark:o.light,.22)))}function h(t,n,o,e){if(!n)return o;if(n in f){return u(t,n,e)}if(!x(n)){console.warn(`[md-chart] "${n}" is not a colour role or a valid CSS colour — falling back. `+`Roles: ${Object.keys(f).join(", ")}.`);return o}return p(t,n)}function x(t){if(typeof CSS==="undefined"||typeof CSS.supports!=="function")return true;return CSS.supports("color",t)}function p(t,n){if(!/var\(|color-mix\(/i.test(n))return n;const o=t.ownerDocument;const e=t.shadowRoot??t;if(!o||typeof getComputedStyle!=="function")return n;const s=o.createElement("span");s.style.cssText="position:absolute;inline-size:0;block-size:0;visibility:hidden";s.style.color=n;e.appendChild(s);const c=getComputedStyle(s).color;s.remove();return c||n}function y(t,n){if(!n?.length)return undefined;return n.map((n=>({from:n.from,to:n.to,color:n.color!=null?p(t,h(t,n.color,n.color)):undefined,label:n.label,labelAlign:n.labelAlign,labelColor:n.labelColor!=null?p(t,h(t,n.labelColor,n.labelColor)):undefined})))}function m(t){const n=t.match(/\d*\.?\d+(?:px|rem|em|pt|%)(?:\s*\/\s*\S+)?\s+(.+)$/);return(n?n[1]:t).trim()}function g(t,n,o){const e=t.getPropertyValue(n).trim();return e||o}function b(t,n,o){const e=t.getPropertyValue(n).trim();if(!e)return o;const s=parseFloat(e);return Number.isFinite(s)?s:o}function M(t){if(!t)return"cubicOut";const n=t.match(/cubic-bezier\(([^)]+)\)/);if(!n)return"cubicOut";const[o,e,s,c]=n[1].split(",").map((t=>parseFloat(t.trim())));if(o<.25&&c>.95)return"cubicOut";if(o>=.3&&e<.1)return"cubicIn";if(Math.abs(o-(1-c))<.15&&Math.abs(e-(1-s))<.15)return"cubicInOut";return"cubicOut"}function w(t){const n=getComputedStyle(t);const o=a.map((o=>u(t,o,n)));const e=b(n,"--md-sys-motion-duration-medium2",300);const c=g(n,"--md-sys-motion-easing-emphasized","cubic-bezier(0.2, 0, 0, 1)");const r=typeof window!=="undefined"&&typeof window.matchMedia==="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;const i=typeof window!=="undefined"&&typeof window.matchMedia==="function"&&window.matchMedia("(forced-colors: active)").matches;return{background:"transparent",textColor:g(n,"--md-sys-color-on-surface","#1C1B1F"),textColorMuted:g(n,"--md-sys-color-on-surface-variant","#49454F"),gridColor:(()=>{const t=g(n,"--md-chart-grid-color","");return t||s(g(n,"--md-sys-color-outline-variant","#CAC4D0"),.5)})(),axisLineColor:g(n,"--md-chart-axis-color",g(n,"--md-sys-color-outline-variant","#CAC4D0")),surface:g(n,"--md-sys-color-surface","#FFFBFE"),tooltipSurface:g(n,"--md-sys-color-inverse-surface",g(n,"--md-sys-color-on-surface","#322F35")),tooltipTextColor:g(n,"--md-sys-color-inverse-on-surface",g(n,"--md-sys-color-surface","#F5EFF7")),tooltipBorderColor:"transparent",tooltipShadow:g(n,"--md-sys-elevation-2","0px 1px 2px rgba(0,0,0,0.3), 0px 2px 6px 2px rgba(0,0,0,0.15)"),tooltipRadius:b(n,"--md-sys-shape-corner-small",8),palette:o,fontFamily:m(g(n,"--md-sys-typescale-label-medium-font",'"Roboto", system-ui, sans-serif')),labelSize:Math.max(9,b(n,"--md-sys-typescale-label-small-size",11)+b(n,"--md-sys-density-scale",0)*.5),titleSize:Math.max(11,b(n,"--md-sys-typescale-title-small-size",14)+b(n,"--md-sys-density-scale",0)*.5),motionDuration:r?0:e,motionEasing:M(c),reducedMotion:r,forcedColors:i}}const $=["--md-sys-color-primary","--md-sys-color-secondary","--md-sys-color-tertiary","--md-sys-color-surface","--md-sys-color-on-surface","--md-sys-color-on-surface-variant","--md-sys-color-outline-variant","--md-sys-color-error"];function v(t){if(typeof getComputedStyle!=="function")return"";const n=getComputedStyle(t);let o="";for(const t of $)o+=n.getPropertyValue(t).trim()+"|";return o+n.getPropertyValue("--md-sys-typescale-body-small-font-family").trim()}function k(t,n){if(typeof window==="undefined"||typeof MutationObserver==="undefined"){return()=>{}}let o=v(t);const e=()=>{const e=v(t);if(e===o)return;o=e;n()};let s=0;const c=()=>{if(s)return;s=requestAnimationFrame((()=>{s=0;e()}))};const r=window.matchMedia?.("(prefers-color-scheme: dark)");r?.addEventListener?.("change",c);const i=new MutationObserver(c);const a={attributes:true,attributeFilter:["data-theme","class","style"]};for(let n=t;n;n=n.parentElement){i.observe(n,a)}if(typeof document!=="undefined"&&document.documentElement){i.observe(document.documentElement,a)}if(typeof document!=="undefined"&&document.head){i.observe(document.head,{childList:true,subtree:true,characterData:true,attributes:true,attributeFilter:["href","media","disabled"]})}return()=>{r?.removeEventListener?.("change",c);i.disconnect();if(s)cancelAnimationFrame(s)}}function z(t,n){return t[n%t.length]}function S(t,n){if(t==null)return"";const o=n||undefined;if(t instanceof Date)return t.toLocaleString(o);if(typeof t==="number")return t.toLocaleString(o);return String(t)}function F(t,n){if(n==="category")return typeof t==="number"?t:0;if(t instanceof Date)return t.getTime();if(typeof t==="number")return t;const o=Number(t);if(!Number.isNaN(o)&&n!=="time")return o;const e=Date.parse(t);return Number.isNaN(e)?0:e}function I(t,n,o="value"){let[e,s]=t;if(e===s){e-=1;s+=1}const c=s-e;return{type:o,size:n,domain:[e,s],bandwidth:0,scale:t=>(t-e)/c*n,invert:t=>e+t/n*c}}function A(t,n){const o=t[1]>0?t[1]:1;const e=t[0]>0?t[0]:Math.max(o/1e6,Number.MIN_VALUE);const s=Math.log10(e);const c=Math.log10(Math.max(o,e*10));const r=c-s||1;return{type:"log",size:n,domain:[e,Math.pow(10,c)],bandwidth:0,scale:t=>(Math.log10(t<=0?e:t)-s)/r*n,invert:t=>Math.pow(10,s+t/n*r)}}function C(t,n,o=true){const e=Math.max(t,1);const s=n/e;const c=o?s/2:0;return{type:"category",size:n,domain:[0,e-1],bandwidth:s,scale:t=>c+t*s,invert:t=>Math.round((t-c)/s)}}const N=14;function E(t,n){const[o,e]=n[0]<=n[1]?n:[n[1],n[0]];const s=t.map((t=>({from:Math.max(o,Math.min(t.from,t.to)),to:Math.min(e,Math.max(t.from,t.to)),gap:t.gap??N}))).filter((t=>t.to>t.from&&t.from>o&&t.to<=e)).sort(((t,n)=>t.from-n.from));const c=[];for(const t of s){const n=c[c.length-1];if(n&&t.from<=n.to){n.to=Math.max(n.to,t.to);n.gap=Math.max(n.gap,t.gap)}else{c.push({...t})}}return c}function D(t,n,o){const e=t.map((t=>({...t})));if(!e.length||o==="log")return e;const s=e[e.length-1];if(n[1]-s.to>1e-9)return e;const c=e.length>1?e[e.length-2].to:n[0];const r=s.from-c;if(!(r>0))return e;const i=j(0,n[1],6);const a=i.length>1?i[1]-i[0]:0;const f=Math.max(r,a);const l=n[1]-f;if(l>s.from+1e-9)s.to=l;return e}function P(t,n={}){const o=n.minGap??8;const e=n.maxBreaks??2;const s=[...new Set(t.filter((t=>Number.isFinite(t))))].sort(((t,n)=>t-n));if(s.length<4)return[];const c=[];for(let t=1;t<s.length;t++){c.push({from:s[t-1],to:s[t],size:s[t]-s[t-1]})}const r=c.map((t=>t.size)).sort(((t,n)=>t-n));const i=r[Math.floor(r.length/2)]||0;if(i<=0)return[];const a=c.filter((t=>t.size>=i*o)).sort(((t,n)=>n.size-t.size)).slice(0,e);return a.map((t=>({from:t.from,to:t.to,gap:n.gap??N}))).sort(((t,n)=>t.from-n.from))}function B(t,n,o,e,s="equal"){const c=o==="log"?A(t,n):I(t,n,o);const r=E(e,c.domain);if(!r.length)return{...c,breaks:[]};const i=r.map((t=>({...t,fromPx:c.scale(t.from),toPx:c.scale(t.to)})));const a=i.reduce(((t,n)=>t+n.gap),0);const f=[];let l=0;for(const t of i){f.push({from:l,to:t.fromPx});l=t.toPx}f.push({from:l,to:n});const u=Math.max(0,n-a);const d=f.reduce(((t,n)=>t+Math.max(0,n.to-n.from)),0);const h=f.map((t=>{const n=Math.max(0,t.to-t.from);const o=s==="equal"?u/f.length:d>0?n/d*u:u/f.length;return{...t,width:n,out:o}}));let x=0;const p=h.map(((t,n)=>{const o=x;x+=t.out+(i[n]?.gap??0);return{...t,outStart:o}}));const y=i.map(((t,n)=>({from:t.from,to:t.to,gap:t.gap,px:p[n].outStart+p[n].out})));return{type:o,size:n,domain:c.domain,bandwidth:0,breaks:y,scale:t=>{const o=c.scale(t);for(let t=0;t<p.length;t++){const n=p[t];if(o<=n.to||t===p.length-1){if(o<n.from)return t>0?p[t-1].outStart+p[t-1].out:n.outStart;const e=n.width>0?(o-n.from)/n.width:1;return n.outStart+e*n.out}}return n},invert:t=>{for(let n=0;n<p.length;n++){const o=p[n];const e=o.outStart+o.out;if(t<=e||n===p.length-1){const n=o.out>0?(Math.max(t,o.outStart)-o.outStart)/o.out:0;return c.invert(o.from+n*o.width)}}return c.domain[1]}}}function L(t,n,o){if(!t)return{ranges:[],sizing:"equal"};const e=t==="auto"?{auto:true}:Array.isArray(t)?{ranges:t}:t;const s=e.gap??N;const c=(e.ranges??[]).map((t=>({from:F(t.from,o),to:F(t.to,o),gap:t.gap??s})));const r=e.auto?P(n,{minGap:e.minGap,maxBreaks:e.maxBreaks,gap:s}):[];return{ranges:[...c,...r],sizing:e.sizing??"equal"}}const _=3;function O(t,n,o,e=6){const s=(t,n,e)=>o==="log"?V(t,n):o==="time"?Y(t,n,e):j(t,n,e);const c=E(n,t);if(!c.length)return s(t[0],t[1],e);const r=[];let i=t[0];for(const t of c){r.push([i,t.from]);i=t.to}r.push([i,t[1]]);const a=Math.max(3,Math.round(e/r.length));const f=(t,n)=>{let e=[];for(const c of[a,a*2,a*4]){e=s(t,n,c).filter((o=>o>=t-1e-9&&o<=n+1e-9));if(e.length>=_||o==="log")break}return e};const l=[];for(const[t,n]of r){if(n<=t)continue;l.push(...f(t,n))}return[...new Set(l)].sort(((t,n)=>t-n))}function q(t,n){return t.some((t=>n>t.from&&n<t.to))}function j(t,n,o=6){const e=Math.min(t,n);const s=Math.max(t,n);if(e===s)return[e];const c=R((s-e)/Math.max(o-1,1));const r=Math.floor(e/c)*c;const i=Math.ceil(s/c)*c;const a=[];const f=Math.round((i-r)/c)+1;for(let t=0;t<f;t++){const n=r+t*c;a.push(Math.abs(n)<c/1e6?0:n)}return a.filter((t=>t>=e-c/1e6&&t<=s+c/1e6))}function R(t,n){const o=Math.floor(Math.log10(t));const e=t/Math.pow(10,o);let s;{s=e<1.5?1:e<3?2:e<7?5:10}return s*Math.pow(10,o)}function V(t,n){const o=Math.floor(Math.log10(t>0?t:n/1e6));const e=Math.ceil(Math.log10(n));const s=[];for(let t=o;t<=e;t++)s.push(Math.pow(10,t));return s.filter((o=>o>=t&&o<=n))}function Y(t,n,o=6){const e=n-t;if(e<=0)return[t];const s=1e3,c=60*s,r=60*c,i=24*r;const a=[s,5*s,15*s,30*s,c,5*c,15*c,30*c,r,3*r,6*r,12*r,i,2*i,7*i,14*i,30*i,90*i,180*i,365*i];const f=e/Math.max(o-1,1);const l=a.findIndex((t=>t>=f));let u=l===-1?a[a.length-1]:a[l];const d=l>0?a[l-1]:undefined;if(d&&e/d<=Math.max(o-1,1)*1.4)u=d;const h=Math.ceil(t/u)*u;const x=[];for(let t=h;t<=n;t+=u)x.push(t);return x}function W(t,n={scale:"value"}){const o=n.scale==="log";let e=Infinity;let s=-Infinity;let c=false;for(let n=0;n<t.length;n++){const r=t[n];if(!Number.isFinite(r))continue;if(o&&r<=0)continue;c=true;if(r<e)e=r;if(r>s)s=r}if(!c){e=o?1:0;s=o?10:1}const r=n.min!=null&&Number.isFinite(n.min);const i=n.max!=null&&Number.isFinite(n.max);let a=r?n.min:e;let f=i?n.max:s;if(o){if(!r&&a>0)a=Math.pow(10,Math.floor(Math.log10(a)));if(!i&&f>0)f=Math.pow(10,Math.ceil(Math.log10(f)));if(a===f){a/=10;f*=10}return[a,f]}if(n.includeZero){if(!r&&a>0)a=0;if(!i&&f<0)f=0}if(a===f){a-=1;f+=1}return[a,f]}const T={square:[45,135,225,315],diamond:[0,90,180,270],triangle:[-90,150,30],"triangle-down":[90,-30,210]};function X(t,n,o,e){const s=t?T[t]:undefined;if(!s)return null;return s.map((t=>{const s=t*Math.PI/180;return{x:n+e*Math.cos(s),y:o+e*Math.sin(s)}}))}const Z=20;const G=4;function H(t,n){const o=Math.max(1,Math.floor(n));if(t.length<=o*G)return t;const e=[];let s=Math.round(t[0].x);let c=0;let r=0;let i=0;let a=0;const f=()=>{const n=[c,i<a?i:a,i<a?a:i,r];let o=-1;for(const s of n){if(s!==o)e.push(t[s]);o=s}};for(let n=1;n<t.length;n++){const o=Math.round(t[n].x);if(o!==s){f();s=o;c=i=a=n}else{if(t[n].y<t[i].y)i=n;if(t[n].y>t[a].y)a=n}r=n}f();return e}function J(t,n,o,e,s){const c=n+e;const r=o+s;let i=false;for(const e of t){if(e.x<n||e.x>c||e.y<o||e.y>r){i=true;break}}if(!i)return t;return t.map((t=>({x:t.x<n?n:t.x>c?c:t.x,y:t.y<o?o:t.y>r?r:t.y})))}function K(t,n){if(t.length<2)return t.slice();switch(n){case"linear":return t.slice();case"step":case"step-before":case"step-middle":return Q(t,n);case"monotone":return tt(t);case"smooth":default:return U(t)}}function Q(t,n){const o=[t[0]];for(let e=1;e<t.length;e++){const s=t[e-1];const c=t[e];if(n==="step"){o.push({x:c.x,y:s.y},c)}else if(n==="step-before"){o.push({x:s.x,y:c.y},c)}else{const t=(s.x+c.x)/2;o.push({x:t,y:s.y},{x:t,y:c.y},c)}}return o}function U(t){const n=[t[0]];for(let o=0;o<t.length-1;o++){const e=t[o-1]??t[o];const s=t[o];const c=t[o+1];const r=t[o+2]??c;for(let t=1;t<=Z;t++){const o=t/Z;const i=o*o;const a=i*o;const f=.5*(2*s.x+(-e.x+c.x)*o+(2*e.x-5*s.x+4*c.x-r.x)*i+(-e.x+3*s.x-3*c.x+r.x)*a);const l=.5*(2*s.y+(-e.y+c.y)*o+(2*e.y-5*s.y+4*c.y-r.y)*i+(-e.y+3*s.y-3*c.y+r.y)*a);n.push({x:f,y:l})}}return n}function tt(t){const n=t.length;const o=[];const e=[];for(let s=0;s<n-1;s++){const n=t[s+1].x-t[s].x||1e-6;o.push(n);e.push((t[s+1].y-t[s].y)/n)}const s=[e[0]];for(let t=1;t<n-1;t++){if(e[t-1]*e[t]<=0){s.push(0)}else{const n=2*o[t]+o[t-1];const c=o[t]+2*o[t-1];s.push((n+c)/(n/e[t-1]+c/e[t]))}}s.push(e[n-2]);const c=[t[0]];for(let e=0;e<n-1;e++){const n=t[e];const r=t[e+1];const i=o[e];for(let t=1;t<=Z;t++){const o=t/Z;const a=o*o;const f=a*o;const l=2*f-3*a+1;const u=f-2*a+o;const d=-2*f+3*a;const h=f-a;c.push({x:n.x+o*i,y:l*n.y+u*i*s[e]+d*r.y+h*i*s[e+1]})}}return c}function nt(t,n){const o=[];let e=[];for(let s=0;s<t.length;s++){const c=t[s];if(c===undefined)continue;if(c==null||!Number.isFinite(c)){if(n)continue;if(e.length){o.push(e);e=[]}continue}e.push({index:s,value:c})}if(e.length)o.push(e);return o}function ot(t,n,o){const e=Math.max(0,...t.map((t=>t.length)));const s=t.map((()=>[]));const c=n==="silhouette"||n==="wiggle";for(let r=0;r<e;r++){const e=new Map;const i=new Map;const a=new Map;const f=(t,n,o)=>t.set(n,(t.get(n)??0)+o);for(let n=0;n<t.length;n++){const s=t[n][r];const c=o[n]??"stacked";if(c==="__unstacked__"||s==null||!Number.isFinite(s))continue;f(e,c,s);if(s>=0)f(i,c,s);else f(a,c,-s)}const l=new Map;const u=new Map;for(let f=0;f<t.length;f++){const d=t[f][r];if(d===undefined){s[f][r]=undefined;continue}if(d==null||!Number.isFinite(d)){s[f][r]=null;continue}const h=o[f]??"stacked";const x=n!=="none"&&h!=="__unstacked__";if(!x){s[f][r]=[0,d];continue}const p=c?-(e.get(h)??0)/2:0;if(!l.has(h))l.set(h,p);if(!u.has(h))u.set(h,p);const y=i.get(h)??0;const m=a.get(h)??0;let g=d;if(n==="percentage"){g=d>=0?y>0?d/y*100:0:m>0?d/m*100:0}if(g>=0){const t=l.get(h);s[f][r]=[t,t+g];l.set(h,t+g)}else{const t=u.get(h);s[f][r]=[t+g,t];u.set(h,t+g)}}}return s}function et(t){const n=!t.range&&t.stroke!==false;const o=t.showMarks||!!t.markIndices?.length||!!t.pointSymbols;return n||o}const st=5;function ct(t,n){return t.length*n*.58}function rt(t,n,o){let e=1;let s=0;for(const c of t){const t=ct(c,n)+28;if(s>0&&s+t>o){e++;s=t}else{s+=t}}return e}function it(t,n=1){if(t==="dashed")return[n*3.5,n*3];if(t==="dotted")return[Math.max(1,n*.4),n*2.6];return undefined}const at=30;const ft=3;const lt=4;function ut(t,n,o,e,s,c){const r=[];const i=s-e;if(i<=0)return r;const a=(n+o)/2;const f=Math.min(lt,(o-n)/2);const l=Math.max(4,Math.round(i/ft));const u=t=>{const n=e+i*t/l;return{p:n,off:a+f*Math.sin(n/at*Math.PI*2)}};let d=u(0);for(let n=1;n<=l;n++){const o=u(n);r.push(t==="y"?{x1:d.p,y1:d.off,x2:o.p,y2:o.off,color:c,width:1.5}:{x1:d.off,y1:d.p,x2:o.off,y2:o.p,color:c,width:1.5});d=o}return r}function dt(t,n,o,e,s,c,r){const i=[];let a=n;const f=(n,o)=>t==="y"?{x1:e,y1:n,x2:e,y2:o,color:c,width:1,dash:r}:{x1:n,y1:e,x2:o,y2:e,color:c,width:1,dash:r};for(const t of s){const o=n+t.px;if(o>a)i.push(f(a,o));a=o+t.gap}if(o>a)i.push(f(a,o));return i}const ht=8;function xt(t,n,o,e,s,c){const r=[];const i=[];if(!t?.length)return{rects:r,labels:i};const a=n==="y";const f=a?e.y:e.x;const l=a?e.y+e.height:e.x+e.width;t.forEach(((t,n)=>{const u=o(t.from);const d=o(t.to);if(!Number.isFinite(u)||!Number.isFinite(d))return;const h=Math.max(f,Math.min(u,d));const x=Math.min(l,Math.max(u,d));if(x<=h)return;const p=t.color??pt(s.axisLineColor,.07);r.push(a?{x:e.x,y:h,w:e.width,h:x-h,color:p}:{x:h,y:e.y,w:x-h,h:e.height,color:p});if(!t.label)return;const y=t.labelAlign??"start";const m=y==="center"?a?e.x+e.width/2:e.y+e.height/2:y==="end"?a?e.x+e.width-ht:e.y+e.height-ht:a?e.x+ht:e.y+ht;i.push({x:a?m:h+ht,y:a?h+ht:m,text:t.label,color:t.labelColor??s.textColorMuted,fontSize:s.labelSize,align:a?y==="center"?"center":y:"start",baseline:a?"top":y==="center"?"middle":y==="end"?"bottom":"top",key:`${c}-${n}`})}));return{rects:r,labels:i}}function pt(t,n){if(t.startsWith("#")){let o=t.slice(1);if(o.length===3)o=o.split("").map((t=>t+t)).join("");const e=parseInt(o.slice(0,2),16);const s=parseInt(o.slice(2,4),16);const c=parseInt(o.slice(4,6),16);return`rgba(${e}, ${s}, ${c}, ${n})`}if(t.startsWith("rgb("))return t.replace(/^rgb\(/,"rgba(").replace(/\)$/,`, ${n})`);return t}function yt(t,n,o,e){if(t.inverted)return gt(t,n,o,e);if(t.yAxes&&t.yAxes.length>0)return mt(t,n,o,e);t.series.filter((t=>!t.hidden));const s=t.xValues.length||Math.max(0,...t.series.map((t=>t.data.length)));const c=t.series.map((n=>t.stack!=="none"&&!n.range?"stacked":"__unstacked__"));const r=ot(t.series.map((t=>t.hidden?[]:t.data)),t.stack,c);t.series.forEach(((t,n)=>{if(!t.range||t.hidden)return;r[n]=t.range.map((t=>t?[Math.min(t[0],t[1]),Math.max(t[0],t[1])]:t))}));const i=[];t.series.forEach(((t,n)=>{if(t.hidden)return;r[n].forEach((t=>{if(t){i.push(t[0],t[1])}}))}));const a=W(i,{min:t.yMin,max:t.yMax,scale:t.yScale,includeZero:t.stack!=="none"||t.yScale==="value"});const f=t.xValues.map((n=>F(n,t.xScale)));const l=W(f,{scale:t.xScale});const u={ranges:[],sizing:"equal"};const d=t.compact?u:L(t.yBreaks,i,t.yScale);const h=t.compact||t.xScale==="category"?u:L(t.xBreaks,f,t.xScale);const x={...d,ranges:E(d.ranges,a)};const p={...h,ranges:E(h.ranges,l)};const y=O(a,x.ranges,t.yScale,6).filter((t=>!q(x.ranges,t)));const m=y.map((n=>(t.yTickFormatter??t.yFormatter)(n)));const g=t.yHidden||t.yHideTicks?0:Math.max(0,...m.map((t=>ct(t,n.labelSize))));const b=t.subtitle?n.labelSize+4:0;const M=t.title?n.titleSize+10+b:0;const w=t.xHidden||t.xHideTicks?0:n.labelSize+8;const $=t.yLabel?n.labelSize+6:0;const v=t.xLabel?n.labelSize+6:0;const k=!!t.legend&&t.legend!=="none"&&t.series.length>1;const z=k&&(t.legend==="left"||t.legend==="right");const S=k&&!z&&t.legend.startsWith("bottom");const I=k&&!z&&!S;const A=I||S?rt(t.series.map((t=>t.label)),n.labelSize,o*.86):1;const N=t.legendExtent!=null&&(I||S)?t.legendExtent+8:A*(n.labelSize+8)+6;const D=I?N:0;const P=S?N:0;const _=z?t.legendExtent!=null?t.legendExtent+16:Math.max(0,...t.series.map((t=>ct(t.label,n.labelSize))))+34:0;const j=t.seriesLabels?Math.max(0,...t.series.filter((t=>!t.hidden)).map((t=>ct(t.label,n.labelSize))))+20:0;const R=!!t.compact;const V=R?Math.max(2,...t.series.filter((t=>!t.hidden&&(t.showMarks||(t.markIndices?.length??0)>0||t.pointSymbols))).map((t=>$t(t.symbol,t.markSize)+2))):0;const Y=R?V:M+8+D;const T=R?V:12+ct(m[m.length-1]??"",n.labelSize)/2+(t.legend==="right"?_:0)+j;const X=R?V:w+v+6+P;const Z=R?V:g+10+$+(t.legend==="left"?_:0);const G={x:Z,y:Y,width:Math.max(1,o-Z-T),height:Math.max(1,e-Y-X)};const Q=t.xScale==="category"?C(s,G.width,true):B(l,G.width,t.xScale,p.ranges,p.sizing);const U=B(a,G.height,t.yScale,x.ranges,x.sizing);const tt=t=>G.y+G.height-U.scale(t);const at=n=>G.x+(t.xScale==="category"?Q.scale(n):Q.scale(F(t.xValues[n],t.xScale)));const ft=[];const lt=[];if(!R){const o=xt(t.yBands,"y",(n=>tt(F(n,t.yScale))),G,n,"yband");const e=xt(t.xBands,"x",(n=>G.x+Q.scale(t.xScale==="category"?Number(n):F(n,t.xScale))),G,n,"xband");lt.push(...o.rects,...e.rects);ft.push(...o.labels,...e.labels)}const ht=[];const yt=[];const Mt=it(t.yGridDash,1);const kt=it(t.xGridDash,1);const zt=it(t.yDash,1);const St=it(t.xDash,1);if(!t.yHidden&&!R){for(const o of y){const e=tt(o);if(t.gridY!==false){ht.push({x1:G.x,y1:e,x2:G.x+G.width,y2:e,color:n.gridLineColor,width:1,dash:Mt})}if(t.axisTicks){yt.push({x1:G.x-st,y1:e,x2:G.x,y2:e,color:n.axisLineColor,width:1,dash:zt})}}const o=(U.breaks??[]).map((t=>({px:G.height-t.px-t.gap,gap:t.gap})));yt.push(...dt("y",G.y,G.y+G.height,G.x,o,n.axisLineColor,zt));for(const t of o){yt.push(...ut("y",G.y+t.px,G.y+t.px+t.gap,G.x,G.x+G.width,n.axisLineColor))}}if(!t.xHidden&&!R){const t=G.y+G.height;const o=(Q.breaks??[]).map((t=>({px:t.px,gap:t.gap})));yt.push(...dt("x",G.x,G.x+G.width,t,o,n.axisLineColor,St));for(const t of o){yt.push(...ut("x",G.x+t.px,G.x+t.px+t.gap,G.y,G.y+G.height,n.axisLineColor))}}const Ft=[];const It=[];const At=[];const Ct=[];const Nt=[];const Et=[];const Dt=tt(Math.max(a[0],0));const Pt=t=>{if(!x.ranges.length&&!p.ranges.length)return[t];const n=[];let o=[];let e="";for(const s of t){const t=f[s.index];if(q(x.ranges,s.value)||t!==undefined&&q(p.ranges,t)){if(o.length)n.push(o);o=[];e="";continue}const c=x.ranges.filter((t=>s.value>=t.to)).length+":"+p.ranges.filter((n=>t!==undefined&&t>=n.to)).length;if(e&&c!==e&&o.length){n.push(o);o=[]}e=c;o.push(s)}if(o.length)n.push(o);return n};t.series.forEach(((o,e)=>{if(o.hidden)return;const s=nt(r[e].map((t=>t===undefined?undefined:t?t[1]:null)),o.connectNulls).flatMap(Pt);const c={};let i;for(const a of s){if(!a.length)continue;const s=a.map((t=>({x:at(t.index),y:tt(t.value)})));i=s[s.length-1];a.forEach(((t,n)=>{const i=o.pointSymbols?.[t.index]??(o.symbol&&o.symbol!=="none"?o.symbol:"circle");const a=o.range?r[e][t.index]:undefined;c[t.index]={x:s[n].x,y:s[n].y,value:o.data[t.index]??t.value,symbol:i,...a?{low:a[0],high:a[1]}:{}}}));const f=J(K(H(s,G.width),o.curve),G.x,G.y,G.width,G.height);const l=o.dashAfter!=null?a.findIndex((t=>t.index>=o.dashAfter)):-1;const u=o.lineWidth??2.5;if(o.range||o.stroke===false);else if(l>0&&l<a.length){Ft.push({points:J(K(H(s.slice(0,l+1),G.width),o.curve),G.x,G.y,G.width,G.height),color:o.color,width:u,dash:it(o.dash,u),seriesIndex:e});Ft.push({points:J(K(H(s.slice(l),G.width),o.curve),G.x,G.y,G.width,G.height),color:o.color,width:u,dash:it("dotted",u),seriesIndex:e})}else if(l===0){Ft.push({points:f,color:o.color,width:u,dash:it("dotted",u),seriesIndex:e})}else{Ft.push({points:f,color:o.color,width:u,dash:it(o.dash,u),seriesIndex:e})}if(t.area&&o.fill!==false){const n=t.fillOpacity??.35;const s=t.stack!=="none"||o.range?J(K(a.map((t=>({x:at(t.index),y:tt(r[e][t.index][0])}))),o.curve),G.x,G.y,G.width,G.height):undefined;It.push({points:f,baselineY:Dt,colorTop:pt(o.color,n),colorBottom:s?pt(o.color,n):pt(o.color,Math.max(.02,n*.06)),basePoints:s,seriesIndex:e})}const d=o.markIndices?new Set(o.markIndices):null;a.forEach(((t,c)=>{const r=t.index;const i=o.pointSymbols?.[r];const a=d?d.has(r):o.showMarks;const f=i??(a?o.symbol??"circle":undefined);if(!f||f==="none")return;const l=s[c];if(wt(f)){At.push({x:l.x,y:l.y,r:$t(f,o.markSize),color:o.color,symbol:f,seriesIndex:e,hollow:o.hollow,fill:o.hollow?n.surface:undefined})}else{Ct.push({x:l.x,y:l.y,text:f,size:bt})}}));if(t.showLabels&&!R){a.forEach(((e,c)=>{const r=s[c].y-9-n.labelSize>=G.y;Ct.push({x:s[c].x,y:s[c].y,text:t.yFormatter(o.data[e.index]??e.value),size:n.labelSize,label:{color:n.textColor,weight:600,dx:0,dy:r?-9:9,anchorX:"-50%",anchorY:r?"-100%":"0"}})}))}}if(t.seriesLabels&&i&&!R){At.push({x:i.x,y:i.y,r:4,color:o.color,symbol:"circle",seriesIndex:e});Nt.push({key:`sl-${e}`,x:i.x,y:i.y,text:o.label,color:n.textColor,size:n.labelSize+1,visible:true})}Et.push({seriesIndex:e,color:o.color,label:o.label,byIndex:c,values:o.data,unanchored:!et(o)})}));if(Nt.length>1){const t=n.labelSize+5;let o=-Infinity;for(const n of[...Nt].sort(((t,n)=>t.y-n.y))){n.visible=n.y-o>=t;if(n.visible)o=n.y}}const Bt=[];if(t.refBands){for(const n of t.refBands){const t=at(n.from);const o=at(n.to);const e=Math.min(t,o);const s=Math.abs(o-t);if(s<=0)continue;Bt.push({x:e,y:G.y,w:s,h:G.height,color:n.color,radius:[0,0,0,0],seriesIndex:-1,dataIndex:-1})}}const Lt=[...ft];if(t.title&&!R){const o=vt(t.titleAlign,G.x,G.width);Lt.push({x:o.x,y:D+6,text:t.title,color:n.textColor,fontSize:n.titleSize,fontWeight:600,align:o.align,baseline:"top",key:"title"});if(t.subtitle){Lt.push({x:o.x,y:D+6+n.titleSize+4,text:t.subtitle,color:n.textColorMuted,fontSize:n.labelSize,align:o.align,baseline:"top",key:"subtitle"})}}if(t.markLines&&!R){for(const o of t.markLines){const e=t.xScale==="category"?Number(o.value):F(o.value,t.xScale);const s=G.x+Q.scale(e);if(!Number.isFinite(s)||s<G.x-1||s>G.x+G.width+1)continue;ht.push({x1:s,y1:G.y,x2:s,y2:G.y+G.height,color:o.color??n.axisLineColor,width:1.5,dash:it(o.dash??"dashed",1.5)});if(o.label){Lt.push({x:s+4,y:G.y+2,text:o.label,color:n.textColorMuted,fontSize:n.labelSize,align:"start",baseline:"top",key:`markline-${Math.round(s)}`})}}}if(!t.yHidden&&!t.yHideTicks&&!R){y.forEach(((t,o)=>{Lt.push({x:G.x-8,y:tt(t),text:m[o],color:n.textColorMuted,fontSize:n.labelSize,align:"end",baseline:"middle",key:`yt-${o}`})}))}const _t=[];for(let t=0;t<s;t++)_t.push(at(t));const Ot=[];if(t.xScale==="category"){const n=Math.max(1,Math.ceil(s/Math.max(1,Math.floor(G.width/60))));for(let o=0;o<s;o+=n){Ot.push({px:_t[o],text:t.xFormatter(t.xValues[o]??o),key:`xt-${o}`})}}else if(s){const n=W(f,{scale:t.xScale});const o=Math.max(2,Math.floor(G.width/90));const e=O(n,p.ranges,t.xScale,o).filter((t=>!q(p.ranges,t)));for(const n of e){const o=G.x+Q.scale(n);if(o<G.x-1||o>G.x+G.width+1)continue;Ot.push({px:o,text:t.xFormatter(t.xScale==="time"?new Date(n):n),key:`xt-${n}`})}}if(!R){for(const o of Ot){if(t.gridX&&o.px>G.x+.5){ht.push({x1:o.px,y1:G.y,x2:o.px,y2:G.y+G.height,color:n.gridLineColor,width:1,dash:kt})}if(t.axisTicks&&!t.xHidden){const t=G.y+G.height;yt.push({x1:o.px,y1:t,x2:o.px,y2:t+st,color:n.axisLineColor,width:1,dash:St})}if(t.xHidden||t.xHideTicks)continue;Lt.push({x:o.px,y:G.y+G.height+6,text:o.text,color:n.textColorMuted,fontSize:n.labelSize,align:"center",baseline:"top",key:o.key})}}if(t.xLabel&&!R){Lt.push({x:G.x+G.width/2,y:e-P-2,text:t.xLabel,color:n.textColor,fontSize:n.labelSize,align:"center",baseline:"bottom",key:"x-axis-title"})}if(t.yLabel&&!R){Lt.push({x:4,y:G.y+G.height/2,text:t.yLabel,color:n.textColor,fontSize:n.labelSize,align:"center",baseline:"top",rotate:-90,key:"y-axis-title"})}const qt=t.legend==="none"||R?[]:t.series.map(((t,n)=>({label:t.label,color:t.color,seriesIndex:n,hidden:t.hidden,x:0,y:0})));const jt=[];for(let n=0;n<s;n++)jt.push(t.xFormatter(t.xValues[n]??n));return{width:o,height:e,plot:G,background:n.background==="transparent"?undefined:n.background,bands:lt,gridlines:ht,axisLines:yt,areas:It,bars:Bt,slices:[],lines:Ft,markers:At,glyphs:Ct,endLabels:Nt,texts:Lt,legend:qt,legendPosition:t.legend,xPositions:_t,xValues:t.xValues,xLabels:jt,hoverPoints:Et}}function mt(t,n,o,e){const s=t.yAxes??[];const c=t.xValues.length||Math.max(0,...t.series.map((t=>t.data.length)));const r=t=>{const n=t.yAxisIndex??0;return n>=0&&n<s.length?n:0};const i=s.map(((o,e)=>{const s=t.series.filter((t=>!t.hidden&&r(t)===e));const c=[];for(const t of s)for(const n of t.data)if(typeof n==="number"&&Number.isFinite(n))c.push(n);const i=W(c,{min:o.min,max:o.max,scale:o.scale,includeZero:o.scale==="value"});const a=o.scale==="log"?V(i[0],i[1]):j(i[0],i[1],6);const f=a.map((t=>o.formatter(t)));const l=o.position??(e===0?"left":"right");const u=o.hidden||o.hideTicks?0:Math.max(0,...f.map((t=>ct(t,n.labelSize))));const d=o.label?n.labelSize+6:0;const h=o.hidden?4:u+12+d;const x=o.color??null;return{spec:o,domain:i,tickVals:a,tickLabels:f,side:l,gutterW:h,tint:x,hasData:s.length>0}}));const a=i.filter((t=>t.side==="left"));const f=i.filter((t=>t.side==="right"));const l=t=>t.reduce(((t,n)=>t+n.gutterW),0);const u=t.title?n.titleSize+10+(t.subtitle?n.labelSize+4:0):0;const d=t.xHidden||t.xHideTicks?0:n.labelSize+8;const h=t.xLabel?n.labelSize+6:0;const x=!!t.legend&&t.legend!=="none"&&t.series.length>1;const p=x&&(t.legend==="left"||t.legend==="right");const y=x&&!p&&t.legend.startsWith("bottom");const m=x&&!p&&!y;const g=m||y?rt(t.series.map((t=>t.label)),n.labelSize,o*.86):1;const b=t.legendExtent!=null&&(m||y)?t.legendExtent+8:g*(n.labelSize+8)+6;const M=m?b:0;const w=y?b:0;const $=p?t.legendExtent!=null?t.legendExtent+16:Math.max(0,...t.series.map((t=>ct(t.label,n.labelSize))))+34:0;const v=t.xHidden||t.xHideTicks?"":t.xFormatter(t.xValues[c-1]??c-1);const k=f.length===0?ct(v,n.labelSize)/2:0;const z=u+8+M;const S=d+h+6+w;const N=l(a)+8+(t.legend==="left"?$:0);const E=l(f)+8+k+(t.legend==="right"?$:0);const D={x:N,y:z,width:Math.max(1,o-N-E),height:Math.max(1,e-z-S)};const P=t.xScale==="category"?C(c,D.width,true):t.xScale==="log"?A(W(t.xValues.map((n=>F(n,t.xScale))),{scale:"log"}),D.width):I(W(t.xValues.map((n=>F(n,t.xScale))),{scale:t.xScale}),D.width,t.xScale);const B=n=>D.x+(t.xScale==="category"?P.scale(n):P.scale(F(t.xValues[n],t.xScale)));const L=t=>{t.scale=t.spec.scale==="log"?A(t.domain,D.height):I(t.domain,D.height,t.spec.scale);t.toPxY=n=>D.y+D.height-t.scale.scale(n)};let _=0;for(const t of a){t.axisX=D.x-_;L(t);_+=t.gutterW}let O=0;for(const t of f){t.axisX=D.x+D.width+O;L(t);O+=t.gutterW}const q=[];const R=[];i.forEach(((t,o)=>{const e=xt(t.spec.bands,"y",(n=>t.toPxY(F(n,t.spec.scale))),D,n,`yband-${o}`);q.push(...e.rects);R.push(...e.labels)}));{const o=xt(t.xBands,"x",(n=>D.x+P.scale(t.xScale==="category"?Number(n):F(n,t.xScale))),D,n,"xband");q.push(...o.rects);R.push(...o.labels)}const T=[];const X=[];const Z=i.find((t=>!t.spec.hidden&&t.hasData))??i.find((t=>t.hasData));const G=it(t.xDash,1);const Q=it(t.xGridDash,1);if(Z&&t.gridY!==false){const o=it(Z.spec.gridDash,1);for(const e of Z.tickVals){const s=Z.toPxY(e);T.push({x1:D.x,y1:s,x2:D.x+D.width,y2:s,color:n.gridLineColor,width:1,dash:o});if(t.axisTicks)X.push({x1:D.x-st,y1:s,x2:D.x,y2:s,color:n.axisLineColor,width:1,dash:it(Z.spec.dash,1)})}}for(const o of i){if(o.spec.hidden)continue;const e=o.tint??n.axisLineColor;const s=it(o.spec.dash,1);X.push({x1:o.axisX,y1:D.y,x2:o.axisX,y2:D.y+D.height,color:e,width:1,dash:s});if(t.axisTicks&&!o.spec.hideTicks){const t=o.side==="left"?-1:1;for(const n of o.tickVals){const c=o.toPxY(n);X.push({x1:o.axisX,y1:c,x2:o.axisX+t*st,y2:c,color:e,width:1,dash:s})}}}if(!t.xHidden){X.push({x1:D.x,y1:D.y+D.height,x2:D.x+D.width,y2:D.y+D.height,color:n.axisLineColor,width:1,dash:G})}const U=[];const tt=[];const ot=[];const at=[];const ft=[];t.series.forEach(((o,e)=>{if(o.hidden)return;const s=i[r(o)];const c=s.toPxY;const a=s.domain[0]<=0&&s.domain[1]>=0;const f=c(a?0:s.domain[0]);const l=nt(o.data.map((t=>t===undefined?undefined:typeof t==="number"?t:null)),o.connectNulls);const u={};for(const r of l){if(!r.length)continue;const i=r.map((t=>({x:B(t.index),y:c(t.value)})));r.forEach(((t,n)=>{const e=o.pointSymbols?.[t.index]??(o.symbol&&o.symbol!=="none"?o.symbol:"circle");u[t.index]={x:i[n].x,y:i[n].y,value:o.data[t.index]??t.value,symbol:e}}));const a=J(K(H(i,D.width),o.curve),D.x,D.y,D.width,D.height);U.push({points:a,color:o.color,width:2.5,dash:it(o.dash,2.5),seriesIndex:e});if(t.area&&o.fill!==false){const n=t.fillOpacity??.35;tt.push({points:a,baselineY:f,colorTop:pt(o.color,n),colorBottom:pt(o.color,Math.max(.02,n*.06)),seriesIndex:e})}const l=o.markIndices?new Set(o.markIndices):null;r.forEach(((t,n)=>{const s=t.index;const c=o.pointSymbols?.[s];const r=l?l.has(s):o.showMarks;const a=c??(r?o.symbol??"circle":undefined);if(!a||a==="none")return;const f=i[n];if(wt(a))ot.push({x:f.x,y:f.y,r:$t(a,o.markSize),color:o.color,symbol:a,seriesIndex:e});else at.push({x:f.x,y:f.y,text:a,size:bt})}));if(t.showLabels){r.forEach(((t,e)=>{const c=i[e].y-9-n.labelSize>=D.y;at.push({x:i[e].x,y:i[e].y,text:s.spec.formatter(o.data[t.index]??t.value),size:n.labelSize,label:{color:n.textColor,weight:600,dx:0,dy:c?-9:9,anchorX:"-50%",anchorY:c?"-100%":"0"}})}))}}ft.push({seriesIndex:e,color:o.color,label:o.label,byIndex:u,values:o.data,valueFormat:s.spec.formatter,unanchored:!et(o)})}));const lt=[...R];if(t.title){const o=vt(t.titleAlign,D.x,D.width);lt.push({x:o.x,y:M+6,text:t.title,color:n.textColor,fontSize:n.titleSize,fontWeight:600,align:o.align,baseline:"top",key:"title"});if(t.subtitle){lt.push({x:o.x,y:M+6+n.titleSize+4,text:t.subtitle,color:n.textColorMuted,fontSize:n.labelSize,align:o.align,baseline:"top",key:"subtitle"})}}i.forEach(((t,o)=>{if(t.spec.hidden)return;const e=t.tint??n.textColorMuted;if(!t.spec.hideTicks){t.tickVals.forEach(((s,c)=>{lt.push({x:t.side==="left"?t.axisX-8:t.axisX+8,y:t.toPxY(s),text:t.tickLabels[c],color:e,fontSize:n.labelSize,align:t.side==="left"?"end":"start",baseline:"middle",key:`yt-${o}-${c}`})}))}if(t.spec.label){const e=t.side==="left"?t.axisX-t.gutterW+n.labelSize:t.axisX+t.gutterW-n.labelSize;lt.push({x:e,y:D.y+D.height/2,text:t.spec.label,color:t.tint??n.textColor,fontSize:n.labelSize,align:"center",baseline:"top",rotate:-90,key:`yaxis-title-${o}`})}}));const ut=[];for(let t=0;t<c;t++)ut.push(B(t));const dt=D.y+D.height;const ht=[];if(t.xScale==="category"){const n=Math.max(1,Math.ceil(c/Math.max(1,Math.floor(D.width/60))));for(let o=0;o<c;o++){if(o%n!==0)continue;ht.push({px:ut[o],text:t.xFormatter(t.xValues[o]??o),key:`xt-${o}`})}}else{const n=W(t.xValues.map((n=>F(n,t.xScale))),{scale:t.xScale});const o=t.xScale==="log"?V(n[0],n[1]):t.xScale==="time"?Y(n[0],n[1],Math.max(2,Math.floor(D.width/90))):j(n[0],n[1],Math.max(2,Math.floor(D.width/90)));for(const n of o){const o=D.x+P.scale(n);if(o<D.x-1||o>D.x+D.width+1)continue;ht.push({px:o,text:t.xFormatter(t.xScale==="time"?new Date(n):n),key:`xt-${n}`})}}if(t.gridX)for(const t of ht)T.push({x1:t.px,y1:D.y,x2:t.px,y2:dt,color:n.gridLineColor,width:1,dash:Q});if(!t.xHidden&&!t.xHideTicks){for(const o of ht){if(t.axisTicks)X.push({x1:o.px,y1:dt,x2:o.px,y2:dt+st,color:n.axisLineColor,width:1,dash:G});lt.push({x:o.px,y:dt+6,text:o.text,color:n.textColorMuted,fontSize:n.labelSize,align:"center",baseline:"top",key:o.key})}}if(t.xLabel){lt.push({x:D.x+D.width/2,y:e-w-2,text:t.xLabel,color:n.textColor,fontSize:n.labelSize,align:"center",baseline:"bottom",key:"x-axis-title"})}const yt=t.legend==="none"?[]:t.series.map(((t,n)=>({label:t.label,color:t.color,seriesIndex:n,hidden:t.hidden,x:0,y:0})));const mt=[];for(let n=0;n<c;n++)mt.push(t.xFormatter(t.xValues[n]??n));return{width:o,height:e,plot:D,background:n.background==="transparent"?undefined:n.background,bands:q,gridlines:T,axisLines:X,areas:tt,bars:[],slices:[],lines:U,markers:ot,glyphs:at,endLabels:[],texts:lt,legend:yt,legendPosition:t.legend,xPositions:ut,xValues:t.xValues,xLabels:mt,hoverPoints:ft}}function gt(t,n,o,e){const s=t.xValues.length||Math.max(0,...t.series.map((t=>t.data.length)));const c=!!t.compact;const r=t.xScale==="category";const i=t.series.map((n=>t.stack!=="none"&&!n.range?"stacked":"__unstacked__"));const a=ot(t.series.map((t=>t.hidden?[]:t.data)),t.stack,i);t.series.forEach(((t,n)=>{if(!t.range||t.hidden)return;a[n]=t.range.map((t=>t?[Math.min(t[0],t[1]),Math.max(t[0],t[1])]:t))}));const f=[];t.series.forEach(((t,n)=>{if(t.hidden)return;for(const t of a[n])if(t)f.push(t[0],t[1])}));const l=W(f,{min:t.yMin,max:t.yMax,scale:t.yScale,includeZero:false});const u=t.yScale==="log"?V(l[0],l[1]):j(l[0],l[1],8);const d=u.map((n=>(t.yTickFormatter??t.yFormatter)(n)));const h=r?[0,Math.max(1,s-1)]:W(t.xValues.map((n=>F(n,t.xScale))),{scale:t.xScale});const x=r?Array.from({length:s},((t,n)=>n)):j(h[0],h[1],6);const p=x.map((n=>r?t.xFormatter(t.xValues[n]??n):t.xFormatter(n)));const y=!!t.legend&&t.legend!=="none"&&t.series.length>1;const m=y&&(t.legend==="left"||t.legend==="right");const g=y&&!m&&t.legend.startsWith("bottom");const b=y&&!m&&!g;const M=b||g?rt(t.series.map((t=>t.label)),n.labelSize,o*.86):1;const w=t.legendExtent!=null&&(b||g)?t.legendExtent+8:M*(n.labelSize+8)+6;const $=b?w:0;const v=g?w:0;const k=m?t.legendExtent!=null?t.legendExtent+16:Math.max(0,...t.series.map((t=>ct(t.label,n.labelSize))))+34:0;const z=t.title?n.titleSize+10+(t.subtitle?n.labelSize+4:0):0;const S=t.xHidden||t.xHideTicks?0:Math.max(0,...p.map((t=>ct(t,n.labelSize))));const N=t.yHidden||t.yHideTicks?0:n.labelSize+8;const E=t.xLabel?n.labelSize+6:0;const D=t.yLabel?n.labelSize+6:0;const P=c?2:z+8+$;const B=c?2:12+ct(d[d.length-1]??"",n.labelSize)/2+(t.legend==="right"?k:0);const L=c?2:N+D+6+v;const _=c?2:S+10+E+(t.legend==="left"?k:0);const O={x:_,y:P,width:Math.max(1,o-_-B),height:Math.max(1,e-P-L)};const q=t.yScale==="log"?A(l,O.width):I(l,O.width,t.yScale);const R=r?C(s,O.height,true):t.xScale==="log"?A(h,O.height):I(h,O.height,t.xScale);const Y=t=>O.x+q.scale(t);const T=t=>O.y+O.height-R.scale(t);const X=n=>T(r?n:F(t.xValues[n],t.xScale));const Z=[];const G=[];const Q=O.y+O.height;const U=it(t.yDash,1);const tt=it(t.yGridDash,1);const at=it(t.xDash,1);const ft=it(t.xGridDash,1);if(!t.yHidden&&!c){for(const o of u){const e=Y(o);if(t.gridY!==false)Z.push({x1:e,y1:O.y,x2:e,y2:Q,color:n.gridLineColor,width:1,dash:tt});if(t.axisTicks)G.push({x1:e,y1:Q,x2:e,y2:Q+st,color:n.axisLineColor,width:1,dash:U})}G.push({x1:O.x,y1:Q,x2:O.x+O.width,y2:Q,color:n.axisLineColor,width:1,dash:U})}if(!t.xHidden&&!c){for(const o of x){const e=T(o);if(t.gridX)Z.push({x1:O.x,y1:e,x2:O.x+O.width,y2:e,color:n.gridLineColor,width:1,dash:ft});if(t.axisTicks)G.push({x1:O.x-st,y1:e,x2:O.x,y2:e,color:n.axisLineColor,width:1,dash:at})}G.push({x1:O.x,y1:O.y,x2:O.x,y2:O.y+O.height,color:n.axisLineColor,width:1,dash:at})}const lt=[];const ut=[];const dt=[];const ht=[];const xt=[];const yt=Y(Math.max(l[0],Math.min(l[1],0)));t.series.forEach(((o,e)=>{if(o.hidden)return;const s={};for(const r of nt(a[e].map((t=>t===undefined?undefined:t?t[1]:null)),o.connectNulls)){if(!r.length)continue;const i=r.map((t=>({x:Y(t.value),y:X(t.index)})));r.forEach(((t,n)=>{const e=o.pointSymbols?.[t.index]??(o.symbol&&o.symbol!=="none"?o.symbol:"circle");s[t.index]={x:i[n].x,y:i[n].y,value:o.data[t.index]??t.value,symbol:e}}));const f=J(K(H(i,O.width),o.curve),O.x,O.y,O.width,O.height);if(!o.range&&o.stroke!==false){lt.push({points:f,color:o.color,width:2.5,dash:it(o.dash,2.5),seriesIndex:e})}if(t.area&&o.fill!==false){const n=t.fillOpacity??.35;const s=t.stack!=="none"||!!o.range;ut.push({points:f,baselineY:yt,colorTop:pt(o.color,n),colorBottom:s?pt(o.color,n):pt(o.color,Math.max(.02,n*.06)),basePoints:t.stack!=="none"||o.range?J(K(r.map((t=>({x:Y(a[e][t.index][0]),y:X(t.index)}))),o.curve),O.x,O.y,O.width,O.height):f.map((t=>({x:yt,y:t.y}))),horizontal:true,seriesIndex:e})}const l=o.markIndices?new Set(o.markIndices):null;r.forEach(((t,n)=>{const s=o.pointSymbols?.[t.index];const c=s??((l?l.has(t.index):o.showMarks)?o.symbol??"circle":undefined);if(!c||c==="none")return;const r=i[n];if(wt(c))dt.push({x:r.x,y:r.y,r:$t(c,o.markSize),color:o.color,symbol:c,seriesIndex:e});else ht.push({x:r.x,y:r.y,text:c,size:bt})}));if(t.showLabels&&!c){r.forEach(((e,s)=>{ht.push({x:i[s].x,y:i[s].y,text:t.yFormatter(o.data[e.index]??e.value),size:n.labelSize,label:{color:n.textColor,weight:600,dx:9,dy:0,anchorX:"0",anchorY:"-50%"}})}))}}xt.push({seriesIndex:e,color:o.color,label:o.label,byIndex:s,values:o.data,unanchored:!et(o)})}));const mt=[];if(t.title&&!c){const o=vt(t.titleAlign,O.x,O.width);mt.push({x:o.x,y:$+6,text:t.title,color:n.textColor,fontSize:n.titleSize,fontWeight:600,align:o.align,baseline:"top",key:"title"});if(t.subtitle){mt.push({x:o.x,y:$+6+n.titleSize+4,text:t.subtitle,color:n.textColorMuted,fontSize:n.labelSize,align:o.align,baseline:"top",key:"subtitle"})}}if(!t.xHidden&&!t.xHideTicks&&!c){x.forEach(((t,o)=>{mt.push({x:O.x-8,y:T(t),text:p[o],color:n.textColorMuted,fontSize:n.labelSize,align:"end",baseline:"middle",key:`mt-${o}`})}))}if(!t.yHidden&&!t.yHideTicks&&!c){u.forEach(((t,o)=>{mt.push({x:Y(t),y:Q+6,text:d[o],color:n.textColorMuted,fontSize:n.labelSize,align:"center",baseline:"top",key:`vt-${o}`})}))}if(t.xLabel&&!c){mt.push({x:4,y:O.y+O.height/2,text:t.xLabel,color:n.textColor,fontSize:n.labelSize,align:"center",baseline:"top",rotate:-90,key:"x-axis-title"})}if(t.yLabel&&!c){mt.push({x:O.x+O.width/2,y:e-v-2,text:t.yLabel,color:n.textColor,fontSize:n.labelSize,align:"center",baseline:"bottom",key:"y-axis-title"})}const gt=t.legend==="none"||c?[]:t.series.map(((t,n)=>({label:t.label,color:t.color,seriesIndex:n,hidden:t.hidden,x:0,y:0})));const Mt=[];const kt=[];for(let n=0;n<s;n++){Mt.push(X(n));kt.push(t.xFormatter(t.xValues[n]??n))}return{width:o,height:e,plot:O,background:n.background==="transparent"?undefined:n.background,gridlines:Z,axisLines:G,areas:ut,bars:[],slices:[],lines:lt,markers:dt,glyphs:ht,texts:mt,legend:gt,legendPosition:t.legend,inverted:true,xPositions:Mt,xValues:t.xValues,xLabels:kt,hoverPoints:xt}}const bt=18;const Mt=new Set(["circle","square","diamond","triangle","triangle-down"]);function wt(t){return Mt.has(t)}function $t(t,n){if(n!=null&&n>0)return n;if(t==="square"||t==="diamond")return 4.2;if(t==="triangle"||t==="triangle-down")return 4.6;return 3.5}function vt(t,n,o){if(t==="center")return{x:n+o/2,align:"center"};if(t==="end")return{x:n+o,align:"end"};return{x:n,align:"start"}}const kt=32;function zt(t){return Math.min(t*.3,kt)}function St(t,n){const o=n.horizontal??n.w>n.h;const e=zt(o?n.h:n.w);const s=n.notch===false?0:e;if(o){const o=n.y+n.h/2;if(n.arrow===1){t.moveTo(n.x,n.y);t.lineTo(n.x+n.w,n.y);t.lineTo(n.x+n.w+e,o);t.lineTo(n.x+n.w,n.y+n.h);t.lineTo(n.x,n.y+n.h);if(s)t.lineTo(n.x+s,o)}else{t.moveTo(n.x+n.w,n.y);t.lineTo(n.x,n.y);t.lineTo(n.x-e,o);t.lineTo(n.x,n.y+n.h);t.lineTo(n.x+n.w,n.y+n.h);if(s)t.lineTo(n.x+n.w-s,o)}}else{const o=n.x+n.w/2;if(n.arrow===1){t.moveTo(n.x,n.y+n.h);t.lineTo(n.x,n.y);t.lineTo(o,n.y-e);t.lineTo(n.x+n.w,n.y);t.lineTo(n.x+n.w,n.y+n.h);if(s)t.lineTo(o,n.y+n.h-s)}else{t.moveTo(n.x,n.y);t.lineTo(n.x,n.y+n.h);t.lineTo(o,n.y+n.h+e);t.lineTo(n.x+n.w,n.y+n.h);t.lineTo(n.x+n.w,n.y);if(s)t.lineTo(o,n.y+s)}}t.closePath()}function Ft(t,n,o=true){const{cx:e,cy:s,innerR:c,outerR:r,startAngle:i,endAngle:a}=n;const f=a<i;const l=f?-1:1;const u=Math.abs(a-i);const d=(t,n)=>({x:e+Math.cos(n)*t,y:s+Math.sin(n)*t});const h=u>=Math.PI*2-.01;const x=h?0:Math.min((n.gap??0)/2,r*Math.sin(u/2)*.4);const p=t=>x>0&&t>x?Math.asin(Math.min(1,x/t)):0;const y=i+l*p(r);const m=a-l*p(r);if(l*(m-y)<=0)return;const g=(t,n,o)=>{const e=(i+a)/2;const s=t+n*p(o);return n*l>0?Math.min(s*l,e*l)*l:Math.max(s*l,e*l)*l};const b=Math.min(Math.abs(m-y),Math.PI/2)/4;const M=(r-c)/2;const w=r*Math.tan(b);const $=c>0?c*Math.tan(b):Infinity;const v=Math.max(0,Math.min(n.cornerRadius??0,M,w,$));const k=g(i,l,Math.max(c,.01));const z=g(a,-l,Math.max(c,.01));if(o)t.beginPath();if(v<.5){const n=d(c,k);t.moveTo(n.x,n.y);const o=d(r,y);t.lineTo(o.x,o.y);t.arc(e,s,r,y,m,f);const i=d(c,z);t.lineTo(i.x,i.y);if(c>0&&l*(z-k)>0)t.arc(e,s,c,z,k,!f);t.closePath();return}const S=r-v;const F=Math.asin(Math.min(1,v/S))*l;const I=Math.sqrt(Math.max(0,S*S-v*v));const A=y+F;const C=m-F;const N=c>0;const E=c+v;const D=Math.asin(Math.min(1,v/E))*l;const P=Math.sqrt(Math.max(0,E*E-v*v));const B=g(i,l,E);const L=g(a,-l,E);const _=B+D;const O=L-D;const q=y+(f?Math.PI/2:-Math.PI/2);const j=m+(f?-Math.PI/2:Math.PI/2);const R=d(N?P:0,B);t.moveTo(R.x,R.y);const V=d(I,y);t.lineTo(V.x,V.y);t.arc(d(S,A).x,d(S,A).y,v,q,A,f);t.arc(e,s,r,A,C,f);t.arc(d(S,C).x,d(S,C).y,v,C,j,f);const Y=d(I,m);t.lineTo(Y.x,Y.y);if(N){const n=d(P,L);t.lineTo(n.x,n.y);t.arc(d(E,O).x,d(E,O).y,v,j,O+Math.PI,f);if(l*(O-_)>0)t.arc(e,s,c,O,_,!f);t.arc(d(E,_).x,d(E,_).y,v,_+Math.PI,q,f)}else{const n=d(0,L);t.lineTo(n.x,n.y)}t.closePath()}function It(t,n,o){const e=!!n.horizontal;const s=t=>e?t.x:t.y;const c=n.points.map(s);if(o)c.push(...n.basePoints.map(s));c.push(n.baselineY);const r=Math.min(...c);const i=Math.max(...c);const a=e?t.createLinearGradient(r,0,i,0):t.createLinearGradient(0,r,0,i);const f=i-r;if(f<1e-6){a.addColorStop(0,n.colorTop);a.addColorStop(1,n.colorBottom);return a}const l=(n.baselineY-r)/f;if(l<=1e-4){a.addColorStop(0,n.colorBottom);a.addColorStop(1,n.colorTop)}else if(l>=1-1e-4){a.addColorStop(0,n.colorTop);a.addColorStop(1,n.colorBottom)}else{a.addColorStop(0,n.colorTop);a.addColorStop(l,n.colorBottom);a.addColorStop(1,n.colorTop)}return a}const At="#010203";function Ct(t,n,o=true){if(o)t.clearRect(0,0,n.width,n.height);if(n.background){t.fillStyle=n.background;t.fillRect(0,0,n.width,n.height)}for(const o of n.bands??[]){t.fillStyle=At;t.fillStyle=o.color;if(t.fillStyle===At)continue;t.fillRect(o.x,o.y,o.w,o.h)}for(const o of n.gridlines){t.beginPath();t.strokeStyle=o.color;t.lineWidth=o.width;if(o.dash)t.setLineDash(o.dash);t.moveTo(o.x1,o.y1);t.lineTo(o.x2,o.y2);t.stroke();if(o.dash)t.setLineDash([])}for(const o of n.areas){if(o.points.length<2)continue;const n=!!(o.basePoints&&o.basePoints.length);t.beginPath();t.moveTo(o.points[0].x,o.points[0].y);for(let n=1;n<o.points.length;n++)t.lineTo(o.points[n].x,o.points[n].y);if(n){for(let n=o.basePoints.length-1;n>=0;n--)t.lineTo(o.basePoints[n].x,o.basePoints[n].y)}else{t.lineTo(o.points[o.points.length-1].x,o.baselineY);t.lineTo(o.points[0].x,o.baselineY)}t.closePath();t.fillStyle=It(t,o,n);t.fill()}for(const o of n.axisLines){t.beginPath();t.strokeStyle=o.color;t.lineWidth=o.width;if(o.dash)t.setLineDash(o.dash);t.moveTo(o.x1,o.y1);t.lineTo(o.x2,o.y2);t.stroke();if(o.dash)t.setLineDash([])}for(const o of n.bars){if(o.w<=0||o.h<=0)continue;t.beginPath();t.fillStyle=o.color;if(o.arrow){St(t,o);t.fill();continue}const n=Math.min(o.w,o.h)/2;const e=o.radius.map((t=>Math.max(0,Math.min(t,n))));if(typeof t.roundRect==="function"){t.roundRect(o.x,o.y,o.w,o.h,e)}else{t.rect(o.x,o.y,o.w,o.h)}t.fill()}const e=n.slices.filter((t=>!t.pill&&t.gap&&t.gapColor&&t.endAngle!==t.startAngle));if(e.length){t.beginPath();for(const n of e)Ft(t,{...n,gap:0},false);t.fillStyle=e[0].gapColor;t.fill()}for(const o of n.slices){if(o.endAngle===o.startAngle)continue;if(o.pill){const n=(o.innerR+o.outerR)/2;const e=Math.abs(o.outerR-o.innerR);if(e<=0||n<=0)continue;const s=o.capStart!==undefined||o.capEnd!==undefined;t.beginPath();t.fillStyle=o.color;t.strokeStyle=o.color;t.lineWidth=e;t.lineCap=s?"butt":"round";t.arc(o.cx,o.cy,n,o.startAngle,o.endAngle,o.endAngle<o.startAngle);t.stroke();if(s){const s=s=>{t.beginPath();t.arc(o.cx+n*Math.cos(s),o.cy+n*Math.sin(s),e/2,0,Math.PI*2);t.fill()};if(o.capStart)s(o.startAngle);if(o.capEnd)s(o.endAngle)}t.lineCap="butt";continue}if(o.gradient){const n=(o.startAngle+o.endAngle)/2;const e=t.createLinearGradient(o.cx+Math.cos(n)*o.innerR,o.cy+Math.sin(n)*o.innerR,o.cx+Math.cos(n)*o.outerR,o.cy+Math.sin(n)*o.outerR);e.addColorStop(0,o.gradient.from);e.addColorStop(1,o.gradient.to);t.fillStyle=e}else{t.fillStyle=o.color}Ft(t,o);t.fill()}const s=n.ripple;if(s&&s.alpha>0&&s.radius>0){const o=n.slices.find((t=>!t.pill&&t.dataIndex===s.dataIndex));if(o){t.save();Ft(t,o);t.clip();t.globalAlpha*=s.alpha;t.fillStyle=s.color;t.beginPath();t.arc(s.x,s.y,s.radius,0,Math.PI*2);t.fill();t.restore()}}t.lineJoin="round";t.lineCap="round";for(const o of n.lines){if(o.points.length<2){if(o.points.length===1){t.beginPath();t.fillStyle=o.color;t.arc(o.points[0].x,o.points[0].y,o.width,0,Math.PI*2);t.fill()}continue}t.beginPath();t.strokeStyle=o.color;t.lineWidth=o.width;t.lineCap=o.cap??"round";t.setLineDash(o.dash??[]);t.moveTo(o.points[0].x,o.points[0].y);for(let n=1;n<o.points.length;n++)t.lineTo(o.points[n].x,o.points[n].y);t.stroke()}t.setLineDash([]);t.lineCap="round";for(const o of n.markers){t.beginPath();const n=X(o.symbol,o.x,o.y,o.r);if(n){t.moveTo(n[0].x,n[0].y);for(let o=1;o<n.length;o++)t.lineTo(n[o].x,n[o].y);t.closePath()}else{t.arc(o.x,o.y,o.r,0,Math.PI*2)}if(o.hollow){t.fillStyle=o.fill??"rgba(0,0,0,0)";t.fill();t.lineWidth=2;t.strokeStyle=o.color;t.stroke()}else{t.fillStyle=o.color;t.fill();t.lineWidth=1.5;t.strokeStyle="rgba(255,255,255,0.9)";t.stroke()}}}const Nt=.3;const Et={start:"0",center:"-50%",end:"-100%"};const Dt={top:"0",middle:"-50%",bottom:"-100%"};function Pt(t){return t.includes("-")}function Bt(t,n=[],o="sans-serif"){const e=new Set;for(const s of n){e.add(s.key);let n=t.querySelector(`[data-k="${s.key}"]`);if(!n){n=document.createElement("span");n.dataset.k=s.key;n.style.cssText="position:absolute;white-space:nowrap;pointer-events:none;user-select:none;font-weight:500;opacity:0;transition:opacity 240ms ease";t.appendChild(n);n.getBoundingClientRect()}n.textContent=s.text;const c=s.side==="end";n.style.transform=c?"translate(-100%,-50%)":"translate(0,-50%)";n.style.left=`${c?s.x-12:s.x+12}px`;n.style.top=`${s.y}px`;n.style.fontSize=`${s.size}px`;n.style.color=s.color;n.style.fontFamily=o;n.style.opacity=s.visible?"1":"0"}for(const n of Array.from(t.children)){if(!e.has(n.dataset.k??"")){n.style.opacity="0";n.dataset.gone="1";setTimeout((()=>{if(n.dataset.gone==="1")n.remove()}),280)}else{n.removeAttribute("data-gone")}}}function Lt(t,n=[],o="sans-serif"){t.textContent="";for(const e of n){const n=document.createElement("span");n.textContent=e.text;const s=e.label;n.style.cssText=s?["position:absolute",`left:${e.x+s.dx}px`,`top:${e.y+s.dy}px`,`transform:translate(${s.anchorX},${s.anchorY})`,`font:${s.weight} ${e.size}px ${o}`,`color:${s.color}`,"line-height:1","white-space:nowrap","pointer-events:none","user-select:none"].join(";"):["position:absolute",`left:${e.x}px`,`top:${e.y}px`,"transform:translate(-50%,-50%)",`font-size:${e.size}px`,"line-height:1","pointer-events:none","user-select:none"].join(";");t.appendChild(n)}}function _t(t,n,o="sans-serif"){t.textContent="";const e=n.barLabels;if(!e?.length)return;for(const s of e){const e=n.bars.filter((t=>t.seriesIndex===s.seriesIndex&&t.dataIndex===s.dataIndex));if(!e.length)continue;const c=!!e[0].horizontal;let r=Infinity;let i=-Infinity;let a=Infinity;let f=-Infinity;for(const t of e){r=Math.min(r,t.x);i=Math.max(i,t.x+t.w);a=Math.min(a,t.y);f=Math.max(f,t.y+t.h)}let l;let u;let d;let h;if(s.inside){l=(r+i)/2;u=(a+f)/2;d="center";h="middle";const t=e[0].arrow;if(t){const n=zt(c?f-a:i-r);const o=e[0].notch===false?0:n;const s=t*(n+o)/2;if(c)l+=s;else u-=s}}else if(c){u=(a+f)/2;h="middle";l=s.atLowEnd?r-4:i+4;d=s.atLowEnd?"end":"start"}else{l=(r+i)/2;d="center";u=s.atLowEnd?f+4:a-4;h=s.atLowEnd?"top":"bottom"}const x=document.createElement("span");x.textContent=s.text;x.style.cssText=["position:absolute",`left:${l}px`,`top:${u}px`,`transform:translate(${Et[d]},${Dt[h]})`,`color:${s.color}`,`font:${s.fontWeight??400} ${s.size}px ${o}`,"white-space:nowrap","pointer-events:none","user-select:none"].join(";");t.appendChild(x)}}const Ot=new WeakMap;const qt=new WeakMap;function jt(t,n,o,e={},s=false,c=t){const r=Array.from(c.children).find((t=>t.getAttribute("part")==="legend"))??null;for(const n of Array.from(t.childNodes)){if(n!==r)n.remove()}for(const e of n.texts){const n=document.createElement("span");n.textContent=e.text;if(e.key)n.dataset.key=e.key;n.style.cssText=["position:absolute",`left:${e.x}px`,`top:${e.y}px`,`transform:translate(${Et[e.align]},${Dt[e.baseline]})${e.rotate?` rotate(${e.rotate}deg)`:""}`,`color:${e.color}`,`font:${e.fontWeight??400} ${e.fontSize}px ${o}`,"white-space:nowrap","pointer-events:none"].join(";");t.insertBefore(n,r?.parentNode===t?r:null)}const i=n.legend.filter((t=>n.legend.length>1));if(i.length){const t=n.legendPosition??"top-end";const a=t==="left"||t==="right";const f=t.startsWith("bottom");const l=t.endsWith("start")||t.endsWith("end")?t.endsWith("start")!==s:t==="left";const u=l;const d=r??document.createElement("div");d.setAttribute("part","legend");if(!qt.has(d)){d.addEventListener("click",(t=>{const n=t.target?.closest?.("button[data-series-index]");const o=n?Ot.get(n):undefined;if(o)qt.get(d)?.onLegendClick?.(o)}))}qt.set(d,e);if(a){d.style.cssText=["position:absolute","top:50%",t==="left"?"left:12px":"right:12px","transform:translateY(-50%)","display:flex","flex-direction:column","align-items:flex-start","gap:6px","max-height:92%",`max-width:${Nt*100}%`,"box-sizing:border-box","padding:6px","overflow:hidden","pointer-events:auto"].join(";")}else if(Pt(t)){d.style.cssText=["position:absolute",f?"bottom:2px":"top:2px",u?"left:12px":"right:12px","display:flex","flex-wrap:wrap","gap:4px 12px",u?"justify-content:flex-start":"justify-content:flex-end","max-width:88%","pointer-events:auto"].join(";")}else{d.style.cssText=["position:absolute",f?"bottom:2px":"top:2px","left:12px","right:12px","display:flex","flex-wrap:wrap","gap:4px 12px","justify-content:center","pointer-events:auto"].join(";")}const h=new Map;for(const t of Array.from(d.children)){h.set(t.dataset.seriesIndex??"",t)}i.forEach(((t,e)=>{const s=String(t.seriesIndex);let c=h.get(s);if(!c){c=document.createElement("button");c.type="button";c.dataset.seriesIndex=s;c.append(document.createElement("span"),document.createElement("span"))}h.delete(s);Ot.set(c,t);c.style.cssText=["display:inline-flex","align-items:center","gap:6px","background:none","border:none","padding:2px 4px","cursor:pointer","white-space:nowrap",a?"flex:0 1 auto":"flex:none","min-width:0","max-width:100%",`font:400 ${n.texts[0]?.fontSize??11}px ${o}`,`color:${t.hidden?"var(--md-sys-color-outline, #79747E)":"var(--md-sys-color-on-surface-variant, #49454F)"}`,t.hidden?"text-decoration:line-through":""].join(";");c.setAttribute("aria-pressed",String(!t.hidden));const[r,i]=Array.from(c.children);r.style.cssText=`width:10px;height:10px;border-radius:3px;background:${t.color};opacity:${t.hidden?.4:1};flex:none`;i.style.cssText="overflow:hidden;text-overflow:ellipsis;min-width:0";if(i.textContent!==t.label)i.textContent=t.label;if(c.title!==t.label)c.title=t.label;if(d.children[e]!==c)d.insertBefore(c,d.children[e]??null)}));for(const t of h.values())t.remove();if(d.parentNode!==c)c.appendChild(d)}else{r?.remove()}}const Rt=700;const Vt=t=>t<0?0:t>1?1:t;function Yt(t){if(t<=0)return 0;if(t>=1)return 1;return 1-Math.exp(-7*t)*Math.cos(6*t)}function Wt(t){const n=Vt(t);return 1-Math.pow(1-n,3)}function Tt(t){const n=Vt(t);return n<.5?4*n*n*n:1-Math.pow(-2*n+2,3)/2}function Xt(t,n,o,e){const s=3*t;const c=3*(o-t)-s;const r=1-s-c;const i=3*n;const a=3*(e-n)-i;const f=1-i-a;const l=t=>((r*t+c)*t+s)*t;const u=t=>((f*t+a)*t+i)*t;const d=t=>(3*r*t+2*c)*t+s;return t=>{if(t<=0)return 0;if(t>=1)return 1;let n=t;for(let o=0;o<8;o++){const o=l(n)-t;if(Math.abs(o)<1e-6)return u(n);const e=d(n);if(Math.abs(e)<1e-6)break;n-=o/e}let o=0;let e=1;n=t;for(let s=0;s<24;s++){const s=l(n)-t;if(Math.abs(s)<1e-6)break;if(s>0)e=n;else o=n;n=(o+e)/2}return u(n)}}const Zt=Xt(.05,.7,.1,1);function Gt(t){switch(t){case"draw":case"stagger":return Tt;case"expressive":case"grow":case"fade":default:return Zt}}function Ht(){return typeof window!=="undefined"&&!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Jt(t){return t.horizontal??t.w>t.h}function Kt(t,n,o){if(Jt(t)){const e=o??t.x;const s=e+(t.x-e)*n;const c=e+(t.x+t.w-e)*n;return{...t,x:Math.min(s,c),w:Math.abs(c-s)}}const e=o??t.y+t.h;const s=e+(t.y-e)*n;const c=e+(t.y+t.h-e)*n;return{...t,y:Math.min(s,c),h:Math.abs(c-s)}}function Qt(t,n){if(t.polar){const o=new Map;for(const n of t.slices){const t=o.get(n.dataIndex);if(t===undefined||n.startAngle<t)o.set(n.dataIndex,n.startAngle)}return t.slices.map((t=>{const e=o.get(t.dataIndex);return{...t,startAngle:e+(t.startAngle-e)*n,endAngle:e+(t.endAngle-e)*n}}))}const o=Vt(n);return t.slices.map((t=>({...t,innerR:t.innerR*o,outerR:t.outerR*o})))}function Ut(t,n){const o=t.plot.y+t.plot.height;const e=t=>o+(t-o)*n;const s=t=>t.map((t=>({x:t.x,y:e(t.y)})));return{...t,lines:t.lines.map((o=>{if(!o.radial)return{...o,points:s(o.points)};const e=t.plot.x+t.plot.width/2;const c=t.plot.y+t.plot.height/2;const r=Vt(n);return{...o,points:o.points.map((t=>({x:e+(t.x-e)*r,y:c+(t.y-c)*r})))}})),areas:t.areas.map((t=>({...t,points:s(t.points),basePoints:t.basePoints?s(t.basePoints):undefined}))),markers:t.markers.map((t=>({...t,y:e(t.y)}))),glyphs:t.glyphs?.map((t=>({...t,y:e(t.y)}))),endLabels:t.endLabels?.map((t=>({...t,y:e(t.y)}))),bars:t.bars.map((o=>Kt(o,n,t.barBaseline))),slices:Qt(t,n)}}const tn=.5;function nn(t){return t.slices.filter((t=>!t.pill&&t.endAngle!==t.startAngle))}function on(t,n,o,e){const s=Vt(e);const c=nn(t);const r=nn(n);if(!c.length||!r.length)return null;const i=c.find((t=>t.dataIndex===o))??c[0];const a=c[0].startAngle;const f=c.reduce(((t,n)=>t+(n.endAngle-n.startAngle)),0);const l=i.endAngle-i.startAngle;const u=f-l;const d=l+u*s;const h=i.startAngle+(a-i.startAngle)*s;const x=Math.abs(u)<1e-9?0:(f-d)/u;const p=[...c.slice(c.indexOf(i)+1),...c.slice(0,c.indexOf(i))];let y=h+d;const m=p.map((t=>{const n=(t.endAngle-t.startAngle)*x;const o=y;y+=n;return{...t,startAngle:o,endAngle:y}}));m.push({...i,startAngle:h,endAngle:h+d});const g=r[0].startAngle;const b=r.reduce(((t,n)=>t+(n.endAngle-n.startAngle)),0)||1;const M=t=>h+(t-g)/b*d;const w=r.map((t=>({...t,startAngle:M(t.startAngle),endAngle:M(t.endAngle)})));return{base:{...t,slices:m,lines:[],gridlines:[],texts:[]},over:{...n,slices:w,lines:[],gridlines:[],texts:[],background:undefined},overAlpha:Vt(s/tn)}}function en(t,n){if(!t.length)return t;const o=[];for(let e=0;e<t.length;e++){const s=t[e];if(s.x<=n){o.push(s)}else{if(e>0){const c=t[e-1];const r=s.x-c.x||1;const i=(n-c.x)/r;o.push({x:n,y:c.y+(s.y-c.y)*i})}break}}return o}const sn=.3;function cn(t,n,o,e,s=false){const c=Vt(e);const r=s?Math.max(0,...t.bars.map((t=>t.dataIndex))):0;return{...t,bars:t.bars.map((n=>{const o=s&&r>0?n.dataIndex/r*sn:0;const e=Zt(Vt((c-o)/(1-o||1)));return Kt(n,e,t.barBaseline)}))}}function rn(t,n){const o=t.plot;const e=Vt(n);const s=o.x+e*o.width;const c=o.y+e*o.height;return{...t,lines:t.lines.map((t=>t.radial?t:{...t,points:en(t.points,s)})),areas:t.areas.map((t=>({...t,points:en(t.points,s),basePoints:t.basePoints?en(t.basePoints,s):undefined}))),markers:t.markers.filter((t=>t.x<=s)),glyphs:t.glyphs?.filter((t=>t.x<=s)),bars:t.bars.map((n=>{const o=Jt(n)?Vt((c-n.y)/Math.max(n.h,1)):Vt((s-n.x)/Math.max(n.w,1));return Kt(n,o,t.barBaseline)})),slices:t.slices.map((t=>({...t,endAngle:t.startAngle+(t.endAngle-t.startAngle)*e})))}}function an(t){const n=new Set;for(const o of t.lines)n.add(o.seriesIndex??0);return[...n].sort(((t,n)=>t-n))}function fn(t,n){const o=an(t);const e=o.length||1;const s=new Map(o.map(((t,n)=>[t,n])));const c=t.plot;const r=t=>{const o=s.get(t??0)??0;return c.x+Tt(Vt(n*e-o))*c.width};const i=c.x+Tt(Vt(n))*c.width;return{...t,lines:t.lines.map((t=>t.radial?t:{...t,points:en(t.points,r(t.seriesIndex))})),areas:t.areas.map((t=>({...t,points:en(t.points,r(t.seriesIndex)),basePoints:t.basePoints?en(t.basePoints,r(t.seriesIndex)):undefined}))),markers:t.markers.filter((t=>t.x<=r(t.seriesIndex))),glyphs:t.glyphs?.filter((t=>t.x<=i)),bars:t.bars.map((n=>Kt(n,Vt((i-n.x)/Math.max(n.w,1)),t.barBaseline))),slices:t.slices.map((t=>({...t,endAngle:t.startAngle+(t.endAngle-t.startAngle)*Vt(n)})))}}function ln(t){let n=t.animation??(t.animate===false?"none":"expressive");const o=t.animationDuration!=null?t.animationDuration:Rt;const e=Number.isFinite(o)&&o>0;if(!e)n="none";return{variant:n,duration:e?o:Rt}}function un(t,n){const o=Vt(n*2);if(o>=1)return t.gridlines;return t.gridlines.map((t=>({...t,color:s(t.color,o)})))}function dn(t,n,o){const e=Gt(t)(Vt(o));switch(t){case"fade":return{scene:n,alpha:Vt(e)};case"draw":return{scene:{...rn(n,e),gridlines:un(n,e)},alpha:1};case"stagger":{const t=Vt(o);return{scene:{...fn(n,t),gridlines:un(n,t)},alpha:1}}case"grow":case"expressive":default:return{scene:Ut(n,e),alpha:Vt(e)}}}function hn(t){t.textContent="";delete t.dataset.hoverIndex}const xn="var(--md-sys-color-surface, #FFFBFE)";const pn=new Set(["circle","square","diamond","triangle","triangle-down"]);const yn={diamond:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)",triangle:"polygon(50% 0%, 100% 100%, 0% 100%)","triangle-down":"polygon(0% 0%, 100% 0%, 50% 100%)"};function mn(t,n,o,e){const s=document.createElement("div");const c=`position:absolute;left:${o}px;top:${e}px;transform:translate(-50%,-50%);pointer-events:none`;if(t&&!pn.has(t)){s.textContent=t;s.style.cssText=`${c};font-size:22px;line-height:1;user-select:none`;return s}const r=t&&t!=="circle"?11:13;s.style.cssText=`${c};width:${r}px;height:${r}px;filter:drop-shadow(0 1px 2px rgba(0,0,0,0.3))`;if(!t||t==="circle"){s.style.cssText+=`;box-sizing:border-box;border-radius:50%;background:${n};border:2px solid ${xn}`;return s}const i=yn[t]??"none";const a=document.createElement("div");a.style.cssText=`position:absolute;inset:-2px;background:${xn};clip-path:${i}`;const f=document.createElement("div");f.style.cssText=`position:absolute;inset:0;background:${n};clip-path:${i}`;s.append(a,f);return s}function gn(t){if(typeof t.animate!=="function")return;t.animate([{transform:"translate(-50%,-50%) scale(0.4)",offset:0},{transform:"translate(-50%,-50%) scale(1.25)",offset:.45},{transform:"translate(-50%,-50%) scale(0.94)",offset:.72},{transform:"translate(-50%,-50%) scale(1)",offset:1}],{duration:320,easing:"cubic-bezier(0.2, 0, 0, 1)"})}function bn(t,n){return["position:absolute","pointer-events:none","background:var(--md-sys-color-surface-container-high, #ECE6F0)","color:var(--md-sys-color-on-surface, #1C1B1F)","border-radius:8px","padding:8px 10px","box-shadow:0 2px 6px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.2)",`font:400 ${t}px ${n}`]}function Mn(n,o){if(t(o)){n.appendChild(o);return}if(typeof o==="object"&&typeof o.unsafeHtml==="string"){n.innerHTML=o.unsafeHtml;return}n.textContent=String(o)}function wn(t,n,o,e,s,c,r="vertical",i=-1,a={}){const f=t.dataset.hoverIndex!==String(o);t.textContent="";if(o<0){delete t.dataset.hoverIndex;return}const l=n.xPositions[o];if(l==null)return;t.dataset.hoverIndex=String(o);const u=f&&!Ht();const d=n.plot;let h=r==="horizontal"?d.x:d.y;let x=h+(r==="horizontal"?d.width:d.height);if(r!=="none"){for(const t of n.hoverPoints){const n=t.byIndex?.[o];if(!n)continue;const e=r==="horizontal"?n.x:n.y;h=Math.min(h,e);x=Math.max(x,e)}}const p=document.createElement("div");p.style.cssText=["position:absolute","box-sizing:border-box",r==="horizontal"?`left:${h}px;top:${l}px;width:${x-h}px;height:1px;transform:translateY(-50%)`:`left:${l}px;top:${h}px;height:${x-h}px;width:1px;transform:translateX(-50%)`,"background:var(--md-sys-color-on-surface, #1C1B1F)","box-shadow:0 0 0 1px var(--md-sys-color-surface, #FFFBFE)","opacity:0.7"].join(";");if(r!=="none")t.appendChild(p);const y=!!a.render;const m=[];const g=[];const b=[];const M=a.trigger==="item"&&i>=0;for(const s of n.hoverPoints){if(M&&s.seriesIndex!==i)continue;const n=s.valueFormat??e;const c=s.seriesIndex===i;const f=s.byIndex[o];if(f){const o=f.color??s.color;if(!s.unanchored&&r!=="none"){const n=mn(f.symbol,o,f.x,f.y);const e=i>=0&&!c;if(e)n.style.opacity="0.4";t.appendChild(n);if(u&&!e)gn(n)}const e=f.low!=null&&f.high!=null?`${n(f.low)} – ${n(f.high)}`:n(f.value);b.push({color:o,label:s.label,value:e});if(y)m.push({seriesIndex:s.seriesIndex,label:s.label,color:s.color,value:f.value,formattedValue:e,focused:c,missing:false});continue}if(!y&&!a.missingFormatter)continue;const l=s.values?.[o];const d=typeof l==="number"?null:l;const h=a.missingFormatter?a.missingFormatter(d):"";if(y)g.push({seriesIndex:s.seriesIndex,label:s.label,color:s.color,value:d,formattedValue:h,focused:c,missing:true});if(h)b.push({label:s.label,value:h})}const w=n.texts[0]?.fontSize??12;if(a.render){const e={dataIndex:o,axisValue:n.xValues[o],axisLabel:n.xLabels[o]??"",series:m,missing:g,focusedSeriesIndex:i};let f;try{f=a.render(e)}catch(t){console.error("[md-chart] tooltipRenderer threw; falling back to the default tooltip",t);f=undefined}if(f===null)return;if(f!==undefined){const o=document.createElement("div");o.setAttribute("part","tooltip");o.style.cssText=[...bn(w,s),"z-index:2","box-sizing:border-box",`max-width:${Math.max(0,n.width-8)}px`].join(";");Mn(o,f);$n(o,t,n,c,r,l);return}}if(!b.length)return;const $=document.createElement("div");$.setAttribute("part","tooltip");$.style.cssText=[...bn(w,s),"min-width:96px","z-index:2","white-space:nowrap"].join(";");const v=document.createElement("div");v.textContent=n.xLabels[o]??"";v.style.cssText="font-weight:600;margin-bottom:4px";$.appendChild(v);for(const t of b){const n=document.createElement("div");n.style.cssText=`display:flex;align-items:center;gap:8px;line-height:1.5${t.color?"":";opacity:0.62"}`;const o=document.createElement("span");o.style.cssText=t.color?`width:10px;height:10px;border-radius:3px;background:${t.color};flex:none`:"width:10px;height:10px;flex:none";const e=document.createElement("span");e.textContent=t.label;e.style.cssText="flex:1";const s=document.createElement(t.color?"strong":"span");s.textContent=t.value;n.append(o,e,s);$.appendChild(n)}$n($,t,n,c,r,l,a.rtl)}function $n(t,n,o,e,s,c,r=false){n.appendChild(t);const i=t.offsetWidth||120;const a=t.offsetHeight||60;if(a+8>o.height){n.style.overflow="visible";const s=i+8<=o.width;const c=s?Math.max(4,Math.min(e.x-i/2,o.width-i-4)):Math.max(24-i,Math.min(e.x-i/2,o.width-24));t.style.left=`${Math.round(c)}px`;const r=n.getBoundingClientRect();const f=r.top-a-6>=0;const l=o.plot?o.plot.y+o.plot.height:o.height;t.style.top=f?`${Math.round(-a-6)}px`:`${Math.round(l+6)}px`;return}let f;let l;if(s==="none"){f=e.x+14;if(f+i>o.width-4)f=e.x-i-14;f=Math.max(4,Math.min(f,o.width-i-4));l=e.y+14;if(l+a>o.height-4)l=e.y-a-14;l=Math.max(4,Math.min(l,o.height-a-4))}else if(s==="horizontal"){l=c+14;if(l+a>o.height-4)l=c-a-14;l=Math.max(4,l);f=r?Math.max(4,Math.min(e.x-i-14,o.width-i-4)):Math.max(4,Math.min(e.x+14,o.width-i-4))}else{f=r?c-i-14:c+14;if(r?f<4:f+i>o.width-4)f=r?c+14:c-i-14;f=Math.max(4,Math.min(f,o.width-i-4));l=Math.max(4,Math.min(e.y-a/2,o.height-a-4))}t.style.left=`${f}px`;t.style.top=`${l}px`}function vn(t){let n=null;let o=null;let e=0;const s=()=>{if(typeof window==="undefined"||!window.matchMedia)return;const s=window.devicePixelRatio||1;if(s===e&&n)return;if(n&&o)n.removeEventListener?.("change",o);e=s;n=window.matchMedia(`(resolution: ${s}dppx)`);o=t;n.addEventListener?.("change",o)};const c=()=>{if(n&&o)n.removeEventListener?.("change",o);n=null;o=null;e=0};return{update:s,dispose:c}}function kn(t){switch(t){case"left":return"right";case"right":return"left";case"top-start":return"top-end";case"top-end":return"top-start";case"bottom-start":return"bottom-end";case"bottom-end":return"bottom-start";default:return t}}function zn(t){return t==="start"?"end":t==="end"?"start":"center"}function Sn(t){const n=t.width;const o=t=>n-t;const e=t=>t.map((t=>({...t,x:o(t.x)})));const s=t=>({...t,x1:o(t.x1),x2:o(t.x2)});return{...t,plot:{...t.plot,x:o(t.plot.x+t.plot.width)},bands:t.bands?.map((t=>({...t,x:o(t.x+t.w)}))),gridlines:t.gridlines.map(s),axisLines:t.axisLines.map(s),areas:t.areas.map((t=>({...t,points:e(t.points),basePoints:t.basePoints?e(t.basePoints):undefined}))),bars:t.bars.map((t=>({...t,x:o(t.x+t.w),radius:[t.radius[1],t.radius[0],t.radius[3],t.radius[2]]}))),barBaseline:t.barBaseline!=null&&t.bars[0]?.horizontal?o(t.barBaseline):t.barBaseline,slices:t.slices.map((t=>({...t,cx:o(t.cx),startAngle:Math.PI-t.endAngle,endAngle:Math.PI-t.startAngle}))),lines:t.lines.map((t=>({...t,points:e(t.points)}))),markers:t.markers.map((t=>({...t,x:o(t.x)}))),glyphs:t.glyphs?.map((t=>({...t,x:o(t.x)}))),endLabels:t.endLabels?.map((t=>({...t,x:o(t.x),side:t.side==="end"?"start":"end"}))),texts:t.texts.map((t=>({...t,x:o(t.x),align:zn(t.align),rotate:t.rotate?-t.rotate:t.rotate}))),legend:t.legend.map((t=>({...t,x:o(t.x)}))),xPositions:t.xPositions.map(o),hoverPoints:t.hoverPoints.map((t=>({...t,byIndex:Object.fromEntries(Object.entries(t.byIndex).map((([t,n])=>[t,{...n,x:o(n.x)}])))})))}}function Fn(t){if(!t||typeof getComputedStyle!=="function")return false;try{return getComputedStyle(t).direction==="rtl"}catch{return false}}const In=new Set;let An=null;function Cn(t){if(typeof MutationObserver==="undefined"||typeof document==="undefined"){return{dispose:()=>undefined}}In.add(t);if(!An){An=new MutationObserver((()=>{for(const t of In)t()}));An.observe(document.documentElement,{attributes:true,attributeFilter:["dir"],subtree:true})}return{dispose:()=>{In.delete(t);if(!In.size){An?.disconnect();An=null}}}}function Nn(t){const n=t.length;if(n<2||t[0][0]<=t[n-1][0])return t;return[...t].reverse()}export{dt as A,ut as B,vt as C,ot as D,L as E,D as F,E as G,W as H,O as I,q as J,rt as K,zt as L,cn as M,_t as N,i as O,c as P,Nt as Q,on as R,Wt as S,Mn as T,Yt as U,Tt as V,d as W,kn as X,h as a,w as b,vn as c,S as d,Cn as e,wn as f,hn as g,Ht as h,Fn as i,ln as j,Lt as k,Bt as l,Sn as m,Ct as n,dn as o,z as p,yt as q,y as r,jt as s,F as t,s as u,Nn as v,k as w,B as x,r as y,it as z};
|
|
2
|
-
//# sourceMappingURL=p-DDR-x268.js.map
|