@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["mdButtonCss","MdButton","constructor","hostRef","this","type","variant","size","shape","disabled","softDisabled","ripple","loading","icon","trailingIcon","href","target","toggle","selected","shapeMorph","mirrorIcon","suppressExpandIconFlip","fullWidth","connectedLeft","connectedRight","value","groupTabindex","roleOverride","density","hasSlottedLeadingIcon","hasSlottedTrailingIcon","pressed","handleClick","e","isDisabled","preventDefault","nextSelected","evt","mdClick","emit","originalEvent","defaultPrevented","mdChange","sanitizeHref","anchor","el","shadowRoot","querySelector","composedPath","includes","window","open","SAFE_WINDOW_FEATURES","withValidationReport","internals","form","requestSubmit","reset","handleKeyDown","key","triggerRipple","click","setTimeout","handlePointerDown","handlePointerUp","componentDidLoad","shadow","leadingSlot","trailingSlot","addEventListener","assignedElements","length","render","isEffectivelyDisabled","hasLeadingIcon","hasTrailingIcon","linkHref","opensNewContext","h","Host","class","role","String","undefined","tabindex","onClick","onKeyDown","onPointerDown","onPointerUp","onPointerLeave","onPointerCancel","part","rel","SAFE_LINK_REL","renderContent","Fragment","name","LazyLoadingIndicator","mdCardCss","MdCard","interactive","dragEnabled","fullHeight","dragging","hasInteractiveContent","startX","startY","dragStarted","suppressClick","contentObserver","button","clientX","clientY","setPointerCapture","pointerId","onPointerMove","dx","dy","Math","abs","DRAG_THRESHOLD","style","zIndex","mdDragStart","buildDetail","transform","mdDragMove","requestAnimationFrame","mdDragEnd","resetDragVisuals","cleanupListeners","detectInteractiveContent","found","querySelectorAll","INTERACTIVE_CONTENT_SELECTOR","connectedCallback","componentWillLoad","MutationObserver","observe","childList","subtree","disconnectedCallback","removeEventListener","disconnect","cancelDrag","onDragEnabledChange","offsetX","offsetY","actsAsButton","onSlotchange","join","mdIconButtonCss","MdIconButton","buttonWidth","selectedIcon","hasSlottedIcon","hasSlottedBadge","hasSlottedSelected","syncSlottedIcons","iconSlot","selectedSlot","hasMeaningfulSlotContent","slot","assignedNodes","some","node","nodeType","Node","ELEMENT_NODE","tagName","toLowerCase","TEXT_NODE","textContent","trim","showSelected","hasIcon","showDefaultIconLayer","mdRadioCss","MdRadio","valueMissingLabel","customValidityMessage","uid","random","toString","slice","validationMessage","validationPresenter","InlineValidationPresenter","host","validity","getValidityOf","message","focus","setFocus","invalid","defaultChecked","checked","required","focused","programmaticFocus","managedTabIndex","parentLabel","lastValidityKey","handleLabelClick","focusSibling","handleFocus","mdFocus","handleBlur","mdBlur","resetValidationPresentation","handleInvalid","event","componentDidRender","ariaDescribedByElements","supportEl","closest","syncFormValue","updateRovingTabIndex","syncGroupValidity","onCheckedChange","newVal","uncheckOthers","onValidityInputChange","setFormValue","groupHasSelection","root","getRootNode","Array","from","r","hasAttribute","groupIsRequired","syncValidity","setValidityState","missing","missingMessage","customMessage","refresh","emitValidityChange","forEach","syncValidityFromGroup","formDisabledCallback","queueMicrotask","formResetCallback","getValidity","v","valid","primed","mdValidityChange","checkValidity","checkValidityOf","reportValidity","reportValidityOf","setCustomValidity","onDisabledChange","setBlur","blur","select","siblings","anyChecked","s","firstEnabled","find","keepChecked","sibling","removeAttribute","direction","enabled","filter","idx","indexOf","next","setAttribute","dispatchEvent","CustomEvent","detail","getAttribute","bubbles","composed","onFocus","onBlur","onChange","id","ref","mdRippleCss","PRESS_GROW_MS","RELEASE_FADE_MS","DEFAULT_PRESS_OPACITY","EASING_STANDARD","GROW_DURATION_PROP","GROW_EASING_PROP","MdRipple","hostEl","activeWave","growAnimation","activeOpacity","bound","settlePromise","settleResolve","rippleSuppressed","container","endWave","rect","getBoundingClientRect","extendInline","resolveExtent","extendBlock","left","right","top","bottom","max","radius","sqrt","x","y","wave","document","createElement","classList","add","width","height","appendChild","resolveOpacity","beginSettle","animate","opacity","duration","resolveGrowDuration","easing","resolveGrowEasing","fill","onRelease","once","getComputedStyle","getPropertyValue","raw","parsed","parseFloat","Number","isFinite","prop","finishSettle","Promise","resolve","whenSettled","maxWait","race","generatesNoBox","display","resolveHost","parentElement","ShadowRoot","bind","grow","playState","finished","fade","then","remove","trigger","cx","cy","halfX","halfY","mdSnackbarCss","MdSnackbar","action","closeable","autoHide","autoHideDuration","position","stacked","politeness","dismissLabel","hasSlottedAction","hasSlottedClose","hasSlottedDefault","timerPaused","handleActionClick","mdAction","startAutoHide","handleCloseClick","dismissAfterRipple","handleEscape","pauseAutoHide","autoHideTimer","clearAutoHide","resumeAutoHide","handleSurfaceFocusOut","surface","currentTarget","relatedTarget","contains","isAutoHide","defaultSlot","actionSlot","closeSlot","n","onOpenChange","rippleDismissTimer","clearTimeout","raiseAboveOpenPeers","peers","highest","reduce","setProperty","_oldVal","mdOpen","show","hide","reason","mdClose","hasAction","hasClose","onMouseEnter","onMouseLeave","onFocusin","onFocusout","exportparts"],"sources":["../sources/b8166391f2fbfe818d56726c9ddc50fec1aab094c8a3ec1cbd11317c3a26caf2/md-button.css_tag_md-button_encapsulation_shadow","../sources/4c507b199e4702ae45fd94286ec7d9900e6494d110e1e7c17a7841de5d4f17f6/md-button.tsx","../sources/64da74b24b3a32d240f3c28c64c5f399a5cd490ebb0acb8680a50abf709d73d7/md-card.css_tag_md-card_encapsulation_shadow","../sources/c6b563df3f40e548142641177820e89ccf52011c8ac1ba4dc3aee7f77c7e2837/md-card.tsx","../sources/4c3db1209a113d8be0856710af90a83ae5e5853020a69829dfbfcdb7a44365d2/md-icon-button.css_tag_md-icon-button_encapsulation_shadow","../sources/347425bdb1ef48cb5311e763f4a22034f31a219753ac1651773a7470270486c5/md-icon-button.tsx","../sources/d4e101d65a08c724b40f85d28cf141d9d6c5cd8c0c1229444df2bcf3938c8557/md-radio.css_tag_md-radio_encapsulation_shadow","../sources/4c675f0caaf379b694c4cdd7ca351ed7147e5219b7a64f62db4f2f45f8527c0f/md-radio.tsx","../sources/ec17a9937334c963ba3ef3690ae04fe2a185555ac7e3dbcc78533f5cf7ed8f18/md-ripple.css_tag_md-ripple_encapsulation_shadow","../sources/71584a5177f5455256e7b8bb85d645fc240736233d77965781ce245f3c856a17/md-ripple.tsx","../sources/6866662712cbca98ef1eb28afc93573fb410c65ec346cd941d3d4636466b5cd1/md-snackbar.css_tag_md-snackbar_encapsulation_shadow","../sources/5f05d874ede41f4269e07ff39df67cd5c9abd4ac9a7262a98642a5524792d9d8/md-snackbar.tsx"],"mappings":"0QAAA,MA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,OACE3S,EAACC,EAAI,CAAApB,IAAA,2CACHqB,MAAO,CACL,cAAe,KACf,oBAAqB5E,KAAK+C,KAC1B,uBAAwB/C,KAAKiX,QAC7B,CAAC,gBAAgBjX,KAAKgX,YAAa,KACnC,2BAA4B0C,EAC5B,0BAA2BC,GAE7B9U,KAAM7E,KAAKkX,aAAe,YAAc,QAAU,SAAQ,YAC/ClX,KAAKkX,WAAU,cACd,QAEZxS,EAAA,OAAAnB,IAAA,2CACEqB,MAAM,uBACNW,KAAK,UACLqU,aAAc5Z,KAAK8X,cACnB+B,aAAc7Z,KAAKiY,eACnB6B,UAAW9Z,KAAK8X,cAChBiC,WAAY/Z,KAAKkY,uBAEjBxT,EAAA,QAAAnB,IAAA,2CAAMqB,MAAM,uBAAuBW,KAAK,WACtCb,EAAA,QAAAnB,IAAA,4CAAOvD,KAAK2L,UAGb+N,GACChV,EAAA,OAAAnB,IAAA,2CAAKqB,MAAM,uBAAuBW,KAAK,WACrCb,EAAA,QAAAnB,IAAA,2CAAMqC,KAAK,UACR5F,KAAK4W,QACJlS,EAAA,aAAAnB,IAAA,2CACErD,QAAQ,OACRC,KAAK,KACLyE,MAAM,0BACNK,QAASjF,KAAKwX,mBAEbxX,KAAK4W,UAOf+C,GACCjV,EAAA,OAAAnB,IAAA,2CAAKqB,MAAM,qBAAqBW,KAAK,SACnCb,EAAA,QAAAnB,IAAA,2CAAMqC,KAAK,SACR5F,KAAK6W,WACJnS,EAAA,kBAAAnB,IAAA,2CACErD,QAAQ,WACRO,KAAK,QAAO,aACAT,KAAKmX,aACjBlS,QAASjF,KAAK2X,iBACdqC,YAAY,uB","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,H as i,g as e}from"./p-DUZ-GXnb.js";const a=()=>`:host{display:grid;min-inline-size:0}::slotted(md-tab-panel){grid-area:1 / 1}:host([sizing='active'][data-active-resolved]) ::slotted(md-tab-panel:not([active])){display:none}:host([hidden]){display:none !important}`;const n=class{constructor(s){t(this,s);this.for="";this.sizing="stable";this.tabsEl=null;this.hasLoaded=false;this.uid=`md-tab-panels-${Math.random().toString(36).slice(2,7)}`;this.onTabChange=t=>{const s=t.detail;if(s&&typeof s.index==="number")this.show(s.index)}}onForChange(){this.unwire();this.wire()}componentDidLoad(){this.hasLoaded=true;const t=this.el.shadowRoot?.querySelector("slot");t?.addEventListener("slotchange",(()=>this.sync()));this.wire()}connectedCallback(){if(this.hasLoaded)queueMicrotask((()=>this.wire()))}disconnectedCallback(){this.unwire()}findTabs(){if(this.for){return this.el.getRootNode().getElementById?.(this.for)??document.getElementById(this.for)}let t=this.el.previousElementSibling;while(t){if(t.tagName==="MD-TABS")return t;t=t.previousElementSibling}return null}wire(){const t=this.findTabs();if(this.tabsEl&&this.tabsEl!==t)this.unwire();this.tabsEl=t;t?.addEventListener("mdTabChange",this.onTabChange);this.sync()}unwire(){this.tabsEl?.removeEventListener("mdTabChange",this.onTabChange);this.tabsEl=null}panels(){const t=this.el.shadowRoot?.querySelector("slot");return(t?.assignedElements({flatten:true})??[]).filter((t=>t.tagName==="MD-TAB-PANEL"))}sync(){const t=this.tabsEl;const s=t?Array.from(t.querySelectorAll("md-tab")):[];this.panels().forEach(((t,i)=>{if(!t.id)t.id=`${this.uid}-panel-${i}`;const e=s[i];if(e){if(!e.id)e.id=`${this.uid}-tab-${i}`;t.setAttribute("aria-labelledby",e.id);if(!e.hasAttribute("controls")&&!e.hasAttribute("aria-controls")){e.setAttribute("controls",t.id)}}}));const i=typeof t?.activeTabIndex==="number"?t.activeTabIndex:parseInt(t?.getAttribute("active-tab-index")??"0",10)||0;this.show(i)}show(t){this.panels().forEach(((s,i)=>{const e=i===t;if(e){s.setAttribute("active","");s.removeAttribute("inert")}else{s.removeAttribute("active");s.setAttribute("inert","")}}));this.el.setAttribute("data-active-resolved","")}render(){return s(i,{key:"75d22453536d7ceecdb2662a8881439e97fd8af2"},s("slot",{key:"a4aa271a4e54b8ba71b9cce1fec93daf2a5907e8"}))}get el(){return e(this)}static get watchers(){return{for:[{onForChange:0}]}}};n.style=a();export{n as md_tab_panels};
|
|
2
|
-
//# sourceMappingURL=p-a985fe73.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["mdTabPanelsCss","MdTabPanels","constructor","hostRef","this","for","sizing","tabsEl","hasLoaded","uid","Math","random","toString","slice","onTabChange","e","detail","index","show","onForChange","unwire","wire","componentDidLoad","slot","el","shadowRoot","querySelector","addEventListener","sync","connectedCallback","queueMicrotask","disconnectedCallback","findTabs","getRootNode","getElementById","document","n","previousElementSibling","tagName","tabs","removeEventListener","panels","assignedElements","flatten","filter","tabEls","Array","from","querySelectorAll","forEach","panel","i","id","tab","setAttribute","hasAttribute","activeTabIndex","parseInt","getAttribute","active","removeAttribute","render","h","Host","key"],"sources":["../sources/0c283e70c75fa390995fca4dae9830d05c2cc393000ac3424a38a23bc727a554/md-tab-panels.css_tag_md-tab-panels_encapsulation_shadow","../sources/79a4a375fda3e8a596d4e62110a9eace64593d8e72063d5fe04e34b4eba47f38/md-tab-panels.tsx"],"mappings":"yDAAA,MAAMA,EAAiB,IAAM,0N,MCsBhBC,EAAW,MALxB,WAAAC,CAAAC,G,UASUC,KAAAC,IAAc,GAGGD,KAAAE,OAA8B,SAE/CF,KAAAG,OAA6D,KAC7DH,KAAAI,UAAY,MACZJ,KAAAK,IAAM,iBAAiBC,KAAKC,SAASC,SAAS,IAAIC,MAAM,EAAG,KAE3DT,KAAAU,YAAeC,IACrB,MAAMC,EAAUD,EAAqCC,OACrD,GAAIA,UAAiBA,EAAOC,QAAU,SAAUb,KAAKc,KAAKF,EAAOC,MAAM,CAmH1E,CA/GC,WAAAE,GACEf,KAAKgB,SACLhB,KAAKiB,M,CAGP,gBAAAC,GACElB,KAAKI,UAAY,KACjB,MAAMe,EAAOnB,KAAKoB,GAAGC,YAAYC,cAAc,QAC/CH,GAAMI,iBAAiB,cAAc,IAAMvB,KAAKwB,SAChDxB,KAAK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AIC,aAAa,WAAYJ,EAAME,G,MAIzC,MAAMnC,SAAesB,GAAMiB,iBAAmB,SAC1CjB,EAAKiB,eACLC,SAASlB,GAAMmB,aAAa,qBAAuB,IAAK,KAAO,EACnEtD,KAAKc,KAAKD,E,CAGJ,IAAAC,CAAKD,GACXb,KAAKqC,SAASQ,SAAQ,CAACC,EAAOC,KAC5B,MAAMQ,EAASR,IAAMlC,EAErB,GAAI0C,EAAQ,CACVT,EAAMI,aAAa,SAAU,IAC7BJ,EAAMU,gBAAgB,Q,KACjB,CACLV,EAAMU,gBAAgB,UACtBV,EAAMI,aAAa,QAAS,G,KAiBhClD,KAAKoB,GAAG8B,aAAa,uBAAwB,G,CAG/C,MAAAO,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
|
package/dist/md3/p-uZRvZT4w.js
DELETED
|
@@ -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,Cn as a,ln as b,hn as c,Lt as d,Bt as e,Ct as f,dn as g,yt as h,Fn as i,k as j,y as k,S as l,Sn as m,h as n,w as o,Ht as p,z as q,wn as r,jt as s,F as t,s as u,Nn as v,vn as w,B as x,r as y,it as z};
|
|
2
|
-
//# sourceMappingURL=p-uZRvZT4w.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|