@stfrigerio/sito-template 0.1.36 → 0.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/setup.d.ts +2 -0
- package/dist/__tests__/setup.d.ts.map +1 -0
- package/dist/components/atoms/AllAtoms.stories.d.ts +1 -1
- package/dist/components/atoms/AllAtoms.stories.d.ts.map +1 -1
- package/dist/components/atoms/Button/Button.stories.d.ts +2 -14
- package/dist/components/atoms/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/atoms/Card/Card.stories.d.ts +4 -23
- package/dist/components/atoms/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/atoms/DateInput/DateInput.d.ts +1 -1
- package/dist/components/atoms/DateInput/DateInput.d.ts.map +1 -1
- package/dist/components/atoms/DateInput/DateInput.stories.d.ts +1 -1
- package/dist/components/atoms/DateInput/DateInput.stories.d.ts.map +1 -1
- package/dist/components/atoms/DecryptedText/DecryptedText.d.ts +50 -0
- package/dist/components/atoms/DecryptedText/DecryptedText.d.ts.map +1 -0
- package/dist/components/atoms/DecryptedText/index.d.ts +3 -0
- package/dist/components/atoms/DecryptedText/index.d.ts.map +1 -0
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.stories.d.ts.map +1 -1
- package/dist/components/atoms/NumberStepper/NumberStepper.d.ts.map +1 -1
- package/dist/components/atoms/NumberStepper/NumberStepper.stories.d.ts +1 -1
- package/dist/components/atoms/NumberStepper/NumberStepper.stories.d.ts.map +1 -1
- package/dist/components/atoms/SearchableDropdown/SearchableDropdown.stories.d.ts +1 -1
- package/dist/components/atoms/SearchableDropdown/SearchableDropdown.stories.d.ts.map +1 -1
- package/dist/components/atoms/SelectInput/SelectInput.d.ts +4 -2
- package/dist/components/atoms/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/atoms/Slider/Slider.stories.d.ts +2 -10
- package/dist/components/atoms/Slider/Slider.stories.d.ts.map +1 -1
- package/dist/components/atoms/SoundDemo/SoundDemo.d.ts +11 -0
- package/dist/components/atoms/SoundDemo/SoundDemo.d.ts.map +1 -0
- package/dist/components/atoms/SoundDemo/SoundDemo.stories.d.ts +1 -1
- package/dist/components/atoms/SoundDemo/SoundDemo.stories.d.ts.map +1 -1
- package/dist/components/atoms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/atoms/TextArea/TextArea.stories.d.ts +1 -1
- package/dist/components/atoms/TextArea/TextArea.stories.d.ts.map +1 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts +1 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/atoms/TextInput/TextInput.stories.d.ts +1 -4
- package/dist/components/atoms/TextInput/TextInput.stories.d.ts.map +1 -1
- package/dist/components/atoms/Toggle/Toggle.d.ts +5 -4
- package/dist/components/atoms/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/atoms/Toggle/Toggle.stories.d.ts +1 -1
- package/dist/components/atoms/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/atoms/ToggleButton/ToggleButton.stories.d.ts +1 -1
- package/dist/components/atoms/ToggleButton/ToggleButton.stories.d.ts.map +1 -1
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/components/atoms/index.d.ts.map +1 -1
- package/dist/components/molecules/ArrayInput/ArrayInput.d.ts +3 -3
- package/dist/components/molecules/ArrayInput/ArrayInput.d.ts.map +1 -1
- package/dist/components/molecules/ArrayInput/ArrayInput.stories.d.ts +1 -1
- package/dist/components/molecules/ArrayInput/ArrayInput.stories.d.ts.map +1 -1
- package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +28 -0
- package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/molecules/Breadcrumb/index.d.ts +3 -0
- package/dist/components/molecules/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/molecules/EditFAB/EditFAB.stories.d.ts +1 -1
- package/dist/components/molecules/EditFAB/EditFAB.stories.d.ts.map +1 -1
- package/dist/components/molecules/LiquidButton/LiquidButton.d.ts +33 -0
- package/dist/components/molecules/LiquidButton/LiquidButton.d.ts.map +1 -0
- package/dist/components/molecules/LiquidButton/index.d.ts +3 -0
- package/dist/components/molecules/LiquidButton/index.d.ts.map +1 -0
- package/dist/components/molecules/SearchBar/SearchBar.stories.d.ts +1 -1
- package/dist/components/molecules/SearchBar/SearchBar.stories.d.ts.map +1 -1
- package/dist/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/dist/components/molecules/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/molecules/Tabs/Tabs.stories.d.ts +1 -1
- package/dist/components/molecules/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.d.ts +4 -3
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.d.ts.map +1 -1
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.stories.d.ts +1 -1
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.stories.d.ts.map +1 -1
- package/dist/components/molecules/TimeInput/TimeInput.stories.d.ts +1 -1
- package/dist/components/molecules/TimeInput/TimeInput.stories.d.ts.map +1 -1
- package/dist/components/molecules/Toast/Toast.d.ts +16 -0
- package/dist/components/molecules/Toast/Toast.d.ts.map +1 -0
- package/dist/components/molecules/Toast/index.d.ts +3 -0
- package/dist/components/molecules/Toast/index.d.ts.map +1 -0
- package/dist/components/molecules/index.d.ts +6 -0
- package/dist/components/molecules/index.d.ts.map +1 -1
- package/dist/components/organisms/Calendar/Calendar.d.ts +1 -1
- package/dist/components/organisms/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/organisms/Calendar/Calendar.stories.d.ts +1 -1
- package/dist/components/organisms/Calendar/Calendar.stories.d.ts.map +1 -1
- package/dist/components/organisms/ConfirmationModal/ConfirmationModal.d.ts +30 -0
- package/dist/components/organisms/ConfirmationModal/ConfirmationModal.d.ts.map +1 -0
- package/dist/components/organisms/ConfirmationModal/index.d.ts +3 -0
- package/dist/components/organisms/ConfirmationModal/index.d.ts.map +1 -0
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.d.ts +1 -1
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.d.ts.map +1 -1
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.stories.d.ts +1 -6
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.stories.d.ts.map +1 -1
- package/dist/components/organisms/Navbar/Navbar.d.ts +3 -2
- package/dist/components/organisms/Navbar/Navbar.d.ts.map +1 -1
- package/dist/components/organisms/Navbar/Navbar.stories.d.ts +1 -1
- package/dist/components/organisms/Navbar/Navbar.stories.d.ts.map +1 -1
- package/dist/components/organisms/Table/Table.d.ts +6 -6
- package/dist/components/organisms/Table/Table.d.ts.map +1 -1
- package/dist/components/organisms/Table/Table.stories.d.ts +26 -14
- package/dist/components/organisms/Table/Table.stories.d.ts.map +1 -1
- package/dist/components/organisms/ThemeProvider/ThemeProvider.d.ts +3 -1
- package/dist/components/organisms/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/components/organisms/charts/BooleansHeatmap/BooleansHeatmap.d.ts.map +1 -1
- package/dist/components/organisms/charts/BooleansHeatmap/BooleansHeatmap.stories.d.ts +1 -1
- package/dist/components/organisms/charts/BooleansHeatmap/BooleansHeatmap.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/MoodChart/MoodChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/MoodChart/MoodChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/PieChart/PieChart.d.ts.map +1 -1
- package/dist/components/organisms/charts/PieChart/PieChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/PieChart/PieChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.d.ts +2 -0
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.d.ts.map +1 -1
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/SleepChart/SleepChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/SleepChart/SleepChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/SunburstChart/SunburstChart.d.ts.map +1 -1
- package/dist/components/organisms/charts/SunburstChart/SunburstChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/SunburstChart/SunburstChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/index.d.ts +3 -1
- package/dist/components/organisms/index.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +716 -473
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +734 -485
- package/dist/index.js.map +1 -1
- package/dist/stories/utils.d.ts +2 -2
- package/dist/stories/utils.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/themes/default.css +47 -0
- package/dist/themes/dmood.css +46 -0
- package/dist/themes/globals.css +110 -0
- package/dist/themes/lossito.css +52 -0
- package/dist/tokens/tokens.css +79 -0
- package/dist/utils/formUtils.d.ts +0 -5
- package/dist/utils/formUtils.d.ts.map +1 -1
- package/package.json +32 -10
- package/storybook-static/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
- package/storybook-static/assets/AllAtoms.stories-DBoQZmq-.js +109 -0
- package/storybook-static/assets/AnimationPlayer-UXJjBKtF.css +1 -0
- package/storybook-static/assets/AnimationPlayer.stories-yXQ8fqUT.js +379 -0
- package/storybook-static/assets/ArrayInput-CkUpk1TR.css +1 -0
- package/storybook-static/assets/ArrayInput.stories-CRqKExgm.js +221 -0
- package/storybook-static/assets/BooleansHeatmap-BV4VTyo6.css +1 -0
- package/storybook-static/assets/BooleansHeatmap.stories-2u4SThph.js +123 -0
- package/storybook-static/assets/Button-O-w2-ag3.css +1 -0
- package/storybook-static/assets/Button-VfdDKp2T.js +37 -0
- package/storybook-static/assets/Button.stories-BeeBKHoX.js +117 -0
- package/storybook-static/assets/Calendar-BTQfDDfP.css +1 -0
- package/storybook-static/assets/Calendar.stories-CKOG4XAn.js +545 -0
- package/storybook-static/assets/Card-Bc7TyfBx.css +1 -0
- package/storybook-static/assets/Card-D-kcaQHV.js +49 -0
- package/storybook-static/assets/Card.stories-CpcboxKs.js +130 -0
- package/storybook-static/assets/Checkbox-BHwlDfRP.js +33 -0
- package/storybook-static/assets/Checkbox-DMUHtq9s.css +1 -0
- package/storybook-static/assets/Checkbox.stories-DxTQrFgm.js +83 -0
- package/storybook-static/assets/Color-AVL7NMMY-BzNNgCT5.js +1 -0
- package/storybook-static/assets/DateInput-C4-Rlnpy.css +1 -0
- package/storybook-static/assets/DateInput-Cu3PZYc0.js +33 -0
- package/storybook-static/assets/DateInput.stories-BGB5zJBm.js +119 -0
- package/storybook-static/assets/DocsRenderer-PQXLIZUC-q9kcQxfH.js +1243 -0
- package/storybook-static/assets/EditFAB-CntUhqRB.css +1 -0
- package/storybook-static/assets/EditFAB.stories-CmfJxWns.js +408 -0
- package/storybook-static/assets/MoodChart-2hr_Y2GI.css +1 -0
- package/storybook-static/assets/MoodChart.stories-V-wKOSu-.js +40 -0
- package/storybook-static/assets/Navbar-B8vEvGnB.css +1 -0
- package/storybook-static/assets/Navbar.stories-Dkf77idX.js +235 -0
- package/storybook-static/assets/NumberStepper-BVHPJutJ.css +1 -0
- package/storybook-static/assets/NumberStepper-BZGlrWCN.js +30 -0
- package/storybook-static/assets/NumberStepper.stories-NZw7r4Oh.js +127 -0
- package/storybook-static/assets/PieChart-OfDGlJ4g.css +1 -0
- package/storybook-static/assets/PieChart.stories-BkfNODjW.js +199 -0
- package/storybook-static/assets/QuantifiableHabitsChart-BEfzqND4.css +1 -0
- package/storybook-static/assets/QuantifiableHabitsChart.stories-Df6rcrdD.js +105 -0
- package/storybook-static/assets/SearchBar-CYhuHFt7.css +1 -0
- package/storybook-static/assets/SearchBar.stories-DmHIaDZB.js +154 -0
- package/storybook-static/assets/SearchableDropdown-ByAXm1md.js +38 -0
- package/storybook-static/assets/SearchableDropdown-CLYLzeoj.css +1 -0
- package/storybook-static/assets/SearchableDropdown.stories-ByZj6lJu.js +282 -0
- package/storybook-static/assets/SelectInput-BTPptV1H.css +1 -0
- package/storybook-static/assets/SelectInput-D-AwfWVz.js +31 -0
- package/storybook-static/assets/SelectInput.stories-MyE-GqOw.js +112 -0
- package/storybook-static/assets/SleepChart-yGsG5RlQ.css +1 -0
- package/storybook-static/assets/SleepChart.stories-Dsz1U6F9.js +58 -0
- package/storybook-static/assets/SunburstChart-ChXvU9py.css +1 -0
- package/storybook-static/assets/SunburstChart.stories-CphfyDsR.js +285 -0
- package/storybook-static/assets/Tabs-BfJ7skOE.css +1 -0
- package/storybook-static/assets/Tabs.stories-c24Ffu3K.js +49 -0
- package/storybook-static/assets/TextArea-B2UrQsuf.css +1 -0
- package/storybook-static/assets/TextArea-B_sATPlw.js +28 -0
- package/storybook-static/assets/TextArea.stories-CCqRRpwq.js +145 -0
- package/storybook-static/assets/TextInput-BjVJQEYN.css +1 -0
- package/storybook-static/assets/TextInput-ZGg8LTL_.js +28 -0
- package/storybook-static/assets/TextInput.stories-CtvOb60q.js +203 -0
- package/storybook-static/assets/ThemeSwitcher-XCVQ6hhy.css +1 -0
- package/storybook-static/assets/ThemeSwitcher.stories-BvkX1SDm.js +62 -0
- package/storybook-static/assets/TimeInput-C3enPYoV.css +1 -0
- package/storybook-static/assets/TimeInput.stories-BchhRfKo.js +50 -0
- package/storybook-static/assets/Toggle-BQ2KHBDr.js +39 -0
- package/storybook-static/assets/Toggle-DhKq5lh5.css +1 -0
- package/storybook-static/assets/Toggle.stories-BUSZc6m3.js +194 -0
- package/storybook-static/assets/ToggleButton-Dl6hvkJv.js +32 -0
- package/storybook-static/assets/ToggleButton-gfPoPxTQ.css +1 -0
- package/storybook-static/assets/ToggleButton.stories-BKN4zU3N.js +143 -0
- package/storybook-static/assets/arc-DgcIQOLP.js +1 -0
- package/storybook-static/assets/array-BKyUJesY.js +1 -0
- package/storybook-static/assets/defaultLocale-DJ2q5QjE.js +1 -0
- package/storybook-static/assets/iframe-BOc1hSA-.css +1 -0
- package/storybook-static/assets/iframe-BUaP2gIF.js +1087 -0
- package/storybook-static/assets/index-5bdJXrkD.js +1 -0
- package/storybook-static/assets/index-CBmvvqzc.js +1 -0
- package/storybook-static/assets/index-CZs7_DA6.js +9 -0
- package/storybook-static/assets/linear-4t_RuQok.js +1 -0
- package/storybook-static/assets/monotone-BYG7Mesf.js +1 -0
- package/storybook-static/assets/path-CbwjOpE9.js +1 -0
- package/storybook-static/assets/preload-helper-C1FmrZbK.js +1 -0
- package/storybook-static/assets/proxy-9Y4F2rF8.js +1 -0
- package/storybook-static/assets/react-18-D4c-_GAk.js +24 -0
- package/storybook-static/assets/transform-NloTqvdv.js +1 -0
- package/storybook-static/favicon-wrapper.svg +46 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +726 -0
- package/storybook-static/index.html +164 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-4/manager-bundle.js +356 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-4/manager-bundle.js.LEGAL.txt +40 -0
- package/storybook-static/sb-addons/docs-2/manager-bundle.js +151 -0
- package/storybook-static/sb-addons/links-3/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +127 -0
- package/storybook-static/sb-addons/storybook-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +971 -0
- package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +797 -0
- package/storybook-static/sb-manager/globals-runtime.js +69653 -0
- package/storybook-static/sb-manager/globals.js +34 -0
- package/storybook-static/sb-manager/runtime.js +13181 -0
- package/storybook-static/vite-inject-mocker-entry.js +18 -0
|
@@ -0,0 +1,1087 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AllAtoms.stories-DBoQZmq-.js","./Button-VfdDKp2T.js","./proxy-9Y4F2rF8.js","./Button-O-w2-ag3.css","./Card-D-kcaQHV.js","./Card-Bc7TyfBx.css","./Checkbox-BHwlDfRP.js","./Checkbox-DMUHtq9s.css","./DateInput-Cu3PZYc0.js","./index-5bdJXrkD.js","./DateInput-C4-Rlnpy.css","./SearchableDropdown-ByAXm1md.js","./index-CZs7_DA6.js","./SearchableDropdown-CLYLzeoj.css","./SelectInput-D-AwfWVz.js","./SelectInput-BTPptV1H.css","./TextArea-B_sATPlw.js","./TextArea-B2UrQsuf.css","./TextInput-ZGg8LTL_.js","./TextInput-BjVJQEYN.css","./Toggle-BQ2KHBDr.js","./Toggle-DhKq5lh5.css","./NumberStepper-BZGlrWCN.js","./NumberStepper-BVHPJutJ.css","./ToggleButton-Dl6hvkJv.js","./ToggleButton-gfPoPxTQ.css","./preload-helper-C1FmrZbK.js","./Button.stories-BeeBKHoX.js","./Card.stories-CpcboxKs.js","./Checkbox.stories-DxTQrFgm.js","./DateInput.stories-BGB5zJBm.js","./NumberStepper.stories-NZw7r4Oh.js","./SearchableDropdown.stories-ByZj6lJu.js","./SelectInput.stories-MyE-GqOw.js","./TextArea.stories-CCqRRpwq.js","./TextInput.stories-CtvOb60q.js","./Toggle.stories-BUSZc6m3.js","./ToggleButton.stories-BKN4zU3N.js","./ArrayInput.stories-CRqKExgm.js","./ArrayInput-CkUpk1TR.css","./EditFAB.stories-CmfJxWns.js","./EditFAB-CntUhqRB.css","./SearchBar.stories-DmHIaDZB.js","./SearchBar-CYhuHFt7.css","./Tabs.stories-c24Ffu3K.js","./Tabs-BfJ7skOE.css","./ThemeSwitcher.stories-BvkX1SDm.js","./ThemeSwitcher-XCVQ6hhy.css","./TimeInput.stories-BchhRfKo.js","./TimeInput-C3enPYoV.css","./Calendar.stories-CKOG4XAn.js","./Calendar-BTQfDDfP.css","./Navbar.stories-Dkf77idX.js","./Navbar-B8vEvGnB.css","./AnimationPlayer.stories-yXQ8fqUT.js","./AnimationPlayer-UXJjBKtF.css","./BooleansHeatmap.stories-2u4SThph.js","./transform-NloTqvdv.js","./defaultLocale-DJ2q5QjE.js","./BooleansHeatmap-BV4VTyo6.css","./MoodChart.stories-V-wKOSu-.js","./linear-4t_RuQok.js","./monotone-BYG7Mesf.js","./array-BKyUJesY.js","./path-CbwjOpE9.js","./MoodChart-2hr_Y2GI.css","./PieChart.stories-BkfNODjW.js","./arc-DgcIQOLP.js","./PieChart-OfDGlJ4g.css","./QuantifiableHabitsChart.stories-Df6rcrdD.js","./QuantifiableHabitsChart-BEfzqND4.css","./SleepChart.stories-Dsz1U6F9.js","./SleepChart-yGsG5RlQ.css","./SunburstChart.stories-CphfyDsR.js","./SunburstChart-ChXvU9py.css","./DocsRenderer-PQXLIZUC-q9kcQxfH.js","./react-18-D4c-_GAk.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var lN=Object.defineProperty;var uN=(e,t,r)=>t in e?lN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var tr=(e,t,r)=>uN(e,typeof t!="symbol"?t+"":t,r);import{_ as We}from"./preload-helper-C1FmrZbK.js";function cN(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(n,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();var rd={},pN=Object.create,ns=Object.defineProperty,dN=Object.getOwnPropertyDescriptor,fN=Object.getOwnPropertyNames,hN=Object.getPrototypeOf,mN=Object.prototype.hasOwnProperty,s=(e,t)=>ns(e,"name",{value:t,configurable:!0}),ks=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),yN=(e,t)=>()=>(e&&(t=e(e=0)),t),O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Jt=(e,t)=>{for(var r in t)ns(e,r,{get:t[r],enumerable:!0})},WE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of fN(t))!mN.call(e,a)&&a!==r&&ns(e,a,{get:()=>t[a],enumerable:!(n=dN(t,a))||n.enumerable});return e},Et=(e,t,r)=>(r=e!=null?pN(hN(e)):{},WE(t||!e||!e.__esModule?ns(r,"default",{value:e,enumerable:!0}):r,e)),gN=e=>WE(ns({},"__esModule",{value:!0}),e),bN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return s(function i(l,u,c){var p,d,h,f=t.call(l),m=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),f!=m||(p=n(l),d=n(u),p.length!=d.length||p.some(function(y){return!i(l[y],u[y],c)})))return!1;switch(f.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":p=l.entries(),d=u.entries();do if(!i((h=p.next()).value,d.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!i(l[h],u[h],c)))return!1;return!0;case"Object":return i(r(l),r(u),c);default:return!1}},"n")(a,o,[])}}()}),vN=O((e,t)=>{t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,o)=>Math.min(a,o.length),1/0):0}}),EN=O((e,t)=>{var r=vN();t.exports=n=>{let a=r(n);if(a===0)return n;let o=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(o,"")}}),CN=O((e,t)=>{t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let o=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,a.indent.repeat(n))}}),KE=O((e,t)=>{var r=EN(),n=CN();t.exports=(a,o=0,i)=>n(r(a),o,i)}),wN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,a={"@@iterator":s(function(){return a},"iterator"),next:s(function(){if(n<r.length){var o=r[n];return n=n+1,{done:!1,value:o}}else return{done:!0}},"next")};return a}s(t,"iteratorProxy"),e.default=t}),as=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(wN());function r(o){return o&&o.__esModule?o:{default:o}}s(r,"_interopRequireDefault");function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}s(n,"_typeof");function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}s(a,"iterationDecorator")}),AN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(as());function r(d){return d&&d.__esModule?d:{default:d}}s(r,"_interopRequireDefault");function n(d,h){return u(d)||l(d,h)||o(d,h)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(d,h){if(d){if(typeof d=="string")return i(d,h);var f={}.toString.call(d).slice(8,-1);return f==="Object"&&d.constructor&&(f=d.constructor.name),f==="Map"||f==="Set"?Array.from(d):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(d,h):void 0}}s(o,"_unsupportedIterableToArray");function i(d,h){(h==null||h>d.length)&&(h=d.length);for(var f=0,m=Array(h);f<h;f++)m[f]=d[f];return m}s(i,"_arrayLikeToArray");function l(d,h){var f=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(f!=null){var m,y,g,b,v=[],D=!0,S=!1;try{if(g=(f=f.call(d)).next,h===0){if(Object(f)!==f)return;D=!1}else for(;!(D=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);D=!0);}catch(P){S=!0,y=P}finally{try{if(!D&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(S)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}s(u,"_arrayWithHoles");var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:s(function(){return c},"entries"),forEach:s(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];d.call(h,b,g,c)}},"forEach"),get:s(function(d){var h=c.filter(function(f){return f[0]===d})[0];return h&&h[1]},"get"),has:s(function(d){return!!p.get(d)},"has"),keys:s(function(){return c.map(function(d){var h=n(d,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(d){var h=n(d,2),f=h[1];return f})},"values")};e.default=(0,t.default)(p,p.entries())}),xN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(as());function r(d){return d&&d.__esModule?d:{default:d}}s(r,"_interopRequireDefault");function n(d,h){return u(d)||l(d,h)||o(d,h)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(d,h){if(d){if(typeof d=="string")return i(d,h);var f={}.toString.call(d).slice(8,-1);return f==="Object"&&d.constructor&&(f=d.constructor.name),f==="Map"||f==="Set"?Array.from(d):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(d,h):void 0}}s(o,"_unsupportedIterableToArray");function i(d,h){(h==null||h>d.length)&&(h=d.length);for(var f=0,m=Array(h);f<h;f++)m[f]=d[f];return m}s(i,"_arrayLikeToArray");function l(d,h){var f=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(f!=null){var m,y,g,b,v=[],D=!0,S=!1;try{if(g=(f=f.call(d)).next,h===0){if(Object(f)!==f)return;D=!1}else for(;!(D=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);D=!0);}catch(P){S=!0,y=P}finally{try{if(!D&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(S)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}s(u,"_arrayWithHoles");var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:s(function(){return c},"entries"),forEach:s(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];d.call(h,b,g,c)}},"forEach"),get:s(function(d){var h=c.filter(function(f){return f[0]===d})[0];return h&&h[1]},"get"),has:s(function(d){return!!p.get(d)},"has"),keys:s(function(){return c.map(function(d){var h=n(d,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(d){var h=n(d,2),f=h[1];return f})},"values")};e.default=(0,t.default)(p,p.entries())}),SN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),_N=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),TN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),PN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),DN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),ON=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),RN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),FN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),IN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}),kN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),NN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),BN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),jN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(SN()),r=f(_N()),n=f(TN()),a=f(PN()),o=f(DN()),i=f(ON()),l=f(RN()),u=f(FN()),c=f(IN()),p=f(kN()),d=f(NN()),h=f(BN());function f(y){return y&&y.__esModule?y:{default:y}}s(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",h.default]];e.default=m}),qN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),MN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}),LN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),$N=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),UN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),VN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),HN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),JN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),zN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),GN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),WN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),KN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),YN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),XN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),QN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),ZN=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),eB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),tB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}),rB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),nB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),aB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),oB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),iB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),sB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),lB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),uB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}),cB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}),pB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),dB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),fB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),hB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),mB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),yB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),bB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),vB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),EB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),CB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),wB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),AB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),SB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}),_B=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),TB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}),PB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}),DB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}),OB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),RB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),FB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),IB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),kB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),NB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),BB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),jB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),qB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),MB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),LB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}),$B=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),UB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),VB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),HB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),JB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}),zB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),GB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),WB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),KB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),YB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),XB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),QB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ZB=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}),ej=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}),tj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),rj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}),nj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),aj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),oj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}),ij=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),sj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}),lj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),uj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),cj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),pj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}),dj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}),fj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=T(qN()),r=T(MN()),n=T(LN()),a=T($N()),o=T(UN()),i=T(VN()),l=T(HN()),u=T(JN()),c=T(zN()),p=T(GN()),d=T(WN()),h=T(KN()),f=T(YN()),m=T(XN()),y=T(QN()),g=T(ZN()),b=T(eB()),v=T(tB()),D=T(rB()),S=T(nB()),P=T(aB()),w=T(oB()),E=T(iB()),C=T(sB()),_=T(lB()),N=T(uB()),B=T(cB()),J=T(pB()),G=T(dB()),R=T(fB()),L=T(hB()),j=T(mB()),W=T(yB()),K=T(gB()),ae=T(bB()),se=T(vB()),Z=T(EB()),z=T(CB()),Q=T(wB()),ee=T(AB()),le=T(xB()),re=T(SB()),me=T(_B()),Ee=T(TB()),it=T(PB()),ht=T(DB()),Y=T(OB()),ce=T(RB()),ye=T(FB()),ge=T(IB()),ve=T(kB()),xe=T(NB()),Se=T(BB()),Je=T(jB()),st=T(qB()),Ot=T(MB()),Wt=T(LB()),_t=T($B()),Vt=T(UB()),Nt=T(VB()),Te=T(HB()),lt=T(JB()),Ae=T(zB()),ut=T(GB()),Xe=T(WB()),ta=T(KB()),ra=T(YB()),Bt=T(XB()),Tn=T(QB()),hr=T(ZB()),et=T(ej()),Pn=T(tj()),na=T(rj()),Qe=T(nj()),wt=T(aj()),Sr=T(oj()),Br=T(ij()),jr=T(sj()),Dn=T(lj()),mr=T(uj()),x=T(cj()),k=T(pj()),F=T(dj());function T(oe){return oe&&oe.__esModule?oe:{default:oe}}s(T,"_interopRequireDefault");var $=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",D.default],["document",S.default],["emphasis",P.default],["feed",w.default],["figure",E.default],["form",C.default],["generic",_.default],["grid",N.default],["gridcell",B.default],["group",J.default],["heading",G.default],["img",R.default],["insertion",L.default],["link",j.default],["list",W.default],["listbox",K.default],["listitem",ae.default],["log",se.default],["main",Z.default],["mark",z.default],["marquee",Q.default],["math",ee.default],["menu",le.default],["menubar",re.default],["menuitem",me.default],["menuitemcheckbox",Ee.default],["menuitemradio",it.default],["meter",ht.default],["navigation",Y.default],["none",ce.default],["note",ye.default],["option",ge.default],["paragraph",ve.default],["presentation",xe.default],["progressbar",Se.default],["radio",Je.default],["radiogroup",st.default],["region",Ot.default],["row",Wt.default],["rowgroup",_t.default],["rowheader",Vt.default],["scrollbar",Nt.default],["search",Te.default],["searchbox",lt.default],["separator",Ae.default],["slider",ut.default],["spinbutton",Xe.default],["status",ta.default],["strong",ra.default],["subscript",Bt.default],["superscript",Tn.default],["switch",hr.default],["tab",et.default],["table",Pn.default],["tablist",na.default],["tabpanel",Qe.default],["term",wt.default],["textbox",Sr.default],["time",Br.default],["timer",jr.default],["toolbar",Dn.default],["tooltip",mr.default],["tree",x.default],["treegrid",k.default],["treeitem",F.default]];e.default=$}),hj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),mj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),yj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),gj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),bj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),vj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),Ej=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Cj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),wj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Aj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Sj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),_j=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Tj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Pj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Dj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),Oj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Rj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Fj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Ij=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),kj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Nj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Bj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),jj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),qj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),Mj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),Lj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),$j=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),Uj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),Vj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}),Hj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Jj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),zj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),Gj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Wj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Kj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Yj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}),Xj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Qj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),Zj=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),eq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),tq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=re(hj()),r=re(mj()),n=re(yj()),a=re(gj()),o=re(bj()),i=re(vj()),l=re(Ej()),u=re(Cj()),c=re(wj()),p=re(Aj()),d=re(xj()),h=re(Sj()),f=re(_j()),m=re(Tj()),y=re(Pj()),g=re(Dj()),b=re(Oj()),v=re(Rj()),D=re(Fj()),S=re(Ij()),P=re(kj()),w=re(Nj()),E=re(Bj()),C=re(jj()),_=re(qj()),N=re(Mj()),B=re(Lj()),J=re($j()),G=re(Uj()),R=re(Vj()),L=re(Hj()),j=re(Jj()),W=re(zj()),K=re(Gj()),ae=re(Wj()),se=re(Kj()),Z=re(Yj()),z=re(Xj()),Q=re(Qj()),ee=re(Zj()),le=re(eq());function re(Ee){return Ee&&Ee.__esModule?Ee:{default:Ee}}s(re,"_interopRequireDefault");var me=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",D.default],["doc-errata",S.default],["doc-example",P.default],["doc-footnote",w.default],["doc-foreword",E.default],["doc-glossary",C.default],["doc-glossref",_.default],["doc-index",N.default],["doc-introduction",B.default],["doc-noteref",J.default],["doc-notice",G.default],["doc-pagebreak",R.default],["doc-pagefooter",L.default],["doc-pageheader",j.default],["doc-pagelist",W.default],["doc-part",K.default],["doc-preface",ae.default],["doc-prologue",se.default],["doc-pullquote",Z.default],["doc-qna",z.default],["doc-subtitle",Q.default],["doc-tip",ee.default],["doc-toc",le.default]];e.default=me}),rq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),nq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),aq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),oq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(rq()),r=a(nq()),n=a(aq());function a(i){return i&&i.__esModule?i:{default:i}}s(a,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}),Eh=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(jN()),r=i(fj()),n=i(tq()),a=i(oq()),o=i(as());function i(g){return g&&g.__esModule?g:{default:g}}s(i,"_interopRequireDefault");function l(g,b){var v=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!v){if(Array.isArray(g)||(v=p(g))||b&&g&&typeof g.length=="number"){v&&(g=v);var D=0,S=s(function(){},"F");return{s:S,n:s(function(){return D>=g.length?{done:!0}:{done:!1,value:g[D++]}},"n"),e:s(function(C){throw C},"e"),f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P,w=!0,E=!1;return{s:s(function(){v=v.call(g)},"s"),n:s(function(){var C=v.next();return w=C.done,C},"n"),e:s(function(C){E=!0,P=C},"e"),f:s(function(){try{w||v.return==null||v.return()}finally{if(E)throw P}},"f")}}s(l,"_createForOfIteratorHelper");function u(g,b){return f(g)||h(g,b)||p(g,b)||c()}s(u,"_slicedToArray");function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(c,"_nonIterableRest");function p(g,b){if(g){if(typeof g=="string")return d(g,b);var v={}.toString.call(g).slice(8,-1);return v==="Object"&&g.constructor&&(v=g.constructor.name),v==="Map"||v==="Set"?Array.from(g):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(g,b):void 0}}s(p,"_unsupportedIterableToArray");function d(g,b){(b==null||b>g.length)&&(b=g.length);for(var v=0,D=Array(b);v<b;v++)D[v]=g[v];return D}s(d,"_arrayLikeToArray");function h(g,b){var v=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(v!=null){var D,S,P,w,E=[],C=!0,_=!1;try{if(P=(v=v.call(g)).next,b===0){if(Object(v)!==v)return;C=!1}else for(;!(C=(D=P.call(v)).done)&&(E.push(D.value),E.length!==b);C=!0);}catch(N){_=!0,S=N}finally{try{if(!C&&v.return!=null&&(w=v.return(),Object(w)!==w))return}finally{if(_)throw S}}return E}}s(h,"_iterableToArrayLimit");function f(g){if(Array.isArray(g))return g}s(f,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,a.default);m.forEach(function(g){var b=u(g,2),v=b[1],D=l(v.superClass),S;try{for(D.s();!(S=D.n()).done;){var P=S.value,w=l(P),E;try{var C=s(function(){var _=E.value,N=m.filter(function(L){var j=u(L,1),W=j[0];return W===_})[0];if(N)for(var B=N[1],J=0,G=Object.keys(B.props);J<G.length;J++){var R=G[J];Object.prototype.hasOwnProperty.call(v.props,R)||(v.props[R]=B.props[R])}},"_loop");for(w.s();!(E=w.n()).done;)C()}catch(_){w.e(_)}finally{w.f()}}}catch(_){D.e(_)}finally{D.f()}});var y={entries:s(function(){return m},"entries"),forEach:s(function(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=l(m),D;try{for(v.s();!(D=v.n()).done;){var S=u(D.value,2),P=S[0],w=S[1];g.call(b,w,P,m)}}catch(E){v.e(E)}finally{v.f()}},"forEach"),get:s(function(g){var b=m.filter(function(v){return v[0]===g})[0];return b&&b[1]},"get"),has:s(function(g){return!!y.get(g)},"has"),keys:s(function(){return m.map(function(g){var b=u(g,1),v=b[0];return v})},"keys"),values:s(function(){return m.map(function(g){var b=u(g,2),v=b[1];return v})},"values")};e.default=(0,o.default)(y,y.entries())}),iq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(as()),r=n(Eh());function n(w){return w&&w.__esModule?w:{default:w}}s(n,"_interopRequireDefault");function a(w,E){return c(w)||u(w,E)||i(w,E)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(w,E){if(w){if(typeof w=="string")return l(w,E);var C={}.toString.call(w).slice(8,-1);return C==="Object"&&w.constructor&&(C=w.constructor.name),C==="Map"||C==="Set"?Array.from(w):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?l(w,E):void 0}}s(i,"_unsupportedIterableToArray");function l(w,E){(E==null||E>w.length)&&(E=w.length);for(var C=0,_=Array(E);C<E;C++)_[C]=w[C];return _}s(l,"_arrayLikeToArray");function u(w,E){var C=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(C!=null){var _,N,B,J,G=[],R=!0,L=!1;try{if(B=(C=C.call(w)).next,E===0){if(Object(C)!==C)return;R=!1}else for(;!(R=(_=B.call(C)).done)&&(G.push(_.value),G.length!==E);R=!0);}catch(j){L=!0,N=j}finally{try{if(!R&&C.return!=null&&(J=C.return(),Object(J)!==J))return}finally{if(L)throw N}}return G}}s(u,"_iterableToArrayLimit");function c(w){if(Array.isArray(w))return w}s(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(b=0;b<d.length;b++)if(h=d[b],f=r.default.get(h),f)for(m=[].concat(f.baseConcepts,f.relatedConcepts),y=s(function(){var w=m[g];if(w.module==="HTML"){var E=w.concept;if(E){var C=p.filter(function(J){return D(J[0],E)})[0],_;C?_=C[1]:_=[];for(var N=!0,B=0;B<_.length;B++)if(_[B]===h){N=!1;break}N&&_.push(h),C||p.push([E,_])}}},"_loop"),g=0;g<m.length;g++)y();var h,f,m,y,g,b,v={entries:s(function(){return p},"entries"),forEach:s(function(w){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,_=p;C<_.length;C++){var N=a(_[C],2),B=N[0],J=N[1];w.call(E,J,B,p)}},"forEach"),get:s(function(w){var E=p.filter(function(C){return w.name===C[0].name&&P(w.attributes,C[0].attributes)})[0];return E&&E[1]},"get"),has:s(function(w){return!!v.get(w)},"has"),keys:s(function(){return p.map(function(w){var E=a(w,1),C=E[0];return C})},"keys"),values:s(function(){return p.map(function(w){var E=a(w,2),C=E[1];return C})},"values")};function D(w,E){return w.name===E.name&&S(w.constraints,E.constraints)&&P(w.attributes,E.attributes)}s(D,"ariaRoleRelationConceptEquals");function S(w,E){if(w===void 0&&E!==void 0||w!==void 0&&E===void 0)return!1;if(w!==void 0&&E!==void 0){if(w.length!==E.length)return!1;for(var C=0;C<w.length;C++)if(w[C]!==E[C])return!1}return!0}s(S,"ariaRoleRelationConstraintsEquals");function P(w,E){if(w===void 0&&E!==void 0||w!==void 0&&E===void 0)return!1;if(w!==void 0&&E!==void 0){if(w.length!==E.length)return!1;for(var C=0;C<w.length;C++){if(w[C].name!==E[C].name||w[C].value!==E[C].value||w[C].constraints===void 0&&E[C].constraints!==void 0||w[C].constraints!==void 0&&E[C].constraints===void 0)return!1;if(w[C].constraints!==void 0&&E[C].constraints!==void 0){if(w[C].constraints.length!==E[C].constraints.length)return!1;for(var _=0;_<w[C].constraints.length;_++)if(w[C].constraints[_]!==E[C].constraints[_])return!1}}}return!0}s(P,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),sq=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(as()),r=n(Eh());function n(P){return P&&P.__esModule?P:{default:P}}s(n,"_interopRequireDefault");function a(P,w){return c(P)||u(P,w)||i(P,w)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(P,w){if(P){if(typeof P=="string")return l(P,w);var E={}.toString.call(P).slice(8,-1);return E==="Object"&&P.constructor&&(E=P.constructor.name),E==="Map"||E==="Set"?Array.from(P):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?l(P,w):void 0}}s(i,"_unsupportedIterableToArray");function l(P,w){(w==null||w>P.length)&&(w=P.length);for(var E=0,C=Array(w);E<w;E++)C[E]=P[E];return C}s(l,"_arrayLikeToArray");function u(P,w){var E=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(E!=null){var C,_,N,B,J=[],G=!0,R=!1;try{if(N=(E=E.call(P)).next,w===0){if(Object(E)!==E)return;G=!1}else for(;!(G=(C=N.call(E)).done)&&(J.push(C.value),J.length!==w);G=!0);}catch(L){R=!0,_=L}finally{try{if(!G&&E.return!=null&&(B=E.return(),Object(B)!==B))return}finally{if(R)throw _}}return J}}s(u,"_iterableToArrayLimit");function c(P){if(Array.isArray(P))return P}s(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(D=0;D<d.length;D++)if(h=d[D],f=r.default.get(h),m=[],f){for(y=[].concat(f.baseConcepts,f.relatedConcepts),v=0;v<y.length;v++)g=y[v],g.module==="HTML"&&(b=g.concept,b!=null&&m.push(b));m.length>0&&p.push([h,m])}var h,f,m,y,g,b,v,D,S={entries:s(function(){return p},"entries"),forEach:s(function(P){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,C=p;E<C.length;E++){var _=a(C[E],2),N=_[0],B=_[1];P.call(w,B,N,p)}},"forEach"),get:s(function(P){var w=p.filter(function(E){return E[0]===P})[0];return w&&w[1]},"get"),has:s(function(P){return!!S.get(P)},"has"),keys:s(function(){return p.map(function(P){var w=a(P,1),E=w[0];return E})},"keys"),values:s(function(){return p.map(function(P){var w=a(P,2),E=w[1];return E})},"values")};e.default=(0,t.default)(S,S.entries())}),YE=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(AN()),r=i(xN()),n=i(Eh()),a=i(iq()),o=i(sq());function i(l){return l&&l.__esModule?l:{default:l}}s(i,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=a.default,e.roleElements=o.default}),lq=O((e,t)=>{t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),XE=O((e,t)=>{var r=lq(),n={};for(let i of Object.keys(r))n[r[i]]=i;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=a;for(let i of Object.keys(a)){if(!("channels"in a[i]))throw new Error("missing channels property: "+i);if(!("labels"in a[i]))throw new Error("missing channel labels property: "+i);if(a[i].labels.length!==a[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:l,labels:u}=a[i];delete a[i].channels,delete a[i].labels,Object.defineProperty(a[i],"channels",{value:l}),Object.defineProperty(a[i],"labels",{value:u})}a.rgb.hsl=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.min(l,u,c),d=Math.max(l,u,c),h=d-p,f,m;d===p?f=0:l===d?f=(u-c)/h:u===d?f=2+(c-l)/h:c===d&&(f=4+(l-u)/h),f=Math.min(f*60,360),f<0&&(f+=360);let y=(p+d)/2;return d===p?m=0:y<=.5?m=h/(d+p):m=h/(2-d-p),[f,m*100,y*100]},a.rgb.hsv=function(i){let l,u,c,p,d,h=i[0]/255,f=i[1]/255,m=i[2]/255,y=Math.max(h,f,m),g=y-Math.min(h,f,m),b=s(function(v){return(y-v)/6/g+1/2},"diffc");return g===0?(p=0,d=0):(d=g/y,l=b(h),u=b(f),c=b(m),h===y?p=c-u:f===y?p=1/3+l-c:m===y&&(p=2/3+u-l),p<0?p+=1:p>1&&(p-=1)),[p*360,d*100,y*100]},a.rgb.hwb=function(i){let l=i[0],u=i[1],c=i[2],p=a.rgb.hsl(i)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[p,d*100,c*100]},a.rgb.cmyk=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.min(1-l,1-u,1-c),d=(1-l-p)/(1-p)||0,h=(1-u-p)/(1-p)||0,f=(1-c-p)/(1-p)||0;return[d*100,h*100,f*100,p*100]};function o(i,l){return(i[0]-l[0])**2+(i[1]-l[1])**2+(i[2]-l[2])**2}s(o,"comparativeDistance"),a.rgb.keyword=function(i){let l=n[i];if(l)return l;let u=1/0,c;for(let p of Object.keys(r)){let d=r[p],h=o(i,d);h<u&&(u=h,c=p)}return c},a.keyword.rgb=function(i){return r[i]},a.rgb.xyz=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let p=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[p*100,d*100,h*100]},a.rgb.lab=function(i){let l=a.rgb.xyz(i),u=l[0],c=l[1],p=l[2];u/=95.047,c/=100,p/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let d=116*c-16,h=500*(u-c),f=200*(c-p);return[d,h,f]},a.hsl.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,p,d,h;if(u===0)return h=c*255,[h,h,h];c<.5?p=c*(1+u):p=c+u-c*u;let f=2*c-p,m=[0,0,0];for(let y=0;y<3;y++)d=l+1/3*-(y-1),d<0&&d++,d>1&&d--,6*d<1?h=f+(p-f)*6*d:2*d<1?h=p:3*d<2?h=f+(p-f)*(2/3-d)*6:h=f,m[y]=h*255;return m},a.hsl.hsv=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,p=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,p*=d<=1?d:2-d;let h=(c+u)/2,f=c===0?2*p/(d+p):2*u/(c+u);return[l,f*100,h*100]},a.hsv.rgb=function(i){let l=i[0]/60,u=i[1]/100,c=i[2]/100,p=Math.floor(l)%6,d=l-Math.floor(l),h=255*c*(1-u),f=255*c*(1-u*d),m=255*c*(1-u*(1-d));switch(c*=255,p){case 0:return[c,m,h];case 1:return[f,c,h];case 2:return[h,c,m];case 3:return[h,f,c];case 4:return[m,h,c];case 5:return[c,h,f]}},a.hsv.hsl=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,p=Math.max(c,.01),d,h;h=(2-u)*c;let f=(2-u)*p;return d=u*p,d/=f<=1?f:2-f,d=d||0,h/=2,[l,d*100,h*100]},a.hwb.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,p=u+c,d;p>1&&(u/=p,c/=p);let h=Math.floor(6*l),f=1-c;d=6*l-h,h&1&&(d=1-d);let m=u+d*(f-u),y,g,b;switch(h){default:case 6:case 0:y=f,g=m,b=u;break;case 1:y=m,g=f,b=u;break;case 2:y=u,g=f,b=m;break;case 3:y=u,g=m,b=f;break;case 4:y=m,g=u,b=f;break;case 5:y=f,g=u,b=m;break}return[y*255,g*255,b*255]},a.cmyk.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,p=i[3]/100,d=1-Math.min(1,l*(1-p)+p),h=1-Math.min(1,u*(1-p)+p),f=1-Math.min(1,c*(1-p)+p);return[d*255,h*255,f*255]},a.xyz.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,p,d,h;return p=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,p=Math.min(Math.max(0,p),1),d=Math.min(Math.max(0,d),1),h=Math.min(Math.max(0,h),1),[p*255,d*255,h*255]},a.xyz.lab=function(i){let l=i[0],u=i[1],c=i[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*u-16,d=500*(l-u),h=200*(u-c);return[p,d,h]},a.lab.xyz=function(i){let l=i[0],u=i[1],c=i[2],p,d,h;d=(l+16)/116,p=u/500+d,h=d-c/200;let f=d**3,m=p**3,y=h**3;return d=f>.008856?f:(d-16/116)/7.787,p=m>.008856?m:(p-16/116)/7.787,h=y>.008856?y:(h-16/116)/7.787,p*=95.047,d*=100,h*=108.883,[p,d,h]},a.lab.lch=function(i){let l=i[0],u=i[1],c=i[2],p;p=Math.atan2(c,u)*360/2/Math.PI,p<0&&(p+=360);let d=Math.sqrt(u*u+c*c);return[l,d,p]},a.lch.lab=function(i){let l=i[0],u=i[1],c=i[2]/360*2*Math.PI,p=u*Math.cos(c),d=u*Math.sin(c);return[l,p,d]},a.rgb.ansi16=function(i,l=null){let[u,c,p]=i,d=l===null?a.rgb.hsv(i)[2]:l;if(d=Math.round(d/50),d===0)return 30;let h=30+(Math.round(p/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(h+=60),h},a.hsv.ansi16=function(i){return a.rgb.ansi16(a.hsv.rgb(i),i[2])},a.rgb.ansi256=function(i){let l=i[0],u=i[1],c=i[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},a.ansi16.rgb=function(i){let l=i%10;if(l===0||l===7)return i>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(i>50)+1)*.5,c=(l&1)*u*255,p=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,p,d]},a.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let l,u=Math.floor(i/36)/5*255,c=Math.floor((l=i%36)/6)/5*255,p=l%6/5*255;return[u,c,p]},a.rgb.hex=function(i){let l=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.hex.rgb=function(i){let l=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(f=>f+f).join(""));let c=parseInt(u,16),p=c>>16&255,d=c>>8&255,h=c&255;return[p,d,h]},a.rgb.hcg=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),h=p-d,f,m;return h<1?f=d/(1-h):f=0,h<=0?m=0:p===l?m=(u-c)/h%6:p===u?m=2+(c-l)/h:m=4+(l-u)/h,m/=6,m%=1,[m*360,h*100,f*100]},a.hsl.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=u<.5?2*l*u:2*l*(1-u),p=0;return c<1&&(p=(u-.5*c)/(1-c)),[i[0],c*100,p*100]},a.hsv.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=l*u,p=0;return c<1&&(p=(u-c)/(1-c)),[i[0],c*100,p*100]},a.hcg.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100;if(u===0)return[c*255,c*255,c*255];let p=[0,0,0],d=l%1*6,h=d%1,f=1-h,m=0;switch(Math.floor(d)){case 0:p[0]=1,p[1]=h,p[2]=0;break;case 1:p[0]=f,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=h;break;case 3:p[0]=0,p[1]=f,p[2]=1;break;case 4:p[0]=h,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=f}return m=(1-u)*c,[(u*p[0]+m)*255,(u*p[1]+m)*255,(u*p[2]+m)*255]},a.hcg.hsv=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l),p=0;return c>0&&(p=l/c),[i[0],p*100,c*100]},a.hcg.hsl=function(i){let l=i[1]/100,u=i[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[i[0],c*100,u*100]},a.hcg.hwb=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l);return[i[0],(c-l)*100,(1-c)*100]},a.hwb.hcg=function(i){let l=i[1]/100,u=1-i[2]/100,c=u-l,p=0;return c<1&&(p=(u-c)/(1-c)),[i[0],c*100,p*100]},a.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},a.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},a.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},a.gray.hsl=function(i){return[0,0,i[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(i){return[0,100,i[0]]},a.gray.cmyk=function(i){return[0,0,0,i[0]]},a.gray.lab=function(i){return[i[0],0,0]},a.gray.hex=function(i){let l=Math.round(i[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}),uq=O((e,t)=>{var r=XE();function n(){let l={},u=Object.keys(r);for(let c=u.length,p=0;p<c;p++)l[u[p]]={distance:-1,parent:null};return l}s(n,"buildGraph");function a(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let p=c.pop(),d=Object.keys(r[p]);for(let h=d.length,f=0;f<h;f++){let m=d[f],y=u[m];y.distance===-1&&(y.distance=u[p].distance+1,y.parent=p,c.unshift(m))}}return u}s(a,"deriveBFS");function o(l,u){return function(c){return u(l(c))}}s(o,"link");function i(l,u){let c=[u[l].parent,l],p=r[u[l].parent][l],d=u[l].parent;for(;u[d].parent;)c.unshift(u[d].parent),p=o(r[u[d].parent][d],p),d=u[d].parent;return p.conversion=c,p}s(i,"wrapConversion"),t.exports=function(l){let u=a(l),c={},p=Object.keys(u);for(let d=p.length,h=0;h<d;h++){let f=p[h];u[f].parent!==null&&(c[f]=i(f,u))}return c}}),cq=O((e,t)=>{var r=XE(),n=uq(),a={},o=Object.keys(r);function i(u){let c=s(function(...p){let d=p[0];return d==null?d:(d.length>1&&(p=d),u(p))},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(i,"wrapRaw");function l(u){let c=s(function(...p){let d=p[0];if(d==null)return d;d.length>1&&(p=d);let h=u(p);if(typeof h=="object")for(let f=h.length,m=0;m<f;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(l,"wrapRounded"),o.forEach(u=>{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(p=>{let d=c[p];a[u][p]=l(d),a[u][p].raw=i(d)})}),t.exports=a}),pq=O((e,t)=>{var r=s((d,h)=>(...f)=>`\x1B[${d(...f)+h}m`,"wrapAnsi16"),n=s((d,h)=>(...f)=>{let m=d(...f);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),a=s((d,h)=>(...f)=>{let m=d(...f);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),o=s(d=>d,"ansi2ansi"),i=s((d,h,f)=>[d,h,f],"rgb2rgb"),l=s((d,h,f)=>{Object.defineProperty(d,h,{get:s(()=>{let m=f();return Object.defineProperty(d,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),u,c=s((d,h,f,m)=>{u===void 0&&(u=cq());let y=m?10:0,g={};for(let[b,v]of Object.entries(u)){let D=b==="ansi16"?"ansi":b;b===h?g[D]=d(f,y):typeof v=="object"&&(g[D]=d(v[h],y))}return g},"makeDynamicStyles");function p(){let d=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[f,m]of Object.entries(h)){for(let[y,g]of Object.entries(m))h[y]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},m[y]=h[y],d.set(g[0],g[1]);Object.defineProperty(h,f,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:d,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>c(r,"ansi16",o,!1)),l(h.color,"ansi256",()=>c(n,"ansi256",o,!1)),l(h.color,"ansi16m",()=>c(a,"rgb",i,!1)),l(h.bgColor,"ansi",()=>c(r,"ansi16",o,!0)),l(h.bgColor,"ansi256",()=>c(n,"ansi256",o,!0)),l(h.bgColor,"ansi16m",()=>c(a,"rgb",i,!0)),h}s(p,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:p})}),dq=O((e,t)=>{t.exports={stdout:!1,stderr:!1}}),fq=O((e,t)=>{var r=s((a,o,i)=>{let l=a.indexOf(o);if(l===-1)return a;let u=o.length,c=0,p="";do p+=a.substr(c,l-c)+o+i,c=l+u,l=a.indexOf(o,c);while(l!==-1);return p+=a.substr(c),p},"stringReplaceAll"),n=s((a,o,i,l)=>{let u=0,c="";do{let p=a[l-1]==="\r";c+=a.substr(u,(p?l-1:l)-u)+o+(p?`\r
|
|
9
|
+
`:`
|
|
10
|
+
`)+i,u=l+1,l=a.indexOf(`
|
|
11
|
+
`,u)}while(l!==-1);return c+=a.substr(u),c},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),hq=O((e,t)=>{var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
|
|
12
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let h=d[0]==="u",f=d[1]==="{";return h&&!f&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):h&&f?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}s(l,"unescape");function u(d,h){let f=[],m=h.trim().split(/\s*,\s*/g),y;for(let g of m){let b=Number(g);if(!Number.isNaN(b))f.push(b);else if(y=g.match(a))f.push(y[2].replace(o,(v,D,S)=>D?l(D):S));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${d}')`)}return f}s(u,"parseArguments");function c(d){n.lastIndex=0;let h=[],f;for(;(f=n.exec(d))!==null;){let m=f[1];if(f[2]){let y=u(m,f[2]);h.push([m].concat(y))}else h.push([m])}return h}s(c,"parseStyle");function p(d,h){let f={};for(let y of h)for(let g of y.styles)f[g[0]]=y.inverse?null:g.slice(1);let m=d;for(let[y,g]of Object.entries(f))if(Array.isArray(g)){if(!(y in m))throw new Error(`Unknown Chalk style: ${y}`);m=g.length>0?m[y](...g):m[y]}return m}s(p,"buildStyle"),t.exports=(d,h)=>{let f=[],m=[],y=[];if(h.replace(r,(g,b,v,D,S,P)=>{if(b)y.push(l(b));else if(D){let w=y.join("");y=[],m.push(f.length===0?w:p(d,f)(w)),f.push({inverse:v,styles:c(D)})}else if(S){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(p(d,f)(y.join(""))),y=[],f.pop()}else y.push(P)}),m.push(y.join("")),f.length>0){let g=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return m.join("")}}),QE=O((e,t)=>{var r=pq(),{stdout:n,stderr:a}=dq(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:i}=fq(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=s((w,E={})=>{if(E.level>3||E.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let C=n?n.level:0;w.level=E.level===void 0?C:E.level},"applyOptions"),p=class{constructor(E){return h(E)}};s(p,"ChalkClass");var d=p,h=s(w=>{let E={};return c(E,w),E.template=(...C)=>S(E.template,...C),Object.setPrototypeOf(E,f.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},E.template.Instance=d,E.template},"chalkFactory");function f(w){return h(w)}s(f,"Chalk");for(let[w,E]of Object.entries(r))u[w]={get(){let C=b(this,g(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,w,{value:C}),C}};u.visible={get(){let w=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:w}),w}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let w of m)u[w]={get(){let{level:E}=this;return function(...C){let _=g(r.color[l[E]][w](...C),r.color.close,this._styler);return b(this,_,this._isEmpty)}}};for(let w of m){let E="bg"+w[0].toUpperCase()+w.slice(1);u[E]={get(){let{level:C}=this;return function(..._){let N=g(r.bgColor[l[C]][w](..._),r.bgColor.close,this._styler);return b(this,N,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(w){this._generator.level=w}}}),g=s((w,E,C)=>{let _,N;return C===void 0?(_=w,N=E):(_=C.openAll+w,N=E+C.closeAll),{open:w,close:E,openAll:_,closeAll:N,parent:C}},"createStyler"),b=s((w,E,C)=>{let _=s((...N)=>v(_,N.length===1?""+N[0]:N.join(" ")),"builder");return _.__proto__=y,_._generator=w,_._styler=E,_._isEmpty=C,_},"createBuilder"),v=s((w,E)=>{if(w.level<=0||!E)return w._isEmpty?"":E;let C=w._styler;if(C===void 0)return E;let{openAll:_,closeAll:N}=C;if(E.indexOf("\x1B")!==-1)for(;C!==void 0;)E=o(E,C.close,C.open),C=C.parent;let B=E.indexOf(`
|
|
13
|
+
`);return B!==-1&&(E=i(E,N,_,B)),_+E+N},"applyStyle"),D,S=s((w,...E)=>{let[C]=E;if(!Array.isArray(C))return E.join(" ");let _=E.slice(1),N=[C.raw[0]];for(let B=1;B<C.length;B++)N.push(String(_[B-1]).replace(/[{}\\]/g,"\\$&"),String(C.raw[B]));return D===void 0&&(D=hq()),D(w,N.join(""))},"chalkTag");Object.defineProperties(f.prototype,u);var P=f();P.supportsColor=n,P.stderr=f({level:a?a.level:0}),P.stderr.supportsColor=a,P.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=P}),mq=O((e,t)=>{function r(){this.__data__=[],this.size=0}s(r,"listCacheClear"),t.exports=r}),ZE=O((e,t)=>{function r(n,a){return n===a||n!==n&&a!==a}s(r,"eq"),t.exports=r}),gu=O((e,t)=>{var r=ZE();function n(a,o){for(var i=a.length;i--;)if(r(a[i][0],o))return i;return-1}s(n,"assocIndexOf"),t.exports=n}),yq=O((e,t)=>{var r=gu(),n=Array.prototype,a=n.splice;function o(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():a.call(l,u,1),--this.size,!0}s(o,"listCacheDelete"),t.exports=o}),gq=O((e,t)=>{var r=gu();function n(a){var o=this.__data__,i=r(o,a);return i<0?void 0:o[i][1]}s(n,"listCacheGet"),t.exports=n}),bq=O((e,t)=>{var r=gu();function n(a){return r(this.__data__,a)>-1}s(n,"listCacheHas"),t.exports=n}),vq=O((e,t)=>{var r=gu();function n(a,o){var i=this.__data__,l=r(i,a);return l<0?(++this.size,i.push([a,o])):i[l][1]=o,this}s(n,"listCacheSet"),t.exports=n}),bu=O((e,t)=>{var r=mq(),n=yq(),a=gq(),o=bq(),i=vq();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"ListCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),Eq=O((e,t)=>{var r=bu();function n(){this.__data__=new r,this.size=0}s(n,"stackClear"),t.exports=n}),Cq=O((e,t)=>{function r(n){var a=this.__data__,o=a.delete(n);return this.size=a.size,o}s(r,"stackDelete"),t.exports=r}),wq=O((e,t)=>{function r(n){return this.__data__.get(n)}s(r,"stackGet"),t.exports=r}),Aq=O((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"stackHas"),t.exports=r}),eC=O((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),An=O((e,t)=>{var r=eC(),n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")();t.exports=a}),Ch=O((e,t)=>{var r=An(),n=r.Symbol;t.exports=n}),xq=O((e,t)=>{var r=Ch(),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,i=r?r.toStringTag:void 0;function l(u){var c=a.call(u,i),p=u[i];try{u[i]=void 0;var d=!0}catch{}var h=o.call(u);return d&&(c?u[i]=p:delete u[i]),h}s(l,"getRawTag"),t.exports=l}),Sq=O((e,t)=>{var r=Object.prototype,n=r.toString;function a(o){return n.call(o)}s(a,"objectToString"),t.exports=a}),vu=O((e,t)=>{var r=Ch(),n=xq(),a=Sq(),o="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?i:o:l&&l in Object(c)?n(c):a(c)}s(u,"baseGetTag"),t.exports=u}),tC=O((e,t)=>{function r(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}s(r,"isObject"),t.exports=r}),rC=O((e,t)=>{var r=vu(),n=tC(),a="[object AsyncFunction]",o="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var p=r(c);return p==o||p==i||p==a||p==l}s(u,"isFunction"),t.exports=u}),_q=O((e,t)=>{var r=An(),n=r["__core-js_shared__"];t.exports=n}),Tq=O((e,t)=>{var r=_q(),n=function(){var o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function a(o){return!!n&&n in o}s(a,"isMasked"),t.exports=a}),nC=O((e,t)=>{var r=Function.prototype,n=r.toString;function a(o){if(o!=null){try{return n.call(o)}catch{}try{return o+""}catch{}}return""}s(a,"toSource"),t.exports=a}),Pq=O((e,t)=>{var r=rC(),n=Tq(),a=tC(),o=nC(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,p=u.toString,d=c.hasOwnProperty,h=RegExp("^"+p.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!a(m)||n(m))return!1;var y=r(m)?h:l;return y.test(o(m))}s(f,"baseIsNative"),t.exports=f}),Dq=O((e,t)=>{function r(n,a){return n==null?void 0:n[a]}s(r,"getValue"),t.exports=r}),Io=O((e,t)=>{var r=Pq(),n=Dq();function a(o,i){var l=n(o,i);return r(l)?l:void 0}s(a,"getNative"),t.exports=a}),wh=O((e,t)=>{var r=Io(),n=An(),a=r(n,"Map");t.exports=a}),Eu=O((e,t)=>{var r=Io(),n=r(Object,"create");t.exports=n}),Oq=O((e,t)=>{var r=Eu();function n(){this.__data__=r?r(null):{},this.size=0}s(n,"hashClear"),t.exports=n}),Rq=O((e,t)=>{function r(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}s(r,"hashDelete"),t.exports=r}),Fq=O((e,t)=>{var r=Eu(),n="__lodash_hash_undefined__",a=Object.prototype,o=a.hasOwnProperty;function i(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return o.call(u,l)?u[l]:void 0}s(i,"hashGet"),t.exports=i}),Iq=O((e,t)=>{var r=Eu(),n=Object.prototype,a=n.hasOwnProperty;function o(i){var l=this.__data__;return r?l[i]!==void 0:a.call(l,i)}s(o,"hashHas"),t.exports=o}),kq=O((e,t)=>{var r=Eu(),n="__lodash_hash_undefined__";function a(o,i){var l=this.__data__;return this.size+=this.has(o)?0:1,l[o]=r&&i===void 0?n:i,this}s(a,"hashSet"),t.exports=a}),Nq=O((e,t)=>{var r=Oq(),n=Rq(),a=Fq(),o=Iq(),i=kq();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"Hash"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),Bq=O((e,t)=>{var r=Nq(),n=bu(),a=wh();function o(){this.size=0,this.__data__={hash:new r,map:new(a||n),string:new r}}s(o,"mapCacheClear"),t.exports=o}),jq=O((e,t)=>{function r(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}s(r,"isKeyable"),t.exports=r}),Cu=O((e,t)=>{var r=jq();function n(a,o){var i=a.__data__;return r(o)?i[typeof o=="string"?"string":"hash"]:i.map}s(n,"getMapData"),t.exports=n}),qq=O((e,t)=>{var r=Cu();function n(a){var o=r(this,a).delete(a);return this.size-=o?1:0,o}s(n,"mapCacheDelete"),t.exports=n}),Mq=O((e,t)=>{var r=Cu();function n(a){return r(this,a).get(a)}s(n,"mapCacheGet"),t.exports=n}),Lq=O((e,t)=>{var r=Cu();function n(a){return r(this,a).has(a)}s(n,"mapCacheHas"),t.exports=n}),$q=O((e,t)=>{var r=Cu();function n(a,o){var i=r(this,a),l=i.size;return i.set(a,o),this.size+=i.size==l?0:1,this}s(n,"mapCacheSet"),t.exports=n}),aC=O((e,t)=>{var r=Bq(),n=qq(),a=Mq(),o=Lq(),i=$q();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"MapCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),Uq=O((e,t)=>{var r=bu(),n=wh(),a=aC(),o=200;function i(l,u){var c=this.__data__;if(c instanceof r){var p=c.__data__;if(!n||p.length<o-1)return p.push([l,u]),this.size=++c.size,this;c=this.__data__=new a(p)}return c.set(l,u),this.size=c.size,this}s(i,"stackSet"),t.exports=i}),Vq=O((e,t)=>{var r=bu(),n=Eq(),a=Cq(),o=wq(),i=Aq(),l=Uq();function u(c){var p=this.__data__=new r(c);this.size=p.size}s(u,"Stack"),u.prototype.clear=n,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=i,u.prototype.set=l,t.exports=u}),Hq=O((e,t)=>{var r="__lodash_hash_undefined__";function n(a){return this.__data__.set(a,r),this}s(n,"setCacheAdd"),t.exports=n}),Jq=O((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"setCacheHas"),t.exports=r}),zq=O((e,t)=>{var r=aC(),n=Hq(),a=Jq();function o(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}s(o,"SetCache"),o.prototype.add=o.prototype.push=n,o.prototype.has=a,t.exports=o}),Gq=O((e,t)=>{function r(n,a){for(var o=-1,i=n==null?0:n.length;++o<i;)if(a(n[o],o,n))return!0;return!1}s(r,"arraySome"),t.exports=r}),Wq=O((e,t)=>{function r(n,a){return n.has(a)}s(r,"cacheHas"),t.exports=r}),oC=O((e,t)=>{var r=zq(),n=Gq(),a=Wq(),o=1,i=2;function l(u,c,p,d,h,f){var m=p&o,y=u.length,g=c.length;if(y!=g&&!(m&&g>y))return!1;var b=f.get(u),v=f.get(c);if(b&&v)return b==c&&v==u;var D=-1,S=!0,P=p&i?new r:void 0;for(f.set(u,c),f.set(c,u);++D<y;){var w=u[D],E=c[D];if(d)var C=m?d(E,w,D,c,u,f):d(w,E,D,u,c,f);if(C!==void 0){if(C)continue;S=!1;break}if(P){if(!n(c,function(_,N){if(!a(P,N)&&(w===_||h(w,_,p,d,f)))return P.push(N)})){S=!1;break}}else if(!(w===E||h(w,E,p,d,f))){S=!1;break}}return f.delete(u),f.delete(c),S}s(l,"equalArrays"),t.exports=l}),Kq=O((e,t)=>{var r=An(),n=r.Uint8Array;t.exports=n}),Yq=O((e,t)=>{function r(n){var a=-1,o=Array(n.size);return n.forEach(function(i,l){o[++a]=[l,i]}),o}s(r,"mapToArray"),t.exports=r}),Xq=O((e,t)=>{function r(n){var a=-1,o=Array(n.size);return n.forEach(function(i){o[++a]=i}),o}s(r,"setToArray"),t.exports=r}),Qq=O((e,t)=>{var r=Ch(),n=Kq(),a=ZE(),o=oC(),i=Yq(),l=Xq(),u=1,c=2,p="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Map]",m="[object Number]",y="[object RegExp]",g="[object Set]",b="[object String]",v="[object Symbol]",D="[object ArrayBuffer]",S="[object DataView]",P=r?r.prototype:void 0,w=P?P.valueOf:void 0;function E(C,_,N,B,J,G,R){switch(N){case S:if(C.byteLength!=_.byteLength||C.byteOffset!=_.byteOffset)return!1;C=C.buffer,_=_.buffer;case D:return!(C.byteLength!=_.byteLength||!G(new n(C),new n(_)));case p:case d:case m:return a(+C,+_);case h:return C.name==_.name&&C.message==_.message;case y:case b:return C==_+"";case f:var L=i;case g:var j=B&u;if(L||(L=l),C.size!=_.size&&!j)return!1;var W=R.get(C);if(W)return W==_;B|=c,R.set(C,_);var K=o(L(C),L(_),B,J,G,R);return R.delete(C),K;case v:if(w)return w.call(C)==w.call(_)}return!1}s(E,"equalByTag"),t.exports=E}),Zq=O((e,t)=>{function r(n,a){for(var o=-1,i=a.length,l=n.length;++o<i;)n[l+o]=a[o];return n}s(r,"arrayPush"),t.exports=r}),Ah=O((e,t)=>{var r=Array.isArray;t.exports=r}),eM=O((e,t)=>{var r=Zq(),n=Ah();function a(o,i,l){var u=i(o);return n(o)?u:r(u,l(o))}s(a,"baseGetAllKeys"),t.exports=a}),tM=O((e,t)=>{function r(n,a){for(var o=-1,i=n==null?0:n.length,l=0,u=[];++o<i;){var c=n[o];a(c,o,n)&&(u[l++]=c)}return u}s(r,"arrayFilter"),t.exports=r}),rM=O((e,t)=>{function r(){return[]}s(r,"stubArray"),t.exports=r}),nM=O((e,t)=>{var r=tM(),n=rM(),a=Object.prototype,o=a.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(c){return o.call(u,c)}))}:n;t.exports=l}),aM=O((e,t)=>{function r(n,a){for(var o=-1,i=Array(n);++o<n;)i[o]=a(o);return i}s(r,"baseTimes"),t.exports=r}),wu=O((e,t)=>{function r(n){return n!=null&&typeof n=="object"}s(r,"isObjectLike"),t.exports=r}),oM=O((e,t)=>{var r=vu(),n=wu(),a="[object Arguments]";function o(i){return n(i)&&r(i)==a}s(o,"baseIsArguments"),t.exports=o}),iM=O((e,t)=>{var r=oM(),n=wu(),a=Object.prototype,o=a.hasOwnProperty,i=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&o.call(u,"callee")&&!i.call(u,"callee")};t.exports=l}),sM=O((e,t)=>{function r(){return!1}s(r,"stubFalse"),t.exports=r}),iC=O((e,t)=>{var r=An(),n=sM(),a=typeof e=="object"&&e&&!e.nodeType&&e,o=a&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===a,l=i?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}),lM=O((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function a(o,i){var l=typeof o;return i=i??r,!!i&&(l=="number"||l!="symbol"&&n.test(o))&&o>-1&&o%1==0&&o<i}s(a,"isIndex"),t.exports=a}),sC=O((e,t)=>{var r=9007199254740991;function n(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=r}s(n,"isLength"),t.exports=n}),uM=O((e,t)=>{var r=vu(),n=sC(),a=wu(),o="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",p="[object Function]",d="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",y="[object Set]",g="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",D="[object DataView]",S="[object Float32Array]",P="[object Float64Array]",w="[object Int8Array]",E="[object Int16Array]",C="[object Int32Array]",_="[object Uint8Array]",N="[object Uint8ClampedArray]",B="[object Uint16Array]",J="[object Uint32Array]",G={};G[S]=G[P]=G[w]=G[E]=G[C]=G[_]=G[N]=G[B]=G[J]=!0,G[o]=G[i]=G[v]=G[l]=G[D]=G[u]=G[c]=G[p]=G[d]=G[h]=G[f]=G[m]=G[y]=G[g]=G[b]=!1;function R(L){return a(L)&&n(L.length)&&!!G[r(L)]}s(R,"baseIsTypedArray"),t.exports=R}),cM=O((e,t)=>{function r(n){return function(a){return n(a)}}s(r,"baseUnary"),t.exports=r}),pM=O((e,t)=>{var r=eC(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===n,i=o&&r.process,l=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();t.exports=l}),lC=O((e,t)=>{var r=uM(),n=cM(),a=pM(),o=a&&a.isTypedArray,i=o?n(o):r;t.exports=i}),dM=O((e,t)=>{var r=aM(),n=iM(),a=Ah(),o=iC(),i=lM(),l=lC(),u=Object.prototype,c=u.hasOwnProperty;function p(d,h){var f=a(d),m=!f&&n(d),y=!f&&!m&&o(d),g=!f&&!m&&!y&&l(d),b=f||m||y||g,v=b?r(d.length,String):[],D=v.length;for(var S in d)(h||c.call(d,S))&&!(b&&(S=="length"||y&&(S=="offset"||S=="parent")||g&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||i(S,D)))&&v.push(S);return v}s(p,"arrayLikeKeys"),t.exports=p}),fM=O((e,t)=>{var r=Object.prototype;function n(a){var o=a&&a.constructor,i=typeof o=="function"&&o.prototype||r;return a===i}s(n,"isPrototype"),t.exports=n}),hM=O((e,t)=>{function r(n,a){return function(o){return n(a(o))}}s(r,"overArg"),t.exports=r}),mM=O((e,t)=>{var r=hM(),n=r(Object.keys,Object);t.exports=n}),yM=O((e,t)=>{var r=fM(),n=mM(),a=Object.prototype,o=a.hasOwnProperty;function i(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))o.call(l,c)&&c!="constructor"&&u.push(c);return u}s(i,"baseKeys"),t.exports=i}),gM=O((e,t)=>{var r=rC(),n=sC();function a(o){return o!=null&&n(o.length)&&!r(o)}s(a,"isArrayLike"),t.exports=a}),bM=O((e,t)=>{var r=dM(),n=yM(),a=gM();function o(i){return a(i)?r(i):n(i)}s(o,"keys"),t.exports=o}),vM=O((e,t)=>{var r=eM(),n=nM(),a=bM();function o(i){return r(i,a,n)}s(o,"getAllKeys"),t.exports=o}),EM=O((e,t)=>{var r=vM(),n=1,a=Object.prototype,o=a.hasOwnProperty;function i(l,u,c,p,d,h){var f=c&n,m=r(l),y=m.length,g=r(u),b=g.length;if(y!=b&&!f)return!1;for(var v=y;v--;){var D=m[v];if(!(f?D in u:o.call(u,D)))return!1}var S=h.get(l),P=h.get(u);if(S&&P)return S==u&&P==l;var w=!0;h.set(l,u),h.set(u,l);for(var E=f;++v<y;){D=m[v];var C=l[D],_=u[D];if(p)var N=f?p(_,C,D,u,l,h):p(C,_,D,l,u,h);if(!(N===void 0?C===_||d(C,_,c,p,h):N)){w=!1;break}E||(E=D=="constructor")}if(w&&!E){var B=l.constructor,J=u.constructor;B!=J&&"constructor"in l&&"constructor"in u&&!(typeof B=="function"&&B instanceof B&&typeof J=="function"&&J instanceof J)&&(w=!1)}return h.delete(l),h.delete(u),w}s(i,"equalObjects"),t.exports=i}),CM=O((e,t)=>{var r=Io(),n=An(),a=r(n,"DataView");t.exports=a}),wM=O((e,t)=>{var r=Io(),n=An(),a=r(n,"Promise");t.exports=a}),AM=O((e,t)=>{var r=Io(),n=An(),a=r(n,"Set");t.exports=a}),xM=O((e,t)=>{var r=Io(),n=An(),a=r(n,"WeakMap");t.exports=a}),SM=O((e,t)=>{var r=CM(),n=wh(),a=wM(),o=AM(),i=xM(),l=vu(),u=nC(),c="[object Map]",p="[object Object]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",y=u(r),g=u(n),b=u(a),v=u(o),D=u(i),S=l;(r&&S(new r(new ArrayBuffer(1)))!=m||n&&S(new n)!=c||a&&S(a.resolve())!=d||o&&S(new o)!=h||i&&S(new i)!=f)&&(S=s(function(P){var w=l(P),E=w==p?P.constructor:void 0,C=E?u(E):"";if(C)switch(C){case y:return m;case g:return c;case b:return d;case v:return h;case D:return f}return w},"getTag")),t.exports=S}),_M=O((e,t)=>{var r=Vq(),n=oC(),a=Qq(),o=EM(),i=SM(),l=Ah(),u=iC(),c=lC(),p=1,d="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype,y=m.hasOwnProperty;function g(b,v,D,S,P,w){var E=l(b),C=l(v),_=E?h:i(b),N=C?h:i(v);_=_==d?f:_,N=N==d?f:N;var B=_==f,J=N==f,G=_==N;if(G&&u(b)){if(!u(v))return!1;E=!0,B=!1}if(G&&!B)return w||(w=new r),E||c(b)?n(b,v,D,S,P,w):a(b,v,_,D,S,P,w);if(!(D&p)){var R=B&&y.call(b,"__wrapped__"),L=J&&y.call(v,"__wrapped__");if(R||L){var j=R?b.value():b,W=L?v.value():v;return w||(w=new r),P(j,W,D,S,w)}}return G?(w||(w=new r),o(b,v,D,S,P,w)):!1}s(g,"baseIsEqualDeep"),t.exports=g}),TM=O((e,t)=>{var r=_M(),n=wu();function a(o,i,l,u,c){return o===i?!0:o==null||i==null||!n(o)&&!n(i)?o!==o&&i!==i:r(o,i,l,u,a,c)}s(a,"baseIsEqual"),t.exports=a}),uC=O((e,t)=>{var r=TM();function n(a,o,i){i=typeof i=="function"?i:void 0;var l=i?i(a,o):void 0;return l===void 0?r(a,o,void 0,i):!!l}s(n,"isEqualWith"),t.exports=n}),cC=O((e,t)=>{(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=s(function(a){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var o=String(a),i=o.length,l=-1,u,c="",p=o.charCodeAt(0);++l<i;){if(u=o.charCodeAt(l),u==0){c+="�";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&p==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&i==1&&u==45){c+="\\"+o.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=o.charAt(l);continue}c+="\\"+o.charAt(l)}return c},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),pC=O((e,t)=>{var r=s((o=0)=>i=>`\x1B[${38+o};5;${i}m`,"wrapAnsi256"),n=s((o=0)=>(i,l,u)=>`\x1B[${38+o};2;${i};${l};${u}m`,"wrapAnsi16m");function a(){let o=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[l,u]of Object.entries(i)){for(let[c,p]of Object.entries(u))i[c]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},u[c]=i[c],o.set(p[0],p[1]);Object.defineProperty(i,l,{value:u,enumerable:!1})}return Object.defineProperty(i,"codes",{value:o,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:s((l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),"value"),enumerable:!1},hexToRgb:{value:s(l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let p=Number.parseInt(c,16);return[p>>16&255,p>>8&255,p&255]},"value"),enumerable:!1},hexToAnsi256:{value:s(l=>i.rgbToAnsi256(...i.hexToRgb(l)),"value"),enumerable:!1}}),i}s(a,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:a})}),Au=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=s((i,l)=>{let u=Object.keys(i).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&u.push(c)}),u},"getKeysOfEnumerableProperties");function r(i,l,u,c,p,d,h=": "){let f="",m=i.next();if(!m.done){f+=l.spacingOuter;let y=u+l.indent;for(;!m.done;){let g=d(m.value[0],l,y,c,p),b=d(m.value[1],l,y,c,p);f+=y+g+h+b,m=i.next(),m.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+u}return f}s(r,"printIteratorEntries");function n(i,l,u,c,p,d){let h="",f=i.next();if(!f.done){h+=l.spacingOuter;let m=u+l.indent;for(;!f.done;)h+=m+d(f.value,l,m,c,p),f=i.next(),f.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}s(n,"printIteratorValues");function a(i,l,u,c,p,d){let h="";if(i.length){h+=l.spacingOuter;let f=u+l.indent;for(let m=0;m<i.length;m++)h+=f,m in i&&(h+=d(i[m],l,f,c,p)),m<i.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}s(a,"printListItems");function o(i,l,u,c,p,d){let h="",f=t(i,l.compareKeys);if(f.length){h+=l.spacingOuter;let m=u+l.indent;for(let y=0;y<f.length;y++){let g=f[y],b=d(g,l,m,c,p),v=d(i[g],l,m,c,p);h+=m+b+": "+v,y<f.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}s(o,"printObjectProperties")}),PM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Au(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",i=s((p,d,h,f,m,y)=>{let g=p.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++f>d.maxDepth?"["+g+"]":g+o+"["+(0,t.printListItems)(p.sample,d,h,f,m,y)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++f>d.maxDepth?"["+g+"]":g+o+"{"+(0,t.printObjectProperties)(p.sample,d,h,f,m,y)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+o+y(p.sample,d,h,f,m):p.toAsymmetricMatcher()},"serialize");e.serialize=i;var l=s(p=>p&&p.$$typeof===a,"test");e.test=l;var u={serialize:i,test:l},c=u;e.default=c}),DM=O((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}),OM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(DM()),r=n(pC());function n(c){return c&&c.__esModule?c:{default:c}}s(n,"_interopRequireDefault");var a=s(c=>c.replace((0,t.default)(),p=>{switch(p){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),"toHumanReadableAnsi"),o=s(c=>typeof c=="string"&&!!c.match((0,t.default)()),"test");e.test=o;var i=s((c,p,d,h,f,m)=>m(a(c),p,d,h,f),"serialize");e.serialize=i;var l={serialize:i,test:o},u=l;e.default=u}),RM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Au(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=s(d=>n.indexOf(d)!==-1||a.test(d),"testName"),i=s(d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name),"test");e.test=i;var l=s(d=>d.constructor.name==="NamedNodeMap","isNamedNodeMap"),u=s((d,h,f,m,y,g)=>{let b=d.constructor.name;return++m>h.maxDepth?"["+b+"]":(h.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((v,D)=>(v[D.name]=D.value,v),{}):{...d},h,f,m,y,g)+"}":"["+(0,t.printListItems)(Array.from(d),h,f,m,y,g)+"]")},"serialize");e.serialize=u;var c={serialize:u,test:i},p=c;e.default=p}),FM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}s(t,"escapeHTML")}),xh=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(FM());function r(c){return c&&c.__esModule?c:{default:c}}s(r,"_interopRequireDefault");var n=s((c,p,d,h,f,m,y)=>{let g=h+d.indent,b=d.colors;return c.map(v=>{let D=p[v],S=y(D,d,g,f,m);return typeof D!="string"&&(S.indexOf(`
|
|
14
|
+
`)!==-1&&(S=d.spacingOuter+g+S+d.spacingOuter+h),S="{"+S+"}"),d.spacingInner+h+b.prop.open+v+b.prop.close+"="+b.value.open+S+b.value.close}).join("")},"printProps");e.printProps=n;var a=s((c,p,d,h,f,m)=>c.map(y=>p.spacingOuter+d+(typeof y=="string"?o(y,p):m(y,p,d,h,f))).join(""),"printChildren");e.printChildren=a;var o=s((c,p)=>{let d=p.colors.content;return d.open+(0,t.default)(c)+d.close},"printText");e.printText=o;var i=s((c,p)=>{let d=p.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close},"printComment");e.printComment=i;var l=s((c,p,d,h,f)=>{let m=h.colors.tag;return m.open+"<"+c+(p&&m.close+p+h.spacingOuter+f+m.open)+(d?">"+m.close+d+h.spacingOuter+f+m.open+"</"+c:(p&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=l;var u=s((c,p)=>{let d=p.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close},"printElementAsLeaf");e.printElementAsLeaf=u}),IM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=xh(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,l=s(g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},"testHasAttribute"),u=s(g=>{let b=g.constructor.name,{nodeType:v,tagName:D}=g,S=typeof D=="string"&&D.includes("-")||l(g);return v===r&&(i.test(b)||S)||v===n&&b==="Text"||v===a&&b==="Comment"||v===o&&b==="DocumentFragment"},"testNode"),c=s(g=>{var b;return(g==null||(b=g.constructor)===null||b===void 0?void 0:b.name)&&u(g)},"test");e.test=c;function p(g){return g.nodeType===n}s(p,"nodeIsText");function d(g){return g.nodeType===a}s(d,"nodeIsComment");function h(g){return g.nodeType===o}s(h,"nodeIsFragment");var f=s((g,b,v,D,S,P)=>{if(p(g))return(0,t.printText)(g.data,b);if(d(g))return(0,t.printComment)(g.data,b);let w=h(g)?"DocumentFragment":g.tagName.toLowerCase();return++D>b.maxDepth?(0,t.printElementAsLeaf)(w,b):(0,t.printElement)(w,(0,t.printProps)(h(g)?[]:Array.from(g.attributes).map(E=>E.name).sort(),h(g)?{}:Array.from(g.attributes).reduce((E,C)=>(E[C.name]=C.value,E),{}),b,v+b.indent,D,S,P),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),b,v+b.indent,D,S,P),b,v)},"serialize");e.serialize=f;var m={serialize:f,test:c},y=m;e.default=y}),kM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Au(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",p="@@__IMMUTABLE_STACK__@@",d=s(C=>"Immutable."+C,"getImmutableName"),h=s(C=>"["+C+"]","printAsLeaf"),f=" ",m="…",y=s((C,_,N,B,J,G,R)=>++B>_.maxDepth?h(d(R)):d(R)+f+"{"+(0,t.printIteratorEntries)(C.entries(),_,N,B,J,G)+"}","printImmutableEntries");function g(C){let _=0;return{next(){if(_<C._keys.length){let N=C._keys[_++];return{done:!1,value:[N,C.get(N)]}}return{done:!0,value:void 0}}}}s(g,"getRecordEntries");var b=s((C,_,N,B,J,G)=>{let R=d(C._name||"Record");return++B>_.maxDepth?h(R):R+f+"{"+(0,t.printIteratorEntries)(g(C),_,N,B,J,G)+"}"},"printImmutableRecord"),v=s((C,_,N,B,J,G)=>{let R=d("Seq");return++B>_.maxDepth?h(R):C[a]?R+f+"{"+(C._iter||C._object?(0,t.printIteratorEntries)(C.entries(),_,N,B,J,G):m)+"}":R+f+"["+(C._iter||C._array||C._collection||C._iterable?(0,t.printIteratorValues)(C.values(),_,N,B,J,G):m)+"]"},"printImmutableSeq"),D=s((C,_,N,B,J,G,R)=>++B>_.maxDepth?h(d(R)):d(R)+f+"["+(0,t.printIteratorValues)(C.values(),_,N,B,J,G)+"]","printImmutableValues"),S=s((C,_,N,B,J,G)=>C[o]?y(C,_,N,B,J,G,C[i]?"OrderedMap":"Map"):C[n]?D(C,_,N,B,J,G,"List"):C[c]?D(C,_,N,B,J,G,C[i]?"OrderedSet":"Set"):C[p]?D(C,_,N,B,J,G,"Stack"):C[u]?v(C,_,N,B,J,G):b(C,_,N,B,J,G),"serialize");e.serialize=S;var P=s(C=>C&&(C[r]===!0||C[l]===!0),"test");e.test=P;var w={serialize:S,test:P},E=w;e.default=E}),NM=O(e=>{var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,l=60110,u=60112,c=60113,p=60120,d=60115,h=60116,f=60121,m=60122,y=60117,g=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),a=v("react.strict_mode"),o=v("react.profiler"),i=v("react.provider"),l=v("react.context"),u=v("react.forward_ref"),c=v("react.suspense"),p=v("react.suspense_list"),d=v("react.memo"),h=v("react.lazy"),f=v("react.block"),m=v("react.server.block"),y=v("react.fundamental"),g=v("react.debug_trace_mode"),b=v("react.legacy_hidden"));var v;function D(R){if(typeof R=="object"&&R!==null){var L=R.$$typeof;switch(L){case t:switch(R=R.type,R){case n:case o:case a:case c:case p:return R;default:switch(R=R&&R.$$typeof,R){case l:case u:case h:case d:case i:return R;default:return L}}case r:return L}}}s(D,"y");var S=i,P=t,w=u,E=n,C=h,_=d,N=r,B=o,J=a,G=c;e.ContextConsumer=l,e.ContextProvider=S,e.Element=P,e.ForwardRef=w,e.Fragment=E,e.Lazy=C,e.Memo=_,e.Portal=N,e.Profiler=B,e.StrictMode=J,e.Suspense=G,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(R){return D(R)===l},e.isContextProvider=function(R){return D(R)===i},e.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},e.isForwardRef=function(R){return D(R)===u},e.isFragment=function(R){return D(R)===n},e.isLazy=function(R){return D(R)===h},e.isMemo=function(R){return D(R)===d},e.isPortal=function(R){return D(R)===r},e.isProfiler=function(R){return D(R)===o},e.isStrictMode=function(R){return D(R)===a},e.isSuspense=function(R){return D(R)===c},e.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===o||R===g||R===a||R===c||R===p||R===b||typeof R=="object"&&R!==null&&(R.$$typeof===h||R.$$typeof===d||R.$$typeof===i||R.$$typeof===l||R.$$typeof===u||R.$$typeof===y||R.$$typeof===f||R[0]===m)},e.typeOf=D}),BM=O((e,t)=>{t.exports=NM()}),jM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(BM()),r=xh();function n(h){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=s(function(y){return y?m:f},"_getRequireWildcardCache"))(h)}s(n,"_getRequireWildcardCache");function a(h,f){if(!f&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(f);if(m&&m.has(h))return m.get(h);var y={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in h)if(b!=="default"&&Object.prototype.hasOwnProperty.call(h,b)){var v=g?Object.getOwnPropertyDescriptor(h,b):null;v&&(v.get||v.set)?Object.defineProperty(y,b,v):y[b]=h[b]}return y.default=h,m&&m.set(h,y),y}s(a,"_interopRequireWildcard");var o=s((h,f=[])=>(Array.isArray(h)?h.forEach(m=>{o(m,f)}):h!=null&&h!==!1&&f.push(h),f),"getChildren"),i=s(h=>{let f=h.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(f.displayName)return f.displayName;let m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),l=s(h=>{let{props:f}=h;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},"getPropKeys"),u=s((h,f,m,y,g,b)=>++y>f.maxDepth?(0,r.printElementAsLeaf)(i(h),f):(0,r.printElement)(i(h),(0,r.printProps)(l(h),h.props,f,m+f.indent,y,g,b),(0,r.printChildren)(o(h.props.children),f,m+f.indent,y,g,b),f,m),"serialize");e.serialize=u;var c=s(h=>h!=null&&t.isElement(h),"test");e.test=c;var p={serialize:u,test:c},d=p;e.default=d}),qM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=xh(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=s(p=>{let{props:d}=p;return d?Object.keys(d).filter(h=>d[h]!==void 0).sort():[]},"getPropKeys"),i=s((p,d,h,f,m,y)=>++f>d.maxDepth?(0,t.printElementAsLeaf)(p.type,d):(0,t.printElement)(p.type,p.props?(0,t.printProps)(o(p),p.props,d,h+d.indent,f,m,y):"",p.children?(0,t.printChildren)(p.children,d,h+d.indent,f,m,y):"",d,h),"serialize");e.serialize=i;var l=s(p=>p&&p.$$typeof===a,"test");e.test=l;var u={serialize:i,test:l},c=u;e.default=c}),MM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Ee,e.plugins=void 0;var t=p(pC()),r=Au(),n=p(PM()),a=p(OM()),o=p(RM()),i=p(IM()),l=p(kM()),u=p(jM()),c=p(qM());function p(Y){return Y&&Y.__esModule?Y:{default:Y}}s(p,"_interopRequireDefault");var d=Object.prototype.toString,h=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,y=s(Y=>typeof Y.constructor=="function"&&Y.constructor.name||"Object","getConstructorName"),g=s(Y=>typeof window<"u"&&Y===window,"isWindow"),b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,D=class extends Error{constructor(ce,ye){super(ce),this.stack=ye,this.name=this.constructor.name}};s(D,"PrettyFormatPluginError");var S=D;function P(Y){return Y==="[object Array]"||Y==="[object ArrayBuffer]"||Y==="[object DataView]"||Y==="[object Float32Array]"||Y==="[object Float64Array]"||Y==="[object Int8Array]"||Y==="[object Int16Array]"||Y==="[object Int32Array]"||Y==="[object Uint8Array]"||Y==="[object Uint8ClampedArray]"||Y==="[object Uint16Array]"||Y==="[object Uint32Array]"}s(P,"isToStringedArrayType");function w(Y){return Object.is(Y,-0)?"-0":String(Y)}s(w,"printNumber");function E(Y){return`${Y}n`}s(E,"printBigInt");function C(Y,ce){return ce?"[Function "+(Y.name||"anonymous")+"]":"[Function]"}s(C,"printFunction");function _(Y){return String(Y).replace(b,"Symbol($1)")}s(_,"printSymbol");function N(Y){return"["+f.call(Y)+"]"}s(N,"printError");function B(Y,ce,ye,ge){if(Y===!0||Y===!1)return""+Y;if(Y===void 0)return"undefined";if(Y===null)return"null";let ve=typeof Y;if(ve==="number")return w(Y);if(ve==="bigint")return E(Y);if(ve==="string")return ge?'"'+Y.replace(/"|\\/g,"\\$&")+'"':'"'+Y+'"';if(ve==="function")return C(Y,ce);if(ve==="symbol")return _(Y);let xe=d.call(Y);return xe==="[object WeakMap]"?"WeakMap {}":xe==="[object WeakSet]"?"WeakSet {}":xe==="[object Function]"||xe==="[object GeneratorFunction]"?C(Y,ce):xe==="[object Symbol]"?_(Y):xe==="[object Date]"?isNaN(+Y)?"Date { NaN }":h.call(Y):xe==="[object Error]"?N(Y):xe==="[object RegExp]"?ye?m.call(Y).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(Y):Y instanceof Error?N(Y):null}s(B,"printBasicValue");function J(Y,ce,ye,ge,ve,xe){if(ve.indexOf(Y)!==-1)return"[Circular]";ve=ve.slice(),ve.push(Y);let Se=++ge>ce.maxDepth,Je=ce.min;if(ce.callToJSON&&!Se&&Y.toJSON&&typeof Y.toJSON=="function"&&!xe)return j(Y.toJSON(),ce,ye,ge,ve,!0);let st=d.call(Y);return st==="[object Arguments]"?Se?"[Arguments]":(Je?"":"Arguments ")+"["+(0,r.printListItems)(Y,ce,ye,ge,ve,j)+"]":P(st)?Se?"["+Y.constructor.name+"]":(Je||!ce.printBasicPrototype&&Y.constructor.name==="Array"?"":Y.constructor.name+" ")+"["+(0,r.printListItems)(Y,ce,ye,ge,ve,j)+"]":st==="[object Map]"?Se?"[Map]":"Map {"+(0,r.printIteratorEntries)(Y.entries(),ce,ye,ge,ve,j," => ")+"}":st==="[object Set]"?Se?"[Set]":"Set {"+(0,r.printIteratorValues)(Y.values(),ce,ye,ge,ve,j)+"}":Se||g(Y)?"["+y(Y)+"]":(Je||!ce.printBasicPrototype&&y(Y)==="Object"?"":y(Y)+" ")+"{"+(0,r.printObjectProperties)(Y,ce,ye,ge,ve,j)+"}"}s(J,"printComplexValue");function G(Y){return Y.serialize!=null}s(G,"isNewPlugin");function R(Y,ce,ye,ge,ve,xe){let Se;try{Se=G(Y)?Y.serialize(ce,ye,ge,ve,xe,j):Y.print(ce,Je=>j(Je,ye,ge,ve,xe),Je=>{let st=ge+ye.indent;return st+Je.replace(v,`
|
|
15
|
+
`+st)},{edgeSpacing:ye.spacingOuter,min:ye.min,spacing:ye.spacingInner},ye.colors)}catch(Je){throw new S(Je.message,Je.stack)}if(typeof Se!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Se}".`);return Se}s(R,"printPlugin");function L(Y,ce){for(let ye=0;ye<Y.length;ye++)try{if(Y[ye].test(ce))return Y[ye]}catch(ge){throw new S(ge.message,ge.stack)}return null}s(L,"findPlugin");function j(Y,ce,ye,ge,ve,xe){let Se=L(ce.plugins,Y);if(Se!==null)return R(Se,Y,ce,ye,ge,ve);let Je=B(Y,ce.printFunctionName,ce.escapeRegex,ce.escapeString);return Je!==null?Je:J(Y,ce,ye,ge,ve,xe)}s(j,"printer");var W={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},K=Object.keys(W),ae={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:W};e.DEFAULT_OPTIONS=ae;function se(Y){if(Object.keys(Y).forEach(ce=>{if(!ae.hasOwnProperty(ce))throw new Error(`pretty-format: Unknown option "${ce}".`)}),Y.min&&Y.indent!==void 0&&Y.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Y.theme!==void 0){if(Y.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Y.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Y.theme}".`)}}s(se,"validateOptions");var Z=s(Y=>K.reduce((ce,ye)=>{let ge=Y.theme&&Y.theme[ye]!==void 0?Y.theme[ye]:W[ye],ve=ge&&t.default[ge];if(ve&&typeof ve.close=="string"&&typeof ve.open=="string")ce[ye]=ve;else throw new Error(`pretty-format: Option "theme" has a key "${ye}" whose value "${ge}" is undefined in ansi-styles.`);return ce},Object.create(null)),"getColorsHighlight"),z=s(()=>K.reduce((Y,ce)=>(Y[ce]={close:"",open:""},Y),Object.create(null)),"getColorsEmpty"),Q=s(Y=>Y&&Y.printFunctionName!==void 0?Y.printFunctionName:ae.printFunctionName,"getPrintFunctionName"),ee=s(Y=>Y&&Y.escapeRegex!==void 0?Y.escapeRegex:ae.escapeRegex,"getEscapeRegex"),le=s(Y=>Y&&Y.escapeString!==void 0?Y.escapeString:ae.escapeString,"getEscapeString"),re=s(Y=>{var ce;return{callToJSON:Y&&Y.callToJSON!==void 0?Y.callToJSON:ae.callToJSON,colors:Y&&Y.highlight?Z(Y):z(),compareKeys:Y&&typeof Y.compareKeys=="function"?Y.compareKeys:ae.compareKeys,escapeRegex:ee(Y),escapeString:le(Y),indent:Y&&Y.min?"":me(Y&&Y.indent!==void 0?Y.indent:ae.indent),maxDepth:Y&&Y.maxDepth!==void 0?Y.maxDepth:ae.maxDepth,min:Y&&Y.min!==void 0?Y.min:ae.min,plugins:Y&&Y.plugins!==void 0?Y.plugins:ae.plugins,printBasicPrototype:(ce=Y==null?void 0:Y.printBasicPrototype)!==null&&ce!==void 0?ce:!0,printFunctionName:Q(Y),spacingInner:Y&&Y.min?" ":`
|
|
16
|
+
`,spacingOuter:Y&&Y.min?"":`
|
|
17
|
+
`}},"getConfig");function me(Y){return new Array(Y+1).join(" ")}s(me,"createIndent");function Ee(Y,ce){if(ce&&(se(ce),ce.plugins)){let ge=L(ce.plugins,Y);if(ge!==null)return R(ge,Y,re(ce),"",0,[])}let ye=B(Y,Q(ce),ee(ce),le(ce));return ye!==null?ye:J(Y,re(ce),"",0,[])}s(Ee,"format");var it={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=it;var ht=Ee;e.default=ht}),LM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":s(function(){return o},"iterator"),next:s(function(){if(a<n.length){var i=n[a];return a=a+1,{done:!1,value:i}}else return{done:!0}},"next")};return o}s(t,"iteratorProxy");var r=t;e.default=r}),os=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(LM());function r(o){return o&&o.__esModule?o:{default:o}}s(r,"_interopRequireDefault");function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}s(n,"_typeof");function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}s(a,"iterationDecorator")}),$M=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(os());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return i(f)||o(f,m)||u(f,m)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,D,S;try{for(y=y.call(f);!(b=(D=y.next()).done)&&(g.push(D.value),!(m&&g.length===m));b=!0);}catch(P){v=!0,S=P}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw S}}return g}}s(o,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}s(i,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=s(function(){},"F");return{s:b,n:s(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:s(function(P){throw P},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,D=!1,S;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var P=y.next();return v=P.done,P},"n"),e:s(function(P){D=!0,S=P},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(D)throw S}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}s(c,"_arrayLikeToArray");var p=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:s(function(){return p},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(p),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],D=b[1];f.call(m,D,v,p)}}catch(S){y.e(S)}finally{y.f()}},"forEach"),get:s(function(f){var m=p.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!d.get(f)},"has"),keys:s(function(){return p.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return p.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),UM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(os());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return i(f)||o(f,m)||u(f,m)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
20
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,D,S;try{for(y=y.call(f);!(b=(D=y.next()).done)&&(g.push(D.value),!(m&&g.length===m));b=!0);}catch(P){v=!0,S=P}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw S}}return g}}s(o,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}s(i,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=s(function(){},"F");return{s:b,n:s(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:s(function(P){throw P},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,D=!1,S;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var P=y.next();return v=P.done,P},"n"),e:s(function(P){D=!0,S=P},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(D)throw S}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}s(c,"_arrayLikeToArray");var p=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:s(function(){return p},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(p),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],D=b[1];f.call(m,D,v,p)}}catch(S){y.e(S)}finally{y.f()}},"forEach"),get:s(function(f){var m=p.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!d.get(f)},"has"),keys:s(function(){return p.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return p.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),VM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),HM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),JM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),zM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),GM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),WM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),KM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),YM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),XM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}),QM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),ZM=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),eL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),tL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(VM()),r=f(HM()),n=f(JM()),a=f(zM()),o=f(GM()),i=f(WM()),l=f(KM()),u=f(YM()),c=f(XM()),p=f(QM()),d=f(ZM()),h=f(eL());function f(g){return g&&g.__esModule?g:{default:g}}s(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",h.default]],y=m;e.default=y}),rL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),nL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}),aL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),oL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),iL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),sL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),lL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),uL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),cL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),pL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),dL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),fL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),hL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),mL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),yL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),gL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),bL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),vL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}),EL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),CL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),wL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),AL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),xL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),SL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),_L=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),TL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}),PL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}),DL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),OL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),RL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),FL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),IL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),kL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),NL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),BL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),jL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),qL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),ML=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),LL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),$L=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),UL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),VL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}),HL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),JL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}),zL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}),GL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}),WL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),KL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),YL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),XL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),QL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),ZL=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),e3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),t3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),r3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),n3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),a3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}),o3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),i3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),s3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),l3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),u3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}),c3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),p3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),d3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),f3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),h3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),m3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),y3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),g3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}),b3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}),v3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),E3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}),C3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),w3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),A3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),x3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),S3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}),_3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),T3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),P3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),D3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}),O3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}),R3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=T(rL()),r=T(nL()),n=T(aL()),a=T(oL()),o=T(iL()),i=T(sL()),l=T(lL()),u=T(uL()),c=T(cL()),p=T(pL()),d=T(dL()),h=T(fL()),f=T(hL()),m=T(mL()),y=T(yL()),g=T(gL()),b=T(bL()),v=T(vL()),D=T(EL()),S=T(CL()),P=T(wL()),w=T(AL()),E=T(xL()),C=T(SL()),_=T(_L()),N=T(TL()),B=T(PL()),J=T(DL()),G=T(OL()),R=T(RL()),L=T(FL()),j=T(IL()),W=T(kL()),K=T(NL()),ae=T(BL()),se=T(jL()),Z=T(qL()),z=T(ML()),Q=T(LL()),ee=T($L()),le=T(UL()),re=T(VL()),me=T(HL()),Ee=T(JL()),it=T(zL()),ht=T(GL()),Y=T(WL()),ce=T(KL()),ye=T(YL()),ge=T(XL()),ve=T(QL()),xe=T(ZL()),Se=T(e3()),Je=T(t3()),st=T(r3()),Ot=T(n3()),Wt=T(a3()),_t=T(o3()),Vt=T(i3()),Nt=T(s3()),Te=T(l3()),lt=T(u3()),Ae=T(c3()),ut=T(p3()),Xe=T(d3()),ta=T(f3()),ra=T(h3()),Bt=T(m3()),Tn=T(y3()),hr=T(g3()),et=T(b3()),Pn=T(v3()),na=T(E3()),Qe=T(C3()),wt=T(w3()),Sr=T(A3()),Br=T(x3()),jr=T(S3()),Dn=T(_3()),mr=T(T3()),x=T(P3()),k=T(D3()),F=T(O3());function T(ie){return ie&&ie.__esModule?ie:{default:ie}}s(T,"_interopRequireDefault");var $=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",D.default],["document",S.default],["emphasis",P.default],["feed",w.default],["figure",E.default],["form",C.default],["generic",_.default],["grid",N.default],["gridcell",B.default],["group",J.default],["heading",G.default],["img",R.default],["insertion",L.default],["link",j.default],["list",W.default],["listbox",K.default],["listitem",ae.default],["log",se.default],["main",Z.default],["mark",z.default],["marquee",Q.default],["math",ee.default],["menu",le.default],["menubar",re.default],["menuitem",me.default],["menuitemcheckbox",Ee.default],["menuitemradio",it.default],["meter",ht.default],["navigation",Y.default],["none",ce.default],["note",ye.default],["option",ge.default],["paragraph",ve.default],["presentation",xe.default],["progressbar",Se.default],["radio",Je.default],["radiogroup",st.default],["region",Ot.default],["row",Wt.default],["rowgroup",_t.default],["rowheader",Vt.default],["scrollbar",Nt.default],["search",Te.default],["searchbox",lt.default],["separator",Ae.default],["slider",ut.default],["spinbutton",Xe.default],["status",ta.default],["strong",ra.default],["subscript",Bt.default],["superscript",Tn.default],["switch",hr.default],["tab",et.default],["table",Pn.default],["tablist",na.default],["tabpanel",Qe.default],["term",wt.default],["textbox",Sr.default],["time",Br.default],["timer",jr.default],["toolbar",Dn.default],["tooltip",mr.default],["tree",x.default],["treegrid",k.default],["treeitem",F.default]],oe=$;e.default=oe}),F3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),I3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),k3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),N3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),B3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),j3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),q3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),M3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),L3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),$3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),U3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),V3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),H3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),J3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),z3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),G3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),W3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),K3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Y3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),X3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),Q3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Z3=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),e5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),t5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),r5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),n5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),a5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),o5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),i5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),s5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}),l5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),u5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),c5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),p5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),d5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}),f5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),h5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),m5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),y5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),g5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(F3()),r=ee(I3()),n=ee(k3()),a=ee(N3()),o=ee(B3()),i=ee(j3()),l=ee(q3()),u=ee(M3()),c=ee(L3()),p=ee($3()),d=ee(U3()),h=ee(V3()),f=ee(H3()),m=ee(J3()),y=ee(z3()),g=ee(G3()),b=ee(W3()),v=ee(K3()),D=ee(Y3()),S=ee(X3()),P=ee(Q3()),w=ee(Z3()),E=ee(e5()),C=ee(t5()),_=ee(r5()),N=ee(n5()),B=ee(a5()),J=ee(o5()),G=ee(i5()),R=ee(s5()),L=ee(l5()),j=ee(u5()),W=ee(c5()),K=ee(p5()),ae=ee(d5()),se=ee(f5()),Z=ee(h5()),z=ee(m5()),Q=ee(y5());function ee(me){return me&&me.__esModule?me:{default:me}}s(ee,"_interopRequireDefault");var le=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",D.default],["doc-errata",S.default],["doc-example",P.default],["doc-footnote",w.default],["doc-foreword",E.default],["doc-glossary",C.default],["doc-glossref",_.default],["doc-index",N.default],["doc-introduction",B.default],["doc-noteref",J.default],["doc-notice",G.default],["doc-pagebreak",R.default],["doc-pagelist",L.default],["doc-part",j.default],["doc-preface",W.default],["doc-prologue",K.default],["doc-pullquote",ae.default],["doc-qna",se.default],["doc-subtitle",Z.default],["doc-tip",z.default],["doc-toc",Q.default]],re=le;e.default=re}),b5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),v5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),E5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),C5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(b5()),r=a(v5()),n=a(E5());function a(l){return l&&l.__esModule?l:{default:l}}s(a,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=o;e.default=i}),Sh=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(tL()),r=i(R3()),n=i(g5()),a=i(C5()),o=i(os());function i(v){return v&&v.__esModule?v:{default:v}}s(i,"_interopRequireDefault");function l(v,D,S){return D in v?Object.defineProperty(v,D,{value:S,enumerable:!0,configurable:!0,writable:!0}):v[D]=S,v}s(l,"_defineProperty");function u(v,D){var S=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!S){if(Array.isArray(v)||(S=d(v))||D&&v&&typeof v.length=="number"){S&&(v=S);var P=0,w=s(function(){},"F");return{s:w,n:s(function(){return P>=v.length?{done:!0}:{done:!1,value:v[P++]}},"n"),e:s(function(N){throw N},"e"),f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
22
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,C=!1,_;return{s:s(function(){S=S.call(v)},"s"),n:s(function(){var N=S.next();return E=N.done,N},"n"),e:s(function(N){C=!0,_=N},"e"),f:s(function(){try{!E&&S.return!=null&&S.return()}finally{if(C)throw _}},"f")}}s(u,"_createForOfIteratorHelper");function c(v,D){return m(v)||f(v,D)||d(v,D)||p()}s(c,"_slicedToArray");function p(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(p,"_nonIterableRest");function d(v,D){if(v){if(typeof v=="string")return h(v,D);var S=Object.prototype.toString.call(v).slice(8,-1);if(S==="Object"&&v.constructor&&(S=v.constructor.name),S==="Map"||S==="Set")return Array.from(v);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return h(v,D)}}s(d,"_unsupportedIterableToArray");function h(v,D){(D==null||D>v.length)&&(D=v.length);for(var S=0,P=new Array(D);S<D;S++)P[S]=v[S];return P}s(h,"_arrayLikeToArray");function f(v,D){var S=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(S!=null){var P=[],w=!0,E=!1,C,_;try{for(S=S.call(v);!(w=(C=S.next()).done)&&(P.push(C.value),!(D&&P.length===D));w=!0);}catch(N){E=!0,_=N}finally{try{!w&&S.return!=null&&S.return()}finally{if(E)throw _}}return P}}s(f,"_iterableToArrayLimit");function m(v){if(Array.isArray(v))return v}s(m,"_arrayWithHoles");var y=[].concat(t.default,r.default,n.default,a.default);y.forEach(function(v){var D=c(v,2),S=D[1],P=u(S.superClass),w;try{for(P.s();!(w=P.n()).done;){var E=w.value,C=u(E),_;try{var N=s(function(){var B=_.value,J=y.find(function(W){var K=c(W,1),ae=K[0];return ae===B});if(J)for(var G=J[1],R=0,L=Object.keys(G.props);R<L.length;R++){var j=L[R];Object.prototype.hasOwnProperty.call(S.props,j)||Object.assign(S.props,l({},j,G.props[j]))}},"_loop");for(C.s();!(_=C.n()).done;)N()}catch(B){C.e(B)}finally{C.f()}}}catch(B){P.e(B)}finally{P.f()}});var g={entries:s(function(){return y},"entries"),forEach:s(function(v){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=u(y),P;try{for(S.s();!(P=S.n()).done;){var w=c(P.value,2),E=w[0],C=w[1];v.call(D,C,E,y)}}catch(_){S.e(_)}finally{S.f()}},"forEach"),get:s(function(v){var D=y.find(function(S){return S[0]===v});return D&&D[1]},"get"),has:s(function(v){return!!g.get(v)},"has"),keys:s(function(){return y.map(function(v){var D=c(v,1),S=D[0];return S})},"keys"),values:s(function(){return y.map(function(v){var D=c(v,2),S=D[1];return S})},"values")},b=(0,o.default)(g,g.entries());e.default=b}),dC={};Jt(dC,{dequal:()=>vl});function vl(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&vl(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(nd.call(e,r)&&++n&&!nd.call(t,r)||!(r in t)||!vl(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var nd,w5=yN(()=>{nd=Object.prototype.hasOwnProperty,s(vl,"dequal")}),A5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(w5(),gN(dC)),r=a(os()),n=a(Sh());function a(w){return w&&w.__esModule?w:{default:w}}s(a,"_interopRequireDefault");function o(w,E){return u(w)||l(w,E)||p(w,E)||i()}s(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(i,"_nonIterableRest");function l(w,E){var C=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(C!=null){var _=[],N=!0,B=!1,J,G;try{for(C=C.call(w);!(N=(J=C.next()).done)&&(_.push(J.value),!(E&&_.length===E));N=!0);}catch(R){B=!0,G=R}finally{try{!N&&C.return!=null&&C.return()}finally{if(B)throw G}}return _}}s(l,"_iterableToArrayLimit");function u(w){if(Array.isArray(w))return w}s(u,"_arrayWithHoles");function c(w,E){var C=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!C){if(Array.isArray(w)||(C=p(w))||E&&w&&typeof w.length=="number"){C&&(w=C);var _=0,N=s(function(){},"F");return{s:N,n:s(function(){return _>=w.length?{done:!0}:{done:!1,value:w[_++]}},"n"),e:s(function(R){throw R},"e"),f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,J=!1,G;return{s:s(function(){C=C.call(w)},"s"),n:s(function(){var R=C.next();return B=R.done,R},"n"),e:s(function(R){J=!0,G=R},"e"),f:s(function(){try{!B&&C.return!=null&&C.return()}finally{if(J)throw G}},"f")}}s(c,"_createForOfIteratorHelper");function p(w,E){if(w){if(typeof w=="string")return d(w,E);var C=Object.prototype.toString.call(w).slice(8,-1);if(C==="Object"&&w.constructor&&(C=w.constructor.name),C==="Map"||C==="Set")return Array.from(w);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return d(w,E)}}s(p,"_unsupportedIterableToArray");function d(w,E){(E==null||E>w.length)&&(E=w.length);for(var C=0,_=new Array(E);C<E;C++)_[C]=w[C];return _}s(d,"_arrayLikeToArray");var h=[],f=n.default.keys();for(D=0;D<f.length;D++)if(m=f[D],y=n.default.get(m),y)for(g=[].concat(y.baseConcepts,y.relatedConcepts),v=0;v<g.length;v++)b=g[v],b.module==="HTML"&&function(){var w=b.concept;if(w){var E=h.find(function(B){return(0,t.dequal)(B,w)}),C;E?C=E[1]:C=[];for(var _=!0,N=0;N<C.length;N++)if(C[N]===m){_=!1;break}_&&C.push(m),h.push([w,C])}}();var m,y,g,b,v,D,S={entries:s(function(){return h},"entries"),forEach:s(function(w){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=c(h),_;try{for(C.s();!(_=C.n()).done;){var N=o(_.value,2),B=N[0],J=N[1];w.call(E,J,B,h)}}catch(G){C.e(G)}finally{C.f()}},"forEach"),get:s(function(w){var E=h.find(function(C){return w.name===C[0].name&&(0,t.dequal)(w.attributes,C[0].attributes)});return E&&E[1]},"get"),has:s(function(w){return!!S.get(w)},"has"),keys:s(function(){return h.map(function(w){var E=o(w,1),C=E[0];return C})},"keys"),values:s(function(){return h.map(function(w){var E=o(w,2),C=E[1];return C})},"values")},P=(0,r.default)(S,S.entries());e.default=P}),x5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(os()),r=n(Sh());function n(E){return E&&E.__esModule?E:{default:E}}s(n,"_interopRequireDefault");function a(E,C){return l(E)||i(E,C)||c(E,C)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(E,C){var _=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(_!=null){var N=[],B=!0,J=!1,G,R;try{for(_=_.call(E);!(B=(G=_.next()).done)&&(N.push(G.value),!(C&&N.length===C));B=!0);}catch(L){J=!0,R=L}finally{try{!B&&_.return!=null&&_.return()}finally{if(J)throw R}}return N}}s(i,"_iterableToArrayLimit");function l(E){if(Array.isArray(E))return E}s(l,"_arrayWithHoles");function u(E,C){var _=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!_){if(Array.isArray(E)||(_=c(E))||C&&E&&typeof E.length=="number"){_&&(E=_);var N=0,B=s(function(){},"F");return{s:B,n:s(function(){return N>=E.length?{done:!0}:{done:!1,value:E[N++]}},"n"),e:s(function(L){throw L},"e"),f:B}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
27
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var J=!0,G=!1,R;return{s:s(function(){_=_.call(E)},"s"),n:s(function(){var L=_.next();return J=L.done,L},"n"),e:s(function(L){G=!0,R=L},"e"),f:s(function(){try{!J&&_.return!=null&&_.return()}finally{if(G)throw R}},"f")}}s(u,"_createForOfIteratorHelper");function c(E,C){if(E){if(typeof E=="string")return p(E,C);var _=Object.prototype.toString.call(E).slice(8,-1);if(_==="Object"&&E.constructor&&(_=E.constructor.name),_==="Map"||_==="Set")return Array.from(E);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return p(E,C)}}s(c,"_unsupportedIterableToArray");function p(E,C){(C==null||C>E.length)&&(C=E.length);for(var _=0,N=new Array(C);_<C;_++)N[_]=E[_];return N}s(p,"_arrayLikeToArray");var d=[],h=r.default.keys();for(S=0;S<h.length;S++)if(f=h[S],m=r.default.get(f),y=[],m){for(g=[].concat(m.baseConcepts,m.relatedConcepts),D=0;D<g.length;D++)b=g[D],b.module==="HTML"&&(v=b.concept,v!=null&&y.push(v));y.length>0&&d.push([f,y])}var f,m,y,g,b,v,D,S,P={entries:s(function(){return d},"entries"),forEach:s(function(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=u(d),N;try{for(_.s();!(N=_.n()).done;){var B=a(N.value,2),J=B[0],G=B[1];E.call(C,G,J,d)}}catch(R){_.e(R)}finally{_.f()}},"forEach"),get:s(function(E){var C=d.find(function(_){return _[0]===E});return C&&C[1]},"get"),has:s(function(E){return!!P.get(E)},"has"),keys:s(function(){return d.map(function(E){var C=a(E,1),_=C[0];return _})},"keys"),values:s(function(){return d.map(function(E){var C=a(E,2),_=C[1];return _})},"values")},w=(0,t.default)(P,P.entries());e.default=w}),S5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i($M()),r=i(UM()),n=i(Sh()),a=i(A5()),o=i(x5());function i(h){return h&&h.__esModule?h:{default:h}}s(i,"_interopRequireDefault");var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var p=a.default;e.elementRoles=p;var d=o.default;e.roleElements=d}),_5=O((e,t)=>{var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function l(c,p){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][p]}s(l,"getBaseValue");var u={compressToBase64:s(function(c){if(c==null)return"";var p=u._compress(c,6,function(d){return a.charAt(d)});switch(p.length%4){default:case 0:return p;case 1:return p+"===";case 2:return p+"==";case 3:return p+"="}},"compressToBase64"),decompressFromBase64:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(p){return l(a,c.charAt(p))})},"decompressFromBase64"),compressToUTF16:s(function(c){return c==null?"":u._compress(c,15,function(p){return n(p+32)})+" "},"compressToUTF16"),decompressFromUTF16:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(p){return c.charCodeAt(p)-32})},"decompressFromUTF16"),compressToUint8Array:s(function(c){for(var p=u.compress(c),d=new Uint8Array(p.length*2),h=0,f=p.length;h<f;h++){var m=p.charCodeAt(h);d[h*2]=m>>>8,d[h*2+1]=m%256}return d},"compressToUint8Array"),decompressFromUint8Array:s(function(c){if(c==null)return u.decompress(c);for(var p=new Array(c.length/2),d=0,h=p.length;d<h;d++)p[d]=c[d*2]*256+c[d*2+1];var f=[];return p.forEach(function(m){f.push(n(m))}),u.decompress(f.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:s(function(c){return c==null?"":u._compress(c,6,function(p){return o.charAt(p)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:s(function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(p){return l(o,c.charAt(p))}))},"decompressFromEncodedURIComponent"),compress:s(function(c){return u._compress(c,16,function(p){return n(p)})},"compress"),_compress:s(function(c,p,d){if(c==null)return"";var h,f,m={},y={},g="",b="",v="",D=2,S=3,P=2,w=[],E=0,C=0,_;for(_=0;_<c.length;_+=1)if(g=c.charAt(_),Object.prototype.hasOwnProperty.call(m,g)||(m[g]=S++,y[g]=!0),b=v+g,Object.prototype.hasOwnProperty.call(m,b))v=b;else{if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<P;h++)E=E<<1,C==p-1?(C=0,w.push(d(E)),E=0):C++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}else{for(f=1,h=0;h<P;h++)E=E<<1|f,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}D--,D==0&&(D=Math.pow(2,P),P++),delete y[v]}else for(f=m[v],h=0;h<P;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1;D--,D==0&&(D=Math.pow(2,P),P++),m[b]=S++,v=String(g)}if(v!==""){if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<P;h++)E=E<<1,C==p-1?(C=0,w.push(d(E)),E=0):C++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}else{for(f=1,h=0;h<P;h++)E=E<<1|f,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}D--,D==0&&(D=Math.pow(2,P),P++),delete y[v]}else for(f=m[v],h=0;h<P;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1;D--,D==0&&(D=Math.pow(2,P),P++)}for(f=2,h=0;h<P;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1;for(;;)if(E=E<<1,C==p-1){w.push(d(E));break}else C++;return w.join("")},"_compress"),decompress:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(p){return c.charCodeAt(p)})},"decompress"),_decompress:s(function(c,p,d){var h=[],f=4,m=4,y=3,g="",b=[],v,D,S,P,w,E,C,_={val:d(0),position:p,index:1};for(v=0;v<3;v+=1)h[v]=v;for(S=0,w=Math.pow(2,2),E=1;E!=w;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=p,_.val=d(_.index++)),S|=(P>0?1:0)*E,E<<=1;switch(S){case 0:for(S=0,w=Math.pow(2,8),E=1;E!=w;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=p,_.val=d(_.index++)),S|=(P>0?1:0)*E,E<<=1;C=n(S);break;case 1:for(S=0,w=Math.pow(2,16),E=1;E!=w;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=p,_.val=d(_.index++)),S|=(P>0?1:0)*E,E<<=1;C=n(S);break;case 2:return""}for(h[3]=C,D=C,b.push(C);;){if(_.index>c)return"";for(S=0,w=Math.pow(2,y),E=1;E!=w;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=p,_.val=d(_.index++)),S|=(P>0?1:0)*E,E<<=1;switch(C=S){case 0:for(S=0,w=Math.pow(2,8),E=1;E!=w;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=p,_.val=d(_.index++)),S|=(P>0?1:0)*E,E<<=1;h[m++]=n(S),C=m-1,f--;break;case 1:for(S=0,w=Math.pow(2,16),E=1;E!=w;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=p,_.val=d(_.index++)),S|=(P>0?1:0)*E,E<<=1;h[m++]=n(S),C=m-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,y),y++),h[C])g=h[C];else if(C===m)g=D+D.charAt(0);else return null;b.push(g),h[m++]=D+g.charAt(0),f--,D=g,f==0&&(f=Math.pow(2,y),y++)}},"_decompress")};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}),fC=O((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return s(function r(n,a,o){function i(c,p){if(!a[c]){if(!n[c]){var d=typeof ks=="function"&&ks;if(!p&&d)return d(c,!0);if(l)return l(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[c]={exports:{}};n[c][0].call(f.exports,function(m){var y=n[c][1][m];return i(y||m)},f,f.exports,r,n,a,o)}return a[c].exports}s(i,"s");for(var l=typeof ks=="function"&&ks,u=0;u<o.length;u++)i(o[u]);return i},"e")({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}s(o,"Similar"),o.prototype.get=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(l=this.indexOf(i),l>=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(i,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(i,l){var u;for(u=0;u<this.size;u++)i.call(l||this,this.list[u].val,this.list[u].key,this)},o.prototype.indexOf=function(i){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,i))return l;return-1},o.prototype.isEqual=function(i,l){return i===l||i!==i&&l!==l},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(c){var p=new o(!1),d=[];return function(h){var f=s(function(){var m=p,y,g,b=arguments.length-1,v=Array(b+1),D=!0,S;if((f.numArgs||f.numArgs===0)&&f.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(S=0;S<b;S++){if(v[S]={cacheItem:m,arg:arguments[S]},m.has(arguments[S])){m=m.get(arguments[S]);continue}D=!1,y=new o(!1),m.set(arguments[S],y),m=y}return D&&(m.has(arguments[b])?g=m.get(arguments[b]):D=!1),D||(g=h.apply(null,arguments),m.set(arguments[b],g)),c>0&&(v[b]={cacheItem:m,arg:arguments[b]},D?i(d,v):d.push(v),d.length>c&&l(d.shift())),f.wasMemoized=D,f.numArgs=b+1,g},"memoizerific");return f.limit=c,f.wasMemoized=!1,f.cache=p,f.lru=d,f}};function i(c,p){var d=c.length,h=p.length,f,m,y;for(m=0;m<d;m++){for(f=!0,y=0;y<h;y++)if(!u(c[m][y].arg,p[y].arg)){f=!1;break}if(f)break}c.push(c.splice(m,1)[0])}s(i,"moveToMostRecentLru");function l(c){var p=c.length,d=c[p-1],h,f;for(d.cacheItem.delete(d.arg),f=p-2;f>=0&&(d=c[f],h=d.cacheItem.get(d.arg),!h||!h.size);f--)d.cacheItem.delete(d.arg)}s(l,"removeCachedResult");function u(c,p){return c===p||c!==c&&p!==p}s(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),hC=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(a,o)=>"%"+((o<16?"0":"")+o.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(a){let o=a.length;if(o===0)return"";let i="",l=0,u=0;e:for(;u<o;u++){let c=a.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(i+=a.slice(l,u)),l=u+1,i+=t[c]),++u===o)break e;c=a.charCodeAt(u)}if(l<u&&(i+=a.slice(l,u)),c<2048){l=u+1,i+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=o)throw new Error("URI malformed");let p=a.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|p),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?a:l<o?i+a.slice(l):i}s(n,"encodeString")}),_h=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=hC(),r=s(o=>{switch(typeof o){case"string":return(0,t.encodeString)(o);case"bigint":case"boolean":return""+o;case"number":if(Number.isFinite(o))return o<1e21?""+o:(0,t.encodeString)(""+o);break}return o instanceof Date?(0,t.encodeString)(o.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=s(o=>o instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var a=s(o=>o,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:e.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:e.defaultShouldSerializeObject}}),mC=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=a,e.stringifyObject=p;var t=_h(),r=hC();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}s(n,"isPrototypeKey");function a(d,h,f,m,y){if(n(h))return d;let g=d[h];return typeof g=="object"&&g!==null?g:!m&&(y||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?d[h]=[]:d[h]={}}s(a,"getDeepObject");var o=20,i="[]",l="[",u="]",c=".";function p(d,h,f=0,m,y){let{nestingSyntax:g=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:D=t.defaultOptions.nesting,delimiter:S=t.defaultOptions.delimiter,valueSerializer:P=t.defaultOptions.valueSerializer,shouldSerializeObject:w=t.defaultOptions.shouldSerializeObject}=h,E=typeof S=="number"?String.fromCharCode(S):S,C=y===!0&&b,_=g==="dot"||g==="js"&&!y;if(f>o)return"";let N="",B=!0,J=!1;for(let G in d){let R=d[G],L;m?(L=m,C?v==="bracket"&&(L+=i):_?(L+=c,L+=G):(L+=l,L+=G,L+=u)):L=G,B||(N+=E),typeof R=="object"&&R!==null&&!w(R)?(J=R.pop!==void 0,(D||b&&J)&&(N+=p(R,h,f+1,L,J))):(N+=(0,r.encodeString)(L),N+="=",N+=P(R,G)),B&&(B=!1)}return N}s(p,"stringifyObject")}),T5=O((e,t)=>{var r=12,n=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function o(u){var c=u.indexOf("%");if(c===-1)return u;for(var p=u.length,d="",h=0,f=0,m=c,y=r;c>-1&&c<p;){var g=l(u[c+1],4),b=l(u[c+2],0),v=g|b,D=a[v];if(y=a[256+y+D],f=f<<6|v&a[364+D],y===r)d+=u.slice(h,m),d+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,h=c+3,c=m=u.indexOf("%",h);else{if(y===n)return null;if(c+=3,c<p&&u.charCodeAt(c)===37)continue;return null}}return d+u.slice(h)}s(o,"decodeURIComponent");var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var p=i[u];return p===void 0?255:p<<c}s(l,"hexCodeToInt"),t.exports=o}),P5=O(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=p;var r=mC(),n=_h(),a=t(T5()),o=s(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberKeyDeserializer");e.numberKeyDeserializer=o;var i=s(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberValueDeserializer");e.numberValueDeserializer=i;var l=/\+/g,u=s(function(){},"Empty");u.prototype=Object.create(null);function c(d,h,f,m,y){let g=d.substring(h,f);return m&&(g=g.replace(l," ")),y&&(g=(0,a.default)(g)||g),g}s(c,"computeKeySlice");function p(d,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:y=n.defaultOptions.arrayRepeatSyntax,nesting:g=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:D=n.defaultOptions.delimiter}=h??{},S=typeof D=="string"?D.charCodeAt(0):D,P=v==="js",w=new u;if(typeof d!="string")return w;let E=d.length,C="",_=-1,N=-1,B=-1,J=w,G,R="",L="",j=!1,W=!1,K=!1,ae=!1,se=!1,Z=!1,z=!1,Q=0,ee=-1,le=-1,re=-1;for(let me=0;me<E+1;me++){if(Q=me!==E?d.charCodeAt(me):S,Q===S){if(z=N>_,z||(N=me),B!==N-1&&(L=c(d,B+1,ee>-1?ee:N,K,j),R=m(L),G!==void 0&&(J=(0,r.getDeepObject)(J,G,R,P&&se,P&&Z))),z||R!==""){z&&(C=d.slice(N+1,me),ae&&(C=C.replace(l," ")),W&&(C=(0,a.default)(C)||C));let Ee=f(C,R);if(b){let it=J[R];it===void 0?ee>-1?J[R]=[Ee]:J[R]=Ee:it.pop?it.push(Ee):J[R]=[it,Ee]}else J[R]=Ee}C="",_=me,N=me,j=!1,W=!1,K=!1,ae=!1,se=!1,Z=!1,ee=-1,B=me,J=w,G=void 0,R=""}else Q===93?(b&&y==="bracket"&&re===91&&(ee=le),g&&(v==="index"||P)&&N<=_&&(B!==le&&(L=c(d,B+1,me,K,j),R=m(L),G!==void 0&&(J=(0,r.getDeepObject)(J,G,R,void 0,P)),G=R,K=!1,j=!1),B=me,Z=!0,se=!1)):Q===46?g&&(v==="dot"||P)&&N<=_&&(B!==le&&(L=c(d,B+1,me,K,j),R=m(L),G!==void 0&&(J=(0,r.getDeepObject)(J,G,R,P)),G=R,K=!1,j=!1),se=!0,Z=!1,B=me):Q===91?g&&(v==="index"||P)&&N<=_&&(B!==le&&(L=c(d,B+1,me,K,j),R=m(L),P&&G!==void 0&&(J=(0,r.getDeepObject)(J,G,R,P)),G=R,K=!1,j=!1,se=!1,Z=!0),B=me):Q===61?N<=_?N=me:W=!0:Q===43?N>_?ae=!0:K=!0:Q===37&&(N>_?W=!0:j=!0);le=me,re=Q}return w}s(p,"parse")}),D5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=mC();function r(n,a){if(n===null||typeof n!="object")return"";let o=a??{};return(0,t.stringifyObject)(n,o)}s(r,"stringify")}),Th=O(e=>{var t=e&&e.__createBinding||(Object.create?function(o,i,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(i,l);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:s(function(){return i[l]},"get")}),Object.defineProperty(o,u,c)}:function(o,i,l,u){u===void 0&&(u=l),o[u]=i[l]}),r=e&&e.__exportStar||function(o,i){for(var l in o)l!=="default"&&!Object.prototype.hasOwnProperty.call(i,l)&&t(i,o,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=P5();Object.defineProperty(e,"parse",{enumerable:!0,get:s(function(){return n.parse},"get")});var a=D5();Object.defineProperty(e,"stringify",{enumerable:!0,get:s(function(){return a.stringify},"get")}),r(_h(),e)}),yC=O((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
28
|
+
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}}),O5=O((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),gC=O((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),R5=O((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),F5=O(e=>{var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(R5()),n=String.fromCodePoint||function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function a(o){return o>=55296&&o<=57343||o>1114111?"�":(o in r.default&&(o=r.default[o]),n(o))}s(a,"decodeCodePoint"),e.default=a}),hv=O(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(yC()),n=t(O5()),a=t(gC()),o=t(F5()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(a.default),e.decodeHTMLStrict=l(r.default);function l(p){var d=c(p);return function(h){return String(h).replace(i,d)}}s(l,"getStrictDecoder");var u=s(function(p,d){return p<d?1:-1},"sorter");e.decodeHTML=function(){for(var p=Object.keys(n.default).sort(u),d=Object.keys(r.default).sort(u),h=0,f=0;h<d.length;h++)p[f]===d[h]?(d[h]+=";?",f++):d[h]+=";";var m=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),y=c(r.default);function g(b){return b.substr(-1)!==";"&&(b+=";"),y(b)}return s(g,"replacer"),function(b){return String(b).replace(m,g)}}();function c(p){return s(function(d){if(d.charAt(1)==="#"){var h=d.charAt(2);return h==="X"||h==="x"?o.default(parseInt(d.substr(3),16)):o.default(parseInt(d.substr(2),10))}return p[d.slice(1,-1)]||d},"replace")}s(c,"getReplacer")}),mv=O(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(gC()),n=u(r.default),a=c(n);e.encodeXML=b(n);var o=t(yC()),i=u(o.default),l=c(i);e.encodeHTML=f(i,l),e.encodeNonAsciiHTML=b(i);function u(v){return Object.keys(v).sort().reduce(function(D,S){return D[v[S]]="&"+S+";",D},{})}s(u,"getInverseObj");function c(v){for(var D=[],S=[],P=0,w=Object.keys(v);P<w.length;P++){var E=w[P];E.length===1?D.push("\\"+E):S.push(E)}D.sort();for(var C=0;C<D.length-1;C++){for(var _=C;_<D.length-1&&D[_].charCodeAt(1)+1===D[_+1].charCodeAt(1);)_+=1;var N=1+_-C;N<3||D.splice(C,N,D[C]+"-"+D[_])}return S.unshift("["+D.join("")+"]"),new RegExp(S.join("|"),"g")}s(c,"getInverseReplacer");var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?function(v){return v.codePointAt(0)}:function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536};function h(v){return"&#x"+(v.length>1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}s(h,"singleCharReplacer");function f(v,D){return function(S){return S.replace(D,function(P){return v[P]}).replace(p,h)}}s(f,"getInverse");var m=new RegExp(a.source+"|"+p.source,"g");function y(v){return v.replace(m,h)}s(y,"escape"),e.escape=y;function g(v){return v.replace(a,h)}s(g,"escapeUTF8"),e.escapeUTF8=g;function b(v){return function(D){return D.replace(m,function(S){return v[S]||h(S)})}}s(b,"getASCIIEncoder")}),I5=O(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=hv(),r=mv();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}s(n,"decode"),e.decode=n;function a(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}s(a,"decodeStrict"),e.decodeStrict=a;function o(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}s(o,"encode"),e.encode=o;var i=mv();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:s(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:s(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:s(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:s(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")});var l=hv();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:s(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:s(function(){return l.decodeXML},"get")})}),k5=O((e,t)=>{function r(R,L){if(!(R instanceof L))throw new TypeError("Cannot call a class as a function")}s(r,"_classCallCheck");function n(R,L){for(var j=0;j<L.length;j++){var W=L[j];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(R,W.key,W)}}s(n,"_defineProperties");function a(R,L,j){return L&&n(R.prototype,L),j&&n(R,j),R}s(a,"_createClass");function o(R,L){var j=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!j){if(Array.isArray(R)||(j=i(R))||L&&R&&typeof R.length=="number"){j&&(R=j);var W=0,K=s(function(){},"F");return{s:K,n:s(function(){return W>=R.length?{done:!0}:{done:!1,value:R[W++]}},"n"),e:s(function(z){throw z},"e"),f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
29
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ae=!0,se=!1,Z;return{s:s(function(){j=j.call(R)},"s"),n:s(function(){var z=j.next();return ae=z.done,z},"n"),e:s(function(z){se=!0,Z=z},"e"),f:s(function(){try{!ae&&j.return!=null&&j.return()}finally{if(se)throw Z}},"f")}}s(o,"_createForOfIteratorHelper");function i(R,L){if(R){if(typeof R=="string")return l(R,L);var j=Object.prototype.toString.call(R).slice(8,-1);if(j==="Object"&&R.constructor&&(j=R.constructor.name),j==="Map"||j==="Set")return Array.from(R);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return l(R,L)}}s(i,"_unsupportedIterableToArray");function l(R,L){(L==null||L>R.length)&&(L=R.length);for(var j=0,W=new Array(L);j<L;j++)W[j]=R[j];return W}s(l,"_arrayLikeToArray");var u=I5(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var R={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return v(0,5).forEach(function(L){v(0,5).forEach(function(j){v(0,5).forEach(function(W){return d(L,j,W,R)})})}),v(0,23).forEach(function(L){var j=L+232,W=h(L*10+8);R[j]="#"+W+W+W}),R}s(p,"getDefaultColors");function d(R,L,j,W){var K=16+R*36+L*6+j,ae=R>0?R*40+55:0,se=L>0?L*40+55:0,Z=j>0?j*40+55:0;W[K]=f([ae,se,Z])}s(d,"setStyleColor");function h(R){for(var L=R.toString(16);L.length<2;)L="0"+L;return L}s(h,"toHexString");function f(R){var L=[],j=o(R),W;try{for(j.s();!(W=j.n()).done;){var K=W.value;L.push(h(K))}}catch(ae){j.e(ae)}finally{j.f()}return"#"+L.join("")}s(f,"toColorHexString");function m(R,L,j,W){var K;return L==="text"?K=P(j,W):L==="display"?K=g(R,j,W):L==="xterm256Foreground"?K=C(R,W.colors[j]):L==="xterm256Background"?K=_(R,W.colors[j]):L==="rgb"&&(K=y(R,j)),K}s(m,"generateOutput");function y(R,L){L=L.substring(2).slice(0,-1);var j=+L.substr(0,2),W=L.substring(5).split(";"),K=W.map(function(ae){return("0"+Number(ae).toString(16)).substr(-2)}).join("");return E(R,(j===38?"color:#":"background-color:#")+K)}s(y,"handleRgb");function g(R,L,j){L=parseInt(L,10);var W={"-1":s(function(){return"<br/>"},"_"),0:s(function(){return R.length&&b(R)},"_"),1:s(function(){return w(R,"b")},"_"),3:s(function(){return w(R,"i")},"_"),4:s(function(){return w(R,"u")},"_"),8:s(function(){return E(R,"display:none")},"_"),9:s(function(){return w(R,"strike")},"_"),22:s(function(){return E(R,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:s(function(){return N(R,"i")},"_"),24:s(function(){return N(R,"u")},"_"),39:s(function(){return C(R,j.fg)},"_"),49:s(function(){return _(R,j.bg)},"_"),53:s(function(){return E(R,"text-decoration:overline")},"_")},K;return W[L]?K=W[L]():4<L&&L<7?K=w(R,"blink"):29<L&&L<38?K=C(R,j.colors[L-30]):39<L&&L<48?K=_(R,j.colors[L-40]):89<L&&L<98?K=C(R,j.colors[8+(L-90)]):99<L&&L<108&&(K=_(R,j.colors[8+(L-100)])),K}s(g,"handleDisplay");function b(R){var L=R.slice(0);return R.length=0,L.reverse().map(function(j){return"</"+j+">"}).join("")}s(b,"resetStyles");function v(R,L){for(var j=[],W=R;W<=L;W++)j.push(W);return j}s(v,"range");function D(R){return function(L){return(R===null||L.category!==R)&&R!=="all"}}s(D,"notCategory");function S(R){R=parseInt(R,10);var L=null;return R===0?L="all":R===1?L="bold":2<R&&R<5?L="underline":4<R&&R<7?L="blink":R===8?L="hide":R===9?L="strike":29<R&&R<38||R===39||89<R&&R<98?L="foreground-color":(39<R&&R<48||R===49||99<R&&R<108)&&(L="background-color"),L}s(S,"categoryForCode");function P(R,L){return L.escapeXML?u.encodeXML(R):R}s(P,"pushText");function w(R,L,j){return j||(j=""),R.push(L),"<".concat(L).concat(j?' style="'.concat(j,'"'):"",">")}s(w,"pushTag");function E(R,L){return w(R,"span",L)}s(E,"pushStyle");function C(R,L){return w(R,"span","color:"+L)}s(C,"pushForegroundColor");function _(R,L){return w(R,"span","background-color:"+L)}s(_,"pushBackgroundColor");function N(R,L){var j;if(R.slice(-1)[0]===L&&(j=R.pop()),j)return"</"+L+">"}s(N,"closeTag");function B(R,L,j){var W=!1,K=3;function ae(){return""}s(ae,"remove");function se(ve,xe){return j("xterm256Foreground",xe),""}s(se,"removeXterm256Foreground");function Z(ve,xe){return j("xterm256Background",xe),""}s(Z,"removeXterm256Background");function z(ve){return L.newline?j("display",-1):j("text",ve),""}s(z,"newline");function Q(ve,xe){W=!0,xe.trim().length===0&&(xe="0"),xe=xe.trimRight(";").split(";");var Se=o(xe),Je;try{for(Se.s();!(Je=Se.n()).done;){var st=Je.value;j("display",st)}}catch(Ot){Se.e(Ot)}finally{Se.f()}return""}s(Q,"ansiMess");function ee(ve){return j("text",ve),""}s(ee,"realText");function le(ve){return j("rgb",ve),""}s(le,"rgb");var re=[{pattern:/^\x08+/,sub:ae},{pattern:/^\x1b\[[012]?K/,sub:ae},{pattern:/^\x1b\[\(B/,sub:ae},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:le},{pattern:/^\x1b\[38;5;(\d+)m/,sub:se},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:z},{pattern:/^\r+\n/,sub:z},{pattern:/^\r/,sub:z},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Q},{pattern:/^\x1b\[\d?J/,sub:ae},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ae},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ae},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ee}];function me(ve,xe){xe>K&&W||(W=!1,R=R.replace(ve.pattern,ve.sub))}s(me,"process");var Ee=[],it=R,ht=it.length;e:for(;ht>0;){for(var Y=0,ce=0,ye=re.length;ce<ye;Y=++ce){var ge=re[Y];if(me(ge,Y),R.length!==ht){ht=R.length;continue e}}if(R.length===ht)break;Ee.push(0),ht=R.length}return Ee}s(B,"tokenize");function J(R,L,j){return L!=="text"&&(R=R.filter(D(S(j))),R.push({token:L,data:j,category:S(j)})),R}s(J,"updateStickyStack");var G=function(){function R(L){r(this,R),L=L||{},L.colors&&(L.colors=Object.assign({},c.colors,L.colors)),this.options=Object.assign({},c,L),this.stack=[],this.stickyStack=[]}return s(R,"Filter"),a(R,[{key:"toHtml",value:s(function(L){var j=this;L=typeof L=="string"?[L]:L;var W=this.stack,K=this.options,ae=[];return this.stickyStack.forEach(function(se){var Z=m(W,se.token,se.data,K);Z&&ae.push(Z)}),B(L.join(""),K,function(se,Z){var z=m(W,se,Z,K);z&&ae.push(z),K.stream&&(j.stickyStack=J(j.stickyStack,se,Z))}),W.length&&ae.push(b(W)),ae.join("")},"toHtml")}]),R}();t.exports=G}),N5=O((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(u,c){for(var p=0;p<c.length;p++){var d=c[p];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,(h=d.key,f=void 0,typeof(f=function(m,y){if(typeof m!="object"||m===null)return m;var g=m[Symbol.toPrimitive];if(g!==void 0){var b=g.call(m,y);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(m)}(h,"string"))=="symbol"?f:String(f)),d)}var h,f}s(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},a={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},o=s(function(u){var c=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(u).toString().match(c);return p?p[0]:null},"n"),i=s(function(){return typeof window<"u"?window.navigator:null},"i"),l=function(){function u(h){var f;(function(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=h||((f=i())===null||f===void 0?void 0:f.userAgent)||null}s(u,"t");var c,p,d;return c=u,p=[{key:"parseUserAgent",value:s(function(h){var f,m,y,g={},b=h||this.userAgent||"",v=b.toLowerCase().replace(/\s\s+/g," "),D=/(edge)\/([\w.]+)/.exec(v)||/(edg)[/]([\w.]+)/.exec(v)||/(opr)[/]([\w.]+)/.exec(v)||/(opt)[/]([\w.]+)/.exec(v)||/(fxios)[/]([\w.]+)/.exec(v)||/(edgios)[/]([\w.]+)/.exec(v)||/(jsdom)[/]([\w.]+)/.exec(v)||/(samsungbrowser)[/]([\w.]+)/.exec(v)||/(electron)[/]([\w.]+)/.exec(v)||/(chrome)[/]([\w.]+)/.exec(v)||/(crios)[/]([\w.]+)/.exec(v)||/(opios)[/]([\w.]+)/.exec(v)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+)/.exec(v)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(v)||/(msie) ([\w.]+)/.exec(v)||/(fennec)[/]([\w.]+)/.exec(v)||v.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(v)||v.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(v)||[],S=/(ipad)/.exec(v)||/(ipod)/.exec(v)||/(iphone)/.exec(v)||/(jsdom)/.exec(v)||/(windows phone)/.exec(v)||/(xbox)/.exec(v)||/(win)/.exec(v)||/(tablet)/.exec(v)||/(android)/.test(v)&&/(mobile)/.test(v)===!1&&["androidTablet"]||/(android)/.exec(v)||/(mac)/.exec(v)||/(linux)/.exec(v)||/(cros)/.exec(v)||[],P=D[5]||D[3]||D[1]||null,w=S[0]||null,E=D[4]||D[2]||null,C=i();P==="chrome"&&typeof(C==null||(f=C.brave)===null||f===void 0?void 0:f.isBrave)=="function"&&(P="brave"),P&&(g[P]=!0),w&&(g[w]=!0);var _=!!(g.tablet||g.android||g.androidTablet),N=!!(g.ipad||g.tablet||g.androidTablet),B=!!(g.android||g.androidTablet||g.tablet||g.ipad||g.ipod||g.iphone||g["windows phone"]),J=!!(g.cros||g.mac||g.linux||g.win),G=!!(g.brave||g.chrome||g.crios||g.opr||g.safari||g.edg||g.electron),R=!!(g.msie||g.rv);return{name:(m=n[P])!==null&&m!==void 0?m:null,platform:(y=a[w])!==null&&y!==void 0?y:null,userAgent:b,version:E,shortVersion:E?o(parseFloat(E),2):null,isAndroid:_,isTablet:N,isMobile:B,isDesktop:J,isWebkit:G,isIE:R}},"value")},{key:"getBrowserInfo",value:s(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],d=[{key:"VERSION",get:s(function(){return"3.4.0"},"get")}],p&&r(c.prototype,p),d&&r(c,d),Object.defineProperty(c,"prototype",{writable:!1}),u}();return l})}),Ph={};Jt(Ph,{ARGTYPES_INFO_REQUEST:()=>jC,ARGTYPES_INFO_RESPONSE:()=>sd,CHANNEL_CREATED:()=>j5,CHANNEL_WS_DISCONNECT:()=>bC,CONFIG_ERROR:()=>vC,CREATE_NEW_STORYFILE_REQUEST:()=>q5,CREATE_NEW_STORYFILE_RESPONSE:()=>M5,CURRENT_STORY_WAS_SET:()=>ad,DOCS_PREPARED:()=>EC,DOCS_RENDERED:()=>Oh,FILE_COMPONENT_SEARCH_REQUEST:()=>L5,FILE_COMPONENT_SEARCH_RESPONSE:()=>$5,FORCE_REMOUNT:()=>El,FORCE_RE_RENDER:()=>Rh,GLOBALS_UPDATED:()=>Fi,NAVIGATE_URL:()=>U5,PLAY_FUNCTION_THREW_EXCEPTION:()=>CC,PRELOAD_ENTRIES:()=>AC,PREVIEW_BUILDER_PROGRESS:()=>V5,PREVIEW_KEYDOWN:()=>xC,REGISTER_SUBSCRIPTION:()=>H5,REQUEST_WHATS_NEW_DATA:()=>e$,RESET_STORY_ARGS:()=>Fh,RESULT_WHATS_NEW_DATA:()=>t$,SAVE_STORY_REQUEST:()=>a$,SAVE_STORY_RESPONSE:()=>o$,SELECT_STORY:()=>J5,SET_CONFIG:()=>z5,SET_CURRENT_STORY:()=>Ih,SET_FILTER:()=>G5,SET_GLOBALS:()=>SC,SET_INDEX:()=>W5,SET_STORIES:()=>K5,SET_WHATS_NEW_CACHE:()=>r$,SHARED_STATE_CHANGED:()=>Y5,SHARED_STATE_SET:()=>X5,STORIES_COLLAPSE_ALL:()=>Q5,STORIES_EXPAND_ALL:()=>Z5,STORY_ARGS_UPDATED:()=>_C,STORY_CHANGED:()=>TC,STORY_ERRORED:()=>PC,STORY_FINISHED:()=>id,STORY_HOT_UPDATED:()=>kC,STORY_INDEX_INVALIDATED:()=>DC,STORY_MISSING:()=>od,STORY_PREPARED:()=>OC,STORY_RENDERED:()=>Cl,STORY_RENDER_PHASE_CHANGED:()=>Ca,STORY_SPECIFIED:()=>RC,STORY_THREW_EXCEPTION:()=>FC,STORY_UNCHANGED:()=>IC,TELEMETRY_ERROR:()=>BC,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>n$,UNHANDLED_ERRORS_WHILE_PLAYING:()=>wC,UPDATE_GLOBALS:()=>kh,UPDATE_QUERY_PARAMS:()=>NC,UPDATE_STORY_ARGS:()=>Nh,default:()=>B5});var Dh=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e))(Dh||{}),B5=Dh,{CHANNEL_WS_DISCONNECT:bC,CHANNEL_CREATED:j5,CONFIG_ERROR:vC,CREATE_NEW_STORYFILE_REQUEST:q5,CREATE_NEW_STORYFILE_RESPONSE:M5,CURRENT_STORY_WAS_SET:ad,DOCS_PREPARED:EC,DOCS_RENDERED:Oh,FILE_COMPONENT_SEARCH_REQUEST:L5,FILE_COMPONENT_SEARCH_RESPONSE:$5,FORCE_RE_RENDER:Rh,FORCE_REMOUNT:El,GLOBALS_UPDATED:Fi,NAVIGATE_URL:U5,PLAY_FUNCTION_THREW_EXCEPTION:CC,UNHANDLED_ERRORS_WHILE_PLAYING:wC,PRELOAD_ENTRIES:AC,PREVIEW_BUILDER_PROGRESS:V5,PREVIEW_KEYDOWN:xC,REGISTER_SUBSCRIPTION:H5,RESET_STORY_ARGS:Fh,SELECT_STORY:J5,SET_CONFIG:z5,SET_CURRENT_STORY:Ih,SET_FILTER:G5,SET_GLOBALS:SC,SET_INDEX:W5,SET_STORIES:K5,SHARED_STATE_CHANGED:Y5,SHARED_STATE_SET:X5,STORIES_COLLAPSE_ALL:Q5,STORIES_EXPAND_ALL:Z5,STORY_ARGS_UPDATED:_C,STORY_CHANGED:TC,STORY_ERRORED:PC,STORY_INDEX_INVALIDATED:DC,STORY_MISSING:od,STORY_PREPARED:OC,STORY_RENDER_PHASE_CHANGED:Ca,STORY_RENDERED:Cl,STORY_FINISHED:id,STORY_SPECIFIED:RC,STORY_THREW_EXCEPTION:FC,STORY_UNCHANGED:IC,STORY_HOT_UPDATED:kC,UPDATE_GLOBALS:kh,UPDATE_QUERY_PARAMS:NC,UPDATE_STORY_ARGS:Nh,REQUEST_WHATS_NEW_DATA:e$,RESULT_WHATS_NEW_DATA:t$,SET_WHATS_NEW_CACHE:r$,TOGGLE_WHATS_NEW_NOTIFICATIONS:n$,TELEMETRY_ERROR:BC,SAVE_STORY_REQUEST:a$,SAVE_STORY_RESPONSE:o$,ARGTYPES_INFO_REQUEST:jC,ARGTYPES_INFO_RESPONSE:sd}=Dh,qC={};Jt(qC,{global:()=>de});var de=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),MC={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},i$=Object.keys(MC),LC={};Jt(LC,{Channel:()=>xu,HEARTBEAT_INTERVAL:()=>X1,HEARTBEAT_MAX_LATENCY:()=>Q1,PostMessageTransport:()=>Y1,WebsocketTransport:()=>ew,createBrowserChannel:()=>tw,default:()=>F6});function je(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var d,h;return(h=(d=p.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):l},[]);if(a.length){var o=new RegExp(`
|
|
30
|
+
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o,`
|
|
31
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),p=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
|
|
32
|
+
`)&&(d=String(l).split(`
|
|
33
|
+
`).map(function(h,f){return f===0?h:""+p+h}).join(`
|
|
34
|
+
`)),i+=d+n[u+1]}),i}s(je,"dedent");var s$=je,yv=new Map,l$="UNIVERSAL_STORE:",yr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Rn=class De{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=s(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=s((n,a)=>{let o=typeof n=="function",i=o?"*":n,l=o?n:a;if(this.debug("subscribe",{eventType:i,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(l),()=>{var u;this.debug("unsubscribe",{eventType:i,listener:l}),this.listeners.has(i)&&(this.listeners.get(i).delete(l),((u=this.listeners.get(i))==null?void 0:u.size)===0&&this.listeners.delete(i))}},"subscribe"),this.send=s(n=>{if(this.debug("send",{event:n}),this.status!==De.Status.READY)throw new TypeError(je`Cannot send event before store is ready. You can get the current status with store.status,
|
|
35
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
36
|
+
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!De.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(De.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?De.ActorType.LEADER:De.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${l$}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===De.ActorType.LEADER)this.syncing={state:yr.RESOLVED,promise:Promise.resolve()};else{let n,a,o=new Promise((i,l)=>{n=s(()=>{this.syncing.state===yr.PENDING&&(this.syncing.state=yr.RESOLVED,i())},"syncingResolve"),a=s(u=>{this.syncing.state===yr.PENDING&&(this.syncing.state=yr.REJECTED,l(u))},"syncingReject")});this.syncing={state:yr.PENDING,promise:o,resolve:n,reject:a}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(r==null?void 0:r.channel)??De.preparation.channel,this.environment=(r==null?void 0:r.environment)??De.preparation.environment,this.channel&&this.environment?(De.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):De.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((a,o)=>{t=s(i=>{a(i)},"resolveRef"),r=s((...i)=>{o(i)},"rejectRef")});De.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??De.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return De.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case yr.PENDING:case void 0:return De.Status.SYNCING;case yr.REJECTED:return De.Status.ERROR;case yr.RESOLVED:default:return De.Status.READY}}untilReady(){var t;return Promise.all([De.preparation.promise,(t=this.syncing)==null?void 0:t.promise])}static create(t){if(!t||typeof(t==null?void 0:t.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(je`[UniversalStore]
|
|
37
|
+
create`,{options:t});let r=yv.get(t.id);if(r)return console.warn(je`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
38
|
+
You should reuse the existing instance instead of trying to create a new one.`),r;De.isInternalConstructing=!0;let n=new De(t);return yv.set(t.id,n),n}static __prepare(t,r){De.preparation.channel=t,De.preparation.environment=r,De.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==De.Status.READY)throw new TypeError(je`Cannot set state before store is ready. You can get the current status with store.status,
|
|
39
|
+
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
40
|
+
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let a={type:De.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(De.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){var n;this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),(n=this.channel)==null||n.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===De.ActorType.LEADER?this.emitToChannel({type:De.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:De.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:De.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),a=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:a}),[...n??[],...a??[]].forEach(o=>o(t,r))}handleChannelEvents(t){var a,o,i,l,u;let{event:r,eventInfo:n}=t;if([n.actor.id,(a=n.forwardingActor)==null?void 0:a.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(((o=this.syncing)==null?void 0:o.state)===yr.PENDING&&r.type!==De.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===De.ActorType.LEADER){let c=!0;switch(r.type){case De.InternalEventType.EXISTING_STATE_REQUEST:c=!1;let p={type:De.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:p}),this.emitToChannel(p,{actor:this.actor}),this.emitToListeners(p,{actor:this.actor});break;case De.InternalEventType.LEADER_CREATED:c=!1,this.syncing.state=yr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(je`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
41
|
+
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
42
|
+
Leaders detected:
|
|
43
|
+
this: ${JSON.stringify(this.actor,null,2)}
|
|
44
|
+
other: ${JSON.stringify(n.actor,null,2)}`);break}c&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===De.ActorType.FOLLOWER)switch(r.type){case De.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((i=this.syncing)==null?void 0:i.state)!==yr.PENDING)break;(u=(l=this.syncing).resolve)==null||u.call(l);let c={type:De.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(c,n);break}switch(r.type){case De.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(je`[UniversalStore::${this.id}::${this.environment??De.Environment.UNKNOWN}]
|
|
45
|
+
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){De.preparation.reject(new Error("reset")),De.setupPreparationPromise(),De.isInternalConstructing=!1}};s(Rn,"UniversalStore"),Rn.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Rn.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Rn.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},Rn.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Rn.isInternalConstructing=!1,Rn.setupPreparationPromise();var up=Rn,u$=s(e=>e.transports!==void 0,"isMulti"),c$=s(()=>Math.random().toString(16).slice(2),"generateRandomId"),$C=class{constructor(t={}){this.sender=c$(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,u$(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},a={};r.length>=1&&r[0]&&r[0].options&&(a=r[0].options);let o=s(()=>{this.transports.forEach(i=>{i.send(n,a)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(o):o()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(a=>a!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=s((...a)=>(this.removeListener(t,n),r(...a)),"onceListener");return n}};s($C,"Channel");var xu=$C,UC={};Jt(UC,{deprecate:()=>Bh,logger:()=>ot,once:()=>vt,pretty:()=>pr});var{LOGLEVEL:p$}=de,Nn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},d$=p$,$a=Nn[d$]||Nn.info,ot={trace:s((e,...t)=>{$a<=Nn.trace&&console.trace(e,...t)},"trace"),debug:s((e,...t)=>{$a<=Nn.debug&&console.debug(e,...t)},"debug"),info:s((e,...t)=>{$a<=Nn.info&&console.info(e,...t)},"info"),warn:s((e,...t)=>{$a<=Nn.warn&&console.warn(e,...t)},"warn"),error:s((e,...t)=>{$a<=Nn.error&&console.error(e,...t)},"error"),log:s((e,...t)=>{$a<Nn.silent&&console.log(e,...t)},"log")},ld=new Set,vt=s(e=>(t,...r)=>{if(!ld.has(t))return ld.add(t),ot[e](t,...r)},"once");vt.clear=()=>ld.clear();vt.trace=vt("trace");vt.debug=vt("debug");vt.info=vt("info");vt.warn=vt("warn");vt.error=vt("error");vt.log=vt("log");var Bh=vt("warn"),pr=s(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,a=/<\/span>/gi,o;for(r.push(t[0].replace(n,"%c").replace(a,"%c"));o=n.exec(t[0]);)r.push(o[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}ot[e].apply(ot,r)},"pretty");pr.trace=pr("trace");pr.debug=pr("debug");pr.info=pr("info");pr.warn=pr("warn");pr.error=pr("error");var f$=Object.create,VC=Object.defineProperty,h$=Object.getOwnPropertyDescriptor,HC=Object.getOwnPropertyNames,m$=Object.getPrototypeOf,y$=Object.prototype.hasOwnProperty,ke=s((e,t)=>s(function(){return t||(0,e[HC(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),g$=s((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of HC(t))!y$.call(e,a)&&a!==r&&VC(e,a,{get:s(()=>t[a],"get"),enumerable:!(n=h$(t,a))||n.enumerable});return e},"__copyProps"),jh=s((e,t,r)=>(r=e!=null?f$(m$(e)):{},g$(t||!e||!e.__esModule?VC(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),b$=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],v$=["detail"];function JC(e){let t=b$.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of v$.filter(n=>e[n]!==void 0))t[r]=e[r];return t}s(JC,"extractEventHiddenProperties");var zC=ke({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),E$=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),C$=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),w$=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),A$=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),x$=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),qh=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),S$=ke({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),_$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),T$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),P$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),D$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),O$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),R$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),F$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||s(function(r){return r!==r},"isNaN2")}}),I$=ke({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=F$();t.exports=s(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),k$=ke({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Mh=ke({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=k$();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),N$=ke({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),GC=ke({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(var i in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==o||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),WC=ke({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=GC();t.exports=s(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),KC=ke({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),YC=ke({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=zC();t.exports=r.getPrototypeOf||null}}),B$=ke({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,a=Math.max,o="[object Function]",i=s(function(c,p){for(var d=[],h=0;h<c.length;h+=1)d[h]=c[h];for(var f=0;f<p.length;f+=1)d[f+c.length]=p[f];return d},"concatty2"),l=s(function(c,p){for(var d=[],h=p||0,f=0;h<c.length;h+=1,f+=1)d[f]=c[h];return d},"slicy2"),u=s(function(c,p){for(var d="",h=0;h<c.length;h+=1)d+=c[h],h+1<c.length&&(d+=p);return d},"joiny");t.exports=s(function(c){var p=this;if(typeof p!="function"||n.apply(p)!==o)throw new TypeError(r+p);for(var d=l(arguments,1),h,f=s(function(){if(this instanceof h){var v=p.apply(this,i(d,arguments));return Object(v)===v?v:this}return p.apply(c,i(d,arguments))},"binder"),m=a(0,p.length-d.length),y=[],g=0;g<m;g++)y[g]="$"+g;if(h=Function("binder","return function ("+u(y,",")+"){ return binder.apply(this,arguments); }")(f),p.prototype){var b=s(function(){},"Empty2");b.prototype=p.prototype,h.prototype=new b,b.prototype=null}return h},"bind")}}),Su=ke({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=B$();t.exports=Function.prototype.bind||r}}),Lh=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),XC=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),j$=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),q$=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=Su(),n=XC(),a=Lh(),o=j$();t.exports=o||r.call(a,n)}}),QC=ke({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=Su(),n=qh(),a=Lh(),o=q$();t.exports=s(function(i){if(i.length<1||typeof i[0]!="function")throw new n("a function is required");return o(r,a,i)},"callBindBasic")}}),M$=ke({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=QC(),n=Mh(),a;try{a=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var o=!!a&&n&&n(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;t.exports=o&&typeof o.get=="function"?r([o.get]):typeof l=="function"?s(function(u){return l(u==null?u:i(u))},"getDunder"):!1}}),L$=ke({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=KC(),n=YC(),a=M$();t.exports=r?s(function(o){return r(o)},"getProto"):n?s(function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return n(o)},"getProto"):a?s(function(o){return a(o)},"getProto"):null}}),ZC=ke({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,a=Su();t.exports=a.call(r,n)}}),$$=ke({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=zC(),a=E$(),o=C$(),i=w$(),l=A$(),u=x$(),c=qh(),p=S$(),d=_$(),h=T$(),f=P$(),m=D$(),y=O$(),g=R$(),b=I$(),v=Function,D=s(function(Y){try{return v('"use strict"; return ('+Y+").constructor;")()}catch{}},"getEvalledConstructor"),S=Mh(),P=N$(),w=s(function(){throw new c},"throwTypeError"),E=S?function(){try{return arguments.callee,w}catch{try{return S(arguments,"callee").get}catch{return w}}}():w,C=WC()(),_=L$(),N=YC(),B=KC(),J=XC(),G=Lh(),R={},L=typeof Uint8Array>"u"||!_?r:_(Uint8Array),j={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":C&&_?_([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":R,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&_?_(_([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!_?r:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!_?r:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&_?_(""[Symbol.iterator]()):r,"%Symbol%":C?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":L,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":p,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":G,"%Function.prototype.apply%":J,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":N,"%Math.abs%":d,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":y,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":B};if(_)try{null.error}catch(Y){W=_(_(Y)),j["%Error.prototype%"]=W}var W,K=s(function Y(ce){var ye;if(ce==="%AsyncFunction%")ye=D("async function () {}");else if(ce==="%GeneratorFunction%")ye=D("function* () {}");else if(ce==="%AsyncGeneratorFunction%")ye=D("async function* () {}");else if(ce==="%AsyncGenerator%"){var ge=Y("%AsyncGeneratorFunction%");ge&&(ye=ge.prototype)}else if(ce==="%AsyncIteratorPrototype%"){var ve=Y("%AsyncGenerator%");ve&&_&&(ye=_(ve.prototype))}return j[ce]=ye,ye},"doEval2"),ae={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},se=Su(),Z=ZC(),z=se.call(G,Array.prototype.concat),Q=se.call(J,Array.prototype.splice),ee=se.call(G,String.prototype.replace),le=se.call(G,String.prototype.slice),re=se.call(G,RegExp.prototype.exec),me=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ee=/\\(\\)?/g,it=s(function(Y){var ce=le(Y,0,1),ye=le(Y,-1);if(ce==="%"&&ye!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(ye==="%"&&ce!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var ge=[];return ee(Y,me,function(ve,xe,Se,Je){ge[ge.length]=Se?ee(Je,Ee,"$1"):xe||ve}),ge},"stringToPath3"),ht=s(function(Y,ce){var ye=Y,ge;if(Z(ae,ye)&&(ge=ae[ye],ye="%"+ge[0]+"%"),Z(j,ye)){var ve=j[ye];if(ve===R&&(ve=K(ye)),typeof ve>"u"&&!ce)throw new c("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:ge,name:ye,value:ve}}throw new u("intrinsic "+Y+" does not exist!")},"getBaseIntrinsic2");t.exports=s(function(Y,ce){if(typeof Y!="string"||Y.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ce!="boolean")throw new c('"allowMissing" argument must be a boolean');if(re(/^%?[^%]*%?$/,Y)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ye=it(Y),ge=ye.length>0?ye[0]:"",ve=ht("%"+ge+"%",ce),xe=ve.name,Se=ve.value,Je=!1,st=ve.alias;st&&(ge=st[0],Q(ye,z([0,1],st)));for(var Ot=1,Wt=!0;Ot<ye.length;Ot+=1){var _t=ye[Ot],Vt=le(_t,0,1),Nt=le(_t,-1);if((Vt==='"'||Vt==="'"||Vt==="`"||Nt==='"'||Nt==="'"||Nt==="`")&&Vt!==Nt)throw new u("property names with quotes must have matching quotes");if((_t==="constructor"||!Wt)&&(Je=!0),ge+="."+_t,xe="%"+ge+"%",Z(j,xe))Se=j[xe];else if(Se!=null){if(!(_t in Se)){if(!ce)throw new c("base intrinsic for "+Y+" exists, but the property is not available.");return}if(S&&Ot+1>=ye.length){var Te=S(Se,_t);Wt=!!Te,Wt&&"get"in Te&&!("originalValue"in Te.get)?Se=Te.get:Se=Se[_t]}else Wt=Z(Se,_t),Se=Se[_t];Wt&&!Je&&(j[xe]=Se)}}return Se},"GetIntrinsic")}}),$h=ke({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=$$(),n=QC(),a=n([r("%String.prototype.indexOf%")]);t.exports=s(function(o,i){var l=r(o,!!i);return typeof l=="function"&&a(o,".prototype.")>-1?n([l]):l},"callBoundIntrinsic")}}),U$=ke({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=GC();t.exports=s(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),e1=ke({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=$h(),n=U$()(),a=ZC(),o=Mh(),i;n?(l=r("RegExp.prototype.exec"),u={},c=s(function(){throw u},"throwRegexMarker"),p={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=c),i=s(function(f){if(!f||typeof f!="object")return!1;var m=o(f,"lastIndex"),y=m&&a(m,"value");if(!y)return!1;try{l(f,p)}catch(g){return g===u}},"isRegex")):(d=r("Object.prototype.toString"),h="[object RegExp]",i=s(function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h},"isRegex"));var l,u,c,p,d,h;t.exports=i}}),V$=ke({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}s(n,"isFunction3")}}),H$=ke({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=$h(),n=e1(),a=r("RegExp.prototype.exec"),o=qh();t.exports=s(function(i){if(!n(i))throw new o("`regex` must be a RegExp");return s(function(l){return a(i,l)!==null},"test")},"regexTester")}}),J$=ke({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=$h(),n=r("Object.prototype.toString"),a=WC()(),o=H$();a?(i=r("Symbol.prototype.toString"),l=o(/^Symbol\(.*\)$/),u=s(function(c){return typeof c.valueOf()!="symbol"?!1:l(i(c))},"isRealSymbolObject"),t.exports=s(function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return u(c)}catch{return!1}},"isSymbol3")):t.exports=s(function(c){return!1},"isSymbol3");var i,l,u}}),z$=jh(e1()),G$=jh(V$()),W$=jh(J$());function t1(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}s(t1,"isObject");var K$=typeof global=="object"&&global&&global.Object===Object&&global,Y$=K$,X$=typeof self=="object"&&self&&self.Object===Object&&self,Q$=Y$||X$||Function("return this")(),Uh=Q$,Z$=Uh.Symbol,po=Z$,r1=Object.prototype,e8=r1.hasOwnProperty,t8=r1.toString,Xo=po?po.toStringTag:void 0;function n1(e){var t=e8.call(e,Xo),r=e[Xo];try{e[Xo]=void 0;var n=!0}catch{}var a=t8.call(e);return n&&(t?e[Xo]=r:delete e[Xo]),a}s(n1,"getRawTag");var r8=n1,n8=Object.prototype,a8=n8.toString;function a1(e){return a8.call(e)}s(a1,"objectToString");var o8=a1,i8="[object Null]",s8="[object Undefined]",gv=po?po.toStringTag:void 0;function o1(e){return e==null?e===void 0?s8:i8:gv&&gv in Object(e)?r8(e):o8(e)}s(o1,"baseGetTag");var i1=o1;function s1(e){return e!=null&&typeof e=="object"}s(s1,"isObjectLike");var l8=s1,u8="[object Symbol]";function l1(e){return typeof e=="symbol"||l8(e)&&i1(e)==u8}s(l1,"isSymbol");var Vh=l1;function u1(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}s(u1,"arrayMap");var c8=u1,p8=Array.isArray,Hh=p8,bv=po?po.prototype:void 0,vv=bv?bv.toString:void 0;function Jh(e){if(typeof e=="string")return e;if(Hh(e))return c8(e,Jh)+"";if(Vh(e))return vv?vv.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(Jh,"baseToString");var d8=Jh;function c1(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}s(c1,"isObject2");var p1=c1,f8="[object AsyncFunction]",h8="[object Function]",m8="[object GeneratorFunction]",y8="[object Proxy]";function d1(e){if(!p1(e))return!1;var t=i1(e);return t==h8||t==m8||t==f8||t==y8}s(d1,"isFunction");var g8=d1,b8=Uh["__core-js_shared__"],cp=b8,Ev=function(){var e=/[^.]+$/.exec(cp&&cp.keys&&cp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function f1(e){return!!Ev&&Ev in e}s(f1,"isMasked");var v8=f1,E8=Function.prototype,C8=E8.toString;function h1(e){if(e!=null){try{return C8.call(e)}catch{}try{return e+""}catch{}}return""}s(h1,"toSource");var w8=h1,A8=/[\\^$.*+?()[\]{}|]/g,x8=/^\[object .+?Constructor\]$/,S8=Function.prototype,_8=Object.prototype,T8=S8.toString,P8=_8.hasOwnProperty,D8=RegExp("^"+T8.call(P8).replace(A8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m1(e){if(!p1(e)||v8(e))return!1;var t=g8(e)?D8:x8;return t.test(w8(e))}s(m1,"baseIsNative");var O8=m1;function y1(e,t){return e==null?void 0:e[t]}s(y1,"getValue");var R8=y1;function g1(e,t){var r=R8(e,t);return O8(r)?r:void 0}s(g1,"getNative");var b1=g1;function v1(e,t){return e===t||e!==e&&t!==t}s(v1,"eq");var F8=v1,I8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k8=/^\w*$/;function E1(e,t){if(Hh(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Vh(e)?!0:k8.test(e)||!I8.test(e)||t!=null&&e in Object(t)}s(E1,"isKey");var N8=E1,B8=b1(Object,"create"),Ii=B8;function C1(){this.__data__=Ii?Ii(null):{},this.size=0}s(C1,"hashClear");var j8=C1;function w1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}s(w1,"hashDelete");var q8=w1,M8="__lodash_hash_undefined__",L8=Object.prototype,$8=L8.hasOwnProperty;function A1(e){var t=this.__data__;if(Ii){var r=t[e];return r===M8?void 0:r}return $8.call(t,e)?t[e]:void 0}s(A1,"hashGet");var U8=A1,V8=Object.prototype,H8=V8.hasOwnProperty;function x1(e){var t=this.__data__;return Ii?t[e]!==void 0:H8.call(t,e)}s(x1,"hashHas");var J8=x1,z8="__lodash_hash_undefined__";function S1(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ii&&t===void 0?z8:t,this}s(S1,"hashSet");var G8=S1;function Fa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Fa,"Hash");Fa.prototype.clear=j8;Fa.prototype.delete=q8;Fa.prototype.get=U8;Fa.prototype.has=J8;Fa.prototype.set=G8;var Cv=Fa;function _1(){this.__data__=[],this.size=0}s(_1,"listCacheClear");var W8=_1;function T1(e,t){for(var r=e.length;r--;)if(F8(e[r][0],t))return r;return-1}s(T1,"assocIndexOf");var _u=T1,K8=Array.prototype,Y8=K8.splice;function P1(e){var t=this.__data__,r=_u(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Y8.call(t,r,1),--this.size,!0}s(P1,"listCacheDelete");var X8=P1;function D1(e){var t=this.__data__,r=_u(t,e);return r<0?void 0:t[r][1]}s(D1,"listCacheGet");var Q8=D1;function O1(e){return _u(this.__data__,e)>-1}s(O1,"listCacheHas");var Z8=O1;function R1(e,t){var r=this.__data__,n=_u(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}s(R1,"listCacheSet");var e6=R1;function Ia(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Ia,"ListCache");Ia.prototype.clear=W8;Ia.prototype.delete=X8;Ia.prototype.get=Q8;Ia.prototype.has=Z8;Ia.prototype.set=e6;var t6=Ia,r6=b1(Uh,"Map"),n6=r6;function F1(){this.size=0,this.__data__={hash:new Cv,map:new(n6||t6),string:new Cv}}s(F1,"mapCacheClear");var a6=F1;function I1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}s(I1,"isKeyable");var o6=I1;function k1(e,t){var r=e.__data__;return o6(t)?r[typeof t=="string"?"string":"hash"]:r.map}s(k1,"getMapData");var Tu=k1;function N1(e){var t=Tu(this,e).delete(e);return this.size-=t?1:0,t}s(N1,"mapCacheDelete");var i6=N1;function B1(e){return Tu(this,e).get(e)}s(B1,"mapCacheGet");var s6=B1;function j1(e){return Tu(this,e).has(e)}s(j1,"mapCacheHas");var l6=j1;function q1(e,t){var r=Tu(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}s(q1,"mapCacheSet");var u6=q1;function ka(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(ka,"MapCache");ka.prototype.clear=a6;ka.prototype.delete=i6;ka.prototype.get=s6;ka.prototype.has=l6;ka.prototype.set=u6;var M1=ka,c6="Expected a function";function Pu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(c6);var r=s(function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i},"memoized");return r.cache=new(Pu.Cache||M1),r}s(Pu,"memoize");Pu.Cache=M1;var p6=Pu,d6=500;function L1(e){var t=p6(e,function(n){return r.size===d6&&r.clear(),n}),r=t.cache;return t}s(L1,"memoizeCapped");var f6=L1,h6=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,m6=/\\(\\)?/g,y6=f6(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(h6,function(r,n,a,o){t.push(a?o.replace(m6,"$1"):n||r)}),t}),g6=y6;function $1(e){return e==null?"":d8(e)}s($1,"toString");var b6=$1;function U1(e,t){return Hh(e)?e:N8(e,t)?[e]:g6(b6(e))}s(U1,"castPath");var v6=U1;function V1(e){if(typeof e=="string"||Vh(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(V1,"toKey");var E6=V1;function H1(e,t){t=v6(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[E6(t[r++])];return r&&r==n?e:void 0}s(H1,"baseGet");var C6=H1;function J1(e,t,r){var n=e==null?void 0:C6(e,t);return n===void 0?r:n}s(J1,"get");var w6=J1,zh=t1,A6=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Gh=s(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Wh(e){if(!zh(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=JC(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}s(Wh,"convertUnconventionalData");var x6=s(function(e){let t,r,n,a;return s(function(o,i){var l;try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let u=r.get(this)||this;for(;n.length&&u!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===Number.NEGATIVE_INFINITY?"_-Infinity_":i===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return A6.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,z$.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,G$.default)(i))return;if((0,W$.default)(i)){if(!e.allowSymbol)return;let p=Symbol.keyFor(i);return p!==void 0?`_gsymbol_${p}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if((l=i==null?void 0:i.constructor)!=null&&l.name&&i.constructor.name!=="Object"&&!Array.isArray(i)){let p=t.get(i);if(!p){let d={__isClassInstance__:!0,__className__:i.constructor.name,...Object.getOwnPropertyNames(i).reduce((h,f)=>{try{h[f]=i[f]}catch{}return h},{})};return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${p}`}let c=t.get(i);if(!c){let p=Array.isArray(i)?i:Wh(i);return a.push(o),n.unshift(p),t.set(i,JSON.stringify(a)),i!==p&&r.set(i,p),p}return`_duplicate_${c}`}catch{return}},"replace")},"replacer2"),S6=s(function(e){let t=[],r;return s(function(n,a){if(n===""&&(r=a,t.forEach(({target:o,container:i,replacement:l})=>{let u=Gh(l)?JSON.parse(l):l.split(".");u.length===0?i[o]=r:i[o]=w6(r,u)})),n==="_constructor-name_")return a;if(zh(a)&&a.__isConvertedError__){let{message:o,...i}=a.errorProperties,l=new Error(o);return Object.assign(l,i),l}if(typeof a=="string"&&a.startsWith("_regexp_")&&e.allowRegExp){let[,o,i]=a.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(i,o)}return typeof a=="string"&&a.startsWith("_date_")&&e.allowDate?new Date(a.replace("_date_","")):typeof a=="string"&&a.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:a.replace(/^_duplicate_/,"")}),null):typeof a=="string"&&a.startsWith("_symbol_")&&e.allowSymbol?Symbol(a.replace("_symbol_","")):typeof a=="string"&&a.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(a.replace("_gsymbol_","")):typeof a=="string"&&a==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof a=="string"&&a==="_Infinity_"?Number.POSITIVE_INFINITY:typeof a=="string"&&a==="_NaN_"?Number.NaN:typeof a=="string"&&a.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(a.replace("_bigint_","")):a},"revive")},"reviver2"),z1={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},G1=s((e,t={})=>{let r={...z1,...t};return JSON.stringify(Wh(e),x6(r),t.space)},"stringify"),_6=s(()=>{let e=new Map;return s(function t(r){zh(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),W1=s((e,t={})=>{let r={...z1,...t},n=JSON.parse(e,S6(r));return _6()(n),n},"parse"),T6="Invariant failed";function Yr(e,t){if(!e)throw new Error(T6)}s(Yr,"invariant");var P6=s(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(o=>{var u,c;try{return((u=o.contentWindow)==null?void 0:u.location.origin)===e.source.location.origin&&((c=o.contentWindow)==null?void 0:c.location.pathname)===e.source.location.pathname}catch{}try{return o.contentWindow===e.source}catch{}let i=o.getAttribute("src"),l;try{if(!i)return!1;({origin:l}=new URL(i,document.location.toString()))}catch{return!1}return l===e.origin}),a=r==null?void 0:r.getAttribute("src");if(a&&n.length===0){let{protocol:o,host:i,pathname:l}=new URL(a,document.location.toString());return`${o}//${i}${l}`}return n.length>0&&ot.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:pp,location:Qo}=de,wv="storybook-channel",D6={maxDepth:25},K1=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof(de==null?void 0:de.addEventListener)=="function"&&de.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:a,allowSymbol:o,allowDate:i,allowError:l,allowUndefined:u,maxDepth:c,space:p}=r||{},d=Object.fromEntries(Object.entries({allowRegExp:a,allowSymbol:o,allowDate:i,allowError:l,allowUndefined:u,maxDepth:c,space:p}).filter(([g,b])=>typeof b<"u")),h={...D6,...de.CHANNEL_OPTIONS||{},...d},f=this.getFrames(n),m=new URLSearchParams((Qo==null?void 0:Qo.search)||""),y=G1({key:wv,event:t,refId:m.get("refId")},h);return f.length?(this.buffer.length&&this.flush(),f.forEach(g=>{try{g.postMessage(y,"*")}catch{ot.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((g,b)=>{this.buffer.push({event:t,resolve:g,reject:b})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(pp.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return de&&de.parent&&de.parent!==de.self?[de.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(pp.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):de&&de.parent?[de.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(pp.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):de&&de.parent?[de.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:a,refId:o}=typeof r=="string"&&Gh(r)?W1(r,de.CHANNEL_OPTIONS||{}):r;if(n===wv){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(Ph).includes(a.type)?`<span style="color: #FF4785">${a.type}</span>`:`<span style="color: #FFAE00">${a.type}</span>`;if(o&&(a.refId=o),a.source=this.config.page==="preview"?t.origin:P6(t),!a.source){pr.error(`${i} received ${l} but was unable to determine the source of the event`);return}let u=`${i} received ${l} (${r.length})`;pr.debug(Qo.origin!==a.source?u:`${u} <span style="color: gray">(on ${Qo.origin} from ${a.source})</span>`,...a.args),Yr(this.handler,"ChannelHandler should be set"),this.handler(a)}}catch(r){ot.error(r)}}};s(K1,"PostMessageTransport");var Y1=K1,{WebSocket:O6}=de,X1=15e3,Q1=5e3,Z1=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new O6(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:a})=>{let o=typeof a=="string"&&Gh(a)?W1(a):a;Yr(this.handler),this.handler(o),o.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=a=>{r&&r(a)},this.socket.onclose=a=>{Yr(this.handler),this.handler({type:bC,args:[{reason:a.reason,code:a.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},X1+Q1)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=G1(t,{maxDepth:15,...de.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};s(Z1,"WebsocketTransport");var ew=Z1,{CONFIG_TYPE:R6}=de,F6=xu;function tw({page:e,extraTransports:t=[]}){let r=[new Y1({page:e}),...t];if(R6==="DEVELOPMENT"){let a=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,l=`${a}://${o}:${i}/storybook-server-channel`;r.push(new ew({url:l,onError:s(()=>{},"onError"),page:e}))}let n=new xu({transports:r});return up.__prepare(n,e==="manager"?up.Environment.MANAGER:up.Environment.PREVIEW),n}s(tw,"createBrowserChannel");var rw={};Jt(rw,{CalledExtractOnStoreError:()=>pw,CalledPreviewMethodBeforeInitializationError:()=>lr,Category:()=>ow,ElementA11yParameterError:()=>q6,EmptyIndexError:()=>Ew,ImplicitActionsDuringRendering:()=>uw,MdxFileWithNoCsfReferencesError:()=>bw,MissingRenderToCanvasError:()=>fw,MissingStoryAfterHmrError:()=>sw,MissingStoryFromCsfFileError:()=>xw,MountMustBeDestructuredError:()=>Kh,NextJsSharpError:()=>k6,NextjsRouterMocksNotAvailable:()=>N6,NoRenderFunctionError:()=>Dw,NoStoryMatchError:()=>ww,NoStoryMountedError:()=>Rw,StatusTypeIdMismatchError:()=>I6,StoryIndexFetchError:()=>yw,StoryStoreAccessedBeforeInitializationError:()=>_w,UnknownArgTypesError:()=>B6,UnsupportedViewportDimensionError:()=>j6});function ud({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}s(ud,"parseErrorCode");var nw=class aw extends Error{constructor(t){super(aw.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return ud({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:a}){let o;return t===!0?o=`https://storybook.js.org/error/${ud({code:r,category:n})}`:typeof t=="string"?o=t:Array.isArray(t)&&(o=`
|
|
46
|
+
${t.map(i=>` - ${i}`).join(`
|
|
47
|
+
`)}`),`${a}${o!=null?`
|
|
48
|
+
|
|
49
|
+
More info: ${o}
|
|
50
|
+
`:""}`}};s(nw,"StorybookError");var Ct=nw,ow=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e.ADDON_A11Y="ADDON_A11Y",e))(ow||{}),iw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:1,message:je`
|
|
51
|
+
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
52
|
+
- Did you just rename a story?
|
|
53
|
+
- Did you remove it from your CSF file?
|
|
54
|
+
- Are you sure a story with the id '${t.storyId}' exists?
|
|
55
|
+
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
56
|
+
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};s(iw,"MissingStoryAfterHmrError");var sw=iw,lw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:je`
|
|
57
|
+
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
58
|
+
${t.deprecated?`
|
|
59
|
+
This is deprecated and won't work in Storybook 8 anymore.
|
|
60
|
+
`:""}
|
|
61
|
+
Please provide an explicit spy to your args like this:
|
|
62
|
+
import { fn } from 'storybook/test';
|
|
63
|
+
...
|
|
64
|
+
args: {
|
|
65
|
+
${t.name}: fn()
|
|
66
|
+
}`}),this.data=t}};s(lw,"ImplicitActionsDuringRendering");var uw=lw,cw=class extends Ct{constructor(){super({category:"PREVIEW_API",code:3,message:je`
|
|
67
|
+
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
68
|
+
|
|
69
|
+
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};s(cw,"CalledExtractOnStoreError");var pw=cw,dw=class extends Ct{constructor(){super({category:"PREVIEW_API",code:4,message:je`
|
|
70
|
+
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
71
|
+
|
|
72
|
+
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};s(dw,"MissingRenderToCanvasError");var fw=dw,hw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:5,message:je`
|
|
73
|
+
Called \`Preview.${t.methodName}()\` before initialization.
|
|
74
|
+
|
|
75
|
+
The preview needs to load the story index before most methods can be called. If you want
|
|
76
|
+
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
77
|
+
|
|
78
|
+
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
79
|
+
do the above.`}),this.data=t}};s(hw,"CalledPreviewMethodBeforeInitializationError");var lr=hw,mw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:6,message:je`
|
|
80
|
+
Error fetching \`/index.json\`:
|
|
81
|
+
|
|
82
|
+
${t.text}
|
|
83
|
+
|
|
84
|
+
If you are in development, this likely indicates a problem with your Storybook process,
|
|
85
|
+
check the terminal for errors.
|
|
86
|
+
|
|
87
|
+
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
88
|
+
build.`}),this.data=t}};s(mw,"StoryIndexFetchError");var yw=mw,gw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:7,message:je`
|
|
89
|
+
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
90
|
+
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
91
|
+
|
|
92
|
+
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
93
|
+
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};s(gw,"MdxFileWithNoCsfReferencesError");var bw=gw,vw=class extends Ct{constructor(){super({category:"PREVIEW_API",code:8,message:je`
|
|
94
|
+
Couldn't find any stories in your Storybook.
|
|
95
|
+
|
|
96
|
+
- Please check your stories field of your main.js config: does it match correctly?
|
|
97
|
+
- Also check the browser console and terminal for error messages.`})}};s(vw,"EmptyIndexError");var Ew=vw,Cw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:9,message:je`
|
|
98
|
+
Couldn't find story matching '${t.storySpecifier}'.
|
|
99
|
+
|
|
100
|
+
- Are you sure a story with that id exists?
|
|
101
|
+
- Please check your stories field of your main.js config.
|
|
102
|
+
- Also check the browser console and terminal for error messages.`}),this.data=t}};s(Cw,"NoStoryMatchError");var ww=Cw,Aw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:10,message:je`
|
|
103
|
+
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
104
|
+
|
|
105
|
+
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
106
|
+
we didn't find the story. Possible reasons:
|
|
107
|
+
- You are using a custom story indexer that is misbehaving.
|
|
108
|
+
- You have a custom file loader that is removing or renaming exports.
|
|
109
|
+
|
|
110
|
+
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};s(Aw,"MissingStoryFromCsfFileError");var xw=Aw,Sw=class extends Ct{constructor(){super({category:"PREVIEW_API",code:11,message:je`
|
|
111
|
+
Cannot access the Story Store until the index is ready.
|
|
112
|
+
|
|
113
|
+
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
114
|
+
remove access to the store entirely`})}};s(Sw,"StoryStoreAccessedBeforeInitializationError");var _w=Sw,Tw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:12,message:je`
|
|
115
|
+
Incorrect use of mount in the play function.
|
|
116
|
+
|
|
117
|
+
To use mount in the play function, you must satisfy the following two requirements:
|
|
118
|
+
|
|
119
|
+
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
120
|
+
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
121
|
+
|
|
122
|
+
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
123
|
+
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
124
|
+
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
125
|
+
|
|
126
|
+
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
127
|
+
|
|
128
|
+
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
129
|
+
|
|
130
|
+
Received the following play function:
|
|
131
|
+
${t.playFunction}`}),this.data=t}};s(Tw,"MountMustBeDestructuredError");var Kh=Tw,Pw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:14,message:je`
|
|
132
|
+
No render function available for storyId '${t.id}'
|
|
133
|
+
`}),this.data=t}};s(Pw,"NoRenderFunctionError");var Dw=Pw,Ow=class extends Ct{constructor(){super({category:"PREVIEW_API",code:15,message:je`
|
|
134
|
+
No component is mounted in your story.
|
|
135
|
+
|
|
136
|
+
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
137
|
+
|
|
138
|
+
For example:
|
|
139
|
+
|
|
140
|
+
async play({ mount, canvasElement }) {
|
|
141
|
+
// 👈 mount should be called: await mount();
|
|
142
|
+
const canvas = within(canvasElement);
|
|
143
|
+
const button = await canvas.findByRole('button');
|
|
144
|
+
await userEvent.click(button);
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
Make sure to either remove it or call mount in your play function.
|
|
148
|
+
`})}};s(Ow,"NoStoryMountedError");var Rw=Ow,Fw=class extends Ct{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};s(Fw,"StatusTypeIdMismatchError");var I6=Fw,Iw=class extends Ct{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:je`
|
|
149
|
+
You are importing avif images, but you don't have sharp installed.
|
|
150
|
+
|
|
151
|
+
You have to install sharp in order to use image optimization features in Next.js.
|
|
152
|
+
`})}};s(Iw,"NextJsSharpError");var k6=Iw,kw=class extends Ct{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:je`
|
|
153
|
+
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
154
|
+
`}),this.data=t}};s(kw,"NextjsRouterMocksNotAvailable");var N6=kw,Nw=class extends Ct{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:je`
|
|
155
|
+
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
156
|
+
${JSON.stringify(t.type,null,2)}
|
|
157
|
+
|
|
158
|
+
Storybook will fall back to use a generic type description instead.
|
|
159
|
+
|
|
160
|
+
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
161
|
+
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
162
|
+
`}),this.data=t}};s(Nw,"UnknownArgTypesError");var B6=Nw,Bw=class extends Ct{constructor(t){super({category:"ADDON_VITEST",code:1,message:je`
|
|
163
|
+
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
164
|
+
|
|
165
|
+
The Storybook plugin only supports values in the following units:
|
|
166
|
+
- px, vh, vw, em, rem and %.
|
|
167
|
+
|
|
168
|
+
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
|
|
169
|
+
`}),this.data=t}};s(Bw,"UnsupportedViewportDimensionError");var j6=Bw,jw=class extends Ct{constructor(){super({category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}};s(jw,"ElementA11yParameterError");var q6=jw,qw={};Jt(qw,{Addon_TypesEnum:()=>Mw});var Mw=(e=>(e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.experimental_PAGE="page",e.experimental_TEST_PROVIDER="test-provider",e))(Mw||{}),Lw={};Jt(Lw,{ADDON_ID:()=>Du,CLEAR_ID:()=>$6,CYCLIC_KEY:()=>U6,EVENT_ID:()=>$w,PANEL_ID:()=>L6,PARAM_KEY:()=>M6,action:()=>Jo,actions:()=>fz,config:()=>es,configureActions:()=>cz});var M6="actions",Du="storybook/actions",L6=`${Du}/panel`,$w=`${Du}/action-event`,$6=`${Du}/action-clear`,U6="$___storybook.isCyclic",cd={};Jt(cd,{DocsContext:()=>Rb,HooksContext:()=>Xh,Preview:()=>wI,PreviewWeb:()=>oz,PreviewWithSelection:()=>FI,ReporterAPI:()=>Pb,StoryStore:()=>gI,UrlStore:()=>MI,WebView:()=>UI,addons:()=>Xt,applyHooks:()=>Jw,combineArgs:()=>uu,combineParameters:()=>Oa,composeConfigs:()=>Ra,composeStepRunners:()=>Sb,composeStories:()=>fI,composeStory:()=>Ob,createPlaywrightTest:()=>hI,decorateStory:()=>bb,defaultDecorateStory:()=>Eb,emitTransformCode:()=>zI,filterArgTypes:()=>sI,getCsfFactoryAnnotations:()=>Db,inferControls:()=>xb,makeDecorator:()=>z6,mockChannel:()=>Yh,normalizeArrays:()=>Ze,normalizeProjectAnnotations:()=>Zi,normalizeStory:()=>Qi,pauseAnimations:()=>zc,prepareMeta:()=>Cb,prepareStory:()=>Jc,sanitizeStoryContextUpdate:()=>vb,setDefaultProjectAnnotations:()=>cI,setProjectAnnotations:()=>dI,simulateDOMContentLoaded:()=>fu,simulatePageLoad:()=>JI,sortStoriesV7:()=>zJ,useArgs:()=>Zw,useCallback:()=>fo,useChannel:()=>Xw,useEffect:()=>Jn,useGlobals:()=>eA,useMemo:()=>em,useParameter:()=>Qw,useReducer:()=>Yw,useRef:()=>Gw,useState:()=>Kw,useStoryContext:()=>ss,userOrAutoTitle:()=>VJ,userOrAutoTitleFromSpecifier:()=>vI,waitForAnimations:()=>Gc});function Yh(){let e={setHandler:s(()=>{},"setHandler"),send:s(()=>{},"send")};return new xu({transport:e})}s(Yh,"mockChannel");var Uw=class{constructor(){this.getChannel=s(()=>{if(!this.channel){let t=Yh();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=s(()=>this.promise,"ready"),this.hasChannel=s(()=>!!this.channel,"hasChannel"),this.setChannel=s(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};s(Uw,"AddonStore");var V6=Uw,dp="__STORYBOOK_ADDONS_PREVIEW";function Vw(){return de[dp]||(de[dp]=new V6),de[dp]}s(Vw,"getAddonsStore");var Xt=Vw(),Hw=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=s(t=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Xt.getChannel().on(Cl,this.renderListener)}removeRenderListeners(){Xt.getChannel().removeListener(Cl,this.renderListener)}};s(Hw,"HooksContext");var Xh=Hw;function pd(e){let t=s((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],a=n.currentPhase,o=n.currentHooks,i=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=de.STORYBOOK_HOOKS_CONTEXT;de.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(de.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=a,n.currentHooks=o,n.nextHookIndex=i,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}s(pd,"hookify");var fp=0,H6=25,Jw=s(e=>(t,r)=>{let n=e(pd(t),r.map(a=>pd(a)));return a=>{let{hooks:o}=a;o.prevMountedDecorators??(o.prevMountedDecorators=new Set),o.mountedDecorators=new Set([t,...r]),o.currentContext=a,o.hasUpdates=!1;let i=n(a);for(fp=1;o.hasUpdates;)if(o.hasUpdates=!1,o.currentEffects=[],i=n(a),fp+=1,fp>H6)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return o.addRenderListeners(),i}},"applyHooks"),J6=s((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Qh=s(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Zh(){return de.STORYBOOK_HOOKS_CONTEXT||null}s(Zh,"getHooksContextOrNull");function Ou(){let e=Zh();if(e==null)throw Qh();return e}s(Ou,"getHooksContextOrThrow");function zw(e,t,r){let n=Ou();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ot.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let a={name:e,deps:r};return n.currentHooks.push(a),t(a),a}if(n.currentPhase==="UPDATE"){let a=n.getNextHook();if(a==null)throw new Error("Rendered more hooks than during the previous render.");return a.name!==e&&ot.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&a.deps==null&&ot.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&a.deps!=null&&r.length!==a.deps.length&&ot.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
170
|
+
Previous: ${a.deps}
|
|
171
|
+
Incoming: ${r}`),(r==null||a.deps==null||!J6(r,a.deps))&&(t(a),a.deps=r),a}throw Qh()}s(zw,"useHook");function is(e,t,r){let{memoizedState:n}=zw(e,a=>{a.memoizedState=t()},r);return n}s(is,"useMemoLike");function em(e,t){return is("useMemo",e,t)}s(em,"useMemo");function fo(e,t){return is("useCallback",()=>e,t)}s(fo,"useCallback");function tm(e,t){return is(e,()=>({current:t}),[])}s(tm,"useRefLike");function Gw(e){return tm("useRef",e)}s(Gw,"useRef");function Ww(){let e=Zh();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Xt.getChannel().emit(Rh)}catch{ot.warn("State updates of Storybook preview hooks work only in browser")}}s(Ww,"triggerUpdate");function rm(e,t){let r=tm(e,typeof t=="function"?t():t),n=s(a=>{r.current=typeof a=="function"?a(r.current):a,Ww()},"setState");return[r.current,n]}s(rm,"useStateLike");function Kw(e){return rm("useState",e)}s(Kw,"useState");function Yw(e,t,r){let n=r!=null?()=>r(t):t,[a,o]=rm("useReducer",n);return[a,s(i=>o(l=>e(l,i)),"dispatch")]}s(Yw,"useReducer");function Jn(e,t){let r=Ou(),n=is("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}s(Jn,"useEffect");function Xw(e,t=[]){let r=Xt.getChannel();return Jn(()=>(Object.entries(e).forEach(([n,a])=>r.on(n,a)),()=>{Object.entries(e).forEach(([n,a])=>r.removeListener(n,a))}),[...Object.keys(e),...t]),fo(r.emit.bind(r),[r])}s(Xw,"useChannel");function ss(){let{currentContext:e}=Ou();if(e==null)throw Qh();return e}s(ss,"useStoryContext");function Qw(e,t){let{parameters:r}=ss();if(e)return r[e]??t}s(Qw,"useParameter");function Zw(){let e=Xt.getChannel(),{id:t,args:r}=ss(),n=fo(o=>e.emit(Nh,{storyId:t,updatedArgs:o}),[e,t]),a=fo(o=>e.emit(Fh,{storyId:t,argNames:o}),[e,t]);return[r,n,a]}s(Zw,"useArgs");function eA(){let e=Xt.getChannel(),{globals:t}=ss(),r=fo(n=>e.emit(kh,{globals:n}),[e]);return[t,r]}s(eA,"useGlobals");var z6=s(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let a=s(o=>(i,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!o&&!u?i(l):r(i,l,{options:o,parameters:u})},"decorator");return(...o)=>typeof o[0]=="function"?a()(...o):(...i)=>{if(i.length>1)return o.length>1?a(o)(...i):a(...o)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
172
|
+
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function tA(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,a)=>`${r} ${n}${a}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}s(tA,"toStartCaseStr");var Av=Et(bN(),1),rA=s(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),G6=s((e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(rA([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,Av.isEqual)(t,n);if(typeof a<"u")return!(0,Av.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},"testValue"),W6=s((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(rA([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return G6(e.if,o)},"includeConditionalArg"),nA={};Jt(nA,{argsEnhancers:()=>X6});var aA=s((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),K6=s(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:a}}=e;if(!a||a.disable||!a.argTypesRegex||!r)return{};let o=new RegExp(a.argTypesRegex);return Object.entries(r).filter(([i])=>!!o.test(i)).reduce((i,[l,u])=>(aA(l,t)&&(i[l]=Jo(l,{implicit:!0,id:n})),i),{})},"inferActionsFromArgTypesRegex"),Y6=s(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([a,o])=>!!o.action).reduce((a,[o,i])=>(aA(o,t)&&(a[o]=Jo(typeof i.action=="string"?i.action:o)),a),{})},"addActionsFromArgTypes"),X6=[Y6,K6],oA={};Jt(oA,{loaders:()=>uH});var iA={};Jt(iA,{buildQueries:()=>UU,clearAllMocks:()=>dg,configure:()=>VU,createEvent:()=>HU,expect:()=>iH,findAllByAltText:()=>zU,findAllByDisplayValue:()=>GU,findAllByLabelText:()=>WU,findAllByPlaceholderText:()=>KU,findAllByRole:()=>YU,findAllByTestId:()=>XU,findAllByText:()=>QU,findAllByTitle:()=>ZU,findByAltText:()=>eV,findByDisplayValue:()=>tV,findByLabelText:()=>rV,findByPlaceholderText:()=>nV,findByRole:()=>aV,findByTestId:()=>oV,findByText:()=>iV,findByTitle:()=>sV,fireEvent:()=>JU,fn:()=>cg,getAllByAltText:()=>lV,getAllByDisplayValue:()=>uV,getAllByLabelText:()=>cV,getAllByPlaceholderText:()=>pV,getAllByRole:()=>dV,getAllByTestId:()=>fV,getAllByText:()=>hV,getAllByTitle:()=>mV,getByAltText:()=>yV,getByDisplayValue:()=>gV,getByLabelText:()=>bV,getByPlaceholderText:()=>vV,getByRole:()=>EV,getByTestId:()=>CV,getByText:()=>wV,getByTitle:()=>AV,getConfig:()=>xV,getDefaultNormalizer:()=>SV,getElementError:()=>_V,getNodeText:()=>TV,getQueriesForElement:()=>PV,getRoles:()=>DV,getSuggestedQuery:()=>OV,isInaccessible:()=>RV,isMockFunction:()=>ga,logDOM:()=>FV,logRoles:()=>IV,mocked:()=>PT,mocks:()=>Cs,onMockCall:()=>ug,prettyDOM:()=>kV,prettyFormat:()=>aH,queries:()=>NV,queryAllByAltText:()=>BV,queryAllByAttribute:()=>jV,queryAllByDisplayValue:()=>qV,queryAllByLabelText:()=>MV,queryAllByPlaceholderText:()=>LV,queryAllByRole:()=>$V,queryAllByTestId:()=>UV,queryAllByText:()=>VV,queryAllByTitle:()=>HV,queryByAltText:()=>JV,queryByAttribute:()=>zV,queryByDisplayValue:()=>GV,queryByLabelText:()=>WV,queryByPlaceholderText:()=>KV,queryByRole:()=>YV,queryByTestId:()=>XV,queryByText:()=>QV,queryByTitle:()=>ZV,queryHelpers:()=>eH,resetAllMocks:()=>fg,restoreAllMocks:()=>hg,sb:()=>sH,screen:()=>tH,spyOn:()=>N7,uninstrumentedUserEvent:()=>EF,userEvent:()=>oH,waitFor:()=>rH,waitForElementToBeRemoved:()=>nH,within:()=>vF});var Q6={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},Z6=Object.entries(Q6);function Ru(e){return String(e)}s(Ru,"a");Ru.open="";Ru.close="";function sA(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}s(sA,"C");function lA(e=!1){let t=sA(e),r=s((i,l,u,c)=>{let p="",d=0;do p+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return p+i.substring(d)},"i"),n=s((i,l,u=i)=>{let c=s(p=>{let d=String(p),h=d.indexOf(l,i.length);return~h?i+r(d,l,u,h)+l:i+d+l},"o");return c.open=i,c.close=l,c},"g"),a={isColorSupported:t},o=s(i=>`\x1B[${i}m`,"d");for(let[i,l]of Z6)a[i]=t?n(o(l[0]),o(l[1]),l[2]):Ru;return a}s(lA,"p");var bt=lA();function nm(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:s(function(){return r[n]},"get")})}})}),Object.freeze(e)}s(nm,"_mergeNamespaces");function uA(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}s(uA,"getKeysOfEnumerableProperties");function ko(e,t,r,n,a,o,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let p=r+t.indent;for(;!c.done;){if(l+=p,u++===t.maxWidth){l+="…";break}let d=o(c.value[0],t,p,n,a),h=o(c.value[1],t,p,n,a);l+=d+i+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}s(ko,"printIteratorEntries");function Fu(e,t,r,n,a,o){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}s(Fu,"printIteratorValues");function ki(e,t,r,n,a,o){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=s(c=>c instanceof DataView,"isDataView"),u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let p=0;p<u;p++){if(i+=c,p===t.maxWidth){i+="…";break}(l(e)||p in e)&&(i+=o(l(e)?e.getInt8(p):e[p],t,c,n,a)),p<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(ki,"printListItems");function Iu(e,t,r,n,a,o){let i="",l=uA(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let p=l[c],d=o(p,t,u,n,a),h=o(e[p],t,u,n,a);i+=`${u+d}: ${h}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(Iu,"printObjectProperties");var e9=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,hp=" ",t9=s((e,t,r,n,a,o)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+hp}[${ki(e.sample,t,r,n,a,o)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+hp}{${Iu(e.sample,t,r,n,a,o)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+hp+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),r9=s(e=>e&&e.$$typeof===e9,"test$5"),n9={serialize:t9,test:r9},a9=" ",cA=new Set(["DOMStringMap","NamedNodeMap"]),o9=/^(?:HTML\w*Collection|NodeList)$/;function pA(e){return cA.has(e)||o9.test(e)}s(pA,"testName");var i9=s(e=>e&&e.constructor&&!!e.constructor.name&&pA(e.constructor.name),"test$4");function dA(e){return e.constructor.name==="NamedNodeMap"}s(dA,"isNamedNodeMap");var s9=s((e,t,r,n,a,o)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+a9)+(cA.has(i)?`{${Iu(dA(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,o)}}`:`[${ki([...e],t,r,n,a,o)}]`)},"serialize$4"),l9={serialize:s9,test:i9};function am(e){return e.replaceAll("<","<").replaceAll(">",">")}s(am,"escapeHTML");function ku(e,t,r,n,a,o,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=i(p,r,l,a,o);return typeof p!="string"&&(d.includes(`
|
|
173
|
+
`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}s(ku,"printProps");function Nu(e,t,r,n,a,o){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?om(i,t):o(i,t,r,n,a))).join("")}s(Nu,"printChildren");function om(e,t){let r=t.colors.content;return r.open+am(e)+r.close}s(om,"printText");function fA(e,t){let r=t.colors.comment;return`${r.open}<!--${am(e)}-->${r.close}`}s(fA,"printComment");function Bu(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}</${e}`:`${t&&!n.min?"":" "}/`}>${o.close}`}s(Bu,"printElement");function ju(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}s(ju,"printElementAsLeaf");var u9=1,hA=3,mA=8,yA=11,c9=/^(?:(?:HTML|SVG)\w*)?Element$/;function gA(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}s(gA,"testHasAttribute");function bA(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||gA(e);return r===u9&&(c9.test(t)||a)||r===hA&&t==="Text"||r===mA&&t==="Comment"||r===yA&&t==="DocumentFragment"}s(bA,"testNode");var p9=s(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&bA(e)},"test$3");function vA(e){return e.nodeType===hA}s(vA,"nodeIsText");function EA(e){return e.nodeType===mA}s(EA,"nodeIsComment");function Xs(e){return e.nodeType===yA}s(Xs,"nodeIsFragment");var d9=s((e,t,r,n,a,o)=>{if(vA(e))return om(e.data,t);if(EA(e))return fA(e.data,t);let i=Xs(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?ju(i,t):Bu(i,ku(Xs(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Xs(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,o),Nu(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},"serialize$3"),f9={serialize:d9,test:p9},h9="@@__IMMUTABLE_ITERABLE__@@",m9="@@__IMMUTABLE_LIST__@@",y9="@@__IMMUTABLE_KEYED__@@",g9="@@__IMMUTABLE_MAP__@@",xv="@@__IMMUTABLE_ORDERED__@@",b9="@@__IMMUTABLE_RECORD__@@",v9="@@__IMMUTABLE_SEQ__@@",E9="@@__IMMUTABLE_SET__@@",C9="@@__IMMUTABLE_STACK__@@",ho=s(e=>`Immutable.${e}`,"getImmutableName"),qu=s(e=>`[${e}]`,"printAsLeaf"),Ni=" ",Sv="…";function CA(e,t,r,n,a,o,i){return++n>t.maxDepth?qu(ho(i)):`${ho(i)+Ni}{${ko(e.entries(),t,r,n,a,o)}}`}s(CA,"printImmutableEntries");function wA(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}s(wA,"getRecordEntries");function AA(e,t,r,n,a,o){let i=ho(e._name||"Record");return++n>t.maxDepth?qu(i):`${i+Ni}{${ko(wA(e),t,r,n,a,o)}}`}s(AA,"printImmutableRecord");function xA(e,t,r,n,a,o){let i=ho("Seq");return++n>t.maxDepth?qu(i):e[y9]?`${i+Ni}{${e._iter||e._object?ko(e.entries(),t,r,n,a,o):Sv}}`:`${i+Ni}[${e._iter||e._array||e._collection||e._iterable?Fu(e.values(),t,r,n,a,o):Sv}]`}s(xA,"printImmutableSeq");function Qs(e,t,r,n,a,o,i){return++n>t.maxDepth?qu(ho(i)):`${ho(i)+Ni}[${Fu(e.values(),t,r,n,a,o)}]`}s(Qs,"printImmutableValues");var w9=s((e,t,r,n,a,o)=>e[g9]?CA(e,t,r,n,a,o,e[xv]?"OrderedMap":"Map"):e[m9]?Qs(e,t,r,n,a,o,"List"):e[E9]?Qs(e,t,r,n,a,o,e[xv]?"OrderedSet":"Set"):e[C9]?Qs(e,t,r,n,a,o,"Stack"):e[v9]?xA(e,t,r,n,a,o):AA(e,t,r,n,a,o),"serialize$2"),A9=s(e=>e&&(e[h9]===!0||e[b9]===!0),"test$2"),x9={serialize:w9,test:A9};function im(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(im,"getDefaultExportFromCjs");var _v={exports:{}},Ye={},Tv;function SA(){if(Tv)return Ye;Tv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var g=y.$$typeof;switch(g){case e:switch(y=y.type,y){case r:case a:case n:case u:case c:case h:return y;default:switch(y=y&&y.$$typeof,y){case i:case l:case d:case p:return y;case o:return y;default:return g}}case t:return g}}}return s(m,"typeOf"),Ye.ContextConsumer=o,Ye.ContextProvider=i,Ye.Element=e,Ye.ForwardRef=l,Ye.Fragment=r,Ye.Lazy=d,Ye.Memo=p,Ye.Portal=t,Ye.Profiler=a,Ye.StrictMode=n,Ye.Suspense=u,Ye.SuspenseList=c,Ye.isContextConsumer=function(y){return m(y)===o},Ye.isContextProvider=function(y){return m(y)===i},Ye.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Ye.isForwardRef=function(y){return m(y)===l},Ye.isFragment=function(y){return m(y)===r},Ye.isLazy=function(y){return m(y)===d},Ye.isMemo=function(y){return m(y)===p},Ye.isPortal=function(y){return m(y)===t},Ye.isProfiler=function(y){return m(y)===a},Ye.isStrictMode=function(y){return m(y)===n},Ye.isSuspense=function(y){return m(y)===u},Ye.isSuspenseList=function(y){return m(y)===c},Ye.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===a||y===n||y===u||y===c||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===p||y.$$typeof===i||y.$$typeof===o||y.$$typeof===l||y.$$typeof===f||y.getModuleId!==void 0)},Ye.typeOf=m,Ye}s(SA,"requireReactIs_production");var Pv;function _A(){return Pv||(Pv=1,_v.exports=SA()),_v.exports}s(_A,"requireReactIs$1");var TA=_A(),S9=im(TA),_9=nm({__proto__:null,default:S9},[TA]),Dv={exports:{}},Ge={},Ov;function PA(){if(Ov)return Ge;Ov=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case a:case n:case c:case p:return g;default:switch(g=g&&g.$$typeof,g){case l:case i:case u:case h:case d:case o:return g;default:return b}}case t:return b}}}return s(y,"v"),Ge.ContextConsumer=i,Ge.ContextProvider=o,Ge.Element=e,Ge.ForwardRef=u,Ge.Fragment=r,Ge.Lazy=h,Ge.Memo=d,Ge.Portal=t,Ge.Profiler=a,Ge.StrictMode=n,Ge.Suspense=c,Ge.SuspenseList=p,Ge.isAsyncMode=function(){return!1},Ge.isConcurrentMode=function(){return!1},Ge.isContextConsumer=function(g){return y(g)===i},Ge.isContextProvider=function(g){return y(g)===o},Ge.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ge.isForwardRef=function(g){return y(g)===u},Ge.isFragment=function(g){return y(g)===r},Ge.isLazy=function(g){return y(g)===h},Ge.isMemo=function(g){return y(g)===d},Ge.isPortal=function(g){return y(g)===t},Ge.isProfiler=function(g){return y(g)===a},Ge.isStrictMode=function(g){return y(g)===n},Ge.isSuspense=function(g){return y(g)===c},Ge.isSuspenseList=function(g){return y(g)===p},Ge.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===a||g===n||g===c||g===p||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===d||g.$$typeof===o||g.$$typeof===i||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},Ge.typeOf=y,Ge}s(PA,"requireReactIs_production_min");var Rv;function DA(){return Rv||(Rv=1,Dv.exports=PA()),Dv.exports}s(DA,"requireReactIs");var OA=DA(),T9=im(OA),P9=nm({__proto__:null,default:T9},[OA]),D9=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],ia=Object.fromEntries(D9.map(e=>[e,t=>P9[e](t)||_9[e](t)]));function sm(e,t=[]){if(Array.isArray(e))for(let r of e)sm(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}s(sm,"getChildren");function dd(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(ia.isFragment(e))return"React.Fragment";if(ia.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(ia.isContextProvider(e))return"Context.Provider";if(ia.isContextConsumer(e))return"Context.Consumer";if(ia.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(ia.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}s(dd,"getType");function RA(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}s(RA,"getPropKeys$1");var O9=s((e,t,r,n,a,o)=>++n>t.maxDepth?ju(dd(e),t):Bu(dd(e),ku(RA(e),e.props,t,r+t.indent,n,a,o),Nu(sm(e.props.children),t,r+t.indent,n,a,o),t,r),"serialize$1"),R9=s(e=>e!=null&&ia.isElement(e),"test$1"),F9={serialize:O9,test:R9},I9=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function FA(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}s(FA,"getPropKeys");var k9=s((e,t,r,n,a,o)=>++n>t.maxDepth?ju(e.type,t):Bu(e.type,e.props?ku(FA(e),e.props,t,r+t.indent,n,a,o):"",e.children?Nu(e.children,t,r+t.indent,n,a,o):"",t,r),"serialize"),N9=s(e=>e&&e.$$typeof===I9,"test"),B9={serialize:k9,test:N9},IA=Object.prototype.toString,j9=Date.prototype.toISOString,q9=Error.prototype.toString,Fv=RegExp.prototype.toString;function gi(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}s(gi,"getConstructorName");function kA(e){return typeof window<"u"&&e===window}s(kA,"isWindow");var M9=/^Symbol\((.*)\)(.*)$/,L9=/\n/g,NA=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};s(NA,"PrettyFormatPluginError");var BA=NA;function jA(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}s(jA,"isToStringedArrayType");function qA(e){return Object.is(e,-0)?"-0":String(e)}s(qA,"printNumber");function MA(e){return`${e}n`}s(MA,"printBigInt");function fd(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}s(fd,"printFunction");function hd(e){return String(e).replace(M9,"Symbol($1)")}s(hd,"printSymbol");function md(e){return`[${q9.call(e)}]`}s(md,"printError");function lm(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return qA(e);if(a==="bigint")return MA(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return fd(e,t);if(a==="symbol")return hd(e);let o=IA.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?fd(e,t):o==="[object Symbol]"?hd(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":j9.call(e):o==="[object Error]"?md(e):o==="[object RegExp]"?r?Fv.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Fv.call(e):e instanceof Error?md(e):null}s(lm,"printBasicValue");function um(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!o)return hn(e.toJSON(),t,r,n,a,!0);let u=IA.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${ki(e,t,r,n,a,hn)}]`:jA(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${ki(e,t,r,n,a,hn)}]`:u==="[object Map]"?i?"[Map]":`Map {${ko(e.entries(),t,r,n,a,hn," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${Fu(e.values(),t,r,n,a,hn)}}`:i||kA(e)?`[${gi(e)}]`:`${l||!t.printBasicPrototype&&gi(e)==="Object"?"":`${gi(e)} `}{${Iu(e,t,r,n,a,hn)}}`}s(um,"printComplexValue");var $9={test:s(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a,e];let i=++n>t.maxDepth,{message:l,cause:u,...c}=e,p={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},d=e.name!=="Error"?e.name:gi(e);return i?`[${d}]`:`${d} {${ko(Object.entries(p).values(),t,r,n,a,o)}}`}};function LA(e){return e.serialize!=null}s(LA,"isNewPlugin");function cm(e,t,r,n,a,o){let i;try{i=LA(e)?e.serialize(t,r,n,a,o,hn):e.print(t,l=>hn(l,r,n,a,o),l=>{let u=n+r.indent;return u+l.replaceAll(L9,`
|
|
174
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new BA(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}s(cm,"printPlugin");function pm(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new BA(n.message,n.stack)}return null}s(pm,"findPlugin");function hn(e,t,r,n,a,o){let i=pm(t.plugins,e);if(i!==null)return cm(i,e,t,r,n,a);let l=lm(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:um(e,t,r,n,a,o)}s(hn,"printer");var dm={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},$A=Object.keys(dm),Pr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:dm};function UA(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Pr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}s(UA,"validateOptions");function VA(){return $A.reduce((e,t)=>{let r=dm[t],n=r&&bt[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}s(VA,"getColorsHighlight");function HA(){return $A.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}s(HA,"getColorsEmpty");function fm(e){return(e==null?void 0:e.printFunctionName)??Pr.printFunctionName}s(fm,"getPrintFunctionName");function hm(e){return(e==null?void 0:e.escapeRegex)??Pr.escapeRegex}s(hm,"getEscapeRegex");function mm(e){return(e==null?void 0:e.escapeString)??Pr.escapeString}s(mm,"getEscapeString");function yd(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Pr.callToJSON,colors:e!=null&&e.highlight?VA():HA(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Pr.compareKeys,escapeRegex:hm(e),escapeString:mm(e),indent:e!=null&&e.min?"":JA((e==null?void 0:e.indent)??Pr.indent),maxDepth:(e==null?void 0:e.maxDepth)??Pr.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Pr.maxWidth,min:(e==null?void 0:e.min)??Pr.min,plugins:(e==null?void 0:e.plugins)??Pr.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:fm(e),spacingInner:e!=null&&e.min?" ":`
|
|
175
|
+
`,spacingOuter:e!=null&&e.min?"":`
|
|
176
|
+
`}}s(yd,"getConfig");function JA(e){return Array.from({length:e+1}).join(" ")}s(JA,"createIndent");function Or(e,t){if(t&&(UA(t),t.plugins)){let n=pm(t.plugins,e);if(n!==null)return cm(n,e,yd(t),"",0,[])}let r=lm(e,fm(t),hm(t),mm(t));return r!==null?r:um(e,yd(t),"",0,[])}s(Or,"format");var ym={AsymmetricMatcher:n9,DOMCollection:l9,DOMElement:f9,Immutable:x9,ReactElement:F9,ReactTestComponent:B9,Error:$9},Iv={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},U9={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mo="…";function zA(e,t){let r=Iv[U9[t]]||Iv[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(zA,"colorise");function GA({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=zA),d}s(GA,"normaliseOptions");function WA(e){return e>="\uD800"&&e<="\uDBFF"}s(WA,"isHighSurrogate");function xn(e,t,r=mo){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&WA(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}s(xn,"truncate");function Ar(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;c<a;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${mo}(${e.length-c})`;let h=e[c];t.truncate=o-i.length-(p?0:n.length);let f=l||r(h,t)+(p?"":n),m=i.length+f.length,y=m+u.length;if(p&&m>o&&i.length+u.length<=o||!p&&!d&&y>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&y>o&&m+l.length>o))break;if(i+=f,!p&&!d&&m+l.length>=o){u=`${mo}(${e.length-c-1})`;break}u=""}return`${i}${u}`}s(Ar,"inspectList");function KA(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(KA,"quoteComplexKey");function yo([e,t],r){return r.truncate-=2,typeof e=="string"?e=KA(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(yo,"inspectProperty");function YA(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ar(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Ar(r.map(o=>[o,e[o]]),t,yo)),`[ ${n}${a?`, ${a}`:""} ]`}s(YA,"inspectArray");var V9=s(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Ur(e,t){let r=V9(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){let l=`${t.stylize(xn(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){a+=`${mo}(${e.length-e[i]+1})`;break}a+=l}let o="";return n.length&&(o=Ar(n.map(i=>[i,e[i]]),t,yo)),`${r}[ ${a}${o?`, ${o}`:""} ]`}s(Ur,"inspectTypedArray");function XA(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${xn(n[1],t.truncate-a.length-1)}`,"date")}s(XA,"inspectDate");function gd(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${xn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(gd,"inspectFunction");function QA([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(QA,"inspectMapEntry");function ZA(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(ZA,"mapToEntries");function ex(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Ar(ZA(e),t,QA)} }`)}s(ex,"inspectMap");var H9=Number.isNaN||(e=>e!==e);function bd(e,t){return H9(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(xn(String(e),t.truncate),"number")}s(bd,"inspectNumber");function vd(e,t){let r=xn(e.toString(),t.truncate-1);return r!==mo&&(r+="n"),t.stylize(r,"bigint")}s(vd,"inspectBigInt");function tx(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${xn(a,n)}/${r}`,"regexp")}s(tx,"inspectRegExp");function rx(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(rx,"arrayFromSet");function nx(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ar(rx(e),t)} }`)}s(nx,"inspectSet");var kv=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),J9={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},z9=16;function ax(e){return J9[e]||`\\u${`0000${e.charCodeAt(0).toString(z9)}`.slice(-4)}`}s(ax,"escape");function Ed(e,t){return kv.test(e)&&(e=e.replace(kv,ax)),t.stylize(`'${xn(e,t.truncate-2)}'`,"string")}s(Ed,"inspectString");function Cd(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(Cd,"inspectSymbol");var ox=s(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(ox=s((n,a)=>{let[o,i]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`},"getPromiseValue"))}catch{}var G9=ox;function bi(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Ar(r.map(l=>[l,e[l]]),t,yo),o=Ar(n.map(l=>[l,e[l]]),t,yo);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}s(bi,"inspectObject");var mp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ix(e,t){let r="";return mp&&mp in e&&(r=e[mp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${bi(e,t)}`}s(ix,"inspectClass");function sx(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ar(e,t)} ]`)}s(sx,"inspectArguments");var W9=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function lx(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>W9.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=xn(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Ar(r.map(i=>[i,e[i]]),t,yo);return`${n}${a}${o?` { ${o} }`:""}`}s(lx,"inspectObject");function ux([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s(ux,"inspectAttribute");function wl(e,t){return Ar(e,t,cx,`
|
|
177
|
+
`)}s(wl,"inspectNodeCollection");function cx(e,t){switch(e.nodeType){case 1:return gm(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}s(cx,"inspectNode");function gm(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ar(r.map(p=>[p,e.getAttribute(p)]),t,ux," ")),t.truncate-=l.length;let u=t.truncate,c=wl(e.children,t);return c&&c.length>u&&(c=`${mo}(${e.children.length})`),`${a}${l}${o}${c}${i}`}s(gm,"inspectHTML");var K9=typeof Symbol=="function"&&typeof Symbol.for=="function",yp=K9?Symbol.for("chai/inspect"):"@@chai/inspect",gp=Symbol.for("nodejs.util.inspect.custom"),Nv=new WeakMap,Bv={},jv={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:bd,Number:bd,bigint:vd,BigInt:vd,string:Ed,String:Ed,function:gd,Function:gd,symbol:Cd,Symbol:Cd,Array:YA,Date:XA,Map:ex,Set:nx,RegExp:tx,Promise:G9,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:sx,Int8Array:Ur,Uint8Array:Ur,Uint8ClampedArray:Ur,Int16Array:Ur,Uint16Array:Ur,Int32Array:Ur,Uint32Array:Ur,Float32Array:Ur,Float64Array:Ur,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:lx,HTMLCollection:wl,NodeList:wl},Y9=s((e,t,r)=>yp in e&&typeof e[yp]=="function"?e[yp](t):gp in e&&typeof e[gp]=="function"?e[gp](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Nv.has(e.constructor)?Nv.get(e.constructor)(e,t):Bv[r]?Bv[r](e,t):"","inspectCustom"),X9=Object.prototype.toString;function Al(e,t={}){let r=GA(t,Al),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=X9.call(e).slice(8,-1)),a in jv)return jv[a](e,r);if(n&&e){let i=Y9(e,r,a);if(i)return typeof i=="string"?i:Al(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?bi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?gm(e,r):"constructor"in e?e.constructor!==Object?ix(e,r):bi(e,r):e===Object(e)?bi(e,r):r.stylize(String(e),a)}s(Al,"inspect");var{AsymmetricMatcher:Q9,DOMCollection:Z9,DOMElement:e4,Immutable:t4,ReactElement:r4,ReactTestComponent:n4}=ym,qv=[n4,r4,e4,Z9,t4,Q9];function Qt(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=Or(e,{maxDepth:t,escapeString:!1,plugins:qv,...n})}catch{o=Or(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:qv,...n})}return o.length>=a&&t>1?Qt(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):o}s(Qt,"stringify");var a4=/%[sdjifoOc%]/g;function px(...e){if(typeof e[0]!="string"){let o=[];for(let i=0;i<e.length;i++)o.push(Ja(e[i],{depth:0,colors:!1}));return o.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace(a4,o=>{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?typeof i.toString=="function"&&i.toString!==Object.prototype.toString?i.toString():Ja(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ja(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ja(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return o}});for(let o=e[r];r<t;o=e[++r])o===null||typeof o!="object"?a+=` ${o}`:a+=` ${Ja(o)}`;return a}s(px,"format");function Ja(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Al(e,t)}s(Ja,"inspect");function dx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(dx,"getDefaultExportFromCjs");function Vr(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}s(Vr,"assertTypes");function vi(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(vi,"isObject");function fx(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}s(fx,"isFinalObj");function Bi(e){return Object.prototype.toString.apply(e).slice(8,-1)}s(Bi,"getType");function hx(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}s(hx,"collectOwnProperties");function bm(e){let t=new Set;return fx(e)?[]:(hx(e,t),Array.from(t))}s(bm,"getOwnProperties");var mx={forceWritable:!1};function wd(e,t=mx){return xl(e,new WeakMap,t)}s(wd,"deepClone");function xl(e,t,r=mx){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=xl(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=bm(e);for(let i of o){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=xl(e[i],t,r);r.forceWritable?Object.defineProperty(a,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,i,{...l,get(){return u}}):Object.defineProperty(a,i,{...l,value:u})}return a}return e}s(xl,"clone");function yx(){}s(yx,"noop");var $t=-1,Rt=1,gt=0,gx=class{constructor(t,r){tr(this,0);tr(this,1);this[0]=t,this[1]=r}};s(gx,"Diff");var ft=gx;function bx(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(o,a)===t.substring(o,a)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(bx,"diff_commonPrefix");function vm(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(e.length-a,e.length-o)===t.substring(t.length-a,t.length-o)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(vm,"diff_commonSuffix");function Ad(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let a=Math.min(r,n);if(e===t)return a;let o=0,i=1;for(;;){let l=e.substring(a-i),u=t.indexOf(l);if(u===-1)return o;i+=u,(u===0||e.substring(a-i)===t.substring(0,i))&&(o=i,i++)}}s(Ad,"diff_commonOverlap_");function vx(e){let t=!1,r=[],n=0,a=null,o=0,i=0,l=0,u=0,c=0;for(;o<e.length;)e[o][0]===gt?(r[n++]=o,i=u,l=c,u=0,c=0,a=e[o][1]):(e[o][0]===Rt?u+=e[o][1].length:c+=e[o][1].length,a&&a.length<=Math.max(i,l)&&a.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new ft($t,a)),e[r[n-1]+1][0]=Rt,n--,n--,o=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,a=null,t=!0)),o++;for(t&&Em(e),Ex(e),o=1;o<e.length;){if(e[o-1][0]===$t&&e[o][0]===Rt){let p=e[o-1][1],d=e[o][1],h=Ad(p,d),f=Ad(d,p);h>=f?(h>=p.length/2||h>=d.length/2)&&(e.splice(o,0,new ft(gt,d.substring(0,h))),e[o-1][1]=p.substring(0,p.length-h),e[o+1][1]=d.substring(h),o++):(f>=p.length/2||f>=d.length/2)&&(e.splice(o,0,new ft(gt,p.substring(0,f))),e[o-1][0]=Rt,e[o-1][1]=d.substring(0,d.length-f),e[o+1][0]=$t,e[o+1][1]=p.substring(f),o++),o++}o++}}s(vx,"diff_cleanupSemantic");var Mv=/[^a-z0-9]/i,Lv=/\s/,$v=/[\r\n]/,o4=/\n\r?\n$/,i4=/^\r?\n\r?\n/;function Ex(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===gt&&e[t+1][0]===gt){let r=e[t-1][1],n=e[t][1],a=e[t+1][1],o=vm(r,n);if(o){let p=n.substring(n.length-o);r=r.substring(0,r.length-o),n=p+n.substring(0,n.length-o),a=p+a}let i=r,l=n,u=a,c=oi(r,n)+oi(n,a);for(;n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);let p=oi(r,n)+oi(n,a);p>=c&&(c=p,i=r,l=n,u=a)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}s(Ex,"diff_cleanupSemanticLossless");function Em(e){e.push(new ft(gt,""));let t=0,r=0,n=0,a="",o="",i;for(;t<e.length;)switch(e[t][0]){case Rt:n++,o+=e[t][1],t++;break;case $t:r++,a+=e[t][1],t++;break;case gt:r+n>1?(r!==0&&n!==0&&(i=bx(o,a),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===gt?e[t-r-n-1][1]+=o.substring(0,i):(e.splice(0,0,new ft(gt,o.substring(0,i))),t++),o=o.substring(i),a=a.substring(i)),i=vm(o,a),i!==0&&(e[t][1]=o.substring(o.length-i)+e[t][1],o=o.substring(0,o.length-i),a=a.substring(0,a.length-i))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new ft($t,a)),t++),o.length&&(e.splice(t,0,new ft(Rt,o)),t++),t++):t!==0&&e[t-1][0]===gt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===gt&&e[t+1][0]===gt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Em(e)}s(Em,"diff_cleanupMerge");function oi(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),a=r.match(Mv),o=n.match(Mv),i=a&&r.match(Lv),l=o&&n.match(Lv),u=i&&r.match($v),c=l&&n.match($v),p=u&&e.match(o4),d=c&&t.match(i4);return p||d?5:u||c?4:a&&!i&&l?3:i||l?2:a||o?1:0}s(oi,"diff_cleanupSemanticScore_");var Cx="Compared values have no visual difference.",s4="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ns={},Uv;function wx(){if(Uv)return Ns;Uv=1,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.default=h;let e="diff-sequences",t=0,r=s((f,m,y,g,b)=>{let v=0;for(;f<m&&y<g&&b(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=s((f,m,y,g,b)=>{let v=0;for(;f<=m&&y<=g&&b(m,g);)m-=1,g-=1,v+=1;return v},"countCommonItemsR"),a=s((f,m,y,g,b,v,D)=>{let S=0,P=-f,w=v[S],E=w;v[S]+=r(w+1,m,g+w-P+1,y,b);let C=f<D?f:D;for(S+=1,P+=2;S<=C;S+=1,P+=2){if(S!==f&&E<v[S])w=v[S];else if(w=E+1,m<=w)return S-1;E=v[S],v[S]=w+r(w+1,m,g+w-P+1,y,b)}return D},"extendPathsF"),o=s((f,m,y,g,b,v,D)=>{let S=0,P=f,w=v[S],E=w;v[S]-=n(m,w-1,y,g+w-P-1,b);let C=f<D?f:D;for(S+=1,P-=2;S<=C;S+=1,P-=2){if(S!==f&&v[S]<E)w=v[S];else if(w=E-1,w<m)return S-1;E=v[S],v[S]=w-n(m,w-1,y,g+w-P-1,b)}return D},"extendPathsR"),i=s((f,m,y,g,b,v,D,S,P,w,E)=>{let C=g-m,_=y-m,N=b-g-_,B=-N-(f-1),J=-N+(f-1),G=t,R=f<S?f:S;for(let L=0,j=-f;L<=R;L+=1,j+=2){let W=L===0||L!==f&&G<D[L],K=W?D[L]:G,ae=W?K:K+1,se=C+ae-j,Z=r(ae+1,y,se+1,b,v),z=ae+Z;if(G=D[L],D[L]=z,B<=j&&j<=J){let Q=(f-1-(j+N))/2;if(Q<=w&&P[Q]-1<=z){let ee=C+K-(W?j+1:j-1),le=n(m,K,g,ee,v),re=K-le,me=ee-le,Ee=re+1,it=me+1;E.nChangePreceding=f-1,f-1===Ee+it-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=Ee,E.bEndPreceding=it),E.nCommonPreceding=le,le!==0&&(E.aCommonPreceding=Ee,E.bCommonPreceding=it),E.nCommonFollowing=Z,Z!==0&&(E.aCommonFollowing=ae+1,E.bCommonFollowing=se+1);let ht=z+1,Y=se+Z+1;return E.nChangeFollowing=f-1,f-1===y+b-ht-Y?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=ht,E.bStartFollowing=Y),!0}}}return!1},"extendOverlappablePathsF"),l=s((f,m,y,g,b,v,D,S,P,w,E)=>{let C=b-y,_=y-m,N=b-g-_,B=N-f,J=N+f,G=t,R=f<w?f:w;for(let L=0,j=f;L<=R;L+=1,j-=2){let W=L===0||L!==f&&P[L]<G,K=W?P[L]:G,ae=W?K:K-1,se=C+ae-j,Z=n(m,ae-1,g,se-1,v),z=ae-Z;if(G=P[L],P[L]=z,B<=j&&j<=J){let Q=(f+(j-N))/2;if(Q<=S&&z-1<=D[Q]){let ee=se-Z;if(E.nChangePreceding=f,f===z+ee-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=z,E.bEndPreceding=ee),E.nCommonPreceding=Z,Z!==0&&(E.aCommonPreceding=z,E.bCommonPreceding=ee),E.nChangeFollowing=f-1,f===1)E.nCommonFollowing=0,E.aStartFollowing=y,E.bStartFollowing=b;else{let le=C+K-(W?j-1:j+1),re=r(K,y,le,b,v);E.nCommonFollowing=re,re!==0&&(E.aCommonFollowing=K,E.bCommonFollowing=le);let me=K+re,Ee=le+re;f-1===y+b-me-Ee?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=me,E.bStartFollowing=Ee)}return!0}}}return!1},"extendOverlappablePathsR"),u=s((f,m,y,g,b,v,D,S,P)=>{let w=g-m,E=b-y,C=y-m,_=b-g,N=_-C,B=C,J=C;if(D[0]=m-1,S[0]=y,N%2===0){let G=(f||N)/2,R=(C+_)/2;for(let L=1;L<=R;L+=1)if(B=a(L,y,b,w,v,D,B),L<G)J=o(L,m,g,E,v,S,J);else if(l(L,m,y,g,b,v,D,B,S,J,P))return}else{let G=((f||N)+1)/2,R=(C+_+1)/2,L=1;for(B=a(L,y,b,w,v,D,B),L+=1;L<=R;L+=1)if(J=o(L-1,m,g,E,v,S,J),L<G)B=a(L,y,b,w,v,D,B);else if(i(L,m,y,g,b,v,D,B,S,J,P))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${g} bEnd=${b}`)},"divide"),c=s((f,m,y,g,b,v,D,S,P,w)=>{if(b-g<y-m){if(v=!v,v&&D.length===1){let{foundSubsequence:Q,isCommon:ee}=D[0];D[1]={foundSubsequence:s((le,re,me)=>{Q(le,me,re)},"foundSubsequence"),isCommon:s((le,re)=>ee(re,le),"isCommon")}}let Z=m,z=y;m=g,y=b,g=Z,b=z}let{foundSubsequence:E,isCommon:C}=D[v?1:0];u(f,m,y,g,b,C,S,P,w);let{nChangePreceding:_,aEndPreceding:N,bEndPreceding:B,nCommonPreceding:J,aCommonPreceding:G,bCommonPreceding:R,nCommonFollowing:L,aCommonFollowing:j,bCommonFollowing:W,nChangeFollowing:K,aStartFollowing:ae,bStartFollowing:se}=w;m<N&&g<B&&c(_,m,N,g,B,v,D,S,P,w),J!==0&&E(J,G,R),L!==0&&E(L,j,W),ae<y&&se<b&&c(K,ae,y,se,b,v,D,S,P,w)},"findSubsequences"),p=s((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),d=s((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,g){p("aLength",f),p("bLength",m),d("isCommon",y),d("foundSubsequence",g);let b=r(0,f,0,m,y);if(b!==0&&g(b,0,0),f!==b||m!==b){let v=b,D=b,S=n(v,f-1,D,m-1,y),P=f-S,w=m-S,E=b+S;f!==E&&m!==E&&c(0,v,P,D,w,!1,[{foundSubsequence:g,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),S!==0&&g(S,P,w)}}return s(h,"diffSequence"),Ns}s(wx,"requireBuild");var l4=wx(),Ax=dx(l4);function xx(e,t){return e.replace(/\s+$/,r=>t(r))}s(xx,"formatTrailingSpaces");function Mu(e,t,r,n,a,o){return e.length!==0?r(`${n} ${xx(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}s(Mu,"printDiffLine");function Cm(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Mu(e,t,r,n,a,o)}s(Cm,"printDeleteLine");function wm(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Mu(e,t,r,n,a,o)}s(wm,"printInsertLine");function Am(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Mu(e,t,r,n,a,o)}s(Am,"printCommonLine");function xd(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}s(xd,"createPatchMark");function Sx(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,i=!1,l=0,u=0;for(;u!==r;){let S=u;for(;u!==r&&e[u][0]===gt;)u+=1;if(S!==u)if(S===0)u>n&&(o-=u-n,i=!0);else if(u===r){let P=u-S;P>n&&(o-=P-n,i=!0)}else{let P=u-S;P>a&&(o-=P-a,l+=1)}for(;u!==r&&e[u][0]!==gt;)u+=1}let c=l!==0||i;l!==0?o+=l+1:i&&(o+=1);let p=o-1,d=[],h=0;c&&d.push("");let f=0,m=0,y=0,g=0,b=s(S=>{let P=d.length;d.push(Am(S,P===0||P===p,t)),y+=1,g+=1},"pushCommonLine"),v=s(S=>{let P=d.length;d.push(Cm(S,P===0||P===p,t)),y+=1},"pushDeleteLine"),D=s(S=>{let P=d.length;d.push(wm(S,P===0||P===p,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let S=u;for(;u!==r&&e[u][0]===gt;)u+=1;if(S!==u)if(S===0){u>n&&(S=u-n,f=S,m=S,y=f,g=m);for(let P=S;P!==u;P+=1)b(e[P][1])}else if(u===r){let P=u-S>n?S+n:u;for(let w=S;w!==P;w+=1)b(e[w][1])}else{let P=u-S;if(P>a){let w=S+n;for(let C=S;C!==w;C+=1)b(e[C][1]);d[h]=xd(f,y,m,g,t),h=d.length,d.push("");let E=P-a;f=y+E,m=g+E,y=f,g=m;for(let C=u-n;C!==u;C+=1)b(e[C][1])}else for(let w=S;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===$t;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Rt;)D(e[u][1]),u+=1}return c&&(d[h]=xd(f,y,m,g,t)),d.join(`
|
|
178
|
+
`)}s(Sx,"joinAlignedDiffsNoExpand");function _x(e,t){return e.map((r,n,a)=>{let o=r[1],i=n===0||n===a.length-1;switch(r[0]){case $t:return Cm(o,i,t);case Rt:return wm(o,i,t);default:return Am(o,i,t)}}).join(`
|
|
179
|
+
`)}s(_x,"joinAlignedDiffsExpand");var bp=s(e=>e,"noColor"),Tx=5,u4=0;function Px(){return{aAnnotation:"Expected",aColor:bt.green,aIndicator:"-",bAnnotation:"Received",bColor:bt.red,bIndicator:"+",changeColor:bt.inverse,changeLineTrailingSpaceColor:bp,commonColor:bt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:bp,compareKeys:void 0,contextLines:Tx,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:bt.yellow,printBasicPrototype:!1,truncateThreshold:u4,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:bp}}s(Px,"getDefaultOptions");function Dx(e){return e&&typeof e=="function"?e:void 0}s(Dx,"getCompareKeys");function Ox(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Tx}s(Ox,"getContextLines");function Xn(e={}){return{...Px(),...e,compareKeys:Dx(e.compareKeys),contextLines:Ox(e.contextLines)}}s(Xn,"normalizeDiffOptions");function ua(e){return e.length===1&&e[0].length===0}s(ua,"isEmptyString");function Rx(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case $t:t+=1;break;case Rt:r+=1;break}}),{a:t,b:r}}s(Rx,"countChanges");function Fx({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",p="";if(i){let f=String(u.a),m=String(u.b),y=n.length-e.length,g=" ".repeat(Math.max(0,y)),b=" ".repeat(Math.max(0,-y)),v=m.length-f.length,D=" ".repeat(Math.max(0,v)),S=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${D}${f}`,p=`${b} ${o} ${S}${m}`}let d=`${r} ${e}${c}`,h=`${o} ${n}${p}`;return`${t(d)}
|
|
180
|
+
${a(h)}
|
|
181
|
+
|
|
182
|
+
`}s(Fx,"printAnnotation");function Lu(e,t,r){return Fx(r,Rx(e))+(r.expand?_x(e,r):Sx(e,r))+(t?r.truncateAnnotationColor(`
|
|
183
|
+
${r.truncateAnnotation}`):"")}s(Lu,"printDiffLines");function ls(e,t,r){let n=Xn(r),[a,o]=xm(ua(e)?[]:e,ua(t)?[]:t,n);return Lu(a,o,n)}s(ls,"diffLinesUnified");function Ix(e,t,r,n,a){if(ua(e)&&ua(r)&&(e=[],r=[]),ua(t)&&ua(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ls(e,t,a);let[o,i]=xm(r,n,a),l=0,u=0;return o.forEach(c=>{switch(c[0]){case $t:c[1]=e[l],l+=1;break;case Rt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Lu(o,i,Xn(a))}s(Ix,"diffLinesUnified2");function xm(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,i=n?Math.min(t.length,a):t.length,l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=[],p=0,d=0;for(Ax(o,i,u,s((h,f,m)=>{for(;p!==f;p+=1)c.push(new ft($t,e[p]));for(;d!==m;d+=1)c.push(new ft(Rt,t[d]));for(;h!==0;h-=1,p+=1,d+=1)c.push(new ft(gt,t[d]))},"foundSubsequence"));p!==o;p+=1)c.push(new ft($t,e[p]));for(;d!==i;d+=1)c.push(new ft(Rt,t[d]));return[c,l]}s(xm,"diffLinesRaw");function Sd(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}s(Sd,"getType");function _d(e){return e.includes(`\r
|
|
184
|
+
`)?`\r
|
|
185
|
+
`:`
|
|
186
|
+
`}s(_d,"getNewLineSymbol");function kx(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,i=t.length;if(n){let h=e.includes(`
|
|
187
|
+
`),f=t.includes(`
|
|
188
|
+
`),m=_d(e),y=_d(t),g=h?`${e.split(m,a).join(m)}
|
|
189
|
+
`:e,b=f?`${t.split(y,a).join(y)}
|
|
190
|
+
`:t;o=g.length,i=b.length}let l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=0,p=0,d=[];return Ax(o,i,u,s((h,f,m)=>{c!==f&&d.push(new ft($t,e.slice(c,f))),p!==m&&d.push(new ft(Rt,t.slice(p,m))),c=f+h,p=m+h,d.push(new ft(gt,t.slice(m,p)))},"foundSubsequence")),c!==o&&d.push(new ft($t,e.slice(c))),p!==i&&d.push(new ft(Rt,t.slice(p))),[d,l]}s(kx,"diffStrings");function Nx(e,t,r){return t.reduce((n,a)=>n+(a[0]===gt?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}s(Nx,"concatenateRelevantDiffs");var Bx=class{constructor(t,r){tr(this,"op");tr(this,"line");tr(this,"lines");tr(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new ft(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new ft(this.op,Nx(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ft(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
191
|
+
`)){let n=r.split(`
|
|
192
|
+
`),a=n.length-1;n.forEach((o,i)=>{i<a?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};s(Bx,"ChangeBuffer");var Vv=Bx,jx=class{constructor(t,r){tr(this,"deleteBuffer");tr(this,"insertBuffer");tr(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
193
|
+
`)){let a=n.split(`
|
|
194
|
+
`),o=a.length-1;a.forEach((i,l)=>{if(l===0){let u=new ft(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<o?this.pushDiffCommonLine(new ft(r,i)):i.length!==0&&this.pushDiffChangeLines(new ft(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};s(jx,"CommonBuffer");var c4=jx;function qx(e,t){let r=new Vv($t,t),n=new Vv(Rt,t),a=new c4(r,n);return e.forEach(o=>{switch(o[0]){case $t:r.align(o);break;case Rt:n.align(o);break;default:a.align(o)}}),a.getLines()}s(qx,"getAlignedDiffs");function Mx(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===gt&&(a!==r||n[1]!==`
|
|
195
|
+
`))}return e.some(r=>r[0]===gt)}s(Mx,"hasCommonDiff");function Lx(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
196
|
+
`)||t.includes(`
|
|
197
|
+
`),[a,o]=Sm(n?`${e}
|
|
198
|
+
`:e,n?`${t}
|
|
199
|
+
`:t,!0,r);if(Mx(a,n)){let i=Xn(r),l=qx(a,i.changeColor);return Lu(l,o,i)}}return ls(e.split(`
|
|
200
|
+
`),t.split(`
|
|
201
|
+
`),r)}s(Lx,"diffStringsUnified");function Sm(e,t,r,n){let[a,o]=kx(e,t,n);return r&&vx(a),[a,o]}s(Sm,"diffStringsRaw");function Sl(e,t){let{commonColor:r}=Xn(t);return r(e)}s(Sl,"getCommonMessage");var{AsymmetricMatcher:p4,DOMCollection:d4,DOMElement:f4,Immutable:h4,ReactElement:m4,ReactTestComponent:y4}=ym,$x=[y4,m4,f4,d4,h4,p4,ym.Error],Td={maxDepth:20,plugins:$x},Ux={callToJSON:!1,maxDepth:8,plugins:$x};function Na(e,t,r){if(Object.is(e,t))return"";let n=Sd(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==Sd(t)){let i=function(D){return D.length<=g?D:`${D.slice(0,g)}...`};s(i,"truncate");let{aAnnotation:l,aColor:u,aIndicator:c,bAnnotation:p,bColor:d,bIndicator:h}=Xn(r),f=_l(Ux,r),m=Or(e,f),y=Or(t,f),g=1e5;m=i(m),y=i(y);let b=`${u(`${c} ${l}:`)}
|
|
202
|
+
${m}`,v=`${d(`${h} ${p}:`)}
|
|
203
|
+
${y}`;return`${b}
|
|
204
|
+
|
|
205
|
+
${v}`}if(!o)switch(n){case"string":return ls(e.split(`
|
|
206
|
+
`),t.split(`
|
|
207
|
+
`),r);case"boolean":case"number":return Vx(e,t,r);case"map":return Zs(Pd(e),Pd(t),r);case"set":return Zs(Dd(e),Dd(t),r);default:return Zs(e,t,r)}}s(Na,"diff");function Vx(e,t,r){let n=Or(e,Td),a=Or(t,Td);return n===a?"":ls(n.split(`
|
|
208
|
+
`),a.split(`
|
|
209
|
+
`),r)}s(Vx,"comparePrimitive");function Pd(e){return new Map(Array.from(e.entries()).sort())}s(Pd,"sortMap");function Dd(e){return new Set(Array.from(e.values()).sort())}s(Dd,"sortSet");function Zs(e,t,r){let n,a=!1;try{let i=_l(Td,r);n=Od(e,t,i,r)}catch{a=!0}let o=Sl(Cx,r);if(n===void 0||n===o){let i=_l(Ux,r);n=Od(e,t,i,r),n!==o&&!a&&(n=`${Sl(s4,r)}
|
|
210
|
+
|
|
211
|
+
${n}`)}return n}s(Zs,"compareObjects");function _l(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:a}=Xn(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:a??e.maxDepth}}s(_l,"getFormatOptions");function Od(e,t,r,n){let a={...r,indent:0},o=Or(e,a),i=Or(t,a);if(o===i)return Sl(Cx,n);{let l=Or(e,r),u=Or(t,r);return Ix(l.split(`
|
|
212
|
+
`),u.split(`
|
|
213
|
+
`),o.split(`
|
|
214
|
+
`),i.split(`
|
|
215
|
+
`),n)}}s(Od,"getObjectsDifference");var Hv=2e4;function Rd(e){return Bi(e)==="Object"&&typeof e.asymmetricMatch=="function"}s(Rd,"isAsymmetricMatcher");function Fd(e,t){let r=Bi(e),n=Bi(t);return r===n&&(r==="Object"||r==="Array")}s(Fd,"isReplaceable");function _m(e,t,r){let{aAnnotation:n,bAnnotation:a}=Xn(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Hv&&e.length<=Hv&&t!==e){if(t.includes(`
|
|
216
|
+
`)||e.includes(`
|
|
217
|
+
`))return Lx(t,e,r);let[c]=Sm(t,e,!0),p=c.some(m=>m[0]===gt),d=Hx(n,a),h=d(n)+zx(Id(c,$t,p)),f=d(a)+Jx(Id(c,Rt,p));return`${h}
|
|
218
|
+
${f}`}let o=wd(t,{forceWritable:!0}),i=wd(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Tm(i,o);return Na(l,u,r)}s(_m,"printDiffOrStringify");function Tm(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Fd(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),bm(t).forEach(a=>{let o=t[a],i=e[a];if(Rd(o))o.asymmetricMatch(i)&&(e[a]=o);else if(Rd(i))i.asymmetricMatch(o)&&(t[a]=i);else if(Fd(i,o)){let l=Tm(i,o,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}s(Tm,"replaceAsymmetricMatcher");function Hx(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}s(Hx,"getLabelPrinter");var g4="·";function Pm(e){return e.replace(/\s+$/gm,t=>g4.repeat(t.length))}s(Pm,"replaceTrailingSpaces");function Jx(e){return bt.red(Pm(Qt(e)))}s(Jx,"printReceived");function zx(e){return bt.green(Pm(Qt(e)))}s(zx,"printExpected");function Id(e,t,r){return e.reduce((n,a)=>n+(a[0]===gt?a[1]:a[0]===t?r?bt.inverse(a[1]):a[1]:""),"")}s(Id,"getCommonAndChangedSubstrings");var b4="@@__IMMUTABLE_RECORD__@@",v4="@@__IMMUTABLE_ITERABLE__@@";function Gx(e){return e&&(e[v4]||e[b4])}s(Gx,"isImmutable");var E4=Object.getPrototypeOf({});function kd(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}s(kd,"getUnserializableMessage");function mn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&ii(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&ii(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&ii(()=>r.name??(r.name=e.name)),e.cause!=null&&ii(()=>r.cause??(r.cause=mn(e.cause,t)))),mn(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(Gx(e))return mn(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${px(e.sample)}`;if(typeof e.toJSON=="function")return mn(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=mn(n,t)}catch(o){r[a]=kd(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==E4;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=mn(e[a],t)}catch(o){delete r[a],r[a]=kd(o)}}),n=Object.getPrototypeOf(n);return r}}s(mn,"serializeValue");function ii(e){try{return e()}catch{}}s(ii,"safe");function Wx(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}s(Wx,"normalizeErrorMessage");function $u(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=_m(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Qt(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Qt(n.actual,10));try{typeof n.message=="string"&&(n.message=Wx(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=$u(n.cause,t,r))}catch{}try{return mn(n)}catch(a){return mn(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message}
|
|
219
|
+
Inner error message: ${n==null?void 0:n.message}`))}}s($u,"processError");var on={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},vp=globalThis.__STORYBOOK_ADDONS_PREVIEW,C4=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Jv=s(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),w4=s(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),A4=s(e=>{if(!Jv(e)&&!w4(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Jv(t)},"isInstrumentable"),x4=s(e=>{try{return new e.constructor}catch{return{}}},"construct"),Ep=s(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),zv=s((e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),Kx=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=s(()=>{var u,c;try{this.state=((c=(u=de.window)==null?void 0:u.parent)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=s(()=>{try{de.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=s(({storyId:u,renderPhase:c,isPlaying:p=!0,isDebugging:d=!1})=>{let h=this.getState(u);this.setState(u,{...Ep(),...zv(h,d),renderPhase:c||h.renderPhase,shadowCalls:d?h.shadowCalls:[],chainedCallIds:d?h.chainedCallIds:new Set,playUntil:d?h.playUntil:void 0,isPlaying:p,isDebugging:d}),this.sync(u)},"resetState"),r=s(u=>({storyId:c,playUntil:p})=>{this.getState(c).isDebugging||this.setState(c,({calls:h})=>({calls:[],shadowCalls:h.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let d=this.getLog(c);this.setState(c,({shadowCalls:h})=>{var m;if(p||!d.length)return{playUntil:p};let f=h.findIndex(y=>y.id===d[0].callId);return{playUntil:(m=h.slice(0,f).filter(y=>{var g;return y.interceptable&&!((g=y.ancestors)!=null&&g.length)}).slice(-1)[0])==null?void 0:m.id}}),u.emit(El,{storyId:c,isDebugging:!0})},"start"),n=s(u=>({storyId:c})=>{var h;let p=this.getLog(c).filter(f=>{var m;return!((m=f.ancestors)!=null&&m.length)}),d=p.reduceRight((f,m,y)=>f>=0||m.status==="waiting"?f:y,-1);r(u)({storyId:c,playUntil:(h=p[d-1])==null?void 0:h.callId})},"back"),a=s(u=>({storyId:c,callId:p})=>{var g;let{calls:d,shadowCalls:h,resolvers:f}=this.getState(c),m=d.find(({id:b})=>b===p),y=h.find(({id:b})=>b===p);if(!m&&y&&Object.values(f).length>0){let b=(g=this.getLog(c).find(v=>v.status==="waiting"))==null?void 0:g.callId;y.id!==b&&this.setState(c,{playUntil:y.id}),Object.values(f).forEach(v=>v())}else r(u)({storyId:c,playUntil:p})},"goto"),o=s(u=>({storyId:c})=>{var d;let{resolvers:p}=this.getState(c);if(Object.values(p).length>0)Object.values(p).forEach(h=>h());else{let h=(d=this.getLog(c).find(f=>f.status==="waiting"))==null?void 0:d.callId;h?r(u)({storyId:c,playUntil:h}):i({storyId:c})}},"next"),i=s(({storyId:u})=>{this.setState(u,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(u).resolvers).forEach(c=>c())},"end"),l=s(({storyId:u,newPhase:c})=>{let{isDebugging:p}=this.getState(u);if(c==="preparing"&&p)return t({storyId:u,renderPhase:c});if(c==="playing")return t({storyId:u,renderPhase:c,isDebugging:p});c==="played"?this.setState(u,{renderPhase:c,isLocked:!1,isPlaying:!1,isDebugging:!1}):c==="errored"?this.setState(u,{renderPhase:c,isLocked:!1,isPlaying:!1}):c==="aborted"?this.setState(u,{renderPhase:c,isLocked:!0,isPlaying:!1}):this.setState(u,{renderPhase:c}),this.sync(u)},"renderPhaseChanged");vp&&vp.ready().then(()=>{this.channel=vp.getChannel(),this.channel.on(El,t),this.channel.on(Ca,l),this.channel.on(Ih,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(on.START,r(this.channel)),this.channel.on(on.BACK,n(this.channel)),this.channel.on(on.GOTO,a(this.channel)),this.channel.on(on.NEXT,o(this.channel)),this.channel.on(on.END,i)})}getState(t){return this.state[t]||Ep()}setState(t,r){if(t){let n=this.getState(t),a=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...a}},this.updateParentWindowState()}}cleanup(){var r;this.state=Object.entries(this.state).reduce((n,[a,o])=>{let i=zv(o);return i&&(n[a]=Object.assign(Ep(),i)),n},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};(r=this.channel)==null||r.emit(on.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),a=[...n];r.forEach((i,l)=>{a[l]=i});let o=new Set;return a.reduceRight((i,l)=>(l.args.forEach(u=>{u!=null&&u.__callId__&&o.add(u.__callId__)}),l.path.forEach(u=>{u.__callId__&&o.add(u.__callId__)}),(l.interceptable||l.exception)&&!o.has(l.id)&&(i.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),o.add(l.id)),i),[])}instrument(t,r,n=0){if(!A4(t))return t;let{mutate:a=!1,path:o=[]}=r,i=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,i.reduce((l,u)=>{let c=Yx(t,u);if(typeof(c==null?void 0:c.get)=="function"){if(c.configurable){let d=s(()=>{var h,f;return(f=(h=c==null?void 0:c.get)==null?void 0:h.bind(t))==null?void 0:f()},"getter");Object.defineProperty(l,u,{get:s(()=>this.instrument(d(),{...r,path:o.concat(u)},n),"get")})}return l}let p=t[u];return typeof p!="function"?(l[u]=this.instrument(p,{...r,path:o.concat(u)},n),l):"__originalFn__"in p&&typeof p.__originalFn__=="function"?(l[u]=p,l):(l[u]=(...d)=>this.track(u,p,t,d,r),l[u].__originalFn__=p,Object.defineProperty(l[u],"name",{value:u,writable:!1}),Object.keys(p).length>0&&Object.assign(l[u],this.instrument({...p},{...r,path:o.concat(u)},n)),l)},a?t:x4(t))}track(t,r,n,a,o){var g,b,v,D;let i=((g=a==null?void 0:a[0])==null?void 0:g.__storyId__)||((D=(v=(b=de.__STORYBOOK_PREVIEW__)==null?void 0:b.selectionStore)==null?void 0:v.selection)==null?void 0:D.storyId),{cursor:l,ancestors:u}=this.getState(i);this.setState(i,{cursor:l+1});let c=`${u.slice(-1)[0]||i} [${l}] ${t}`,{path:p=[],intercept:d=!1,retain:h=!1}=o,f=typeof d=="function"?d(t,p):d,m={id:c,cursor:l,storyId:i,ancestors:u,path:p,method:t,args:a,interceptable:f,retain:h},y=(f&&!u.length?this.intercept:this.invoke).call(this,r,n,m,o);return this.instrument(y,{...o,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,a){let{chainedCallIds:o,isDebugging:i,playUntil:l}=this.getState(n.storyId),u=o.has(n.id);return!i||u||l?(l===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,a)):new Promise(c=>{this.setState(n.storyId,({resolvers:p})=>({isLocked:!1,resolvers:{...p,[n.id]:c}}))}).then(()=>(this.setState(n.storyId,c=>{let{[n.id]:p,...d}=c.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(t,r,n,a)))}invoke(t,r,n,a){let{callRefsByResult:o,renderPhase:i}=this.getState(n.storyId),l=25,u=s((d,h,f)=>{var m,y,g;if(f.includes(d))return"[Circular]";if(f=[...f,d],h>l)return"...";if(o.has(d))return o.get(d);if(d instanceof Array)return d.map(b=>u(b,++h,f));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:b,message:v,stack:D}=d;return{__error__:{name:b,message:v,stack:D}}}if(d instanceof RegExp){let{flags:b,source:v}=d;return{__regexp__:{flags:b,source:v}}}if(d instanceof((m=de.window)==null?void 0:m.HTMLElement)){let{prefix:b,localName:v,id:D,classList:S,innerText:P}=d,w=Array.from(S);return{__element__:{prefix:b,localName:v,id:D,classNames:w,innerText:P}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&((y=d==null?void 0:d.constructor)!=null&&y.name)&&((g=d==null?void 0:d.constructor)==null?void 0:g.name)!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([b,v])=>[b,u(v,++h,f)])):d},"serializeValues"),c={...n,args:n.args.map(d=>u(d,0,[]))};n.path.forEach(d=>{d!=null&&d.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(d.__callId__))}))});let p=s(d=>{var h;if(d instanceof Error){let{name:f,message:m,stack:y,callId:g=n.id}=d,{showDiff:b=void 0,diff:v=void 0,actual:D=void 0,expected:S=void 0}=d.name==="AssertionError"?$u(d):d,P={name:f,message:m,stack:y,callId:g,showDiff:b,diff:v,actual:D,expected:S};if(this.update({...c,status:"error",exception:P}),this.setState(n.storyId,w=>({callRefsByResult:new Map([...Array.from(w.callRefsByResult.entries()),[d,{__callId__:n.id,retain:n.retain}]])})),(h=n.ancestors)==null?void 0:h.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:n.id}),d}throw d},"handleException");try{if(i==="played"&&!n.retain)throw C4;let d=(a.getArgs?a.getArgs(n,this.getState(n.storyId)):n.args).map(f=>typeof f!="function"||Xx(f)||Object.keys(f).length?f:(...m)=>{let{cursor:y,ancestors:g}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...g,n.id]});let b=s(()=>this.setState(n.storyId,{cursor:y,ancestors:g}),"restore"),v=!1;try{let D=f(...m);return D instanceof Promise?(v=!0,D.finally(b)):D}finally{v||b()}}),h=t.apply(r,d);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...c,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(f=>(this.update({...c,status:"done"}),f),p):h}catch(d){return p(d)}}update(t){var r;(r=this.channel)==null||r.emit(on.CALL,t),this.setState(t.storyId,({calls:n})=>{let a=n.concat(t).reduce((o,i)=>Object.assign(o,{[i.id]:i}),{});return{calls:Object.values(a).sort((o,i)=>o.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=s(()=>{var p,d,h;let{isLocked:n,isPlaying:a}=this.getState(t),o=this.getLog(t),i=(p=o.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting"))==null?void 0:p.callId,l=o.some(f=>f.status==="active");if(this.detached||n||l||o.length===0){let f={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};(d=this.channel)==null||d.emit(on.SYNC,f);return}let u=o.some(f=>f.status==="done"||f.status==="error"),c={controlStates:{detached:this.detached,start:u,back:u,goto:!0,next:a,end:a},logItems:o,pausedAt:i};(h=this.channel)==null||h.emit(on.SYNC,c)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};s(Kx,"Instrumenter");var S4=Kx;function No(e,t={}){var r,n,a,o,i,l,u,c;try{let p=!1,d=!1;return(a=(n=(r=de.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&a.includes("instrument=true")?p=!0:(l=(i=(o=de.window)==null?void 0:o.location)==null?void 0:i.search)!=null&&l.includes("instrument=false")&&(d=!0),((u=de.window)==null?void 0:u.parent)===de.window&&!p||d?e:(de.window&&!de.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(de.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new S4),((c=de.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(p){return vt.warn(p),e}}s(No,"instrument");function Yx(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}s(Yx,"getPropertyDescriptor");function Xx(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}s(Xx,"isClass");var Qx=Object.defineProperty,_4=Object.getOwnPropertyNames,te=s((e,t)=>Qx(e,"name",{value:t,configurable:!0}),"__name"),T4=s((e,t)=>s(function(){return t||(0,e[_4(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Dm=s((e,t)=>{for(var r in t)Qx(e,r,{get:t[r],enumerable:!0})},"__export"),P4=T4({"(disabled):util"(){}}),Gr={};Dm(Gr,{addChainableMethod:s(()=>Zu,"addChainableMethod"),addLengthGuard:s(()=>qo,"addLengthGuard"),addMethod:s(()=>Yu,"addMethod"),addProperty:s(()=>Ku,"addProperty"),checkError:s(()=>sr,"checkError"),compareByInspect:s(()=>Li,"compareByInspect"),eql:s(()=>tS,"eql"),expectTypes:s(()=>Bm,"expectTypes"),flag:s(()=>Oe,"flag"),getActual:s(()=>cs,"getActual"),getMessage:s(()=>Hu,"getMessage"),getName:s(()=>ds,"getName"),getOperator:s(()=>nc,"getOperator"),getOwnEnumerableProperties:s(()=>rc,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:s(()=>tc,"getOwnEnumerablePropertySymbols"),getPathInfo:s(()=>Wu,"getPathInfo"),hasProperty:s(()=>ps,"hasProperty"),inspect:s(()=>Ue,"inspect"),isNaN:s(()=>$l,"isNaN"),isNumeric:s(()=>St,"isNumeric"),isProxyEnabled:s(()=>jo,"isProxyEnabled"),isRegExp:s(()=>$i,"isRegExp"),objDisplay:s(()=>Mn,"objDisplay"),overwriteChainableMethod:s(()=>ec,"overwriteChainableMethod"),overwriteMethod:s(()=>Qu,"overwriteMethod"),overwriteProperty:s(()=>Xu,"overwriteProperty"),proxify:s(()=>Ba,"proxify"),test:s(()=>Uu,"test"),transferFlags:s(()=>xr,"transferFlags"),type:s(()=>Ke,"type")});var sr={};Dm(sr,{compatibleConstructor:s(()=>Fm,"compatibleConstructor"),compatibleInstance:s(()=>Rm,"compatibleInstance"),compatibleMessage:s(()=>Im,"compatibleMessage"),getConstructorName:s(()=>km,"getConstructorName"),getMessage:s(()=>Nm,"getMessage")});function us(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}s(us,"isErrorInstance");te(us,"isErrorInstance");function Om(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s(Om,"isRegExp");te(Om,"isRegExp");function Rm(e,t){return us(t)&&e===t}s(Rm,"compatibleInstance");te(Rm,"compatibleInstance");function Fm(e,t){return us(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}s(Fm,"compatibleConstructor");te(Fm,"compatibleConstructor");function Im(e,t){let r=typeof e=="string"?e:e.message;return Om(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}s(Im,"compatibleMessage");te(Im,"compatibleMessage");function km(e){let t=e;return us(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}s(km,"getConstructorName");te(km,"getConstructorName");function Nm(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}s(Nm,"getMessage");te(Nm,"getMessage");function Oe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}s(Oe,"flag");te(Oe,"flag");function Uu(e,t){var r=Oe(e,"negate"),n=t[0];return r?!n:n}s(Uu,"test");te(Uu,"test");function Ke(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}s(Ke,"type");te(Ke,"type");var D4="captureStackTrace"in Error,Zo,He=(Zo=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);tr(this,"message");this.message=t,D4&&Error.captureStackTrace(this,n||Zo);for(let a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},s(Zo,"_AssertionError"),te(Zo,"AssertionError"),Zo);function Bm(e,t){var r=Oe(e,"message"),n=Oe(e,"ssfi");r=r?r+": ":"",e=Oe(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var a=t.map(function(i,l){var u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+i}).join(", "),o=Ke(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new He(r+"object tested must be "+a+", but "+o+" given",void 0,n)}s(Bm,"expectTypes");te(Bm,"expectTypes");function cs(e,t){return t.length>4?t[4]:e._obj}s(cs,"getActual");te(cs,"getActual");var Gv={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},O4={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},go="…";function jm(e,t){let r=Gv[O4[t]]||Gv[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(jm,"colorise");te(jm,"colorise");function qm({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=jm),d}s(qm,"normaliseOptions");te(qm,"normaliseOptions");function Mm(e){return e>="\uD800"&&e<="\uDBFF"}s(Mm,"isHighSurrogate");te(Mm,"isHighSurrogate");function en(e,t,r=go){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Mm(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}s(en,"truncate");te(en,"truncate");function dr(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;c<a;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${go}(${e.length-c})`;let h=e[c];t.truncate=o-i.length-(p?0:n.length);let f=l||r(h,t)+(p?"":n),m=i.length+f.length,y=m+u.length;if(p&&m>o&&i.length+u.length<=o||!p&&!d&&y>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&y>o&&m+l.length>o))break;if(i+=f,!p&&!d&&m+l.length>=o){u=`${go}(${e.length-c-1})`;break}u=""}return`${i}${u}`}s(dr,"inspectList");te(dr,"inspectList");function Lm(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(Lm,"quoteComplexKey");te(Lm,"quoteComplexKey");function wa([e,t],r){return r.truncate-=2,typeof e=="string"?e=Lm(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(wa,"inspectProperty");te(wa,"inspectProperty");function $m(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=dr(e,t);t.truncate-=n.length;let a="";return r.length&&(a=dr(r.map(o=>[o,e[o]]),t,wa)),`[ ${n}${a?`, ${a}`:""} ]`}s($m,"inspectArray");te($m,"inspectArray");var R4=te(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Tr(e,t){let r=R4(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){let l=`${t.stylize(en(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){a+=`${go}(${e.length-e[i]+1})`;break}a+=l}let o="";return n.length&&(o=dr(n.map(i=>[i,e[i]]),t,wa)),`${r}[ ${a}${o?`, ${o}`:""} ]`}s(Tr,"inspectTypedArray");te(Tr,"inspectTypedArray");function Um(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${en(n[1],t.truncate-a.length-1)}`,"date")}s(Um,"inspectDate");te(Um,"inspectDate");function Tl(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${en(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(Tl,"inspectFunction");te(Tl,"inspectFunction");function Vm([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(Vm,"inspectMapEntry");te(Vm,"inspectMapEntry");function Hm(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(Hm,"mapToEntries");te(Hm,"mapToEntries");function Jm(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${dr(Hm(e),t,Vm)} }`)}s(Jm,"inspectMap");te(Jm,"inspectMap");var F4=Number.isNaN||(e=>e!==e);function Pl(e,t){return F4(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(en(String(e),t.truncate),"number")}s(Pl,"inspectNumber");te(Pl,"inspectNumber");function Dl(e,t){let r=en(e.toString(),t.truncate-1);return r!==go&&(r+="n"),t.stylize(r,"bigint")}s(Dl,"inspectBigInt");te(Dl,"inspectBigInt");function zm(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${en(a,n)}/${r}`,"regexp")}s(zm,"inspectRegExp");te(zm,"inspectRegExp");function Gm(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(Gm,"arrayFromSet");te(Gm,"arrayFromSet");function Wm(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${dr(Gm(e),t)} }`)}s(Wm,"inspectSet");te(Wm,"inspectSet");var Wv=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),I4={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},k4=16;function Km(e){return I4[e]||`\\u${`0000${e.charCodeAt(0).toString(k4)}`.slice(-4)}`}s(Km,"escape");te(Km,"escape");function Ol(e,t){return Wv.test(e)&&(e=e.replace(Wv,Km)),t.stylize(`'${en(e,t.truncate-2)}'`,"string")}s(Ol,"inspectString");te(Ol,"inspectString");function Rl(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(Rl,"inspectSymbol");te(Rl,"inspectSymbol");var Zx=te(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Zx=te((n,a)=>{let[o,i]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`},"getPromiseValue"))}catch{}var N4=Zx;function oo(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=dr(r.map(l=>[l,e[l]]),t,wa),o=dr(n.map(l=>[l,e[l]]),t,wa);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}s(oo,"inspectObject");te(oo,"inspectObject");var Cp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ym(e,t){let r="";return Cp&&Cp in e&&(r=e[Cp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${oo(e,t)}`}s(Ym,"inspectClass");te(Ym,"inspectClass");function Xm(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${dr(e,t)} ]`)}s(Xm,"inspectArguments");te(Xm,"inspectArguments");var B4=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Qm(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>B4.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=en(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=dr(r.map(i=>[i,e[i]]),t,wa);return`${n}${a}${o?` { ${o} }`:""}`}s(Qm,"inspectObject2");te(Qm,"inspectObject");function Zm([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s(Zm,"inspectAttribute");te(Zm,"inspectAttribute");function ji(e,t){return dr(e,t,Vu,`
|
|
220
|
+
`)}s(ji,"inspectHTMLCollection");te(ji,"inspectHTMLCollection");function Vu(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=dr(r.map(p=>[p,e.getAttribute(p)]),t,Zm," ")),t.truncate-=l.length;let u=t.truncate,c=ji(e.children,t);return c&&c.length>u&&(c=`${go}(${e.children.length})`),`${a}${l}${o}${c}${i}`}s(Vu,"inspectHTML");te(Vu,"inspectHTML");var j4=typeof Symbol=="function"&&typeof Symbol.for=="function",wp=j4?Symbol.for("chai/inspect"):"@@chai/inspect",Qa=!1;try{let e=P4();Qa=e.inspect?e.inspect.custom:!1}catch{Qa=!1}var Kv=new WeakMap,Yv={},Xv={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Pl,Number:Pl,bigint:Dl,BigInt:Dl,string:Ol,String:Ol,function:Tl,Function:Tl,symbol:Rl,Symbol:Rl,Array:$m,Date:Um,Map:Jm,Set:Wm,RegExp:zm,Promise:N4,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Xm,Int8Array:Tr,Uint8Array:Tr,Uint8ClampedArray:Tr,Int16Array:Tr,Uint16Array:Tr,Int32Array:Tr,Uint32Array:Tr,Float32Array:Tr,Float64Array:Tr,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:Qm,HTMLCollection:ji,NodeList:ji},q4=te((e,t,r)=>wp in e&&typeof e[wp]=="function"?e[wp](t):Qa&&Qa in e&&typeof e[Qa]=="function"?e[Qa](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Kv.has(e.constructor)?Kv.get(e.constructor)(e,t):Yv[r]?Yv[r](e,t):"","inspectCustom"),M4=Object.prototype.toString;function qi(e,t={}){let r=qm(t,qi),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=M4.call(e).slice(8,-1)),a in Xv)return Xv[a](e,r);if(n&&e){let i=q4(e,r,a);if(i)return typeof i=="string"?i:qi(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?oo(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Vu(e,r):"constructor"in e?e.constructor!==Object?Ym(e,r):oo(e,r):e===Object(e)?oo(e,r):r.stylize(String(e),a)}s(qi,"inspect");te(qi,"inspect");var Ht={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ue(e,t,r,n){var a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Ht.truncateThreshold?Ht.truncateThreshold:1/0};return qi(e,a)}s(Ue,"inspect2");te(Ue,"inspect");function Mn(e){var t=Ue(e),r=Object.prototype.toString.call(e);if(Ht.truncateThreshold&&t.length>=Ht.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}s(Mn,"objDisplay");te(Mn,"objDisplay");function Hu(e,t){var r=Oe(e,"negate"),n=Oe(e,"object"),a=t[3],o=cs(e,t),i=r?t[2]:t[1],l=Oe(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Mn(n)}).replace(/#\{act\}/g,function(){return Mn(o)}).replace(/#\{exp\}/g,function(){return Mn(a)}),l?l+": "+i:i}s(Hu,"getMessage2");te(Hu,"getMessage");function xr(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}s(xr,"transferFlags");te(xr,"transferFlags");function Fl(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}s(Fl,"type2");te(Fl,"type");function Ju(){this._key="chai/deep-eql__"+Math.random()+Date.now()}s(Ju,"FakeMap");te(Ju,"FakeMap");Ju.prototype={get:te(s(function(e){return e[this._key]},"get"),"get"),set:te(s(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var eS=typeof WeakMap=="function"?WeakMap:Ju;function Il(e,t,r){if(!r||zn(e)||zn(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}s(Il,"memoizeCompare");te(Il,"memoizeCompare");function Za(e,t,r,n){if(!(!r||zn(e)||zn(t))){var a=r.get(e);a?a.set(t,n):(a=new eS,a.set(t,n),r.set(e,a))}}s(Za,"memoizeSet");te(Za,"memoizeSet");var tS=Bo;function Bo(e,t,r){if(r&&r.comparator)return kl(e,t,r);var n=zu(e,t);return n!==null?n:kl(e,t,r)}s(Bo,"deepEqual");te(Bo,"deepEqual");function zu(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:zn(e)||zn(t)?!1:null}s(zu,"simpleEqual");te(zu,"simpleEqual");function kl(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new eS;var n=r&&r.comparator,a=Il(e,t,r.memoize);if(a!==null)return a;var o=Il(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return Za(e,t,r.memoize,i),i;var l=zu(e,t);if(l!==null)return l}var u=Fl(e);if(u!==Fl(t))return Za(e,t,r.memoize,!1),!1;Za(e,t,r.memoize,!0);var c=ey(e,t,u,r);return Za(e,t,r.memoize,c),c}s(kl,"extensiveDeepEqual");te(kl,"extensiveDeepEqual");function ey(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Bo(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Gu(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return En(e,t,n);case"RegExp":return ty(e,t);case"Generator":return ry(e,t,n);case"DataView":return En(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return En(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Nl(e,t,n);case"Map":return Nl(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return ay(e,t,n)}}s(ey,"extensiveDeepEqualByType");te(ey,"extensiveDeepEqualByType");function ty(e,t){return e.toString()===t.toString()}s(ty,"regexpEqual");te(ty,"regexpEqual");function Nl(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(te(s(function(o,i){n.push([o,i])},"gatherEntries"),"gatherEntries")),t.forEach(te(s(function(o,i){a.push([o,i])},"gatherEntries"),"gatherEntries")),En(n.sort(),a.sort(),r)}s(Nl,"entriesEqual");te(Nl,"entriesEqual");function En(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(Bo(e[a],t[a],r)===!1)return!1;return!0}s(En,"iterableEqual");te(En,"iterableEqual");function ry(e,t,r){return En(Mi(e),Mi(t),r)}s(ry,"generatorEqual");te(ry,"generatorEqual");function ny(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}s(ny,"hasIteratorFunction");te(ny,"hasIteratorFunction");function Bl(e){if(ny(e))try{return Mi(e[Symbol.iterator]())}catch{return[]}return[]}s(Bl,"getIteratorEntries");te(Bl,"getIteratorEntries");function Mi(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}s(Mi,"getGeneratorEntries");te(Mi,"getGeneratorEntries");function jl(e){var t=[];for(var r in e)t.push(r);return t}s(jl,"getEnumerableKeys");te(jl,"getEnumerableKeys");function ql(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}s(ql,"getEnumerableSymbols");te(ql,"getEnumerableSymbols");function Gu(e,t,r,n){var a=r.length;if(a===0)return!0;for(var o=0;o<a;o+=1)if(Bo(e[r[o]],t[r[o]],n)===!1)return!1;return!0}s(Gu,"keysEqual");te(Gu,"keysEqual");function ay(e,t,r){var n=jl(e),a=jl(t),o=ql(e),i=ql(t);if(n=n.concat(o),a=a.concat(i),n.length&&n.length===a.length)return En(Ml(n).sort(),Ml(a).sort())===!1?!1:Gu(e,t,n,r);var l=Bl(e),u=Bl(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),En(l,u,r)):n.length===0&&l.length===0&&a.length===0&&u.length===0}s(ay,"objectEqual");te(ay,"objectEqual");function zn(e){return e===null||typeof e!="object"}s(zn,"isPrimitive");te(zn,"isPrimitive");function Ml(e){return e.map(te(s(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}s(Ml,"mapSymbols");te(Ml,"mapSymbols");function ps(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}s(ps,"hasProperty");te(ps,"hasProperty");function oy(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}s(oy,"parsePath");te(oy,"parsePath");function Ll(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){let i=t[o];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}s(Ll,"internalGetPathValue");te(Ll,"internalGetPathValue");function Wu(e,t){let r=oy(t),n=r[r.length-1],a={parent:r.length>1?Ll(e,r,r.length-1):e,name:n.p||n.i,value:Ll(e,r)};return a.exists=ps(a.parent,a.name),a}s(Wu,"getPathInfo");te(Wu,"getPathInfo");function V(e,t,r,n){return Oe(this,"ssfi",r||V),Oe(this,"lockSsfi",n),Oe(this,"object",e),Oe(this,"message",t),Oe(this,"eql",Ht.deepEqual||tS),Ba(this)}s(V,"Assertion");te(V,"Assertion");Object.defineProperty(V,"includeStack",{get:s(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ht.includeStack},"get"),set:s(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ht.includeStack=e},"set")});Object.defineProperty(V,"showDiff",{get:s(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ht.showDiff},"get"),set:s(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ht.showDiff=e},"set")});V.addProperty=function(e,t){Ku(this.prototype,e,t)};V.addMethod=function(e,t){Yu(this.prototype,e,t)};V.addChainableMethod=function(e,t,r){Zu(this.prototype,e,t,r)};V.overwriteProperty=function(e,t){Xu(this.prototype,e,t)};V.overwriteMethod=function(e,t){Qu(this.prototype,e,t)};V.overwriteChainableMethod=function(e,t,r){ec(this.prototype,e,t,r)};V.prototype.assert=function(e,t,r,n,a,o){var i=Uu(this,arguments);if(o!==!1&&(o=!0),n===void 0&&a===void 0&&(o=!1),Ht.showDiff!==!0&&(o=!1),!i){t=Hu(this,arguments);var l=cs(this,arguments),u={actual:l,expected:n,showDiff:o},c=nc(this,arguments);throw c&&(u.operator=c),new He(t,u,Ht.includeStack?this.assert:Oe(this,"ssfi"))}};Object.defineProperty(V.prototype,"_obj",{get:s(function(){return Oe(this,"object")},"get"),set:s(function(e){Oe(this,"object",e)},"set")});function jo(){return Ht.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}s(jo,"isProxyEnabled");te(jo,"isProxyEnabled");function Ku(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:te(s(function n(){!jo()&&!Oe(this,"lockSsfi")&&Oe(this,"ssfi",n);var a=r.call(this);if(a!==void 0)return a;var o=new V;return xr(this,o),o},"propertyGetter"),"propertyGetter"),configurable:!0})}s(Ku,"addProperty");te(Ku,"addProperty");var L4=Object.getOwnPropertyDescriptor(function(){},"length");function qo(e,t,r){return L4.configurable&&Object.defineProperty(e,"length",{get:s(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}s(qo,"addLengthGuard");te(qo,"addLengthGuard");function iy(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}s(r,"addProperty2"),te(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}s(iy,"getProperties");te(iy,"getProperties");var Qv=["__flags","__methods","_obj","assert"];function Ba(e,t){return jo()?new Proxy(e,{get:te(s(function r(n,a){if(typeof a=="string"&&Ht.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');var o=null,i=4;throw iy(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Qv.indexOf(l)===-1){var u=sy(a,l,i);u<i&&(o=l,i=u)}}),Error(o!==null?"Invalid Chai property: "+a+'. Did you mean "'+o+'"?':"Invalid Chai property: "+a)}return Qv.indexOf(a)===-1&&!Oe(n,"lockSsfi")&&Oe(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter"),"proxyGetter")}):e}s(Ba,"proxify");te(Ba,"proxify");function sy(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){var a=e.charCodeAt(o-1);for(let i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){n[o][i]=r;continue}n[o][i]=Math.min(n[o-1][i]+1,n[o][i-1]+1,n[o-1][i-1]+(a===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}s(sy,"stringDistanceCapped");te(sy,"stringDistanceCapped");function Yu(e,t,r){var n=te(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var o=new V;return xr(this,o),o},"methodWrapper");qo(n,t,!1),e[t]=Ba(n,t)}s(Yu,"addMethod");te(Yu,"addMethod");function Xu(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=te(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:te(s(function o(){!jo()&&!Oe(this,"lockSsfi")&&Oe(this,"ssfi",o);var i=Oe(this,"lockSsfi");Oe(this,"lockSsfi",!0);var l=r(a).call(this);if(Oe(this,"lockSsfi",i),l!==void 0)return l;var u=new V;return xr(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}s(Xu,"overwriteProperty");te(Xu,"overwriteProperty");function Qu(e,t,r){var n=e[t],a=te(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var o=te(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",o);var i=Oe(this,"lockSsfi");Oe(this,"lockSsfi",!0);var l=r(a).apply(this,arguments);if(Oe(this,"lockSsfi",i),l!==void 0)return l;var u=new V;return xr(this,u),u},"overwritingMethodWrapper");qo(o,t,!1),e[t]=Ba(o,t)}s(Qu,"overwriteMethod");te(Qu,"overwriteMethod");var $4=typeof Object.setPrototypeOf=="function",Zv=te(function(){},"testFn"),U4=Object.getOwnPropertyNames(Zv).filter(function(e){var t=Object.getOwnPropertyDescriptor(Zv,e);return typeof t!="object"?!0:!t.configurable}),V4=Function.prototype.call,H4=Function.prototype.apply;function Zu(e,t,r,n){typeof n!="function"&&(n=te(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:te(s(function(){a.chainingBehavior.call(this);var o=te(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",o);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var c=new V;return xr(this,c),c},"chainableMethodWrapper");if(qo(o,t,!0),$4){var i=Object.create(this);i.call=V4,i.apply=H4,Object.setPrototypeOf(o,i)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(U4.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c)}})}return xr(this,o),Ba(o)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}s(Zu,"addChainableMethod");te(Zu,"addChainableMethod");function ec(e,t,r,n){var a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=te(s(function(){var l=n(o).call(this);if(l!==void 0)return l;var u=new V;return xr(this,u),u},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var i=a.method;a.method=te(s(function(){var l=r(i).apply(this,arguments);if(l!==void 0)return l;var u=new V;return xr(this,u),u},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}s(ec,"overwriteChainableMethod");te(ec,"overwriteChainableMethod");function Li(e,t){return Ue(e)<Ue(t)?-1:1}s(Li,"compareByInspect");te(Li,"compareByInspect");function tc(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}s(tc,"getOwnEnumerablePropertySymbols");te(tc,"getOwnEnumerablePropertySymbols");function rc(e){return Object.keys(e).concat(tc(e))}s(rc,"getOwnEnumerableProperties");te(rc,"getOwnEnumerableProperties");var $l=Number.isNaN;function ly(e){var t=Ke(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}s(ly,"isObjectType");te(ly,"isObjectType");function nc(e,t){var r=Oe(e,"operator"),n=Oe(e,"negate"),a=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!!o&&!/\shave\s/.test(o)){var i=ly(a);return/\snot\s/.test(o)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}s(nc,"getOperator");te(nc,"getOperator");function ds(e){return e.name}s(ds,"getName");te(ds,"getName");function $i(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s($i,"isRegExp2");te($i,"isRegExp");function St(e){return["Number","BigInt"].includes(Ke(e))}s(St,"isNumeric");te(St,"isNumeric");var{flag:X}=Gr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){V.addProperty(e)});V.addProperty("not",function(){X(this,"negate",!0)});V.addProperty("deep",function(){X(this,"deep",!0)});V.addProperty("nested",function(){X(this,"nested",!0)});V.addProperty("own",function(){X(this,"own",!0)});V.addProperty("ordered",function(){X(this,"ordered",!0)});V.addProperty("any",function(){X(this,"any",!0),X(this,"all",!1)});V.addProperty("all",function(){X(this,"all",!0),X(this,"any",!1)});var e0={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function ac(e,t){t&&X(this,"message",t),e=e.toLowerCase();var r=X(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let a=Ke(r).toLowerCase();e0.function.includes(e)?this.assert(e0[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}s(ac,"an");te(ac,"an");V.addChainableMethod("an",ac);V.addChainableMethod("a",ac);function uy(e,t){return $l(e)&&$l(t)||e===t}s(uy,"SameValueZero");te(uy,"SameValueZero");function Mo(){X(this,"contains",!0)}s(Mo,"includeChainingBehavior");te(Mo,"includeChainingBehavior");function Lo(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=Ke(r).toLowerCase(),a=X(this,"message"),o=X(this,"negate"),i=X(this,"ssfi"),l=X(this,"deep"),u=l?"deep ":"",c=l?X(this,"eql"):uy;a=a?a+": ":"";var p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new He(a+"unable to use .deep.include with WeakSet",void 0,i);p=r.has(e);break;case"map":r.forEach(function(m){p=p||c(m,e)});break;case"set":l?r.forEach(function(m){p=p||c(m,e)}):p=r.has(e);break;case"array":l?p=r.some(function(m){return c(m,e)}):p=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new He(a+"the given combination of arguments ("+n+" and "+Ke(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Ke(e).toLowerCase(),void 0,i);var d=Object.keys(e),h=null,f=0;if(d.forEach(function(m){var y=new V(r);if(xr(this,y,!0),X(y,"lockSsfi",!0),!o||d.length===1){y.property(m,e[m]);return}try{y.property(m,e[m])}catch(g){if(!sr.compatibleConstructor(g,He))throw g;h===null&&(h=g),f++}},this),o&&d.length>1&&f===d.length)throw h;return}this.assert(p,"expected #{this} to "+u+"include "+Ue(e),"expected #{this} to not "+u+"include "+Ue(e))}s(Lo,"include");te(Lo,"include");V.addChainableMethod("include",Lo,Mo);V.addChainableMethod("contain",Lo,Mo);V.addChainableMethod("contains",Lo,Mo);V.addChainableMethod("includes",Lo,Mo);V.addProperty("ok",function(){this.assert(X(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});V.addProperty("true",function(){this.assert(X(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!X(this,"negate"))});V.addProperty("numeric",function(){let e=X(this,"object");this.assert(["Number","BigInt"].includes(Ke(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!X(this,"negate"))});V.addProperty("callable",function(){let e=X(this,"object"),t=X(this,"ssfi"),r=X(this,"message"),n=r?`${r}: `:"",a=X(this,"negate"),o=a?`${n}expected ${Ue(e)} not to be a callable function`:`${n}expected ${Ue(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Ke(e));if(i&&a||!i&&!a)throw new He(o,void 0,t)});V.addProperty("false",function(){this.assert(X(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!X(this,"negate"))});V.addProperty("null",function(){this.assert(X(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});V.addProperty("undefined",function(){this.assert(X(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});V.addProperty("NaN",function(){this.assert($l(X(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function oc(){var e=X(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}s(oc,"assertExist");te(oc,"assertExist");V.addProperty("exist",oc);V.addProperty("exists",oc);V.addProperty("empty",function(){var e=X(this,"object"),t=X(this,"ssfi"),r=X(this,"message"),n;switch(r=r?r+": ":"",Ke(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new He(r+".empty was passed a weak collection",void 0,t);case"function":var a=r+".empty was passed a function "+ds(e);throw new He(a.trim(),void 0,t);default:if(e!==Object(e))throw new He(r+".empty was passed non-string primitive "+Ue(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function ic(){var e=X(this,"object"),t=Ke(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}s(ic,"checkArguments");te(ic,"checkArguments");V.addProperty("arguments",ic);V.addProperty("Arguments",ic);function fs(e,t){t&&X(this,"message",t);var r=X(this,"object");if(X(this,"deep")){var n=X(this,"lockSsfi");X(this,"lockSsfi",!0),this.eql(e),X(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}s(fs,"assertEqual");te(fs,"assertEqual");V.addMethod("equal",fs);V.addMethod("equals",fs);V.addMethod("eq",fs);function sc(e,t){t&&X(this,"message",t);var r=X(this,"eql");this.assert(r(e,X(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}s(sc,"assertEql");te(sc,"assertEql");V.addMethod("eql",sc);V.addMethod("eqls",sc);function hs(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),o=a?a+": ":"",i=X(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new V(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new He(o+"the argument to above must be a date",void 0,i);if(!St(e)&&(n||St(r)))throw new He(o+"the argument to above must be a number",void 0,i);if(!n&&l!=="date"&&!St(r)){var c=l==="string"?"'"+r+"'":r;throw new He(o+"expected "+c+" to be a number or a date",void 0,i)}if(n){var p="length",d;l==="map"||l==="set"?(p="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}s(hs,"assertAbove");te(hs,"assertAbove");V.addMethod("above",hs);V.addMethod("gt",hs);V.addMethod("greaterThan",hs);function ms(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),o=a?a+": ":"",i=X(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to least must be a date";else if(!St(e)&&(n||St(r)))c=o+"the argument to least must be a number";else if(!n&&l!=="date"&&!St(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new He(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}s(ms,"assertLeast");te(ms,"assertLeast");V.addMethod("least",ms);V.addMethod("gte",ms);V.addMethod("greaterThanOrEqual",ms);function ys(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),o=a?a+": ":"",i=X(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to below must be a date";else if(!St(e)&&(n||St(r)))c=o+"the argument to below must be a number";else if(!n&&l!=="date"&&!St(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new He(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}s(ys,"assertBelow");te(ys,"assertBelow");V.addMethod("below",ys);V.addMethod("lt",ys);V.addMethod("lessThan",ys);function gs(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),o=a?a+": ":"",i=X(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to most must be a date";else if(!St(e)&&(n||St(r)))c=o+"the argument to most must be a number";else if(!n&&l!=="date"&&!St(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new He(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}s(gs,"assertMost");te(gs,"assertMost");V.addMethod("most",gs);V.addMethod("lte",gs);V.addMethod("lessThanOrEqual",gs);V.addMethod("within",function(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"doLength"),o=X(this,"message"),i=o?o+": ":"",l=X(this,"ssfi"),u=Ke(n).toLowerCase(),c=Ke(e).toLowerCase(),p=Ke(t).toLowerCase(),d,h=!0,f=c==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new V(n,o,l,!0).to.have.property("length"),!a&&u==="date"&&(c!=="date"||p!=="date"))d=i+"the arguments to within must be dates";else if((!St(e)||!St(t))&&(a||St(n)))d=i+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!St(n)){var m=u==="string"?"'"+n+"'":n;d=i+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new He(d,void 0,l);if(a){var y="length",g;u==="map"||u==="set"?(y="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+y+" within "+f,"expected #{this} to not have a "+y+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function lc(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"ssfi"),a=X(this,"message");try{var o=r instanceof e}catch(l){throw l instanceof TypeError?(a=a?a+": ":"",new He(a+"The instanceof assertion needs a constructor but "+Ke(e)+" was given.",void 0,n)):l}var i=ds(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}s(lc,"assertInstanceOf");te(lc,"assertInstanceOf");V.addMethod("instanceof",lc);V.addMethod("instanceOf",lc);function uc(e,t,r){r&&X(this,"message",r);var n=X(this,"nested"),a=X(this,"own"),o=X(this,"message"),i=X(this,"object"),l=X(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new He(o+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new He(o+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&a)throw new He(o+'The "nested" and "own" flags cannot be combined.',void 0,l);if(i==null)throw new He(o+"Target cannot be null or undefined.",void 0,l);var c=X(this,"deep"),p=X(this,"negate"),d=n?Wu(i,e):null,h=n?d.value:i[e],f=c?X(this,"eql"):(g,b)=>g===b,m="";c&&(m+="deep "),a&&(m+="own "),n&&(m+="nested "),m+="property ";var y;a?y=Object.prototype.hasOwnProperty.call(i,e):n?y=d.exists:y=ps(i,e),(!p||arguments.length===1)&&this.assert(y,"expected #{this} to have "+m+Ue(e),"expected #{this} to not have "+m+Ue(e)),arguments.length>1&&this.assert(y&&f(t,h),"expected #{this} to have "+m+Ue(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Ue(e)+" of #{act}",t,h),X(this,"object",h)}s(uc,"assertProperty");te(uc,"assertProperty");V.addMethod("property",uc);function cc(e,t,r){X(this,"own",!0),uc.apply(this,arguments)}s(cc,"assertOwnProperty");te(cc,"assertOwnProperty");V.addMethod("ownProperty",cc);V.addMethod("haveOwnProperty",cc);function pc(e,t,r){typeof t=="string"&&(r=t,t=null),r&&X(this,"message",r);var n=X(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=X(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+Ue(e)+" on #{this} to match "+Ue(t)+", got "+Ue(a),"expected the own property descriptor for "+Ue(e)+" on #{this} to not match "+Ue(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+Ue(e),"expected #{this} to not have an own property descriptor for "+Ue(e)),X(this,"object",a)}s(pc,"assertOwnPropertyDescriptor");te(pc,"assertOwnPropertyDescriptor");V.addMethod("ownPropertyDescriptor",pc);V.addMethod("haveOwnPropertyDescriptor",pc);function dc(){X(this,"doLength",!0)}s(dc,"assertLengthChain");te(dc,"assertLengthChain");function fc(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=Ke(r).toLowerCase(),a=X(this,"message"),o=X(this,"ssfi"),i="length",l;switch(n){case"map":case"set":i="size",l=r.size;break;default:new V(r,a,o,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,l)}s(fc,"assertLength");te(fc,"assertLength");V.addChainableMethod("length",fc,dc);V.addChainableMethod("lengthOf",fc,dc);function hc(e,t){t&&X(this,"message",t);var r=X(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}s(hc,"assertMatch");te(hc,"assertMatch");V.addMethod("match",hc);V.addMethod("matches",hc);V.addMethod("string",function(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"message"),a=X(this,"ssfi");new V(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ue(e),"expected #{this} to not contain "+Ue(e))});function mc(e){var t=X(this,"object"),r=Ke(t),n=Ke(e),a=X(this,"ssfi"),o=X(this,"deep"),i,l="",u,c=!0,p=X(this,"message");p=p?p+": ":"";var d=p+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=o?"deeply ":"",u=[],t.forEach(function(v,D){u.push(D)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=rc(t),n){case"Array":if(arguments.length>1)throw new He(d,void 0,a);break;case"Object":if(arguments.length>1)throw new He(d,void 0,a);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new He(p+"keys required",void 0,a);var h=e.length,f=X(this,"any"),m=X(this,"all"),y=e,g=o?X(this,"eql"):(v,D)=>v===D;if(!f&&!m&&(m=!0),f&&(c=y.some(function(v){return u.some(function(D){return g(v,D)})})),m&&(c=y.every(function(v){return u.some(function(D){return g(v,D)})}),X(this,"contains")||(c=c&&e.length==u.length)),h>1){e=e.map(function(v){return Ue(v)});var b=e.pop();m&&(i=e.join(", ")+", and "+b),f&&(i=e.join(", ")+", or "+b)}else i=Ue(e[0]);i=(h>1?"keys ":"key ")+i,i=(X(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+l+i,"expected #{this} to not "+l+i,y.slice(0).sort(Li),u.sort(Li),!0)}s(mc,"assertKeys");te(mc,"assertKeys");V.addMethod("keys",mc);V.addMethod("key",mc);function bs(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"ssfi"),o=X(this,"message"),i=X(this,"negate")||!1;new V(n,o,a,!0).is.a("function"),($i(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(v){u=!0,l=v}var c=e===void 0&&t===void 0,p=!!(e&&t),d=!1,h=!1;if(c||!c&&!i){var f="an error";e instanceof Error?f="#{exp}":e&&(f=sr.getConstructorName(e));let v=l;if(l instanceof Error)v=l.toString();else if(typeof l=="string")v=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{v=sr.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&l){if(e instanceof Error){var m=sr.compatibleInstance(l,e);m===i&&(p&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!i?" but #{act} was thrown":""),e.toString(),l.toString()))}var y=sr.compatibleConstructor(l,e);y===i&&(p&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&sr.getConstructorName(e),l instanceof Error?l.toString():l&&sr.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var g="including";$i(t)&&(g="matching");var b=sr.compatibleMessage(l,t);b===i&&(p&&i?h=!0:this.assert(i,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,sr.getMessage(l)))}d&&h&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&sr.getConstructorName(e),l instanceof Error?l.toString():l&&sr.getConstructorName(l)),X(this,"object",l)}s(bs,"assertThrows");te(bs,"assertThrows");V.addMethod("throw",bs);V.addMethod("throws",bs);V.addMethod("Throw",bs);function yc(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+Ue(e),"expected #{this} to not respond to "+Ue(e))}s(yc,"respondTo");te(yc,"respondTo");V.addMethod("respondTo",yc);V.addMethod("respondsTo",yc);V.addProperty("itself",function(){X(this,"itself",!0)});function gc(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Mn(e),"expected #{this} to not satisfy"+Mn(e),!X(this,"negate"),n)}s(gc,"satisfy");te(gc,"satisfy");V.addMethod("satisfy",gc);V.addMethod("satisfies",gc);function bc(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),o=X(this,"ssfi");new V(n,a,o,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new He(a?`${a}: ${i}`:i,void 0,o);if(new V(t,a,o,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new He(a?`${a}: ${i}`:i,void 0,o);new V(e,a,o,!0).is.numeric;let l=te(c=>c<0n?-c:c,"abs"),u=te(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}s(bc,"closeTo");te(bc,"closeTo");V.addMethod("closeTo",bc);V.addMethod("approximately",bc);function cy(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(l,u){if(a)return r?r(l,o[u]):l===o[u];if(!r){var c=o.indexOf(l);return c===-1?!1:(n||o.splice(c,1),!0)}return o.some(function(p,d){return r(l,p)?(n||o.splice(d,1),!0):!1})})}s(cy,"isSubsetOf");te(cy,"isSubsetOf");V.addMethod("members",function(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"message"),a=X(this,"ssfi");new V(r,n,a,!0).to.be.iterable,new V(e,n,a,!0).to.be.iterable;var o=X(this,"contains"),i=X(this,"ordered"),l,u,c;o?(l=i?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=i?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var p=X(this,"deep")?X(this,"eql"):void 0;this.assert(cy(e,r,p,o,i),u,c,e,r,!0)});V.addProperty("iterable",function(e){e&&X(this,"message",e);var t=X(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function py(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"message"),a=X(this,"ssfi"),o=X(this,"contains"),i=X(this,"deep"),l=X(this,"eql");new V(e,n,a,!0).to.be.an("array"),o?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}s(py,"oneOf");te(py,"oneOf");V.addMethod("oneOf",py);function vc(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),o=X(this,"ssfi");new V(n,a,o,!0).is.a("function");var i;t?(new V(e,a,o,!0).to.have.property(t),i=e[t]):(new V(e,a,o,!0).is.a("function"),i=e()),n();var l=t==null?e():e[t],u=t==null?i:"."+t;X(this,"deltaMsgObj",u),X(this,"initialDeltaValue",i),X(this,"finalDeltaValue",l),X(this,"deltaBehavior","change"),X(this,"realDelta",l!==i),this.assert(i!==l,"expected "+u+" to change","expected "+u+" to not change")}s(vc,"assertChanges");te(vc,"assertChanges");V.addMethod("change",vc);V.addMethod("changes",vc);function Ec(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),o=X(this,"ssfi");new V(n,a,o,!0).is.a("function");var i;t?(new V(e,a,o,!0).to.have.property(t),i=e[t]):(new V(e,a,o,!0).is.a("function"),i=e()),new V(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;X(this,"deltaMsgObj",u),X(this,"initialDeltaValue",i),X(this,"finalDeltaValue",l),X(this,"deltaBehavior","increase"),X(this,"realDelta",l-i),this.assert(l-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}s(Ec,"assertIncreases");te(Ec,"assertIncreases");V.addMethod("increase",Ec);V.addMethod("increases",Ec);function Cc(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),o=X(this,"ssfi");new V(n,a,o,!0).is.a("function");var i;t?(new V(e,a,o,!0).to.have.property(t),i=e[t]):(new V(e,a,o,!0).is.a("function"),i=e()),new V(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;X(this,"deltaMsgObj",u),X(this,"initialDeltaValue",i),X(this,"finalDeltaValue",l),X(this,"deltaBehavior","decrease"),X(this,"realDelta",i-l),this.assert(l-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}s(Cc,"assertDecreases");te(Cc,"assertDecreases");V.addMethod("decrease",Cc);V.addMethod("decreases",Cc);function dy(e,t){t&&X(this,"message",t);var r=X(this,"deltaMsgObj"),n=X(this,"initialDeltaValue"),a=X(this,"finalDeltaValue"),o=X(this,"deltaBehavior"),i=X(this,"realDelta"),l;o==="change"?l=Math.abs(a-n)===Math.abs(e):l=i===Math.abs(e),this.assert(l,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}s(dy,"assertDelta");te(dy,"assertDelta");V.addMethod("by",dy);V.addProperty("extensible",function(){var e=X(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});V.addProperty("sealed",function(){var e=X(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});V.addProperty("frozen",function(){var e=X(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});V.addProperty("finite",function(e){var t=X(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Ui(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Ui(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?Ui(n,a):typeof n=="function"?n(a):a===n}):!1}s(Ui,"compareSubset");te(Ui,"compareSubset");V.addMethod("containSubset",function(e){let t=Oe(this,"object"),r=Ht.showDiff;this.assert(Ui(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Ln(e,t){return new V(e,t)}s(Ln,"expect");te(Ln,"expect");Ln.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new He(r,{actual:e,expected:t,operator:n},Ln.fail)};var rS={};Dm(rS,{Should:s(()=>z4,"Should"),should:s(()=>J4,"should")});function wc(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new V(this.valueOf(),null,e):new V(this,null,e)}s(e,"shouldGetter"),te(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}s(t,"shouldSetter"),te(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new He(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new V(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new V(n,i).to.Throw(a,o)},r.exist=function(n,a){new V(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new V(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new V(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new V(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}s(wc,"loadShould");te(wc,"loadShould");var J4=wc,z4=wc;function U(e,t){var r=new V(null,null,U,!0);r.assert(e,t,"[ negation message unavailable ]")}s(U,"assert");te(U,"assert");U.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new He(r,{actual:e,expected:t,operator:n},U.fail)};U.isOk=function(e,t){new V(e,t,U.isOk,!0).is.ok};U.isNotOk=function(e,t){new V(e,t,U.isNotOk,!0).is.not.ok};U.equal=function(e,t,r){var n=new V(e,r,U.equal,!0);n.assert(t==Oe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};U.notEqual=function(e,t,r){var n=new V(e,r,U.notEqual,!0);n.assert(t!=Oe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};U.strictEqual=function(e,t,r){new V(e,r,U.strictEqual,!0).to.equal(t)};U.notStrictEqual=function(e,t,r){new V(e,r,U.notStrictEqual,!0).to.not.equal(t)};U.deepEqual=U.deepStrictEqual=function(e,t,r){new V(e,r,U.deepEqual,!0).to.eql(t)};U.notDeepEqual=function(e,t,r){new V(e,r,U.notDeepEqual,!0).to.not.eql(t)};U.isAbove=function(e,t,r){new V(e,r,U.isAbove,!0).to.be.above(t)};U.isAtLeast=function(e,t,r){new V(e,r,U.isAtLeast,!0).to.be.least(t)};U.isBelow=function(e,t,r){new V(e,r,U.isBelow,!0).to.be.below(t)};U.isAtMost=function(e,t,r){new V(e,r,U.isAtMost,!0).to.be.most(t)};U.isTrue=function(e,t){new V(e,t,U.isTrue,!0).is.true};U.isNotTrue=function(e,t){new V(e,t,U.isNotTrue,!0).to.not.equal(!0)};U.isFalse=function(e,t){new V(e,t,U.isFalse,!0).is.false};U.isNotFalse=function(e,t){new V(e,t,U.isNotFalse,!0).to.not.equal(!1)};U.isNull=function(e,t){new V(e,t,U.isNull,!0).to.equal(null)};U.isNotNull=function(e,t){new V(e,t,U.isNotNull,!0).to.not.equal(null)};U.isNaN=function(e,t){new V(e,t,U.isNaN,!0).to.be.NaN};U.isNotNaN=function(e,t){new V(e,t,U.isNotNaN,!0).not.to.be.NaN};U.exists=function(e,t){new V(e,t,U.exists,!0).to.exist};U.notExists=function(e,t){new V(e,t,U.notExists,!0).to.not.exist};U.isUndefined=function(e,t){new V(e,t,U.isUndefined,!0).to.equal(void 0)};U.isDefined=function(e,t){new V(e,t,U.isDefined,!0).to.not.equal(void 0)};U.isCallable=function(e,t){new V(e,t,U.isCallable,!0).is.callable};U.isNotCallable=function(e,t){new V(e,t,U.isNotCallable,!0).is.not.callable};U.isObject=function(e,t){new V(e,t,U.isObject,!0).to.be.a("object")};U.isNotObject=function(e,t){new V(e,t,U.isNotObject,!0).to.not.be.a("object")};U.isArray=function(e,t){new V(e,t,U.isArray,!0).to.be.an("array")};U.isNotArray=function(e,t){new V(e,t,U.isNotArray,!0).to.not.be.an("array")};U.isString=function(e,t){new V(e,t,U.isString,!0).to.be.a("string")};U.isNotString=function(e,t){new V(e,t,U.isNotString,!0).to.not.be.a("string")};U.isNumber=function(e,t){new V(e,t,U.isNumber,!0).to.be.a("number")};U.isNotNumber=function(e,t){new V(e,t,U.isNotNumber,!0).to.not.be.a("number")};U.isNumeric=function(e,t){new V(e,t,U.isNumeric,!0).is.numeric};U.isNotNumeric=function(e,t){new V(e,t,U.isNotNumeric,!0).is.not.numeric};U.isFinite=function(e,t){new V(e,t,U.isFinite,!0).to.be.finite};U.isBoolean=function(e,t){new V(e,t,U.isBoolean,!0).to.be.a("boolean")};U.isNotBoolean=function(e,t){new V(e,t,U.isNotBoolean,!0).to.not.be.a("boolean")};U.typeOf=function(e,t,r){new V(e,r,U.typeOf,!0).to.be.a(t)};U.notTypeOf=function(e,t,r){new V(e,r,U.notTypeOf,!0).to.not.be.a(t)};U.instanceOf=function(e,t,r){new V(e,r,U.instanceOf,!0).to.be.instanceOf(t)};U.notInstanceOf=function(e,t,r){new V(e,r,U.notInstanceOf,!0).to.not.be.instanceOf(t)};U.include=function(e,t,r){new V(e,r,U.include,!0).include(t)};U.notInclude=function(e,t,r){new V(e,r,U.notInclude,!0).not.include(t)};U.deepInclude=function(e,t,r){new V(e,r,U.deepInclude,!0).deep.include(t)};U.notDeepInclude=function(e,t,r){new V(e,r,U.notDeepInclude,!0).not.deep.include(t)};U.nestedInclude=function(e,t,r){new V(e,r,U.nestedInclude,!0).nested.include(t)};U.notNestedInclude=function(e,t,r){new V(e,r,U.notNestedInclude,!0).not.nested.include(t)};U.deepNestedInclude=function(e,t,r){new V(e,r,U.deepNestedInclude,!0).deep.nested.include(t)};U.notDeepNestedInclude=function(e,t,r){new V(e,r,U.notDeepNestedInclude,!0).not.deep.nested.include(t)};U.ownInclude=function(e,t,r){new V(e,r,U.ownInclude,!0).own.include(t)};U.notOwnInclude=function(e,t,r){new V(e,r,U.notOwnInclude,!0).not.own.include(t)};U.deepOwnInclude=function(e,t,r){new V(e,r,U.deepOwnInclude,!0).deep.own.include(t)};U.notDeepOwnInclude=function(e,t,r){new V(e,r,U.notDeepOwnInclude,!0).not.deep.own.include(t)};U.match=function(e,t,r){new V(e,r,U.match,!0).to.match(t)};U.notMatch=function(e,t,r){new V(e,r,U.notMatch,!0).to.not.match(t)};U.property=function(e,t,r){new V(e,r,U.property,!0).to.have.property(t)};U.notProperty=function(e,t,r){new V(e,r,U.notProperty,!0).to.not.have.property(t)};U.propertyVal=function(e,t,r,n){new V(e,n,U.propertyVal,!0).to.have.property(t,r)};U.notPropertyVal=function(e,t,r,n){new V(e,n,U.notPropertyVal,!0).to.not.have.property(t,r)};U.deepPropertyVal=function(e,t,r,n){new V(e,n,U.deepPropertyVal,!0).to.have.deep.property(t,r)};U.notDeepPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};U.ownProperty=function(e,t,r){new V(e,r,U.ownProperty,!0).to.have.own.property(t)};U.notOwnProperty=function(e,t,r){new V(e,r,U.notOwnProperty,!0).to.not.have.own.property(t)};U.ownPropertyVal=function(e,t,r,n){new V(e,n,U.ownPropertyVal,!0).to.have.own.property(t,r)};U.notOwnPropertyVal=function(e,t,r,n){new V(e,n,U.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};U.deepOwnPropertyVal=function(e,t,r,n){new V(e,n,U.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};U.notDeepOwnPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};U.nestedProperty=function(e,t,r){new V(e,r,U.nestedProperty,!0).to.have.nested.property(t)};U.notNestedProperty=function(e,t,r){new V(e,r,U.notNestedProperty,!0).to.not.have.nested.property(t)};U.nestedPropertyVal=function(e,t,r,n){new V(e,n,U.nestedPropertyVal,!0).to.have.nested.property(t,r)};U.notNestedPropertyVal=function(e,t,r,n){new V(e,n,U.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};U.deepNestedPropertyVal=function(e,t,r,n){new V(e,n,U.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};U.notDeepNestedPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};U.lengthOf=function(e,t,r){new V(e,r,U.lengthOf,!0).to.have.lengthOf(t)};U.hasAnyKeys=function(e,t,r){new V(e,r,U.hasAnyKeys,!0).to.have.any.keys(t)};U.hasAllKeys=function(e,t,r){new V(e,r,U.hasAllKeys,!0).to.have.all.keys(t)};U.containsAllKeys=function(e,t,r){new V(e,r,U.containsAllKeys,!0).to.contain.all.keys(t)};U.doesNotHaveAnyKeys=function(e,t,r){new V(e,r,U.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};U.doesNotHaveAllKeys=function(e,t,r){new V(e,r,U.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};U.hasAnyDeepKeys=function(e,t,r){new V(e,r,U.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};U.hasAllDeepKeys=function(e,t,r){new V(e,r,U.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};U.containsAllDeepKeys=function(e,t,r){new V(e,r,U.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};U.doesNotHaveAnyDeepKeys=function(e,t,r){new V(e,r,U.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};U.doesNotHaveAllDeepKeys=function(e,t,r){new V(e,r,U.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};U.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var a=new V(e,n,U.throws,!0).to.throw(t,r);return Oe(a,"object")};U.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new V(e,n,U.doesNotThrow,!0).to.not.throw(t,r)};U.operator=function(e,t,r,n){var a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new He(n+'Invalid operator "'+t+'"',void 0,U.operator)}var o=new V(a,n,U.operator,!0);o.assert(Oe(o,"object")===!0,"expected "+Ue(e)+" to be "+t+" "+Ue(r),"expected "+Ue(e)+" to not be "+t+" "+Ue(r))};U.closeTo=function(e,t,r,n){new V(e,n,U.closeTo,!0).to.be.closeTo(t,r)};U.approximately=function(e,t,r,n){new V(e,n,U.approximately,!0).to.be.approximately(t,r)};U.sameMembers=function(e,t,r){new V(e,r,U.sameMembers,!0).to.have.same.members(t)};U.notSameMembers=function(e,t,r){new V(e,r,U.notSameMembers,!0).to.not.have.same.members(t)};U.sameDeepMembers=function(e,t,r){new V(e,r,U.sameDeepMembers,!0).to.have.same.deep.members(t)};U.notSameDeepMembers=function(e,t,r){new V(e,r,U.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};U.sameOrderedMembers=function(e,t,r){new V(e,r,U.sameOrderedMembers,!0).to.have.same.ordered.members(t)};U.notSameOrderedMembers=function(e,t,r){new V(e,r,U.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};U.sameDeepOrderedMembers=function(e,t,r){new V(e,r,U.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};U.notSameDeepOrderedMembers=function(e,t,r){new V(e,r,U.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};U.includeMembers=function(e,t,r){new V(e,r,U.includeMembers,!0).to.include.members(t)};U.notIncludeMembers=function(e,t,r){new V(e,r,U.notIncludeMembers,!0).to.not.include.members(t)};U.includeDeepMembers=function(e,t,r){new V(e,r,U.includeDeepMembers,!0).to.include.deep.members(t)};U.notIncludeDeepMembers=function(e,t,r){new V(e,r,U.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};U.includeOrderedMembers=function(e,t,r){new V(e,r,U.includeOrderedMembers,!0).to.include.ordered.members(t)};U.notIncludeOrderedMembers=function(e,t,r){new V(e,r,U.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};U.includeDeepOrderedMembers=function(e,t,r){new V(e,r,U.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};U.notIncludeDeepOrderedMembers=function(e,t,r){new V(e,r,U.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};U.oneOf=function(e,t,r){new V(e,r,U.oneOf,!0).to.be.oneOf(t)};U.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ue(e)} to be an iterable`:`expected ${Ue(e)} to be an iterable`,new He(t,void 0,U.isIterable)};U.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.changes,!0).to.change(t,r)};U.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new V(e,a,U.changesBy,!0).to.change(t,r).by(n)};U.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotChange,!0).to.not.change(t,r)};U.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new V(e,a,U.changesButNotBy,!0).to.change(t,r).but.not.by(n)};U.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.increases,!0).to.increase(t,r)};U.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new V(e,a,U.increasesBy,!0).to.increase(t,r).by(n)};U.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotIncrease,!0).to.not.increase(t,r)};U.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new V(e,a,U.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};U.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.decreases,!0).to.decrease(t,r)};U.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new V(e,a,U.decreasesBy,!0).to.decrease(t,r).by(n)};U.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotDecrease,!0).to.not.decrease(t,r)};U.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);return new V(e,a,U.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};U.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new V(e,a,U.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};U.ifError=function(e){if(e)throw e};U.isExtensible=function(e,t){new V(e,t,U.isExtensible,!0).to.be.extensible};U.isNotExtensible=function(e,t){new V(e,t,U.isNotExtensible,!0).to.not.be.extensible};U.isSealed=function(e,t){new V(e,t,U.isSealed,!0).to.be.sealed};U.isNotSealed=function(e,t){new V(e,t,U.isNotSealed,!0).to.not.be.sealed};U.isFrozen=function(e,t){new V(e,t,U.isFrozen,!0).to.be.frozen};U.isNotFrozen=function(e,t){new V(e,t,U.isNotFrozen,!0).to.not.be.frozen};U.isEmpty=function(e,t){new V(e,t,U.isEmpty,!0).to.be.empty};U.isNotEmpty=function(e,t){new V(e,t,U.isNotEmpty,!0).to.not.be.empty};U.containsSubset=function(e,t,r){new V(e,r).to.containSubset(t)};U.doesNotContainSubset=function(e,t,r){new V(e,r).to.not.containSubset(t)};var G4=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of G4)U[t]=U[e];var t0=[];function ma(e){let t={use:ma,AssertionError:He,util:Gr,config:Ht,expect:Ln,assert:U,Assertion:V,...rS};return~t0.indexOf(e)||(e(t,Gr),t0.push(e)),t}s(ma,"use");te(ma,"use");var nS={};Jt(nS,{toBeChecked:()=>Ky,toBeDisabled:()=>$y,toBeEmpty:()=>_y,toBeEmptyDOMElement:()=>Ty,toBeEnabled:()=>Uy,toBeInTheDOM:()=>Vl,toBeInTheDocument:()=>Sy,toBeInvalid:()=>Jy,toBePartiallyChecked:()=>Xy,toBeRequired:()=>Vy,toBeValid:()=>zy,toBeVisible:()=>By,toContainElement:()=>Hl,toContainHTML:()=>Py,toHaveAccessibleDescription:()=>Jl,toHaveAccessibleErrorMessage:()=>Oy,toHaveAccessibleName:()=>Gl,toHaveAttribute:()=>Ry,toHaveClass:()=>Fy,toHaveDescription:()=>Qy,toHaveDisplayValue:()=>Wy,toHaveErrorMessage:()=>Zy,toHaveFocus:()=>Iy,toHaveFormValues:()=>ky,toHaveRole:()=>zl,toHaveSelection:()=>eg,toHaveStyle:()=>Wl,toHaveTextContent:()=>Dy,toHaveValue:()=>Gy});var r0=Et(KE(),1);function fy(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}s(fy,"$parcel$defineInteropFlag");function Ac(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}s(Ac,"$parcel$export");var aS={};fy(aS);Ac(aS,"default",()=>iS);var oS=class extends Error{constructor(t,r,n,a,o){super(t+":"+n+":"+a+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=a,this.source=o}};s(oS,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var iS=oS,sS={};fy(sS);Ac(sS,"default",()=>uS);var lS=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};s(lS,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var uS=lS,W4={};Ac(W4,"CssTypes",()=>Tt);var Tt=function(e){return e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e}({}),Ap=/\/\*[^]*?(?:\*\/|$)/g,K4=s((e,t)=>{t=t||{};let r=1,n=1;function a(z){let Q=z.match(/\n/g);Q&&(r+=Q.length);let ee=z.lastIndexOf(`
|
|
221
|
+
`);n=~ee?z.length-ee:n+z.length}s(a,"updatePosition");function o(){let z={line:r,column:n};return function(Q){return Q.position=new uS(z,{line:r,column:n},(t==null?void 0:t.source)||""),f(),Q}}s(o,"position");let i=[];function l(z){let Q=new iS((t==null?void 0:t.source)||"",z,r,n,e);if(t!=null&&t.silent)i.push(Q);else throw Q}s(l,"error");function u(){let z=d();return{type:Tt.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:z,parsingErrors:i}}}s(u,"stylesheet");function c(){return h(/^{\s*/)}s(c,"open");function p(){return h(/^}/)}s(p,"close");function d(){let z,Q=[];for(f(),m(Q);e.length&&e.charAt(0)!=="}"&&(z=se()||Z());)z&&(Q.push(z),m(Q));return Q}s(d,"rules");function h(z){let Q=z.exec(e);if(!Q)return;let ee=Q[0];return a(ee),e=e.slice(ee.length),Q}s(h,"match");function f(){h(/^\s*/)}s(f,"whitespace");function m(z){let Q;for(z=z||[];Q=y();)Q&&z.push(Q);return z}s(m,"comments");function y(){let z=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let Q=h(/^\/\*[^]*?\*\//);return Q?z({type:Tt.comment,comment:Q[0].slice(2,-2)}):l("End of comment missing")}s(y,"comment");function g(z,Q,ee){let le=Q+1,re=!1,me=z.indexOf(")",le);for(;!re&&me!==-1;){let Ee=z.indexOf("(",le);Ee!==-1&&Ee<me?(le=g(z,Ee+1)+1,me=z.indexOf(")",le)):re=!0}return re&&me!==-1?me:-1}s(g,"findClosingParenthese");function b(){let z=h(/^([^{]+)/);if(!z)return;let Q=ar(z[0]).replace(Ap,"");if(Q.indexOf(",")===-1)return[Q];let ee=0,le=Q.indexOf("(",ee);for(;le!==-1;){let re=g(Q,le);if(re===-1)break;ee=re+1,Q=Q.substring(0,le)+Q.substring(le,re).replace(/,/g,"")+Q.substring(re),le=Q.indexOf("(",ee)}return Q=Q.replace(/("|')(?:\\\1|.)*?\1/g,re=>re.replace(/,/g,"")),Q.split(",").map(re=>ar(re.replace(/\u200C/g,",")))}s(b,"selector");function v(){let z=o(),Q=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!Q)return;let ee=ar(Q[0]);if(!h(/^:\s*/))return l("property missing ':'");let le=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),re=z({type:Tt.declaration,property:ee.replace(Ap,""),value:le?ar(le[0]).replace(Ap,""):""});return h(/^[;\s]*/),re}s(v,"declaration");function D(){let z=[];if(!c())return l("missing '{'");m(z);let Q;for(;Q=v();)Q&&(z.push(Q),m(z));return p()?z:l("missing '}'")}s(D,"declarations");function S(){let z,Q=[],ee=o();for(;z=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)Q.push(z[1]),h(/^,\s*/);if(Q.length)return ee({type:Tt.keyframe,values:Q,declarations:D()||[]})}s(S,"keyframe");function P(){let z=o(),Q=h(/^@([-\w]+)?keyframes\s*/);if(!Q)return;let ee=Q[1],le=h(/^([-\w]+)\s*/);if(!le)return l("@keyframes missing name");let re=le[1];if(!c())return l("@keyframes missing '{'");let me,Ee=m();for(;me=S();)Ee.push(me),Ee=Ee.concat(m());return p()?z({type:Tt.keyframes,name:re,vendor:ee,keyframes:Ee}):l("@keyframes missing '}'")}s(P,"atkeyframes");function w(){let z=o(),Q=h(/^@supports *([^{]+)/);if(!Q)return;let ee=ar(Q[1]);if(!c())return l("@supports missing '{'");let le=m().concat(d());return p()?z({type:Tt.supports,supports:ee,rules:le}):l("@supports missing '}'")}s(w,"atsupports");function E(){let z=o();if(!h(/^@host\s*/))return;if(!c())return l("@host missing '{'");let Q=m().concat(d());return p()?z({type:Tt.host,rules:Q}):l("@host missing '}'")}s(E,"athost");function C(){let z=o(),Q=h(/^@container *([^{]+)/);if(!Q)return;let ee=ar(Q[1]);if(!c())return l("@container missing '{'");let le=m().concat(d());return p()?z({type:Tt.container,container:ee,rules:le}):l("@container missing '}'")}s(C,"atcontainer");function _(){let z=o(),Q=h(/^@layer *([^{;@]+)/);if(!Q)return;let ee=ar(Q[1]);if(!c())return h(/^[;\s]*/),z({type:Tt.layer,layer:ee});let le=m().concat(d());return p()?z({type:Tt.layer,layer:ee,rules:le}):l("@layer missing '}'")}s(_,"atlayer");function N(){let z=o(),Q=h(/^@media *([^{]+)/);if(!Q)return;let ee=ar(Q[1]);if(!c())return l("@media missing '{'");let le=m().concat(d());return p()?z({type:Tt.media,media:ee,rules:le}):l("@media missing '}'")}s(N,"atmedia");function B(){let z=o(),Q=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(Q)return z({type:Tt.customMedia,name:ar(Q[1]),media:ar(Q[2])})}s(B,"atcustommedia");function J(){let z=o();if(!h(/^@page */))return;let Q=b()||[];if(!c())return l("@page missing '{'");let ee=m(),le;for(;le=v();)ee.push(le),ee=ee.concat(m());return p()?z({type:Tt.page,selectors:Q,declarations:ee}):l("@page missing '}'")}s(J,"atpage");function G(){let z=o(),Q=h(/^@([-\w]+)?document *([^{]+)/);if(!Q)return;let ee=ar(Q[1]),le=ar(Q[2]);if(!c())return l("@document missing '{'");let re=m().concat(d());return p()?z({type:Tt.document,document:le,vendor:ee,rules:re}):l("@document missing '}'")}s(G,"atdocument");function R(){let z=o();if(!h(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let Q=m(),ee;for(;ee=v();)Q.push(ee),Q=Q.concat(m());return p()?z({type:Tt.fontFace,declarations:Q}):l("@font-face missing '}'")}s(R,"atfontface");function L(){let z=o();if(!h(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let Q=m().concat(d());return p()?z({type:Tt.startingStyle,rules:Q}):l("@starting-style missing '}'")}s(L,"atstartingstyle");let j=ae("import"),W=ae("charset"),K=ae("namespace");function ae(z){let Q=new RegExp("^@"+z+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let ee=o(),le=h(Q);if(!le)return;let re={type:z};return re[z]=le[1].trim(),ee(re)}}s(ae,"_compileAtrule");function se(){if(e[0]==="@")return P()||N()||B()||w()||j()||W()||K()||G()||J()||E()||R()||C()||L()||_()}s(se,"atrule");function Z(){let z=o(),Q=b();return Q?(m(),z({type:Tt.rule,selectors:Q,declarations:D()||[]})):l("selector missing")}return s(Z,"rule"),Ul(u())},"$d708735ed1303b43$export$98e6a39c04603d36");function ar(e){return e?e.trim():""}s(ar,"$d708735ed1303b43$var$trim");function Ul(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let o=e[a];Array.isArray(o)?o.forEach(i=>{Ul(i,n)}):o&&typeof o=="object"&&Ul(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}s(Ul,"$d708735ed1303b43$var$addParent");var Y4=K4,X4=Y4,Q4=Object.prototype.toString;function Nd(e){return typeof e=="function"||Q4.call(e)==="[object Function]"}s(Nd,"isCallable");function cS(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(cS,"toInteger");var Z4=Math.pow(2,53)-1;function pS(e){var t=cS(e);return Math.min(Math.max(t,0),Z4)}s(pS,"toLength");function vr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Nd(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=pS(n.length),o=Nd(r)?Object(new r(a)):new Array(a),i=0,l;i<a;)l=n[i],t?o[i]=t(l,i):o[i]=l,i+=1;return o.length=a,o}s(vr,"arrayFrom");function bo(e){"@babel/helpers - typeof";return bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bo(e)}s(bo,"_typeof");function dS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(dS,"_classCallCheck");function Bd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,hy(n.key),n)}}s(Bd,"_defineProperties");function fS(e,t,r){return t&&Bd(e.prototype,t),r&&Bd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(fS,"_createClass");function hS(e,t,r){return t=hy(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(hS,"_defineProperty");function hy(e){var t=mS(e,"string");return bo(t)==="symbol"?t:String(t)}s(hy,"_toPropertyKey");function mS(e,t){if(bo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(bo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(mS,"_toPrimitive");var e7=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];dS(this,e),hS(this,"items",void 0),this.items=t}return s(e,"SetLike"),fS(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e}(),t7=typeof Set>"u"?Set:e7;function Ft(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(Ft,"getLocalName");var r7={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},n7={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function yS(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=n7[t])!==null&&n!==void 0&&n.has(r))})}s(yS,"hasGlobalAriaAttributes");function my(e,t){return yS(e,t)}s(my,"ignorePresentationalRole");function gS(e){var t=vS(e);if(t===null||jd.indexOf(t)!==-1){var r=bS(e);if(jd.indexOf(t||"")===-1||my(e,r||""))return r}return t}s(gS,"getRole");function bS(e){var t=r7[Ft(e)];if(t!==void 0)return t;switch(Ft(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!my(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}s(bS,"getImplicitRole");function vS(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(vS,"getExplicitRole");var jd=["presentation","none"];function nt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(nt,"isElement");function yy(e){return nt(e)&&Ft(e)==="caption"}s(yy,"isHTMLTableCaptionElement");function Ei(e){return nt(e)&&Ft(e)==="input"}s(Ei,"isHTMLInputElement");function ES(e){return nt(e)&&Ft(e)==="optgroup"}s(ES,"isHTMLOptGroupElement");function CS(e){return nt(e)&&Ft(e)==="select"}s(CS,"isHTMLSelectElement");function wS(e){return nt(e)&&Ft(e)==="table"}s(wS,"isHTMLTableElement");function AS(e){return nt(e)&&Ft(e)==="textarea"}s(AS,"isHTMLTextAreaElement");function xS(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(xS,"safeWindow");function SS(e){return nt(e)&&Ft(e)==="fieldset"}s(SS,"isHTMLFieldSetElement");function _S(e){return nt(e)&&Ft(e)==="legend"}s(_S,"isHTMLLegendElement");function TS(e){return nt(e)&&Ft(e)==="slot"}s(TS,"isHTMLSlotElement");function PS(e){return nt(e)&&e.ownerSVGElement!==void 0}s(PS,"isSVGElement");function DS(e){return nt(e)&&Ft(e)==="svg"}s(DS,"isSVGSVGElement");function OS(e){return PS(e)&&Ft(e)==="title"}s(OS,"isSVGTitleElement");function Vi(e,t){if(nt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}s(Vi,"queryIdRefs");function Wr(e,t){return nt(e)?t.indexOf(gS(e))!==-1:!1}s(Wr,"hasAnyConcreteRoles");function RS(e){return e.trim().replace(/\s\s+/g," ")}s(RS,"asFlatString");function FS(e,t){if(!nt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}s(FS,"isHidden");function IS(e){return Wr(e,["button","combobox","listbox","textbox"])||gy(e,"range")}s(IS,"isControl");function gy(e,t){if(!nt(e))return!1;switch(t){case"range":return Wr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(gy,"hasAbstractRole");function qd(e,t){var r=vr(e.querySelectorAll(t));return Vi(e,"aria-owns").forEach(function(n){r.push.apply(r,vr(n.querySelectorAll(t)))}),r}s(qd,"querySelectorAllSubtree");function kS(e){return CS(e)?e.selectedOptions||qd(e,"[selected]"):qd(e,'[aria-selected="true"]')}s(kS,"querySelectedOptions");function NS(e){return Wr(e,jd)}s(NS,"isMarkedPresentational");function BS(e){return yy(e)}s(BS,"isNativeHostLanguageTextAlternativeElement");function jS(e){return Wr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(jS,"allowsNameFromContent");function qS(e){return!1}s(qS,"isDescendantOfNativeHostLanguageTextAlternativeElement");function MS(e){return Ei(e)||AS(e)?e.value:e.textContent||""}s(MS,"getValueOfTextbox");function Md(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(Md,"getTextualContent");function by(e){var t=Ft(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(by,"isLabelableElement");function vy(e){if(by(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&nt(r)){var n=vy(r);n!==null&&(t=n)}}),t}s(vy,"findLabelableElement");function LS(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):vy(e)}s(LS,"getControlOfLabel");function $S(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return vr(t);if(!by(e))return null;var r=e.ownerDocument;return vr(r.querySelectorAll("label")).filter(function(n){return LS(n)===e})}s($S,"getLabels");function US(e){var t=e.assignedNodes();return t.length===0?vr(e.childNodes):t}s(US,"getSlotContents");function Ey(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new t7,n=xS(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function h(b,v){var D="";if(nt(b)&&l){var S=c(b,"::before"),P=Md(S);D="".concat(P," ").concat(D)}var w=TS(b)?US(b):vr(b.childNodes).concat(Vi(b,"aria-owns"));if(w.forEach(function(_){var N=g(_,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=nt(_)?c(_).getPropertyValue("display"):"inline",J=B!=="inline"?" ":"";D+="".concat(J).concat(N).concat(J)}),nt(b)&&l){var E=c(b,"::after"),C=Md(E);D="".concat(D," ").concat(C)}return D.trim()}s(h,"computeMiscTextAlternative");function f(b,v){var D=b.getAttributeNode(v);return D!==null&&!r.has(D)&&D.value.trim()!==""?(r.add(D),D.value):null}s(f,"useAttribute");function m(b){return nt(b)?f(b,"title"):null}s(m,"computeTooltipAttributeValue");function y(b){if(!nt(b))return null;if(SS(b)){r.add(b);for(var v=vr(b.childNodes),D=0;D<v.length;D+=1){var S=v[D];if(_S(S))return g(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(wS(b)){r.add(b);for(var P=vr(b.childNodes),w=0;w<P.length;w+=1){var E=P[w];if(yy(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(DS(b)){r.add(b);for(var C=vr(b.childNodes),_=0;_<C.length;_+=1){var N=C[_];if(OS(N))return N.textContent}return null}else if(Ft(b)==="img"||Ft(b)==="area"){var B=f(b,"alt");if(B!==null)return B}else if(ES(b)){var J=f(b,"label");if(J!==null)return J}if(Ei(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var G=f(b,"value");if(G!==null)return G;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var R=$S(b);if(R!==null&&R.length!==0)return r.add(b),vr(R).map(function(K){return g(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(Ei(b)&&b.type==="image"){var L=f(b,"alt");if(L!==null)return L;var j=f(b,"title");return j!==null?j:"Submit Query"}if(Wr(b,["button"])){var W=h(b,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}s(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!d&&FS(b,c)&&!v.isReferenced)return r.add(b),"";var D=nt(b)?b.getAttributeNode("aria-labelledby"):null,S=D!==null&&!r.has(D)?Vi(b,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&S.length>0)return r.add(D),S.map(function(B){return g(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&IS(b)&&o==="name";if(!P){var w=(nt(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&o==="name")return r.add(b),w;if(!NS(b)){var E=y(b);if(E!==null)return r.add(b),E}}if(Wr(b,["menu"]))return r.add(b),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(Wr(b,["combobox","listbox"])){r.add(b);var C=kS(b);return C.length===0?Ei(b)?b.value:"":vr(C).map(function(B){return g(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(gy(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Wr(b,["textbox"]))return r.add(b),MS(b)}if(jS(b)||nt(b)&&v.isReferenced||BS(b)||qS()){var _=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(_!=="")return r.add(b),_}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var N=m(b);return N!==null?(r.add(b),N):(r.add(b),"")}return s(g,"computeTextAlternative"),RS(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}s(Ey,"computeTextAlternative");function vo(e){"@babel/helpers - typeof";return vo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vo(e)}s(vo,"_typeof");function Ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}s(Ld,"ownKeys");function $d(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ld(Object(r),!0).forEach(function(n){VS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ld(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s($d,"_objectSpread");function VS(e,t,r){return t=HS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(VS,"_defineProperty");function HS(e){var t=JS(e,"string");return vo(t)==="symbol"?t:String(t)}s(HS,"_toPropertyKey");function JS(e,t){if(vo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(vo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(JS,"_toPrimitive");function zS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Vi(e,"aria-describedby").map(function(o){return Ey(o,$d($d({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}s(zS,"computeAccessibleDescription");function GS(e){return Wr(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}s(GS,"prohibitsNaming");function WS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return GS(e)?"":Ey(e,t)}s(WS,"computeAccessibleName");var Cy=Et(YE(),1),a7=Et(QE(),1),wy=Et(uC(),1),o7=Et(cC(),1),KS=class extends Error{constructor(t,r,n,a){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let o="";try{o=a.utils.printWithType("Received",r,a.utils.printReceived)}catch{}this.message=[a.utils.matcherHint(`${a.isNot?".not":""}.${n.name}`,"received",""),"",`${a.utils.RECEIVED_COLOR("received")} value must ${t}.`,o].join(`
|
|
222
|
+
`)}};s(KS,"GenericTypeError");var YS=KS,XS=class extends YS{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};s(XS,"HtmlElementTypeError");var n0=XS,QS=class extends YS{constructor(...t){super("be a Node",...t)}};s(QS,"NodeTypeError");var a0=QS;function Ay(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}s(Ay,"checkHasWindow");function ZS(e,...t){Ay(e,a0,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new a0(e,...t)}s(ZS,"checkNode");function ze(e,...t){Ay(e,n0,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new n0(e,...t)}s(ze,"checkHtmlElement");var e_=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
|
|
223
|
+
`)}};s(e_,"InvalidCSSError");var i7=e_;function t_(e,...t){let r=X4(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new i7({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:o})=>Object.assign(n,{[a]:o}),{})}s(t_,"parseCSS");function Ud(e,t){return typeof t=="string"?t:e.utils.stringify(t)}s(Ud,"display");function Dt(e,t,r,n,a,o){return[`${t}
|
|
224
|
+
`,`${r}:
|
|
225
|
+
${e.utils.EXPECTED_COLOR((0,r0.default)(Ud(e,n),2))}`,`${a}:
|
|
226
|
+
${e.utils.RECEIVED_COLOR((0,r0.default)(Ud(e,o),2))}`].join(`
|
|
227
|
+
`)}s(Dt,"getMessage");function r_(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}s(r_,"matches");function vs(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}s(vs,"deprecate");function Es(e){return e.replace(/\s+/g," ").trim()}s(Es,"normalize");function Cn(e){return e.tagName&&e.tagName.toLowerCase()}s(Cn,"getTag");function n_({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}s(n_,"getSelectValue");function a_(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}s(a_,"getInputValue");var s7=["meter","progressbar","slider","spinbutton"];function o_(e){if(s7.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}s(o_,"getAccessibleValue");function xy(e){if(e)switch(e.tagName.toLowerCase()){case"input":return a_(e);case"select":return n_(e);default:return e.value??o_(e)}}s(xy,"getSingleElementValue");function i_(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}s(i_,"toSentence");function xc(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}s(xc,"compareArraysAsSet");function Vl(e,t){return vs("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ze(e,Vl,this),t&&ze(t,Vl,this),{pass:t?t.contains(e):!!e,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
228
|
+
`),"message")}}s(Vl,"toBeInTheDOM");function Sy(e){(e!==null||!this.isNot)&&ze(e,Sy,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=s(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=s(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
229
|
+
`),"message")}}s(Sy,"toBeInTheDocument");function _y(e){return vs("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ze(e,_y,this),{pass:e.innerHTML==="",message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
230
|
+
`),"message")}}s(_y,"toBeEmpty");function Ty(e){return ze(e,Ty,this),{pass:s_(e),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
231
|
+
`),"message")}}s(Ty,"toBeEmptyDOMElement");function s_(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}s(s_,"isEmptyElement");function Hl(e,t){return ze(e,Hl,this),t!==null&&ze(t,Hl,this),{pass:e.contains(t),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
232
|
+
`)].join(`
|
|
233
|
+
`),"message")}}s(Hl,"toContainElement");function l_(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}s(l_,"getNormalizedHtml");function Py(e,t){if(ze(e,Py,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(l_(e,t)),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
234
|
+
`),"message")}}s(Py,"toContainHTML");function Dy(e,t,r={normalizeWhitespace:!0}){ZS(e,Dy,this);let n=r.normalizeWhitespace?Es(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&r_(n,t),message:s(()=>{let o=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)},"message")}}s(Dy,"toHaveTextContent");function Jl(e,t){ze(e,Jl,this);let r=zS(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:s(()=>{let o=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Jl.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)},"message")}}s(Jl,"toHaveAccessibleDescription");var ei="aria-invalid",l7=["false"];function Oy(e,t){var l;ze(e,Oy,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:s(()=>Dt(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`),"message")};let o=e.getAttribute(ei);if(!e.hasAttribute(ei)||l7.includes(o))return{pass:!1,message:s(()=>Dt(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${ei}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${ei}="${e.getAttribute(ei)}`:null),"message")};let i=Es(((l=e.ownerDocument.getElementById(a))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:s(()=>Dt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i),"message")}}s(Oy,"toHaveAccessibleErrorMessage");var u7=p_(Cy.elementRoles);function zl(e,t){ze(e,zl,this);let r=u_(e);return{pass:r.some(n=>n===t),message:s(()=>{let n=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${zl.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}s(zl,"toHaveRole");function u_(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):c_(e)}s(u_,"getExplicitOrImplicitRoles");function c_(e){for(let{match:t,roles:r}of u7)if(t(e))return[...r];return[]}s(c_,"getImplicitAriaRoles");function p_(e){function t({name:i,attributes:l}){return`${i}${l.map(({name:u,value:c,constraints:p=[]})=>p.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}s(t,"makeElementSelector");function r({attributes:i=[]}){return i.length}s(r,"getSelectorSpecificity");function n({specificity:i},{specificity:l}){return l-i}s(n,"bySelectorSpecificity");function a(i){let{attributes:l=[]}=i,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}s(a,"match");let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}s(p_,"buildElementRoleList");function Gl(e,t){ze(e,Gl,this);let r=WS(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:s(()=>{let o=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Gl.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)},"message")}}s(Gl,"toHaveAccessibleName");function Vd(e,t,r){return r===void 0?t:`${t}=${e(r)}`}s(Vd,"printAttribute");function d_(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}s(d_,"getAttributeComment");function Ry(e,t,r){ze(e,Ry,this);let n=r!==void 0,a=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?a&&this.equals(o,r):a,message:s(()=>{let i=this.isNot?"not to":"to",l=a?Vd(this.utils.stringify,t,o):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:d_(this.utils.stringify,t,r)});return Dt(this,u,`Expected the element ${i} have attribute`,Vd(this.utils.stringify,t,r),"Received",l)},"message")}}s(Ry,"toHaveAttribute");function f_(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}s(f_,"getExpectedClassNamesAndOptions");function Hd(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}s(Hd,"splitClassNames");function Jd(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}s(Jd,"isSubset$1");function Fy(e,...t){ze(e,Fy,this);let{expectedClassNames:r,options:n}=f_(t),a=Hd(e.getAttribute("class")),o=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?Hd(u):u),[]),i=o.some(l=>l instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Jd(o,a)&&o.length===a.length,message:s(()=>{let l=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,o.join(" "),"Received",a.join(" "))},"message")}:o.length>0?{pass:Jd(o,a),message:s(()=>{let l=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have class`,o.join(" "),"Received",a.join(" "))},"message")}:{pass:this.isNot?a.length>0:!1,message:s(()=>this.isNot?Dt(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
235
|
+
`),"message")}}s(Fy,"toHaveClass");function h_(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}s(h_,"getStyleDeclaration");function m_(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),o=[r];return a||o.push(r.toLowerCase()),o.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}s(m_,"isSubset");function zd(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
236
|
+
`)}s(zd,"printoutStyles");function y_(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,o)=>Object.assign(a,{[o]:r.getPropertyValue(o)}),{});return e(zd(t),zd(n)).replace(`${a7.default.red("+ Received")}
|
|
237
|
+
`,"")}s(y_,"expectedDiff");function Wl(e,t){ze(e,Wl,this);let r=typeof t=="object"?t:t_(t,Wl,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=h_(e.ownerDocument,r),o=n(e);return{pass:m_(a,o),message:s(()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),y_(this.utils.diff,a,o)].join(`
|
|
238
|
+
|
|
239
|
+
`)},"message")}}s(Wl,"toHaveStyle");function Iy(e){return ze(e,Iy,this),{pass:e.ownerDocument.activeElement===e,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
240
|
+
`),"message")}}s(Iy,"toHaveFocus");function g_(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}s(g_,"getMultiElementValue");function b_(e,t){let r=[...e.querySelectorAll(`[name="${(0,o7.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return xy(r[0]);default:return g_(r)}}s(b_,"getFormValue");function v_(e){return/\[\]$/.test(e)?e.slice(0,-2):e}s(v_,"getPureName");function E_(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[v_(r)]:b_(e,r)}),{})}s(E_,"getAllFormValues");function ky(e,t){if(ze(e,ky,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=E_(e);return{pass:Object.entries(t).every(([n,a])=>(0,wy.default)(r[n],a,xc)),message:s(()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,l)=>({...i,[l]:r[l]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(`
|
|
241
|
+
|
|
242
|
+
`)},"message")}}s(ky,"toHaveFormValues");function C_(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}s(C_,"isStyleVisible");function w_(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}s(w_,"isAttributeVisible");function Ny(e,t){return C_(e)&&w_(e,t)&&(!e.parentElement||Ny(e.parentElement,e))}s(Ny,"isElementVisible");function By(e){ze(e,By,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Ny(e);return{pass:r,message:s(()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
243
|
+
`)},"message")}}s(By,"toBeVisible");var c7=["fieldset","input","select","optgroup","option","button","textarea"];function A_(e,t){return Cn(e)==="legend"&&Cn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Cn(r)==="legend"))}s(A_,"isFirstLegendChildOfFieldset");function x_(e,t){return qy(t)&&!A_(e,t)}s(x_,"isElementDisabledByParent");function S_(e){return e.includes("-")}s(S_,"isCustomElement");function jy(e){let t=Cn(e);return c7.includes(t)||S_(t)}s(jy,"canElementBeDisabled");function qy(e){return jy(e)&&e.hasAttribute("disabled")}s(qy,"isElementDisabled");function My(e){let t=e.parentElement;return!!t&&(x_(e,t)||My(t))}s(My,"isAncestorDisabled");function Ly(e){return jy(e)&&(qy(e)||My(e))}s(Ly,"isElementOrAncestorDisabled");function $y(e){ze(e,$y,this);let t=Ly(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
244
|
+
`)},"message")}}s($y,"toBeDisabled");function Uy(e){ze(e,Uy,this);let t=!Ly(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
245
|
+
`)},"message")}}s(Uy,"toBeEnabled");var p7=["select","textarea"],d7=["input","select","textarea"],f7=["color","hidden","range","submit","image","reset"],h7=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function __(e){return p7.includes(Cn(e))&&e.hasAttribute("required")}s(__,"isRequiredOnFormTagsExceptInput");function T_(e){return Cn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!f7.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}s(T_,"isRequiredOnSupportedInput");function P_(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(d7.includes(Cn(e))||e.hasAttribute("role")&&h7.includes(e.getAttribute("role")))}s(P_,"isElementRequiredByARIA");function Vy(e){ze(e,Vy,this);let t=__(e)||T_(e)||P_(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
246
|
+
`)},"message")}}s(Vy,"toBeRequired");var m7=["form","input","select","textarea"];function D_(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}s(D_,"isElementHavingAriaInvalid");function O_(e){return m7.includes(Cn(e))}s(O_,"isSupportsValidityMethod");function Hy(e){let t=D_(e);return O_(e)?t||!e.checkValidity():t}s(Hy,"isElementInvalid");function Jy(e){ze(e,Jy,this);let t=Hy(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
247
|
+
`)},"message")}}s(Jy,"toBeInvalid");function zy(e){ze(e,zy,this);let t=!Hy(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
248
|
+
`)},"message")}}s(zy,"toBeValid");function Gy(e,t){if(ze(e,Gy,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=xy(e),n=t!==void 0,a=t,o=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,wy.default)(r,t,xc):!!r,message:s(()=>{let i=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Dt(this,l,`Expected the element ${i} have value`,n?a:"(any)","Received",o)},"message")}}s(Gy,"toHaveValue");function Wy(e,t){ze(e,Wy,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=R_(r,e),a=F_(t),o=a.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,i=o===n.length,l=o===a.length;return{pass:i&&l,message:s(()=>Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}s(Wy,"toHaveDisplayValue");function R_(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}s(R_,"getValues");function F_(e){return e instanceof Array?e:[e]}s(F_,"getExpectedValues");function Ky(e){ze(e,Ky,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=s(()=>Yy(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>`only inputs with type="checkbox" or type="radio" or elements with ${I_()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=s(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:s(()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
249
|
+
`)},"message")}}s(Ky,"toBeChecked");function I_(){return i_(k_().map(e=>`role="${e}"`),{lastWordConnector:" or "})}s(I_,"supportedRolesSentence");function k_(){return Cy.roles.keys().filter(Yy)}s(k_,"supportedRoles");function Yy(e){var t;return((t=Cy.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}s(Yy,"roleSupportsChecked");function Xy(e){ze(e,Xy,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=s(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=s(()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a},"isPartiallyChecked");return{pass:n(),message:s(()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
250
|
+
`)},"message")}}s(Xy,"toBePartiallyChecked");function Qy(e,t){vs("toHaveDescription","Please use toHaveAccessibleDescription."),ze(e,Qy,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=Es(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:s(()=>{let o=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}s(Qy,"toHaveDescription");function Zy(e,t){if(vs("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ze(e,Zy,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:s(()=>Dt(this,this.utils.matcherHint(`${o}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=Es(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:s(()=>{let o=this.isNot?"not to":"to";return Dt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}s(Zy,"toHaveErrorMessage");function N_(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let o=e===r.startContainer||e.contains(r.startContainer),i=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(o||i)&&(n.selectNodeContents(e),o&&n.setStart(r.startContainer,r.startOffset),i&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let a=t.toString();return t.removeAllRanges(),t.addRange(r),a}s(N_,"getSelection");function eg(e,t){ze(e,eg,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=N_(e);return{pass:r?(0,wy.default)(n,t,xc):!!n,message:s(()=>{let a=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Dt(this,o,`Expected the element ${a} have selection`,r?t:"(any)","Received",n)},"message")}}s(eg,"toHaveSelection");Et(KE(),1);Et(YE(),1);Et(QE(),1);Et(uC(),1);Et(cC(),1);var xp,o0;function B_(){if(o0)return xp;o0=1;var e,t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,g,b,v;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,y=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,f=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,a=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,g=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,o=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,i=/^(?:return|throw|yield)$/,c=RegExp(l.source),xp=s(function*(D,{jsx:S=!1}={}){var P,w,E,C,_,N,B,J,G,R,L,j,W,K;for({length:N}=D,C=0,_="",K=[{tag:"JS"}],P=[],L=0,j=!1;C<N;){switch(J=K[K.length-1],J.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(D[C]==="/"&&(b.test(_)||o.test(_))&&(h.lastIndex=C,B=h.exec(D))){C=h.lastIndex,_=B[0],j=!0,yield{type:"RegularExpressionLiteral",value:B[0],closed:B[1]!==void 0&&B[1]!=="\\"};continue}if(d.lastIndex=C,B=d.exec(D)){switch(W=B[0],G=d.lastIndex,R=W,W){case"(":_==="?NonExpressionParenKeyword"&&K.push({tag:"JSNonExpressionParen",nesting:L}),L++,j=!1;break;case")":L--,j=!0,J.tag==="JSNonExpressionParen"&&L===J.nesting&&(K.pop(),R="?NonExpressionParenEnd",j=!1);break;case"{":d.lastIndex=0,E=!g.test(_)&&(b.test(_)||o.test(_)),P.push(E),j=!1;break;case"}":switch(J.tag){case"InterpolationInTemplate":if(P.length===J.nesting){y.lastIndex=C,B=y.exec(D),C=y.lastIndex,_=B[0],B[1]==="${"?(_="?InterpolationInTemplate",j=!1,yield{type:"TemplateMiddle",value:B[0]}):(K.pop(),j=!0,yield{type:"TemplateTail",value:B[0],closed:B[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===J.nesting){K.pop(),C+=1,_="}",yield{type:"JSXPunctuator",value:"}"};continue}}j=P.pop(),R=j?"?ExpressionBraceEnd":"}";break;case"]":j=!0;break;case"++":case"--":R=j?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(S&&(b.test(_)||o.test(_))){K.push({tag:"JSXTag"}),C+=1,_="<",yield{type:"JSXPunctuator",value:W};continue}j=!1;break;default:j=!1}C=G,_=R,yield{type:"Punctuator",value:W};continue}if(e.lastIndex=C,B=e.exec(D)){switch(C=e.lastIndex,R=B[0],B[0]){case"for":case"if":case"while":case"with":_!=="."&&_!=="?."&&(R="?NonExpressionParenKeyword")}_=R,j=!o.test(B[0]),yield{type:B[1]==="#"?"PrivateIdentifier":"IdentifierName",value:B[0]};continue}if(m.lastIndex=C,B=m.exec(D)){C=m.lastIndex,_=B[0],j=!0,yield{type:"StringLiteral",value:B[0],closed:B[2]!==void 0};continue}if(p.lastIndex=C,B=p.exec(D)){C=p.lastIndex,_=B[0],j=!0,yield{type:"NumericLiteral",value:B[0]};continue}if(y.lastIndex=C,B=y.exec(D)){C=y.lastIndex,_=B[0],B[1]==="${"?(_="?InterpolationInTemplate",K.push({tag:"InterpolationInTemplate",nesting:P.length}),j=!1,yield{type:"TemplateHead",value:B[0]}):(j=!0,yield{type:"NoSubstitutionTemplate",value:B[0],closed:B[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=C,B=r.exec(D)){switch(C=r.lastIndex,R=B[0],B[0]){case"<":K.push({tag:"JSXTag"});break;case">":K.pop(),_==="/"||J.tag==="JSXTagEnd"?(R="?JSX",j=!0):K.push({tag:"JSXChildren"});break;case"{":K.push({tag:"InterpolationInJSX",nesting:P.length}),R="?InterpolationInJSX",j=!1;break;case"/":_==="<"&&(K.pop(),K[K.length-1].tag==="JSXChildren"&&K.pop(),K.push({tag:"JSXTagEnd"}))}_=R,yield{type:"JSXPunctuator",value:B[0]};continue}if(t.lastIndex=C,B=t.exec(D)){C=t.lastIndex,_=B[0],yield{type:"JSXIdentifier",value:B[0]};continue}if(n.lastIndex=C,B=n.exec(D)){C=n.lastIndex,_=B[0],yield{type:"JSXString",value:B[0],closed:B[2]!==void 0};continue}break;case"JSXChildren":if(a.lastIndex=C,B=a.exec(D)){C=a.lastIndex,_=B[0],yield{type:"JSXText",value:B[0]};continue}switch(D[C]){case"<":K.push({tag:"JSXTag"}),C++,_="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":K.push({tag:"InterpolationInJSX",nesting:P.length}),C++,_="?InterpolationInJSX",j=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=C,B=v.exec(D)){C=v.lastIndex,yield{type:"WhiteSpace",value:B[0]};continue}if(l.lastIndex=C,B=l.exec(D)){C=l.lastIndex,j=!1,i.test(_)&&(_="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:B[0]};continue}if(u.lastIndex=C,B=u.exec(D)){C=u.lastIndex,c.test(B[0])&&(j=!1,i.test(_)&&(_="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:B[0],closed:B[1]!==void 0};continue}if(f.lastIndex=C,B=f.exec(D)){C=f.lastIndex,j=!1,yield{type:"SingleLineComment",value:B[0]};continue}w=String.fromCodePoint(D.codePointAt(C)),C+=w.length,_=w,j=!1,yield{type:J.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:w}}},"jsTokens_1"),xp}s(B_,"requireJsTokens");B_();var j_={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(j_.keyword);new Set(j_.strict);function Ci(e,t){if(!e)throw new Error(t)}s(Ci,"assert");function ca(e,t){return typeof t===e}s(ca,"isType");function q_(e){return e instanceof Promise}s(q_,"isPromise");function Eo(e,t,r){Object.defineProperty(e,t,r)}s(Eo,"define");function ya(e,t,r){Eo(e,t,{value:r,configurable:!0,writable:!0})}s(ya,"defineValue");var $n=Symbol.for("tinyspy:spy"),y7=new Set,g7=s(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"reset"),b7=s(e=>(Eo(e,$n,{value:{reset:s(()=>g7(e[$n]),"reset")}}),e[$n]),"defineState"),Gd=s(e=>e[$n]||b7(e),"getInternalState");function M_(e){Ci(ca("function",e)||ca("undefined",e),"cannot spy on a non-function value");let t=s(function(...n){let a=Gd(t);a.called=!0,a.callCount++,a.calls.push(n);let o=a.next.shift();if(o){a.results.push(o);let[p,d]=o;if(p==="ok")return d;throw d}let i,l="ok",u=a.results.length;if(a.impl)try{new.target?i=Reflect.construct(a.impl,n,new.target):i=a.impl.apply(this,n),l="ok"}catch(p){throw i=p,l="error",a.results.push([l,p]),p}let c=[l,i];return q_(i)&&i.then(p=>a.resolves[u]=["ok",p],p=>a.resolves[u]=["error",p]),a.results.push(c),i},"fn");ya(t,"_isMockFunction",!0),ya(t,"length",e?e.length:0),ya(t,"name",e&&e.name||"spy");let r=Gd(t);return r.reset(),r.impl=e,t}s(M_,"createInternalSpy");function L_(e){return!!e&&e._isMockFunction===!0}s(L_,"isMockFunction");var $_=s((e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let a=Object.getOwnPropertyDescriptor(n,t);if(a)return[n,a];n=Object.getPrototypeOf(n)}},"getDescriptor"),i0=s((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"setPototype");function tg(e,t,r){Ci(!ca("undefined",e),"spyOn could not find an object to spy upon"),Ci(ca("object",e)||ca("function",e),"cannot spyOn on a primitive value");let[n,a]=(()=>{if(!ca("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[o,i]=$_(e,n)||[];Ci(i||n in e,`${String(n)} does not exist`);let l=!1;a==="value"&&i&&!i.value&&i.get&&(a="get",l=!0,r=i.get());let u;i?u=i[a]:a!=="value"?u=s(()=>e[n],"original"):u=e[n],u&&H_(u)&&(u=u[$n].getOriginal());let c=s(f=>{let{value:m,...y}=i||{configurable:!0,writable:!0};a!=="value"&&delete y.writable,y[a]=f,Eo(e,n,y)},"reassign"),p=s(()=>{o!==e?Reflect.deleteProperty(e,n):i&&!u?Eo(e,n,i):c(u)},"restore");r||(r=u);let d=V_(M_(r),r);a==="value"&&i0(d,u);let h=d[$n];return ya(h,"restore",p),ya(h,"getOriginal",()=>l?u():u),ya(h,"willCall",f=>(h.impl=f,d)),c(l?()=>(i0(d,r),d):d),y7.add(d),d}s(tg,"internalSpyOn");var v7=new Set(["length","name","prototype"]);function U_(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let a of n)r[a]||v7.has(a)||(t.add(a),r[a]=Object.getOwnPropertyDescriptor(e,a));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}s(U_,"getAllProperties");function V_(e,t){if(!t||$n in t)return e;let{properties:r,descriptors:n}=U_(t);for(let a of r){let o=n[a];$_(e,a)||Eo(e,a,o)}return e}s(V_,"wrap");function H_(e){return L_(e)&&"getOriginal"in e[$n]}s(H_,"isSpyFunction");var Cs=new Set;function ga(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}s(ga,"isMockFunction");function J_(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,a,o=z_(e,t),i=o&&o[r||"value"];ga(i)&&(a=i.mock._state());try{let l=tg(e,n),u=rg(l);return a&&u.mock._state(a),u}catch(l){throw l instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(l.message.includes("Cannot redefine property")||l.message.includes("Cannot replace module namespace")||l.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:l}):l}}s(J_,"spyOn");var E7=0;function rg(e){let t=e,r,n=[],a=!1,o=[],i=[],l=[],u=Gd(e),c={get calls(){return u.calls},get contexts(){return i},get instances(){return o},get invocationCallOrder(){return l},get results(){return u.results.map(([f,m])=>({type:f==="error"?"throw":"return",value:m}))},get settledResults(){return u.resolves.map(([f,m])=>({type:f==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return u.calls[u.calls.length-1]},_state(f){return f&&(r=f.implementation,n=f.onceImplementations,a=f.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:a}}};function p(...f){return o.push(this),i.push(this),l.push(++E7),(a?r:n.shift()||r||u.getOriginal()||(()=>{})).apply(this,f)}s(p,"mockCall");let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=f=>(d=f,t),t.mockClear=()=>(u.reset(),o=[],i=[],l=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),u.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>a?r:n.at(0)||r,t.mockImplementation=f=>(r=f,u.willCall(p),t),t.mockImplementationOnce=f=>(n.push(f),t);function h(f,m){let y=r;r=f,u.willCall(p),a=!0;let g=s(()=>{r=y,a=!1},"reset"),b=m();return typeof b=="object"&&b&&typeof b.then=="function"?b.then(()=>(g(),t)):(g(),t)}return s(h,"withImplementation"),t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:s(()=>c,"get")}),u.willCall(p),Cs.add(t),t}s(rg,"enhanceSpy");function Wd(e){let t=rg(tg({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}s(Wd,"fn");function z_(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}s(z_,"getDescriptor");var Hi=Symbol.for("matchers-object"),Ji=Symbol.for("$$jest-matchers-object-storybook"),ng=Symbol.for("expect-global"),Kd=Symbol.for("asymmetric-matchers-object"),C7={toSatisfy(e,t,r){let{printReceived:n,printExpected:a,matcherHint:o}=this.utils,i=t(e);return{pass:i,message:s(()=>i?`${o(".not.toSatisfy","received","")}
|
|
251
|
+
|
|
252
|
+
Expected value to not satisfy:
|
|
253
|
+
${r||a(t)}
|
|
254
|
+
Received:
|
|
255
|
+
${n(e)}`:`${o(".toSatisfy","received","")}
|
|
256
|
+
|
|
257
|
+
Expected value to satisfy:
|
|
258
|
+
${r||a(t)}
|
|
259
|
+
|
|
260
|
+
Received:
|
|
261
|
+
${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:a,printExpected:o,matcherHint:i}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${i(".toBeOneOf")}, not '${typeof t}'.`);let l=t.length===0||t.some(u=>r(u,e,n));return{pass:l,message:s(()=>l?`${i(".not.toBeOneOf","received","")}
|
|
262
|
+
|
|
263
|
+
Expected value to not be one of:
|
|
264
|
+
${o(t)}
|
|
265
|
+
Received:
|
|
266
|
+
${a(e)}`:`${i(".toBeOneOf","received","")}
|
|
267
|
+
|
|
268
|
+
Expected value to be one of:
|
|
269
|
+
${o(t)}
|
|
270
|
+
|
|
271
|
+
Received:
|
|
272
|
+
${a(e)}`,"message")}}},Kl=bt.green,ag=bt.red,w7=bt.inverse,A7=bt.bold,Fn=bt.dim;function G_(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:o=!1,isNot:i=!1,promise:l="",secondArgument:u="",expectedColor:c=Kl,receivedColor:p=ag,secondArgumentColor:d=Kl}=n,h="",f="expect";return!o&&t!==""&&(h+=Fn(`${f}(`)+p(t),f=")"),l!==""&&(h+=Fn(`${f}.`)+l,f=""),i&&(h+=`${Fn(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(h+=Fn(`${f}.`)+e,f=""),r===""?f+="()":(h+=Fn(`${f}(`)+c(r),u&&(h+=Fn(", ")+d(u)),f=")"),a!==""&&(f+=` // ${a}`),f!==""&&(h+=Fn(f)),h}s(G_,"matcherHint");var x7="·";function og(e){return e.replace(/\s+$/gm,t=>x7.repeat(t.length))}s(og,"replaceTrailingSpaces");function W_(e){return ag(og(Qt(e)))}s(W_,"printReceived");function K_(e){return Kl(og(Qt(e)))}s(K_,"printExpected");function ig(){return{EXPECTED_COLOR:Kl,RECEIVED_COLOR:ag,INVERTED_COLOR:w7,BOLD_WEIGHT:A7,DIM_COLOR:Fn,diff:Na,matcherHint:G_,printReceived:W_,printExpected:K_,printDiffOrStringify:_m,printWithType:Y_}}s(ig,"getMatcherUtils");function Y_(e,t,r){let n=Bi(t),a=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
|
|
273
|
+
`:"",o=`${e} has value: ${r(t)}`;return a+o}s(Y_,"printWithType");function Sc(){return globalThis[Ji].customEqualityTesters}s(Sc,"getCustomEqualityTesters");function Ve(e,t,r,n){return r=r||[],io(e,t,[],[],r,n?sg:Z_)}s(Ve,"equals");function Yd(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&wr("Function",e.asymmetricMatch)}s(Yd,"isAsymmetric");function X_(e,t){let r=Yd(e),n=Yd(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}s(X_,"asymmetricMatch");function io(e,t,r,n,a,o){let i=!0,l=X_(e,t);if(l!==void 0)return l;let u={equals:Ve};for(let m=0;m<a.length;m++){let y=a[m].call(u,e,t,a);if(y!==void 0)return y}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,y=+t;return m===y||Number.isNaN(m)&&Number.isNaN(y)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(Qd(e)&&Qd(t))return e.isEqualNode(t);let p=r.length;for(;p--;){if(r[p]===e)return n[p]===t;if(n[p]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return Q_(e,t,r,n,a,o)}finally{r.pop(),n.pop()}let d=Xd(e,o),h,f=d.length;if(Xd(t,o).length!==f)return!1;for(;f--;)if(h=d[f],i=o(t,h)&&io(e[h],t[h],r,n,a,o),!i)return!1;return r.pop(),n.pop(),i}s(io,"eq");function Q_(e,t,r,n,a,o){let i=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&i&&(i=io(e.cause,t.cause,r,n,a,o)),e instanceof AggregateError&&t instanceof AggregateError&&i&&(i=io(e.errors,t.errors,r,n,a,o)),i&&(i=io({...e},{...t},r,n,a,o)),i}s(Q_,"isErrorEqual");function Xd(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}s(Xd,"keys");function Z_(e,t){return sg(e,t)&&e[t]!==void 0}s(Z_,"hasDefinedKey");function sg(e,t){return Object.prototype.hasOwnProperty.call(e,t)}s(sg,"hasKey");function wr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}s(wr,"isA");function Qd(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}s(Qd,"isDomNode");var eT="@@__IMMUTABLE_KEYED__@@",tT="@@__IMMUTABLE_SET__@@",S7="@@__IMMUTABLE_LIST__@@",_c="@@__IMMUTABLE_ORDERED__@@",_7="@@__IMMUTABLE_RECORD__@@";function rT(e){return!!(e&&e[eT]&&!e[_c])}s(rT,"isImmutableUnorderedKeyed");function nT(e){return!!(e&&e[tT]&&!e[_c])}s(nT,"isImmutableUnorderedSet");function ws(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(ws,"isObjectLiteral");function aT(e){return!!(e&&ws(e)&&e[S7])}s(aT,"isImmutableList");function oT(e){return!!(e&&ws(e)&&e[eT]&&e[_c])}s(oT,"isImmutableOrderedKeyed");function iT(e){return!!(e&&ws(e)&&e[tT]&&e[_c])}s(iT,"isImmutableOrderedSet");function sT(e){return!!(e&&ws(e)&&e[_7])}s(sT,"isImmutableRecord");var lT=Symbol.iterator;function Zd(e){return!!(e!=null&&e[lT])}s(Zd,"hasIterator");function cr(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Zd(e)||!Zd(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return a[o]===t;n.push(e),a.push(t);let i=[...r.filter(c=>c!==cr),l];function l(c,p){return cr(c,p,[...r],[...n],[...a])}if(s(l,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(wr("Set",e)||nT(e)){let c=!0;for(let p of e)if(!t.has(p)){let d=!1;for(let h of t)Ve(p,h,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}else if(wr("Map",e)||rT(e)){let c=!0;for(let p of e)if(!t.has(p[0])||!Ve(p[1],t.get(p[0]),i)){let d=!1;for(let h of t){let f=Ve(p[0],h[0],i),m=!1;f===!0&&(m=Ve(p[1],h[1],i)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}}let u=t[lT]();for(let c of e){let p=u.next();if(p.done||!Ve(c,p.value,i))return!1}if(!u.next().done)return!1;if(!aT(e)&&!oT(e)&&!iT(e)&&!sT(e)){let c=Object.entries(e),p=Object.entries(t);if(!Ve(c,p,i))return!1}return n.pop(),a.pop(),!0}s(cr,"iterableEquality");function Tc(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Tc(Object.getPrototypeOf(e),t)}s(Tc,"hasPropertyInObject");function uT(e){return vi(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}s(uT,"isObjectWithKeys");function $o(e,t,r=[]){let n=r.filter(o=>o!==$o),a=s((o=new WeakMap)=>(i,l)=>{if(uT(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(o.has(l[u]))return Ve(i[u],l[u],n);o.set(l[u],!0)}let c=i!=null&&Tc(i,u)&&Ve(i[u],l[u],[...n,a(o)]);return o.delete(l[u]),c})},"subsetEqualityWithContext");return a()(e,t)}s($o,"subsetEquality");function ef(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}s(ef,"typeEquality");function tf(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;a<r.byteLength;a++)if(r.getUint8(a)!==n.getUint8(a))return!1;return!0}s(tf,"arrayBufferEquality");function Yl(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),a=Object.keys(t),o=r.filter(i=>i!==Yl);return Ve(e,t,o,!0)&&Ve(n,a)}s(Yl,"sparseArrayEquality");function cT(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
274
|
+
|
|
275
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
276
|
+
|
|
277
|
+
Expected: ${t}
|
|
278
|
+
Received: serializes to the same string
|
|
279
|
+
`:n}s(cT,"generateToBeMessage");function pT(e,t){return`${t} ${e}${t===1?"":"s"}`}s(pT,"pluralize");function el(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}s(el,"getObjectKeys");function dT(e,t,r){let n=0,a=s((o=new WeakMap)=>(i,l)=>{if(Array.isArray(i)){if(Array.isArray(l)&&l.length===i.length)return l.map((u,c)=>a(o)(i[c],u))}else{if(i instanceof Date)return i;if(vi(i)&&vi(l)){if(Ve(i,l,[...r,cr,$o]))return l;let u={};o.set(i,u),typeof i.constructor=="function"&&typeof i.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:i.constructor});for(let c of el(i))Tc(l,c)?u[c]=o.has(i[c])?o.get(i[c]):a(o)(i[c],l[c]):o.has(i[c])||(n+=1,vi(i[c])&&(n+=el(i[c]).length),a(o)(i[c],l[c]));if(el(u).length>0)return u}}return i},"getObjectSubsetWithContext");return{subset:a()(e,t),stripped:n}}s(dT,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Hi)){let e=new WeakMap;Object.defineProperty(globalThis,Hi,{get:s(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Ji)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Ji,{configurable:!0,get:s(()=>({state:globalThis[Hi].get(globalThis[ng]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Kd)){let e=Object.create(null);Object.defineProperty(globalThis,Kd,{get:s(()=>e,"get")})}function zi(e){return globalThis[Hi].get(e)}s(zi,"getState");function tl(e,t){let r=globalThis[Hi],n=r.get(t)||{},a=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,a)}s(tl,"setState");var fT=class{constructor(t,r=!1){tr(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{...zi(t||globalThis[ng]),equals:Ve,isNot:this.inverse,customTesters:Sc(),utils:{...ig(),diff:Na,stringify:Qt,iterableEquality:cr,subsetEquality:$o}}}};s(fT,"AsymmetricMatcher");var Sn=fT;Sn.prototype[Symbol.for("chai/inspect")]=function(e){let t=Qt(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var hT=class extends Sn{constructor(t,r=!1){if(!wr("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=wr("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};s(hT,"StringContaining");var s0=hT,mT=class extends Sn{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};s(mT,"Anything");var T7=mT,yT=class extends Sn{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let a in this.sample)if(!this.hasProperty(t,a)||!Ve(this.sample[a],t[a],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};s(yT,"ObjectContaining");var l0=yT,gT=class extends Sn{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(a=>t.some(o=>Ve(a,o,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};s(gT,"ArrayContaining");var u0=gT,bT=class extends Sn{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}};s(bT,"Any");var P7=bT,vT=class extends Sn{constructor(t,r=!1){if(!wr("String",t)&&!wr("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=wr("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};s(vT,"StringMatching");var c0=vT,ET=class extends Sn{constructor(r,n=2,a=!1){if(!wr("Number",r))throw new Error("Expected is not a Number");if(!wr("Number",n))throw new Error("Precision is not a Number");super(r);tr(this,"precision");this.inverse=a,this.precision=n}asymmetricMatch(r){if(!wr("Number",r))return!1;let n=!1;return r===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||r===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?n=!0:n=Math.abs(this.sample-r)<10**-this.precision/2,this.inverse?!n:n}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${pT("digit",this.precision)})`].join(" ")}};s(ET,"CloseTo");var p0=ET,D7=s((e,t)=>{t.addMethod(e.expect,"anything",()=>new T7),t.addMethod(e.expect,"any",r=>new P7(r)),t.addMethod(e.expect,"stringContaining",r=>new s0(r)),t.addMethod(e.expect,"objectContaining",r=>new l0(r)),t.addMethod(e.expect,"arrayContaining",r=>new u0(r)),t.addMethod(e.expect,"stringMatching",r=>new c0(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new p0(r,n)),e.expect.not={stringContaining:s(r=>new s0(r,!0),"stringContaining"),objectContaining:s(r=>new l0(r,!0),"objectContaining"),arrayContaining:s(r=>new u0(r,!0),"arrayContaining"),stringMatching:s(r=>new c0(r,!0),"stringMatching"),closeTo:s((r,n)=>new p0(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function rf(e,t,r){let n=e.flag(t,"negate")?"not.":"",a=`${e.flag(t,"_name")}(${r?"expected":""})`,o=e.flag(t,"promise");return`expect(actual)${o?`.${o}`:""}.${n}${a}`}s(rf,"createAssertionMessage");function nf(e,t,r,n){let a=e;if(a&&t instanceof Promise){t=t.finally(()=>{if(!a.promises)return;let i=a.promises.indexOf(t);i!==-1&&a.promises.splice(i,1)}),a.promises||(a.promises=[]),a.promises.push(t);let o=!1;return a.onFinished??(a.onFinished=[]),a.onFinished.push(()=>{if(!o){var i;let l=(((i=globalThis.__vitest_worker__)===null||i===void 0?void 0:i.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
|
|
280
|
+
`,l].join(""))}}),{then(i,l){return o=!0,t.then(i,l)},catch(i){return t.catch(i)},finally(i){return t.finally(i)},[Symbol.toStringTag]:"Promise"}}return t}s(nf,"recordAsyncExpect");function af(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push($u(t))}s(af,"handleTestError");function lg(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{let o=r.apply(this,n);return o&&typeof o=="object"&&typeof o.then=="function"?o.then(yx,i=>{af(a,i)}):o}catch(o){af(a,o)}}}s(lg,"wrapAssertion");var O7=s((e,t)=>{let{AssertionError:r}=e,n=Sc();function a(c,p){let d=s(h=>{let f=lg(t,h,p);t.addMethod(e.Assertion.prototype,h,f),t.addMethod(globalThis[Ji].matchers,h,f)},"addMethod");Array.isArray(c)?c.forEach(h=>d(h)):d(c)}s(a,"def"),["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,p=>function(...d){let h=t.flag(this,"promise"),f=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw f});else if(h==="resolves"&&typeof f!="function"){if(m)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}p.apply(this,d)})}),a("withTest",function(c){return t.flag(this,"vitest-test",c),this}),a("toEqual",function(c){let p=t.flag(this,"object"),d=Ve(p,c,[...n,cr]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,p)}),a("toStrictEqual",function(c){let p=t.flag(this,"object"),d=Ve(p,c,[...n,cr,ef,Yl,tf],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,p)}),a("toBe",function(c){let p=this._obj,d=Object.is(p,c),h="";return d||(Ve(p,c,[...n,cr,ef,Yl,tf],!0)?h="toStrictEqual":Ve(p,c,[...n,cr])&&(h="toEqual")),this.assert(d,cT(h),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),a("toMatchObject",function(c){let p=this._obj,d=Ve(p,c,[...n,cr,$o]),h=t.flag(this,"negate"),{subset:f,stripped:m}=dT(p,c,n);if(d&&h||!d&&!h){let y=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,f,!1]),g=m===0?y:`${y}
|
|
281
|
+
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:c,actual:f})}}),a("toMatch",function(c){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),a("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){Vr(c,"class name",["string"]);let d=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,d,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),a("toContainEqual",function(c){let p=t.flag(this,"object"),d=Array.from(p).findIndex(h=>Ve(h,c,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),a("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,c)}),a("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,c)}),a("toBeGreaterThan",function(c){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,c,p,!1)}),a("toBeGreaterThanOrEqual",function(c){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,c,p,!1)}),a("toBeLessThan",function(c){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,c,p,!1)}),a("toBeLessThanOrEqual",function(c){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,c,p,!1)}),a("toBeNaN",function(){let c=t.flag(this,"object");this.assert(Number.isNaN(c),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,c)}),a("toBeUndefined",function(){let c=t.flag(this,"object");this.assert(c===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,c)}),a("toBeNull",function(){let c=t.flag(this,"object");this.assert(c===null,"expected #{this} to be null","expected #{this} not to be null",null,c)}),a("toBeDefined",function(){let c=t.flag(this,"object");this.assert(typeof c<"u","expected #{this} to be defined","expected #{this} to be undefined",c)}),a("toBeTypeOf",function(c){let p=typeof this._obj,d=c===p;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),a("toBeInstanceOf",function(c){return this.instanceOf(c)}),a("toHaveLength",function(c){return this.have.length(c)}),a("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[d,h]=c,f=s(()=>Object.prototype.hasOwnProperty.call(p,d)?{value:p[d],exists:!0}:t.getPathInfo(p,d),"getValue"),{value:m,exists:y}=f(),g=y&&(c.length===1||Ve(h,m,n)),b=c.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(g,`expected #{this} to have property "${d}"${b}`,`expected #{this} to not have property "${d}"${b}`,h,y?m:void 0)}),a("toBeCloseTo",function(c,p=2){let d=this._obj,h=!1,f=0,m=0;return c===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?h=!0:(f=10**-p/2,m=Math.abs(d-c),h=m<f),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${f}`,c,d,!1)});function o(c){if(!ga(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}s(o,"assertIsMock");function i(c){return o(c),c._obj}s(i,"getSpy"),a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=i(this),d=p.getMockName(),h=p.mock.calls.length;return this.assert(h===c,`expected "${d}" to be called #{exp} times, but got ${h} times`,`expected "${d}" to not be called #{exp} times`,c,h,!1)}),a("toHaveBeenCalledOnce",function(){let c=i(this),p=c.getMockName(),d=c.mock.calls.length;return this.assert(d===1,`expected "${p}" to be called once, but got ${d} times`,`expected "${p}" to not be called once`,1,d,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let c=i(this),p=c.getMockName(),d=c.mock.calls.length,h=d>0,f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${d} times`,!0,h]);if(h&&f&&(m=rl(c,m)),h&&f||!h&&!f)throw new r(m)});function l(c,p){return c.length===p.length&&c.every((d,h)=>Ve(d,p[h],[...n,cr]))}s(l,"equalsArgumentArray"),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls.some(y=>l(y,c)),f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,c]);if(h&&f||!h&&!f)throw new r(rl(p,m,c))}),a("toHaveBeenCalledExactlyOnceWith",function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls.length,f=p.mock.calls.some(g=>l(g,c))&&h===1,m=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,c]);if(f&&m||!f&&!m)throw new r(rl(p,y,c))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let d=i(this),h=d.getMockName(),f=d.mock.calls[c-1],m=d.mock.calls.length,y=c<=m;this.assert(f&&l(f,p),`expected ${so(c)} "${h}" call to have been called with #{exp}${y?"":`, but called only ${m} times`}`,`expected ${so(c)} "${h}" call to not have been called with #{exp}`,p,f,y)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls[p.mock.calls.length-1];this.assert(h&&l(h,c),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,c,h)});function u(c,p,d){let h=c.mock.invocationCallOrder,f=p.mock.invocationCallOrder;return h.length===0?!d:f.length===0?!1:h[0]<f[0]}s(u,"isSpyCalledBeforeAnotherSpy"),a(["toHaveBeenCalledBefore"],function(c,p=!0){let d=i(this);if(!ga(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(d,c,p),`expected "${d.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${c.getMockName()}"`,c,d)}),a(["toHaveBeenCalledAfter"],function(c,p=!0){let d=i(this);if(!ga(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(c,d,p),`expected "${d.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${c.getMockName()}"`,c,d)}),a(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let p=this._obj,d=t.flag(this,"promise"),h=t.flag(this,"negate"),f=null;if(d==="rejects")f=p;else if(d==="resolves"&&typeof p!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(m,y,t.flag(this,"ssfi"))}}else{let m=!1;try{p()}catch(y){m=!0,f=y}if(!m&&!h){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}if(typeof c=="function"){let m=c.name||c.prototype.constructor.name;return this.assert(f&&f instanceof c,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,c,f)}if(c instanceof Error){let m=Ve(f,c,[...n,cr]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,f)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let m=c;return this.assert(f&&m.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:s(c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s(c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(){let h=i(this),f=h.getMockName(),m=p(h);this.assert(m,`expected "${f}" to be successfully ${d} at least once`,`expected "${f}" to not be successfully ${d}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:s((c,p)=>c.mock.settledResults.reduce((d,{type:h})=>h==="fulfilled"?++d:d,0)===p,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:s((c,p)=>c.mock.results.reduce((d,{type:h})=>h==="throw"?d:++d,0)===p,"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=f.getMockName(),y=p(f,h);this.assert(y,`expected "${m}" to be successfully ${d} ${h} times`,`expected "${m}" to not be successfully ${d} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:s((c,p)=>c.mock.settledResults.some(({type:d,value:h})=>d==="fulfilled"&&Ve(p,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:s((c,p)=>c.mock.results.some(({type:d,value:h})=>d==="return"&&Ve(p,h)),"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=p(f,h),y=t.flag(this,"negate");if(m&&y||!m&&!y){let g=f.getMockName(),b=t.getMessage(this,[m,`expected "${g}" to ${d} with: #{exp} at least once`,`expected "${g}" to not ${d} with: #{exp}`,h]),v=d==="return"?f.mock.results:f.mock.settledResults;throw new r(CT(f,v,b,h))}})}),[{name:"toHaveLastResolvedWith",condition:s((c,p)=>{let d=c.mock.settledResults[c.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&Ve(d.value,p)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:s((c,p)=>{let d=c.mock.results[c.mock.results.length-1];return d&&d.type==="return"&&Ve(d.value,p)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=d==="return"?f.mock.results:f.mock.settledResults,y=m[m.length-1],g=f.getMockName();this.assert(p(f,h),`expected last "${g}" call to ${d} #{exp}`,`expected last "${g}" call to not ${d} #{exp}`,h,y==null?void 0:y.value)})}),[{name:"toHaveNthResolvedWith",condition:s((c,p,d)=>{let h=c.mock.settledResults[p-1];return h&&h.type==="fulfilled"&&Ve(h.value,d)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:s((c,p,d)=>{let h=c.mock.results[p-1];return h&&h.type==="return"&&Ve(h.value,d)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h,f){let m=i(this),y=m.getMockName(),g=(d==="return"?m.mock.results:m.mock.settledResults)[h-1],b=`${so(h)} call`;this.assert(p(m,h,f),`expected ${b} "${y}" call to ${d} #{exp}`,`expected ${b} "${y}" call to not ${d} #{exp}`,f,g==null?void 0:g.value)})}),a("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",s(function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(d==null?void 0:d.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let h=new Proxy(this,{get:s((f,m,y)=>{let g=Reflect.get(f,m,y);return typeof g!="function"?g instanceof e.Assertion?h:g:(...b)=>{t.flag(this,"_name",m);let v=d.then(D=>(t.flag(this,"object",D),g.call(this,...b)),D=>{let S=new r(`promise rejected "${t.inspect(D)}" instead of resolving`,{showDiff:!1});throw S.cause=D,S.stack=c.stack.replace(c.message,S.message),S});return nf(p,v,rf(t,this,!!b.length),c)}},"get")});return h},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",s(function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object"),h=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let f=new Proxy(this,{get:s((m,y,g)=>{let b=Reflect.get(m,y,g);return typeof b!="function"?b instanceof e.Assertion?f:b:(...v)=>{t.flag(this,"_name",y);let D=h.then(S=>{let P=new r(`promise resolved "${t.inspect(S)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:S});throw P.stack=c.stack.replace(c.message,P.message),P},S=>(t.flag(this,"object",S),b.call(this,...v)));return nf(p,D,rf(t,this,!!v.length),c)}},"get")});return f},"__VITEST_REJECTS__"))},"JestChaiExpect");function so(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}s(so,"ordinalOf");function rl(e,t,r){return e.mock.calls.length&&(t+=bt.gray(`
|
|
282
|
+
|
|
283
|
+
Received:
|
|
284
|
+
|
|
285
|
+
${e.mock.calls.map((n,a)=>{let o=bt.bold(` ${so(a+1)} ${e.getMockName()} call:
|
|
286
|
+
|
|
287
|
+
`);return r?o+=Na(r,n,{omitAnnotationLines:!0}):o+=Qt(n).split(`
|
|
288
|
+
`).map(i=>` ${i}`).join(`
|
|
289
|
+
`),o+=`
|
|
290
|
+
`,o}).join(`
|
|
291
|
+
`)}`)),t+=bt.gray(`
|
|
292
|
+
|
|
293
|
+
Number of calls: ${bt.bold(e.mock.calls.length)}
|
|
294
|
+
`),t}s(rl,"formatCalls");function CT(e,t,r,n){return t.length&&(r+=bt.gray(`
|
|
295
|
+
|
|
296
|
+
Received:
|
|
297
|
+
|
|
298
|
+
${t.map((a,o)=>{let i=bt.bold(` ${so(o+1)} ${e.getMockName()} call return:
|
|
299
|
+
|
|
300
|
+
`);return n?i+=Na(n,a.value,{omitAnnotationLines:!0}):i+=Qt(a).split(`
|
|
301
|
+
`).map(l=>` ${l}`).join(`
|
|
302
|
+
`),i+=`
|
|
303
|
+
`,i}).join(`
|
|
304
|
+
`)}`)),r+=bt.gray(`
|
|
305
|
+
|
|
306
|
+
Number of calls: ${bt.bold(e.mock.calls.length)}
|
|
307
|
+
`),r}s(CT,"formatReturns");function wT(e,t){let r=e._obj,n=Gr.flag(e,"negate"),a=Gr.flag(e,"promise")||"",o={...ig(),diff:Na,stringify:Qt,iterableEquality:cr,subsetEquality:$o};return{state:{...zi(t),customTesters:Sc(),isNot:n,utils:o,promise:a,equals:Ve,suppressedErrors:[],soft:Gr.flag(e,"soft"),poll:Gr.flag(e,"poll")},isNot:n,obj:r}}s(wT,"getMatcherState");var AT=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};s(AT,"JestExtendError");var d0=AT;function xT(e,t,r){return(n,a)=>{Object.entries(r).forEach(([o,i])=>{function l(...h){let{state:f,isNot:m,obj:y}=wT(this,t),g=i.call(f,y,...h);if(g&&typeof g=="object"&&typeof g.then=="function")return g.then(({pass:P,message:w,actual:E,expected:C})=>{if(P&&m||!P&&!m)throw new d0(w(),E,C)});let{pass:b,message:v,actual:D,expected:S}=g;if(b&&m||!b&&!m)throw new d0(v(),D,S)}s(l,"expectWrapper");let u=lg(a,o,l);a.addMethod(globalThis[Ji].matchers,o,u),a.addMethod(e.Assertion.prototype,o,u);let c=class extends Sn{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=i.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Qt(f)).join(", ")}>`}};s(c,"CustomMatcher");let p=c,d=s((...h)=>new p(!1,...h),"customMatcher");Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:s((...h)=>new p(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[Kd],o,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}s(xT,"JestExtendPlugin");var R7=s((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{ma(xT(e,r,n))})},"JestExtend");function ST(){ma(R7),ma(O7),ma(D7);let e=s((n,a)=>{let{assertionCalls:o}=zi(e);return tl({assertionCalls:o+1,soft:!1},e),Ln(n,a)},"expect");Object.assign(e,Ln),e.getState=()=>zi(e),e.setState=n=>tl(n,e),e.extend=n=>Ln.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.extend(C7),e.unreachable=n=>{U.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=s(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}s(t,"assertions");function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return s(r,"hasAssertions"),tl({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Gr.addMethod(e,"assertions",t),Gr.addMethod(e,"hasAssertions",r),e.extend(nS),e}s(ST,"createExpect");var _T=ST();Object.defineProperty(globalThis,ng,{value:_T,writable:!0,configurable:!0});function TT(e,t,r){Object.defineProperty(e,t,r)}s(TT,"f");var nl=Symbol.for("tinyspy:spy"),F7=s(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),I7=s(e=>(TT(e,nl,{value:{reset:s(()=>F7(e[nl]),"reset")}}),e[nl]),"K"),k7=s(e=>e[nl]||I7(e),"T"),of=new Set;function ug(e){return of.add(e),()=>void of.delete(e)}s(ug,"onMockCall");var N7=s((...e)=>{let t=J_(...e);return pg(t)},"spyOn");function cg(e){let t=e?Wd(e):Wd();return pg(t)}s(cg,"fn");function pg(e){let t=sf(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>sf(r(n)),t}s(pg,"reactiveMock");function sf(e){let t=k7(e),r=t.impl;return t.willCall(function(...n){return of.forEach(a=>a(e,n)),r==null?void 0:r.apply(this,n)}),e}s(sf,"listenWhenCalled");function dg(){Cs.forEach(e=>e.mockClear())}s(dg,"clearAllMocks");function fg(){Cs.forEach(e=>e.mockReset())}s(fg,"resetAllMocks");function hg(){Cs.forEach(e=>e.mockRestore())}s(hg,"restoreAllMocks");function PT(e,t={}){return e}s(PT,"mocked");var DT={};Jt(DT,{buildQueries:()=>rn,configure:()=>TP,createEvent:()=>Ai,findAllByAltText:()=>CD,findAllByDisplayValue:()=>mD,findAllByLabelText:()=>WP,findAllByPlaceholderText:()=>nD,findAllByRole:()=>ND,findAllByTestId:()=>$D,findAllByText:()=>uD,findAllByTitle:()=>TD,findByAltText:()=>wD,findByDisplayValue:()=>yD,findByLabelText:()=>KP,findByPlaceholderText:()=>aD,findByRole:()=>BD,findByTestId:()=>UD,findByText:()=>cD,findByTitle:()=>PD,fireEvent:()=>xo,getAllByAltText:()=>vD,getAllByDisplayValue:()=>fD,getAllByLabelText:()=>YP,getAllByPlaceholderText:()=>tD,getAllByRole:()=>ID,getAllByTestId:()=>MD,getAllByText:()=>sD,getAllByTitle:()=>SD,getByAltText:()=>ED,getByDisplayValue:()=>hD,getByLabelText:()=>XP,getByPlaceholderText:()=>rD,getByRole:()=>kD,getByTestId:()=>LD,getByText:()=>lD,getByTitle:()=>_D,getConfig:()=>Le,getDefaultNormalizer:()=>Oc,getElementError:()=>xs,getMultipleElementsFoundError:()=>Ss,getNodeText:()=>Uo,getQueriesForElement:()=>Zl,getRoles:()=>kg,getSuggestedQuery:()=>Wi,isInaccessible:()=>As,logDOM:()=>hf,logRoles:()=>aU,makeFindQuery:()=>xa,makeGetAllQuery:()=>Ic,makeSingleQuery:()=>Aa,prettyDOM:()=>Ao,prettyFormat:()=>mg,queries:()=>Ql,queryAllByAltText:()=>gD,queryAllByAttribute:()=>Zn,queryAllByDisplayValue:()=>pD,queryAllByLabelText:()=>QP,queryAllByPlaceholderText:()=>ZP,queryAllByRole:()=>RD,queryAllByTestId:()=>jD,queryAllByText:()=>oD,queryAllByTitle:()=>AD,queryByAltText:()=>bD,queryByAttribute:()=>Bg,queryByDisplayValue:()=>dD,queryByLabelText:()=>zP,queryByPlaceholderText:()=>eD,queryByRole:()=>FD,queryByTestId:()=>qD,queryByText:()=>iD,queryByTitle:()=>xD,queryHelpers:()=>oU,screen:()=>SU,waitFor:()=>Fc,waitForElementToBeRemoved:()=>HD,within:()=>Zl,wrapAllByQueryWithSuggestion:()=>Zt,wrapSingleQueryWithSuggestion:()=>Un});var mg=Et(MM()),B7=Object.prototype.toString;function lf(e){return typeof e=="function"||B7.call(e)==="[object Function]"}s(lf,"isCallable");function OT(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(OT,"toInteger");var j7=Math.pow(2,53)-1;function RT(e){var t=OT(e);return Math.min(Math.max(t,0),j7)}s(RT,"toLength");function Er(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!lf(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=RT(n.length),o=lf(r)?Object(new r(a)):new Array(a),i=0,l;i<a;)l=n[i],t?o[i]=t(l,i):o[i]=l,i+=1;return o.length=a,o}s(Er,"arrayFrom");function Co(e){"@babel/helpers - typeof";return Co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Co(e)}s(Co,"_typeof");function FT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(FT,"_classCallCheck");function uf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,yg(n.key),n)}}s(uf,"_defineProperties");function IT(e,t,r){return t&&uf(e.prototype,t),r&&uf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(IT,"_createClass");function kT(e,t,r){return t=yg(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(kT,"_defineProperty");function yg(e){var t=NT(e,"string");return Co(t)==="symbol"?t:String(t)}s(yg,"_toPropertyKey");function NT(e,t){if(Co(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Co(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(NT,"_toPrimitive");var q7=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];FT(this,e),kT(this,"items",void 0),this.items=t}return s(e,"SetLike"),IT(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e}(),M7=typeof Set>"u"?Set:q7;function It(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(It,"getLocalName");var L7={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},$7={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function BT(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=$7[t])!==null&&n!==void 0&&n.has(r))})}s(BT,"hasGlobalAriaAttributes");function gg(e,t){return BT(e,t)}s(gg,"ignorePresentationalRole");function jT(e){var t=MT(e);if(t===null||t==="presentation"){var r=qT(e);if(t!=="presentation"||gg(e,r||""))return r}return t}s(jT,"getRole");function qT(e){var t=L7[It(e)];if(t!==void 0)return t;switch(It(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!gg(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}s(qT,"getImplicitRole");function MT(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(MT,"getExplicitRole");function at(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(at,"isElement");function bg(e){return at(e)&&It(e)==="caption"}s(bg,"isHTMLTableCaptionElement");function wi(e){return at(e)&&It(e)==="input"}s(wi,"isHTMLInputElement");function LT(e){return at(e)&&It(e)==="optgroup"}s(LT,"isHTMLOptGroupElement");function $T(e){return at(e)&&It(e)==="select"}s($T,"isHTMLSelectElement");function UT(e){return at(e)&&It(e)==="table"}s(UT,"isHTMLTableElement");function VT(e){return at(e)&&It(e)==="textarea"}s(VT,"isHTMLTextAreaElement");function HT(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(HT,"safeWindow");function JT(e){return at(e)&&It(e)==="fieldset"}s(JT,"isHTMLFieldSetElement");function zT(e){return at(e)&&It(e)==="legend"}s(zT,"isHTMLLegendElement");function GT(e){return at(e)&&It(e)==="slot"}s(GT,"isHTMLSlotElement");function WT(e){return at(e)&&e.ownerSVGElement!==void 0}s(WT,"isSVGElement");function KT(e){return at(e)&&It(e)==="svg"}s(KT,"isSVGSVGElement");function YT(e){return WT(e)&&It(e)==="title"}s(YT,"isSVGTitleElement");function Gi(e,t){if(at(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}s(Gi,"queryIdRefs");function Kr(e,t){return at(e)?t.indexOf(jT(e))!==-1:!1}s(Kr,"hasAnyConcreteRoles");function XT(e){return e.trim().replace(/\s\s+/g," ")}s(XT,"asFlatString");function QT(e,t){if(!at(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}s(QT,"isHidden");function ZT(e){return Kr(e,["button","combobox","listbox","textbox"])||vg(e,"range")}s(ZT,"isControl");function vg(e,t){if(!at(e))return!1;switch(t){case"range":return Kr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(vg,"hasAbstractRole");function cf(e,t){var r=Er(e.querySelectorAll(t));return Gi(e,"aria-owns").forEach(function(n){r.push.apply(r,Er(n.querySelectorAll(t)))}),r}s(cf,"querySelectorAllSubtree");function eP(e){return $T(e)?e.selectedOptions||cf(e,"[selected]"):cf(e,'[aria-selected="true"]')}s(eP,"querySelectedOptions");function tP(e){return Kr(e,["none","presentation"])}s(tP,"isMarkedPresentational");function rP(e){return bg(e)}s(rP,"isNativeHostLanguageTextAlternativeElement");function nP(e){return Kr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(nP,"allowsNameFromContent");function aP(e){return!1}s(aP,"isDescendantOfNativeHostLanguageTextAlternativeElement");function oP(e){return wi(e)||VT(e)?e.value:e.textContent||""}s(oP,"getValueOfTextbox");function pf(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(pf,"getTextualContent");function Eg(e){var t=It(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(Eg,"isLabelableElement");function Cg(e){if(Eg(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&at(r)){var n=Cg(r);n!==null&&(t=n)}}),t}s(Cg,"findLabelableElement");function iP(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Cg(e)}s(iP,"getControlOfLabel");function sP(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Er(t);if(!Eg(e))return null;var r=e.ownerDocument;return Er(r.querySelectorAll("label")).filter(function(n){return iP(n)===e})}s(sP,"getLabels");function lP(e){var t=e.assignedNodes();return t.length===0?Er(e.childNodes):t}s(lP,"getSlotContents");function wg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new M7,n=HT(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function h(b,v){var D="";if(at(b)&&l){var S=c(b,"::before"),P=pf(S);D="".concat(P," ").concat(D)}var w=GT(b)?lP(b):Er(b.childNodes).concat(Gi(b,"aria-owns"));if(w.forEach(function(_){var N=g(_,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=at(_)?c(_).getPropertyValue("display"):"inline",J=B!=="inline"?" ":"";D+="".concat(J).concat(N).concat(J)}),at(b)&&l){var E=c(b,"::after"),C=pf(E);D="".concat(D," ").concat(C)}return D.trim()}s(h,"computeMiscTextAlternative");function f(b,v){var D=b.getAttributeNode(v);return D!==null&&!r.has(D)&&D.value.trim()!==""?(r.add(D),D.value):null}s(f,"useAttribute");function m(b){return at(b)?f(b,"title"):null}s(m,"computeTooltipAttributeValue");function y(b){if(!at(b))return null;if(JT(b)){r.add(b);for(var v=Er(b.childNodes),D=0;D<v.length;D+=1){var S=v[D];if(zT(S))return g(S,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(UT(b)){r.add(b);for(var P=Er(b.childNodes),w=0;w<P.length;w+=1){var E=P[w];if(bg(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(KT(b)){r.add(b);for(var C=Er(b.childNodes),_=0;_<C.length;_+=1){var N=C[_];if(YT(N))return N.textContent}return null}else if(It(b)==="img"||It(b)==="area"){var B=f(b,"alt");if(B!==null)return B}else if(LT(b)){var J=f(b,"label");if(J!==null)return J}if(wi(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var G=f(b,"value");if(G!==null)return G;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var R=sP(b);if(R!==null&&R.length!==0)return r.add(b),Er(R).map(function(K){return g(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(wi(b)&&b.type==="image"){var L=f(b,"alt");if(L!==null)return L;var j=f(b,"title");return j!==null?j:"Submit Query"}if(Kr(b,["button"])){var W=h(b,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}s(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!d&&QT(b,c)&&!v.isReferenced)return r.add(b),"";var D=at(b)?b.getAttributeNode("aria-labelledby"):null,S=D!==null&&!r.has(D)?Gi(b,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&S.length>0)return r.add(D),S.map(function(B){return g(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&ZT(b)&&o==="name";if(!P){var w=(at(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&o==="name")return r.add(b),w;if(!tP(b)){var E=y(b);if(E!==null)return r.add(b),E}}if(Kr(b,["menu"]))return r.add(b),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(Kr(b,["combobox","listbox"])){r.add(b);var C=eP(b);return C.length===0?wi(b)?b.value:"":Er(C).map(function(B){return g(B,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(vg(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(Kr(b,["textbox"]))return r.add(b),oP(b)}if(nP(b)||at(b)&&v.isReferenced||rP(b)||aP()){var _=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(_!=="")return r.add(b),_}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var N=m(b);return N!==null?(r.add(b),N):(r.add(b),"")}return s(g,"computeTextAlternative"),XT(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}s(wg,"computeTextAlternative");function wo(e){"@babel/helpers - typeof";return wo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wo(e)}s(wo,"_typeof");function df(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}s(df,"ownKeys");function ff(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?df(Object(r),!0).forEach(function(n){uP(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):df(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s(ff,"_objectSpread");function uP(e,t,r){return t=cP(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(uP,"_defineProperty");function cP(e){var t=pP(e,"string");return wo(t)==="symbol"?t:String(t)}s(cP,"_toPropertyKey");function pP(e,t){if(wo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(wo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(pP,"_toPrimitive");function Ag(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Gi(e,"aria-describedby").map(function(a){return wg(a,ff(ff({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}s(Ag,"computeAccessibleDescription");function dP(e){return Kr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}s(dP,"prohibitsNaming");function Pc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return dP(e)?"":wg(e,t)}s(Pc,"computeAccessibleName");var br=Et(S5()),U7=Et(_5());function xg(e){return e.replace(/</g,"<").replace(/>/g,">")}s(xg,"escapeHTML");var V7=s((e,t,r,n,a,o,i)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=i(p,r,l,a,o);return typeof p!="string"&&(d.indexOf(`
|
|
308
|
+
`)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},"printProps"),H7=3,J7=s((e,t,r,n,a,o)=>e.map(i=>{let l=typeof i=="string"?fP(i,t):o(i,t,r,n,a);return l===""&&typeof i=="object"&&i!==null&&i.nodeType!==H7?"":t.spacingOuter+r+l}).join(""),"printChildren"),fP=s((e,t)=>{let r=t.colors.content;return r.open+xg(e)+r.close},"printText"),z7=s((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+xg(e)+"-->"+r.close},"printComment"),G7=s((e,t,r,n,a)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},"printElement"),W7=s((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),K7=1,hP=3,mP=8,yP=11,Y7=/^((HTML|SVG)\w*)?Element$/,gP=s(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),X7=s(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===K7&&(Y7.test(t)||gP(e))||r===hP&&t==="Text"||r===mP&&t==="Comment"||r===yP&&t==="DocumentFragment"},"testNode");function bP(e){return e.nodeType===hP}s(bP,"nodeIsText");function vP(e){return e.nodeType===mP}s(vP,"nodeIsComment");function al(e){return e.nodeType===yP}s(al,"nodeIsFragment");function EP(e){return{test:s(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||gP(t))&&X7(t)},"test"),serialize:s((t,r,n,a,o,i)=>{if(bP(t))return fP(t.data,r);if(vP(t))return z7(t.data,r);let l=al(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?W7(l,r):G7(l,V7(al(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),al(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,a,o,i),J7(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)},"serialize")}}s(EP,"createDOMElementFilter");var CP=null,Sg=null,_g=null;try{let e=module&&module.require;Sg=e.call(module,"fs").readFileSync,_g=e.call(module,"@babel/code-frame").codeFrameColumns,CP=e.call(module,"chalk")}catch{}function wP(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,l]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=Sg(o,"utf-8")}catch{return""}let c=_g(u,{start:{line:i,column:l}},{highlightCode:!0,linesBelow:0});return CP.dim(n)+`
|
|
309
|
+
`+c+`
|
|
310
|
+
`}s(wP,"getCodeFrame");function AP(){if(!Sg||!_g)return"";let e=new Error().stack.split(`
|
|
311
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return wP(e)}s(AP,"getUserCodeFrame");var xP=3;function ol(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}s(ol,"jestFakeTimersAreEnabled");function Dc(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}s(Dc,"getDocument");function Tg(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}s(Tg,"getWindowFromNode");function tn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}s(t,"getTypeName")}s(tn,"checkContainerType");var Q7=s(()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=rd)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:Z7}=mg.plugins,eU=1,tU=8;function SP(e){return e.nodeType!==tU&&(e.nodeType!==eU||!e.matches(Le().defaultIgnore))}s(SP,"filterCommentsAndDefaultIgnoreTagsTags");function Ao(e,t,r){if(r===void 0&&(r={}),e||(e=Dc().body),typeof t!="number"&&(t=typeof process<"u"&&typeof rd<"u"&&rd.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:a=SP,...o}=r,i=mg.format(e,{plugins:[EP(a),Z7],printFunctionName:!1,highlight:Q7(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}s(Ao,"prettyDOM");var hf=s(function(){let e=AP();console.log(e?Ao(...arguments)+`
|
|
312
|
+
|
|
313
|
+
`+e:Ao(...arguments))},"logDOM"),ba={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:s(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:s(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:s(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Ao(t),n=new Error([e,"Ignored nodes: comments, "+ba.defaultIgnore+`
|
|
314
|
+
`+r].filter(Boolean).join(`
|
|
315
|
+
|
|
316
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function _P(e){try{return ba._disableExpensiveErrorDiagnostics=!0,e()}finally{ba._disableExpensiveErrorDiagnostics=!1}}s(_P,"runWithExpensiveErrorDiagnosticsDisabled");function TP(e){typeof e=="function"&&(e=e(ba)),ba={...ba,...e}}s(TP,"configure");function Le(){return ba}s(Le,"getConfig");var rU=["button","meter","output","progress","select","textarea","input"];function Pg(e){return rU.includes(e.nodeName.toLowerCase())?"":e.nodeType===xP?e.textContent:Array.from(e.childNodes).map(t=>Pg(t)).join("")}s(Pg,"getTextContent");function Xl(e){let t;return e.tagName.toLowerCase()==="label"?t=Pg(e):t=e.value||e.textContent,t}s(Xl,"getLabelContent");function Dg(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!PP(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}s(Dg,"getRealLabels");function PP(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}s(PP,"isLabelable");function Og(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{let l=e.querySelector('[id="'+i+'"]');return l?{content:Xl(l),formControl:null}:{content:"",formControl:null}}):Array.from(Dg(t)).map(i=>{let l=Xl(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}s(Og,"getLabels");function Rg(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}s(Rg,"assertNotNullOrUndefined");function ja(e,t,r,n){if(typeof e!="string")return!1;Rg(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):Fg(r,a)}s(ja,"fuzzyMatches");function Xr(e,t,r,n){if(typeof e!="string")return!1;Rg(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?Fg(r,a):a===String(r)}s(Xr,"matches");function Oc(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}s(Oc,"getDefaultNormalizer");function Qn(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Oc({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}s(Qn,"makeNormalizer");function Fg(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}s(Fg,"matchRegExp");function Uo(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===xP&&!!t.textContent).map(t=>t.textContent).join("")}s(Uo,"getNodeText");var nU=DP(br.elementRoles);function Ig(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}s(Ig,"isSubtreeInaccessible");function As(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Ig}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}s(As,"isInaccessible");function Rc(e){for(let{match:t,roles:r}of nU)if(t(e))return[...r];return[]}s(Rc,"getImplicitAriaRoles");function DP(e){function t(i){let{name:l,attributes:u}=i;return""+l+u.map(c=>{let{name:p,value:d,constraints:h=[]}=c,f=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof d<"u"?"["+p+'="'+d+'"]':f?":not(["+p+"])":m?"["+p+"]:not(["+p+'=""])':"["+p+"]"}).join("")}s(t,"makeElementSelector");function r(i){let{attributes:l=[]}=i;return l.length}s(r,"getSelectorSpecificity");function n(i,l){let{specificity:u}=i,{specificity:c}=l;return c-u}s(n,"bySelectorSpecificity");function a(i){let{attributes:l=[]}=i,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}s(a,"match");let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}s(DP,"buildElementRoleList");function kg(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return s(n,"flattenDOM"),n(e).filter(a=>r===!1?As(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=Rc(o),i.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],o]}:{...l,[u]:[o]},a)},{})}s(kg,"getRoles");function Ng(e,t){let{hidden:r,includeDescription:n}=t,a=kg(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,l]=o,u="-".repeat(50),c=l.map(p=>{let d='Name "'+Pc(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
|
|
317
|
+
`,h=Ao(p.cloneNode(!1));if(n){let f='Description "'+Ag(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
|
|
318
|
+
`;return""+d+f+h}return""+d+h}).join(`
|
|
319
|
+
|
|
320
|
+
`);return i+`:
|
|
321
|
+
|
|
322
|
+
`+c+`
|
|
323
|
+
|
|
324
|
+
`+u}).join(`
|
|
325
|
+
`)}s(Ng,"prettyRoles");var aU=s(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Ng(e,{hidden:r}))},"logRoles");function OP(e){return e.tagName==="OPTION"?e.selected:Vo(e,"aria-selected")}s(OP,"computeAriaSelected");function RP(e){return e.getAttribute("aria-busy")==="true"}s(RP,"computeAriaBusy");function FP(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Vo(e,"aria-checked")}s(FP,"computeAriaChecked");function IP(e){return Vo(e,"aria-pressed")}s(IP,"computeAriaPressed");function kP(e){var t,r;return(t=(r=Vo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}s(kP,"computeAriaCurrent");function NP(e){return Vo(e,"aria-expanded")}s(NP,"computeAriaExpanded");function Vo(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}s(Vo,"checkBooleanAttribute");function BP(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}s(BP,"computeHeadingLevel");function jP(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}s(jP,"computeAriaValueNow");function qP(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}s(qP,"computeAriaValueMax");function MP(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}s(MP,"computeAriaValueMin");function LP(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}s(LP,"computeAriaValueText");var f0=Oc();function $P(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}s($P,"escapeRegExp");function mf(e){return new RegExp($P(e.toLowerCase()),"i")}s(mf,"getRegExpMatcher");function un(e,t,r,n){let{variant:a,name:o}=n,i="",l={},u=[["Role","TestId"].includes(e)?r:mf(r)];o&&(l.name=mf(o)),e==="Role"&&As(t)&&(l.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
326
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
327
|
+
`),Object.keys(l).length>0&&u.push(l);let c=a+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[p,d]=u;return p=typeof p=="string"?"'"+p+"'":p,d=d?", { "+Object.entries(d).map(h=>{let[f,m]=h;return f+": "+m}).join(", ")+" }":"",c+"("+p+d+")"}}}s(un,"makeSuggestion");function cn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}s(cn,"canSuggest");function Wi(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Le().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(a=Rc(e))==null?void 0:a[0];if(o!=="generic"&&cn("Role",r,o))return un("Role",e,o,{variant:t,name:Pc(e,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})});let i=Og(document,e).map(h=>h.content).join(" ");if(cn("LabelText",r,i))return un("LabelText",e,i,{variant:t});let l=e.getAttribute("placeholder");if(cn("PlaceholderText",r,l))return un("PlaceholderText",e,l,{variant:t});let u=f0(Uo(e));if(cn("Text",r,u))return un("Text",e,u,{variant:t});if(cn("DisplayValue",r,e.value))return un("DisplayValue",e,f0(e.value),{variant:t});let c=e.getAttribute("alt");if(cn("AltText",r,c))return un("AltText",e,c,{variant:t});let p=e.getAttribute("title");if(cn("Title",r,p))return un("Title",e,p,{variant:t});let d=e.getAttribute(Le().testIdAttribute);if(cn("TestId",r,d))return un("TestId",e,d,{variant:t})}s(Wi,"getSuggestedQuery");function si(e,t){e.stack=t.stack.replace(t.message,e.message)}s(si,"copyStackTrace");function UP(e,t){let{container:r=Dc(),timeout:n=Le().asyncUtilTimeout,showOriginalStackTrace:a=Le().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:l=s(c=>(Object.defineProperty(c,"message",{value:Le().getElementError(c.message,r).message}),c),"onTimeout"),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,p)=>{let d,h,f,m=!1,y="idle",g=setTimeout(P,n),b=ol();if(b){let{unstable_advanceTimersWrapper:w}=Le();for(S();!m;){if(!ol()){let E=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||si(E,o),p(E);return}if(await w(async()=>{jest.advanceTimersByTime(i)}),m)break;S()}}else{try{tn(r)}catch(E){p(E);return}h=setInterval(D,i);let{MutationObserver:w}=Tg(r);f=new w(D),f.observe(r,u),S()}function v(w,E){m=!0,clearTimeout(g),b||(clearInterval(h),f.disconnect()),w?p(w):c(E)}s(v,"onDone");function D(){if(ol()){let w=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||si(w,o),p(w)}else return S()}s(D,"checkRealTimersCallback");function S(){if(y!=="pending")try{let w=_P(e);typeof(w==null?void 0:w.then)=="function"?(y="pending",w.then(E=>{y="resolved",v(null,E)},E=>{y="rejected",d=E})):v(null,w)}catch(w){d=w}}s(S,"checkCallback");function P(){let w;d?(w=d,!a&&w.name==="TestingLibraryElementError"&&si(w,o)):(w=new Error("Timed out in waitFor."),a||si(w,o)),v(l(w),null)}s(P,"handleTimeout")})}s(UP,"waitFor");function Fc(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Le().asyncWrapper(()=>UP(e,{stackTraceError:r,...t}))}s(Fc,"waitForWrapper");function xs(e,t){return Le().getElementError(e,t)}s(xs,"getElementError");function Ss(e,t){return xs(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}s(Ss,"getMultipleElementsFoundError");function Zn(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=n===void 0?{}:n,u=a?Xr:ja,c=Qn({collapseWhitespace:o,trim:i,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(p=>u(p.getAttribute(e),p,r,c))}s(Zn,"queryAllByAttribute");function Bg(e,t,r,n){let a=Zn(e,t,r,n);if(a.length>1)throw Ss("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}s(Bg,"queryByAttribute");function Aa(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];let i=e(r,...a);if(i.length>1){let l=i.map(u=>xs(null,u).message).join(`
|
|
328
|
+
|
|
329
|
+
`);throw Ss(t(r,...a)+`
|
|
330
|
+
|
|
331
|
+
Here are the matching elements:
|
|
332
|
+
|
|
333
|
+
`+l,r)}return i[0]||null}}s(Aa,"makeSingleQuery");function jg(e,t){return Le().getElementError(`A better query is available, try this:
|
|
334
|
+
`+e.toString()+`
|
|
335
|
+
`,t)}s(jg,"getSuggestionError");function Ic(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];let i=e(r,...a);if(!i.length)throw Le().getElementError(t(r,...a),r);return i}}s(Ic,"makeGetAllQuery");function xa(e){return(t,r,n,a)=>Fc(()=>e(t,r,n),{container:t,...a})}s(xa,"makeFindQuery");var Un=s((e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l&&u){let c=Wi(l,r);if(c&&!t.endsWith(c.queryName))throw jg(c.toString(),n)}return l},"wrapSingleQueryWithSuggestion"),Zt=s((e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l.length&&u){let c=[...new Set(l.map(p=>{var d;return(d=Wi(p,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Wi(l[0],r).queryName))throw jg(c[0],n)}return l},"wrapAllByQueryWithSuggestion");function rn(e,t,r){let n=Un(Aa(e,t),e.name,"query"),a=Ic(e,r),o=Aa(a,t),i=Un(o,e.name,"get"),l=Zt(a,e.name.replace("query","get"),"getAll"),u=xa(Zt(a,e.name,"findAll")),c=xa(Un(o,e.name,"find"));return[n,l,i,u,c]}s(rn,"buildQueries");var oU=Object.freeze({__proto__:null,getElementError:xs,wrapAllByQueryWithSuggestion:Zt,wrapSingleQueryWithSuggestion:Un,getMultipleElementsFoundError:Ss,queryAllByAttribute:Zn,queryByAttribute:Bg,makeSingleQuery:Aa,makeGetAllQuery:Ic,makeFindQuery:xa,buildQueries:rn});function VP(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Xl(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}s(VP,"queryAllLabels");var iU=s(function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r,l=n?Xr:ja,u=Qn({collapseWhitespace:o,trim:a,normalizer:i});return VP(e).filter(c=>{let{node:p,textToMatch:d}=c;return l(d,p,t,u)}).map(c=>{let{node:p}=c;return p})},"queryAllLabelsByText"),Ki=s(function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=r===void 0?{}:r;tn(e);let u=a?Xr:ja,c=Qn({collapseWhitespace:o,trim:i,normalizer:l}),p=Array.from(e.querySelectorAll("*")).filter(d=>Dg(d).length||d.hasAttribute("aria-labelledby")).reduce((d,h)=>{let f=Og(e,h,{selector:n});f.filter(y=>!!y.formControl).forEach(y=>{u(y.content,y.formControl,t,c)&&y.formControl&&d.push(y.formControl)});let m=f.filter(y=>!!y.content).map(y=>y.content);return u(m.join(" "),h,t,c)&&d.push(h),m.length>1&&m.forEach((y,g)=>{u(y,h,t,c)&&d.push(h);let b=[...m];b.splice(g,1),b.length>1&&u(b.join(" "),h,t,c)&&d.push(h)}),d},[]).concat(Zn("aria-label",e,t,{exact:a,normalizer:c}));return Array.from(new Set(p)).filter(d=>d.matches(n))},"queryAllByLabelText"),Sa=s(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];let o=Ki(e,t,...n);if(!o.length){let i=iU(e,t,...n);if(i.length){let l=i.map(u=>HP(e,u)).filter(u=>!!u);throw l.length?Le().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
336
|
+
|
|
337
|
+
`),e):Le().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Le().getElementError("Unable to find a label with the text of: "+t,e)}return o},"getAllByLabelText");function HP(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}s(HP,"getTagNameOfElementAssociatedWithLabelViaFor");var JP=s((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),zP=Un(Aa(Ki,JP),Ki.name,"query"),GP=Aa(Sa,JP),WP=xa(Zt(Sa,Sa.name,"findAll")),KP=xa(Un(GP,Sa.name,"find")),YP=Zt(Sa,Sa.name,"getAll"),XP=Un(GP,Sa.name,"get"),QP=Zt(Ki,Ki.name,"queryAll"),yf=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return tn(t[0]),Zn("placeholder",...t)},"queryAllByPlaceholderText"),sU=s((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),lU=s((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),ZP=Zt(yf,yf.name,"queryAll"),[eD,tD,rD,nD,aD]=rn(yf,sU,lU),gf=s(function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:l=Le().defaultIgnore,normalizer:u}=r===void 0?{}:r;tn(e);let c=a?Xr:ja,p=Qn({collapseWhitespace:o,trim:i,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(Uo(h),h,t,p))},"queryAllByText"),uU=s((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),cU=s(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,l=Qn({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},"getMissingError$5"),oD=Zt(gf,gf.name,"queryAll"),[iD,sD,lD,uD,cD]=rn(gf,uU,cU),bf=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;tn(e);let l=n?Xr:ja,u=Qn({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(p=>p.selected).some(p=>l(Uo(p),p,t,u)):l(c.value,c,t,u))},"queryAllByDisplayValue"),pU=s((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),dU=s((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),pD=Zt(bf,bf.name,"queryAll"),[dD,fD,hD,mD,yD]=rn(bf,pU,dU),fU=/^(img|input|area|.+-.+)$/i,vf=s(function(e,t,r){return r===void 0&&(r={}),tn(e),Zn("alt",e,t,r).filter(n=>fU.test(n.tagName))},"queryAllByAltText"),hU=s((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),mU=s((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),gD=Zt(vf,vf.name,"queryAll"),[bD,vD,ED,CD,wD]=rn(vf,hU,mU),yU=s(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),Ef=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;tn(e);let l=n?Xr:ja,u=Qn({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||yU(c)&&l(Uo(c),c,t,u))},"queryAllByTitle"),gU=s((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),bU=s((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),AD=Zt(Ef,Ef.name,"queryAll"),[xD,SD,_D,TD,PD]=rn(Ef,gU,bU),Cf=s(function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:l,busy:u,checked:c,pressed:p,current:d,level:h,expanded:f,value:{now:m,min:y,max:g,text:b}={}}=r===void 0?{}:r;if(tn(e),l!==void 0){var v;if(((v=br.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var D;if(((D=br.roles.get(t))==null?void 0:D.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var S;if(((S=br.roles.get(t))==null?void 0:S.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var P;if(((P=br.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=br.roles.get(t))==null?void 0:w.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var E;if(((E=br.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var C;if(((C=br.roles.get(t))==null?void 0:C.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var _;if(((_=br.roles.get(t))==null?void 0:_.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var N;if(((N=br.roles.get(t))==null?void 0:N.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var B;if(((B=br.roles.get(t))==null?void 0:B.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let J=new WeakMap;function G(R){return J.has(R)||J.set(R,Ig(R)),J.get(R)}return s(G,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(DD(t))).filter(R=>{if(R.hasAttribute("role")){let L=R.getAttribute("role");if(i)return L.split(" ").filter(Boolean).some(W=>W===t);let[j]=L.split(" ");return j===t}return Rc(R).some(L=>L===t)}).filter(R=>{if(l!==void 0)return l===OP(R);if(u!==void 0)return u===RP(R);if(c!==void 0)return c===FP(R);if(p!==void 0)return p===IP(R);if(d!==void 0)return d===kP(R);if(f!==void 0)return f===NP(R);if(h!==void 0)return h===BP(R);if(m!==void 0||g!==void 0||y!==void 0||b!==void 0){let j=!0;if(m!==void 0&&j&&(j=m===jP(R)),g!==void 0&&j&&(j=g===qP(R)),y!==void 0&&j&&(j=y===MP(R)),b!==void 0){var L;j&&(j=Xr((L=LP(R))!=null?L:null,R,b,W=>W))}return j}return!0}).filter(R=>a===void 0?!0:Xr(Pc(R,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),R,a,L=>L)).filter(R=>o===void 0?!0:Xr(Ag(R,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),R,o,L=>L)).filter(R=>n===!1?As(R,{isSubtreeInaccessible:G})===!1:!0)},"queryAllByRole");function DD(e){var t;let r='*[role~="'+e+'"]',n=(t=br.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}s(DD,"makeRoleSelector");var OD=s(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),vU=s(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+OD(n)},"getMultipleError$1"),EU=s(function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(Le()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+OD(a);let i="";Array.from(e.children).forEach(p=>{i+=Ng(p,{hidden:n,includeDescription:o!==void 0})});let l;i.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
|
|
338
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
339
|
+
|
|
340
|
+
`+i.replace(/\n/g,`
|
|
341
|
+
`).replace(/\n\s\s\n/g,`
|
|
342
|
+
|
|
343
|
+
`)+`
|
|
344
|
+
`).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let c="";return o===void 0?c="":typeof o=="string"?c=' and description "'+o+'"':c=" and description `"+o+"`",(`
|
|
345
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
346
|
+
|
|
347
|
+
`+l).trim()},"getMissingError$1"),RD=Zt(Cf,Cf.name,"queryAll"),[FD,ID,kD,ND,BD]=rn(Cf,vU,EU),qg=s(()=>Le().testIdAttribute,"getTestIdAttribute"),wf=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return tn(t[0]),Zn(qg(),...t)},"queryAllByTestId"),CU=s((e,t)=>"Found multiple elements by: ["+qg()+'="'+t+'"]',"getMultipleError"),wU=s((e,t)=>"Unable to find an element by: ["+qg()+'="'+t+'"]',"getMissingError"),jD=Zt(wf,wf.name,"queryAll"),[qD,MD,LD,$D,UD]=rn(wf,CU,wU),Ql=Object.freeze({__proto__:null,queryAllByLabelText:QP,queryByLabelText:zP,getAllByLabelText:YP,getByLabelText:XP,findAllByLabelText:WP,findByLabelText:KP,queryByPlaceholderText:eD,queryAllByPlaceholderText:ZP,getByPlaceholderText:rD,getAllByPlaceholderText:tD,findAllByPlaceholderText:nD,findByPlaceholderText:aD,queryByText:iD,queryAllByText:oD,getByText:lD,getAllByText:sD,findAllByText:uD,findByText:cD,queryByDisplayValue:dD,queryAllByDisplayValue:pD,getByDisplayValue:hD,getAllByDisplayValue:fD,findAllByDisplayValue:mD,findByDisplayValue:yD,queryByAltText:bD,queryAllByAltText:gD,getByAltText:ED,getAllByAltText:vD,findAllByAltText:CD,findByAltText:wD,queryByTitle:xD,queryAllByTitle:AD,getByTitle:_D,getAllByTitle:SD,findAllByTitle:TD,findByTitle:PD,queryByRole:FD,queryAllByRole:RD,getAllByRole:ID,getByRole:kD,findAllByRole:ND,findByRole:BD,queryByTestId:qD,queryAllByTestId:jD,getByTestId:LD,getAllByTestId:MD,findAllByTestId:$D,findByTestId:UD});function Zl(e,t,r){return t===void 0&&(t=Ql),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let o=t[a];return n[a]=o.bind(null,e),n},r)}s(Zl,"getQueriesForElement");var VD=s(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function Af(e){if(VD(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}s(Af,"initialCheck");async function HD(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Af(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let o=a.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(a)?a:null});e=s(()=>n.map(a=>a()).filter(Boolean),"callback")}return Af(e()),Fc(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!VD(n))throw r},t)}s(HD,"waitForElementToBeRemoved");var h0={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},m0={doubleClick:"dblClick"};function xo(e,t){return Le().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}s(xo,"fireEvent");function Ai(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...o,...r},{target:{value:l,files:u,...c}={}}=i;l!==void 0&&JD(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let p=Tg(t),d=p[a]||p.Event,h;if(typeof d=="function")h=new d(e,i);else{h=p.document.createEvent(a);let{bubbles:f,cancelable:m,detail:y,...g}=i;h.initEvent(e,f,m,y),Object.keys(g).forEach(b=>{h[b]=g[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=i[f];typeof m=="object"&&(typeof p.DataTransfer=="function"?Object.defineProperty(h,f,{value:Object.getOwnPropertyNames(m).reduce((y,g)=>(Object.defineProperty(y,g,{value:m[g]}),y),new p.DataTransfer)}):Object.defineProperty(h,f,{value:m}))}),h}s(Ai,"createEvent");Object.keys(h0).forEach(e=>{let{EventType:t,defaultInit:r}=h0[e],n=e.toLowerCase();Ai[e]=(a,o)=>Ai(n,a,o,{EventType:t,defaultInit:r}),xo[e]=(a,o)=>xo(a,Ai[e](a,o))});function JD(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}s(JD,"setNativeValue");Object.keys(m0).forEach(e=>{let t=m0[e];xo[e]=function(){return xo[t](...arguments)}});function zD(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
348
|
+
`)}s(zD,"unindent");function GD(e){return U7.default.compressToEncodedURIComponent(zD(e))}s(GD,"encode");function WD(e){return"https://testing-playground.com/#markup="+GD(e)}s(WD,"getPlaygroundUrl");var AU=s((e,t,r)=>Array.isArray(e)?e.forEach(n=>hf(n,t,r)):hf(e,t,r),"debug"),xU=s(function(e){if(e===void 0&&(e=Dc().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=WD(e.innerHTML);return console.log(`Open this URL in your browser
|
|
349
|
+
|
|
350
|
+
`+t),t},"logTestingPlaygroundURL"),y0={debug:AU,logTestingPlaygroundURL:xU},SU=typeof document<"u"&&document.body?Zl(document.body,Ql,y0):Object.keys(Ql).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),y0);function Ie(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}s(Ie,"isElementType");function fr(e){var t;if(KD(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${YD(e)}`)}s(fr,"getWindow");function KD(e){return e.nodeType===9}s(KD,"isDocument");function YD(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}s(YD,"describe");function Mg(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}s(Mg,"readBlobText");function kc(e,t){let r={...t,length:t.length,item:s(n=>r[n],"item"),[Symbol.iterator]:s(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}s(kc,"createFileList");function yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(yn,"_define_property");var XD=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){yn(this,"kind",void 0),yn(this,"type",void 0),yn(this,"file",null),yn(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};s(XD,"DataTransferItemStub");var QD=XD,ZD=class extends Array{add(...t){let r=new QD(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};s(ZD,"DataTransferItemListStub");var _U=ZD;function li(e,t){let[r,n]=e.split("/"),a=!n||n==="*";return o=>t?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}s(li,"getTypeMatcher");function eO(e){var t;return new(t=class{getData(r){var n;let a=(n=this.items.find(li(r,!0)))!==null&&n!==void 0?n:this.items.find(li(r,!1)),o="";return a==null||a.getAsString(i=>{o=i}),o}setData(r,n){let a=this.items.findIndex(li(r,!0)),o=new QD(n,r);a>=0?this.items.splice(a,1,o):this.items.push(o)}clearData(r){if(r){let n=this.items.findIndex(li(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){yn(this,"dropEffect","none"),yn(this,"effectAllowed","uninitialized"),yn(this,"items",new _U),yn(this,"files",kc(e,[]))}},s(t,"DataTransferStub"),t)}s(eO,"createDataTransferStub");function Nc(e,t=[]){let r=typeof e.DataTransfer>"u"?eO(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:s(()=>kc(e,t),"get")}),r}s(Nc,"createDataTransfer");async function tO(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}s(tO,"getBlobFromDataTransferItem");function Lg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Lg,"_define_property");function $g(e,...t){var r;let n=Object.fromEntries(t.map(a=>[typeof a=="string"?"text/plain":a.type,Promise.resolve(a)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(a){let o=await this.data[a];if(!o)throw new Error(`${a} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:a})}constructor(a){Lg(this,"data",void 0),this.data=a}},s(r,"ClipboardItem"),r)(n)}s($g,"createClipboardItem");var So=Symbol("Manage ClipboardSub");function xf(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let a of this.items){let o=a.types.includes("text/plain")?"text/plain":a.types.find(i=>i.startsWith("text/"));o&&(n+=await a.getType(o).then(i=>Mg(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[$g(e,n)]}constructor(...n){super(...n),Lg(this,"items",[])}},s(r,"Clipboard"),r),{[So]:t})}s(xf,"createClipboardStub");function Bc(e){return!!(e!=null&&e[So])}s(Bc,"isClipboardStub");function rO(e){if(Bc(e.navigator.clipboard))return e.navigator.clipboard[So];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:s(()=>{r=xf(e,n)},"resetClipboardStub"),detachClipboardStub:s(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=xf(e,n),Object.defineProperty(e.navigator,"clipboard",{get:s(()=>r,"get"),configurable:!0}),r[So]}s(rO,"attachClipboardStubToView");function nO(e){Bc(e.navigator.clipboard)&&e.navigator.clipboard[So].resetClipboardStub()}s(nO,"resetClipboardStubOnView");function aO(e){Bc(e.navigator.clipboard)&&e.navigator.clipboard[So].detachClipboardStub()}s(aO,"detachClipboardStubFromView");async function oO(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=Nc(t);for(let o of n)for(let i of o.types)a.setData(i,await o.getType(i).then(l=>Mg(l,t.FileReader)));return a}s(oO,"readDataTransferFromClipboard");async function Ug(e,t){let r=fr(e),n=r.navigator.clipboard,a=[];for(let o=0;o<t.items.length;o++){let i=t.items[o],l=await tO(r,i);a.push($g(r,l))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}s(Ug,"writeDataTransferToClipboard");var eu=globalThis;typeof eu.afterEach=="function"&&eu.afterEach(()=>{typeof globalThis.window<"u"&&nO(globalThis.window)});typeof eu.afterAll=="function"&&eu.afterAll(()=>{typeof globalThis.window<"u"&&aO(globalThis.window)});var iO=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function jc(e){return e.matches(iO)}s(jc,"isFocusable");function sO(e){return new e.constructor(e.type,e)}s(sO,"cloneEvent");function Zr(e){for(let r=e;r;r=r.parentElement)if(Ie(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Ie(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}s(Zr,"isDisabled");function Ho(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Ho(t.shadowRoot):Zr(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}s(Ho,"getActiveElement");function il(e){var t;return(t=Ho(e))!==null&&t!==void 0?t:e.body}s(il,"getActiveElementOrBody");function lO(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}s(lO,"findClosest");function Gn(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}s(Gn,"isContentEditable");function _o(e){let t=uO(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}s(_o,"getContentEditable");function uO(e){return e.nodeType===1?e:e.parentElement}s(uO,"getElement");var cO=function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e}(cO||{});function Vg(e){return Ie(e,"button")||Ie(e,"input")&&e.type in cO}s(Vg,"isClickableInput");function _a(e){return Hg(e)&&!e.readOnly||Gn(e)}s(_a,"isEditable");var pO=function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e}(pO||{});function Hg(e){return Ie(e,"textarea")||Ie(e,"input")&&e.type in pO}s(Hg,"isEditableInputOrTextArea");function Fr(e){return Jg(e)&&Hg(e)}s(Fr,"hasOwnSelection");function dO(e){return Jg(e)&&Vg(e)}s(dO,"hasNoSelection");function Jg(e){return e.nodeType===1}s(Jg,"isElement");function fO(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&Fr(e)){let n=_o(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}s(fO,"updateSelectionOnFocus");function Ta(e,t){return Le().eventWrapper(e)}s(Ta,"wrapEvent");function wn(e){let t=lO(e,jc),r=Ho(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Ta(t?()=>t.focus():()=>r==null?void 0:r.blur()),fO(t??e.ownerDocument.body))}s(wn,"focusElement");function hO(e){!jc(e)||Ho(e.ownerDocument)!==e||Ta(()=>e.blur())}s(hO,"blurElement");var Wn={};Wn.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&Ie(n,"label")&&n.control;if(a&&a!==t)return()=>{jc(a)&&(wn(a),r.dispatchEvent(a,sO(e)))};if(Ie(t,"input",{type:"file"}))return()=>{hO(t),t.dispatchEvent(new(fr(t)).Event("fileDialog")),wn(t)}};var To=Symbol("Displayed value in UI"),gn=Symbol("Displayed selection in UI"),tu=Symbol("Initial value to compare on blur");function mO(e){return typeof e=="object"&&To in e}s(mO,"isUIValue");function yO(e){return!!e&&typeof e=="object"&&gn in e}s(yO,"isUISelectionStart");function gO(e,t){e[tu]===void 0&&(e[tu]=e.value),e[To]=t,e.value=Object.assign(new String(t),{[To]:!0})}s(gO,"setUIValue");function Ir(e){return e[To]===void 0?e.value:String(e[To])}s(Ir,"getUIValue");function qc(e){e[To]=void 0}s(qc,"setUIValueClean");function zg(e){e[tu]=void 0}s(zg,"clearInitialValue");function bO(e){return e[tu]}s(bO,"getInitialValue");function vO(e,t){e[gn]=t}s(vO,"setUISelectionRaw");function qa(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=Ir(e).length,o=s(d=>Math.max(0,Math.min(a,d)),"sanitizeOffset"),i=n==="replace"||e[gn]===void 0?o(r):e[gn].anchorOffset,l=o(t),u=Math.min(i,l),c=Math.max(i,l);if(e[gn]={anchorOffset:i,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let p=Object.assign(new Number(u),{[gn]:!0});try{e.setSelectionRange(p,c)}catch{}}s(qa,"setUISelection");function Po(e){var t,r,n;let a=(n=e[gn])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}s(Po,"getUISelection");function EO(e){return!!e[gn]}s(EO,"hasUISelection");function xi(e){e[gn]=void 0}s(xi,"setUISelectionClean");var ru=globalThis.parseInt;function CO(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ru(t[0],10),n=ru(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,Sf(t,a)}return e.length===2?e:Sf(t,2)}s(CO,"buildTimeValue");function Sf(e,t){let r=e.slice(0,t),n=Math.min(ru(r,10),23),a=e.slice(t),o=ru(a,10),i=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}s(Sf,"build");function Gg(e,t){let r=e.cloneNode();return r.value=t,r.value===t}s(Gg,"isValidDateOrTimeValue");var wO=function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e}(wO||{});function AO(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}s(AO,"getMaxLength");function xO(e){return Ie(e,"textarea")||Ie(e,"input")&&e.type in wO}s(xO,"supportsMaxLength");function Wg(e,t,r,n){if(Si(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=_f(e,t,r);if(a){if(Si(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(Ie(a,"br")){let o=_f(a,void 0,r);return o?Si(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&Ie(o,"br")?{node:a.parentNode,offset:ui(a)}:{node:o.parentNode,offset:ui(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:ui(a)}:void 0}else return{node:a.parentNode,offset:ui(a)+(r>0?1:0)}}}s(Wg,"getNextCursorPosition");function _f(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Mc(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),_O(e,r===1?"next":"previous",SO)}s(_f,"getNextCharacterContentNode");function SO(e){if(Si(e))return!0;if(Mc(e)){if(Ie(e,["input","textarea"]))return e.type!=="hidden";if(Ie(e,"br"))return!0}return!1}s(SO,"isTreatedAsCharacterContent");function ui(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}s(ui,"getOffset");function Mc(e){return e.nodeType===1}s(Mc,"isElement");function Si(e){return e.nodeType===3}s(Si,"isTextNode");function _O(e,t,r){for(;;){var n;let a=e[`${t}Sibling`];if(a){if(e=TO(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Mc(e.parentNode)||!Gn(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}s(_O,"walkNodes");function TO(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}s(TO,"getDescendant");var Yi=Symbol("Track programmatic changes for React workaround");function PO(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&fr(e).REACT_VERSION===17}s(PO,"isReact17Element");function DO(e){PO(e)&&(e[Yi]={previousValue:String(e.value),tracked:[]})}s(DO,"startTrackValue");function OO(e,t){var r,n;(n=e[Yi])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Yi]||(qc(e),qa(e,{focusOffset:t.length}))}s(OO,"trackOrSetValue");function RO(e,t){var r;let n=e[Yi];if(e[Yi]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||qc(e),EO(e)&&qa(e,{focusOffset:a?t:e.value.length})}s(RO,"commitValueAfterInput");function Kg(e){let t=FO(e);if(t&&Fr(t))return{type:"input",selection:Po(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:_o(e)&&(r!=null&&r.anchorNode)&&_o(r.anchorNode)?"contenteditable":"default",selection:r}}s(Kg,"getTargetTypeAndSelection");function FO(e){return e.nodeType===1?e:e.parentElement}s(FO,"getElement");function IO(e){let t=Kg(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}s(IO,"getInputRange");function Kn({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(Kg(e).type==="input")return qa(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}s(Kn,"setSelection");function Yg(e){return Ie(e,"input")&&["date","time"].includes(e.type)}s(Yg,"isDateOrTime");function Pa(e,t,r,n="insertText"){let a=IO(t);a&&(!Yg(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?kO(e,t,a,r,n):NO(e,t,a,r,n)))}s(Pa,"input");function kO(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let i=Wg(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!0;let l=r.cloneRange();l.comparePoint(i.node,i.offset)<0?l.setStart(i.node,i.offset):l.setEnd(i.node,i.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}s(kO,"editContenteditable");function NO(e,t,r,n,a){let o=n;if(xO(t)){let c=AO(t);if(c!==void 0&&n.length>0){let p=c-t.value.length;if(p>0)o=n.substring(0,p);else return}}let{newValue:i,newOffset:l,oldValue:u}=BO(o,t,r,a);i===u&&l===r.startOffset&&l===r.endOffset||Ie(t,"input",{type:"number"})&&!jO(i)||(gO(t,i),Kn({focusNode:t,anchorOffset:l,focusOffset:l}),Yg(t)?Gg(t,i)&&(Tf(e,t,l,{}),e.dispatchUIEvent(t,"change"),zg(t)):Tf(e,t,l,{data:n,inputType:a}))}s(NO,"editInputElement");function BO(e,t,{startOffset:r,endOffset:n},a){let o=Ir(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),l=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n),c=o.substring(u,o.length),p=`${l}${e}${c}`,d=i+e.length;if(Ie(t,"input",{type:"time"})){let h=CO(p);h!==""&&Gg(t,h)&&(p=h,d=h.length)}return{oldValue:o,newValue:p,newOffset:d}}s(BO,"calculateNewValue");function Tf(e,t,r,n){e.dispatchUIEvent(t,"input",n),RO(t,r)}s(Tf,"commitInput");function jO(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}s(jO,"isValidNumberInput");Wn.cut=(e,t,r)=>()=>{_a(t)&&Pa(r,t,"","deleteByCut")};function qO(e){return e?Gn(e)?e.textContent:Ir(e):null}s(qO,"getValueOrTextContent");function MO(e){let t=fr(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}s(MO,"isVisible");function LO(e,t){let r=e.ownerDocument,n=r.querySelectorAll(iO),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||Zr(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,c)=>{let p=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return p===d?0:p===0?1:d===0?-1:p-d});let o={},i=[r.body],l=Ie(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let c=u;if(Ie(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===l)return;if(c.checked){i=i.filter(p=>!Ie(p,"input",{type:"radio",name:c.name})),i.push(c),o[c.name]=c;return}if(typeof o[c.name]<"u")return}i.push(c)});for(let u=i.findIndex(c=>c===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||MO(i[u]))return i[u]}s(LO,"getTabDestination");function Pf(e,t){if(Fr(e)){let r=Po(e);Kn({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=Wg(r.focusNode,r.focusOffset,t);n&&Kn({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}s(Pf,"moveSelection");function Xg(e){if(Fr(e))return Kn({focusNode:e,anchorOffset:0,focusOffset:Ir(e).length});var t;let r=(t=_o(e))!==null&&t!==void 0?t:e.ownerDocument.body;Kn({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}s(Xg,"selectAll");function $O(e){if(Fr(e))return Po(e).startOffset===0&&Po(e).endOffset===Ir(e).length;var t;let r=(t=_o(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}s($O,"isAllSelected");function eo(e,t,r){var n;if(Fr(e))return Kn({focusNode:e,anchorOffset:t,focusOffset:r});if(Gn(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Kn({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}s(eo,"setSelectionRange");function ci(e,t,r){let n=fr(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;if(!Zr(a[o])){wn(a[o]),e.dispatchUIEvent(a[o],"click");return}}}s(ci,"walkRadio");Wn.keydown=(e,t,r)=>{var n,a;return(a=(n=g0[e.key])===null||n===void 0?void 0:n.call(g0,e,t,r))!==null&&a!==void 0?a:TU(e,t,r)};var g0={ArrowDown:s((e,t,r)=>{if(Ie(t,"input",{type:"radio"}))return()=>ci(r,t,1)},"ArrowDown"),ArrowLeft:s((e,t,r)=>Ie(t,"input",{type:"radio"})?()=>ci(r,t,-1):()=>Pf(t,-1),"ArrowLeft"),ArrowRight:s((e,t,r)=>Ie(t,"input",{type:"radio"})?()=>ci(r,t,1):()=>Pf(t,1),"ArrowRight"),ArrowUp:s((e,t,r)=>{if(Ie(t,"input",{type:"radio"}))return()=>ci(r,t,-1)},"ArrowUp"),Backspace:s((e,t,r)=>{if(_a(t))return()=>{Pa(r,t,"","deleteContentBackward")}},"Backspace"),Delete:s((e,t,r)=>{if(_a(t))return()=>{Pa(r,t,"","deleteContentForward")}},"Delete"),End:s((e,t)=>{if(Ie(t,["input","textarea"])||Gn(t))return()=>{var r,n;let a=(n=(r=qO(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;eo(t,a,a)}},"End"),Home:s((e,t)=>{if(Ie(t,["input","textarea"])||Gn(t))return()=>{eo(t,0,0)}},"Home"),PageDown:s((e,t)=>{if(Ie(t,["input"]))return()=>{let r=Ir(t).length;eo(t,r,r)}},"PageDown"),PageUp:s((e,t)=>{if(Ie(t,["input"]))return()=>{eo(t,0,0)}},"PageUp"),Tab:s((e,t,r)=>()=>{let n=LO(t,r.system.keyboard.modifiers.Shift);wn(n),Fr(n)&&qa(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},TU=s((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Xg(t)},"combinationBehavior");Wn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Ie(t,"button")||Ie(t,"input")&&PU.includes(t.type)||Ie(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Ie(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&DU.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(_a(t)){let n=e.key==="Enter"?Gn(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
|
|
351
|
+
`:e.key;return()=>Pa(r,t,a,n)}};var PU=["button","color","file","image","reset","submit"],DU=["email","month","password","search","tel","text","url","week"];Wn.keyup=(e,t,r)=>{var n;return(n=b0[e.key])===null||n===void 0?void 0:n.call(b0,e,t,r)};var b0={" ":s((e,t,r)=>{if(Vg(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Wn.paste=(e,t,r)=>{if(_a(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&Pa(r,t,a,"insertFromPaste")}};var UO={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function Qg(e){return UO[e].EventType}s(Qg,"getEventClass");var OU=["MouseEvent","PointerEvent"];function VO(e){return OU.includes(Qg(e))}s(VO,"isMouseEvent");function HO(e){return Qg(e)==="KeyboardEvent"}s(HO,"isKeyboardEvent");var RU={ClipboardEvent:[zO],Event:[],FocusEvent:[za,GO],InputEvent:[za,WO],MouseEvent:[za,sl,Df],PointerEvent:[za,sl,Df,YO],KeyboardEvent:[za,sl,KO]};function Zg(e,t,r){let n=fr(t),{EventType:a,defaultInit:o}=UO[e],i=new(JO(n))[a](e,o);return RU[a].forEach(l=>l(i,r??{})),i}s(Zg,"createEvent");function JO(e){var t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,g;let b=(g=e.Event)!==null&&g!==void 0?g:(t=class{},s(t,"Event"),t);var v;let D=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends b{},s(r,"AnimationEvent"),r);var S;let P=(S=e.ClipboardEvent)!==null&&S!==void 0?S:(n=class extends b{},s(n,"ClipboardEvent"),n);var w;let E=(w=e.PopStateEvent)!==null&&w!==void 0?w:(a=class extends b{},s(a,"PopStateEvent"),a);var C;let _=(C=e.ProgressEvent)!==null&&C!==void 0?C:(o=class extends b{},s(o,"ProgressEvent"),o);var N;let B=(N=e.TransitionEvent)!==null&&N!==void 0?N:(i=class extends b{},s(i,"TransitionEvent"),i);var J;let G=(J=e.UIEvent)!==null&&J!==void 0?J:(l=class extends b{},s(l,"UIEvent"),l);var R;let L=(R=e.CompositionEvent)!==null&&R!==void 0?R:(u=class extends G{},s(u,"CompositionEvent"),u);var j;let W=(j=e.FocusEvent)!==null&&j!==void 0?j:(c=class extends G{},s(c,"FocusEvent"),c);var K;let ae=(K=e.InputEvent)!==null&&K!==void 0?K:(p=class extends G{},s(p,"InputEvent"),p);var se;let Z=(se=e.KeyboardEvent)!==null&&se!==void 0?se:(d=class extends G{},s(d,"KeyboardEvent"),d);var z;let Q=(z=e.MouseEvent)!==null&&z!==void 0?z:(h=class extends G{},s(h,"MouseEvent"),h);var ee;let le=(ee=e.DragEvent)!==null&&ee!==void 0?ee:(f=class extends Q{},s(f,"DragEvent"),f);var re;let me=(re=e.PointerEvent)!==null&&re!==void 0?re:(m=class extends Q{},s(m,"PointerEvent"),m);var Ee;let it=(Ee=e.TouchEvent)!==null&&Ee!==void 0?Ee:(y=class extends G{},s(y,"TouchEvent"),y);return{Event:b,AnimationEvent:D,ClipboardEvent:P,PopStateEvent:E,ProgressEvent:_,TransitionEvent:B,UIEvent:G,CompositionEvent:L,FocusEvent:W,InputEvent:ae,KeyboardEvent:Z,MouseEvent:Q,DragEvent:le,PointerEvent:me,TouchEvent:it}}s(JO,"getEventConstructors");function _n(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:s(()=>n??null,"get")})}s(_n,"assignProps");function dt(e){return Number(e??0)}s(dt,"sanitizeNumber");function zO(e,{clipboardData:t}){_n(e,{clipboardData:t})}s(zO,"initClipboardEvent");function GO(e,{relatedTarget:t}){_n(e,{relatedTarget:t})}s(GO,"initFocusEvent");function WO(e,{data:t,inputType:r,isComposing:n}){_n(e,{data:t,isComposing:!!n,inputType:String(r)})}s(WO,"initInputEvent");function za(e,{view:t,detail:r}){_n(e,{view:t,detail:dt(r??0)})}s(za,"initUIEvent");function sl(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:p,modifierSymbol:d,modifierSymbolLock:h}){_n(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:p,Shift:a,Symbol:d,SymbolLock:h}[f]}})}s(sl,"initUIEventModifiers");function KO(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){_n(e,{key:String(t),code:String(r),location:dt(n),repeat:!!a,isComposing:!!o,charCode:i})}s(KO,"initKeyboardEvent");function Df(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:l,buttons:u,relatedTarget:c,offsetX:p,offsetY:d,pageX:h,pageY:f}){_n(e,{screenX:dt(n),screenY:dt(a),clientX:dt(o),x:dt(o),clientY:dt(i),y:dt(i),button:dt(l),buttons:dt(u),relatedTarget:c,offsetX:dt(p),offsetY:dt(d),pageX:dt(h),pageY:dt(f)})}s(Df,"initMouseEvent");function YO(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:l,twist:u,pointerType:c,isPrimary:p}){_n(e,{pointerId:dt(t),width:dt(r??1),height:dt(n??1),pressure:dt(a),tangentialPressure:dt(o),tiltX:dt(i),tiltY:dt(l),twist:dt(u),pointerType:String(c),isPrimary:!!p})}s(YO,"initPointerEvent");function XO(e,t,r,n=!1){(VO(t)||HO(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=Zg(t,e,r);return eb.call(this,e,a,n)}s(XO,"dispatchUIEvent");function eb(e,t,r=!1){var n;let a=t.type,o=r?()=>{}:(n=Wn[a])===null||n===void 0?void 0:n.call(Wn,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:s(()=>i,"get")}),Object.defineProperty(t,"preventDefault",{value:s(()=>{i=t.cancelable},"value")}),Ta(()=>e.dispatchEvent(t)),i||o(),!i}return Ta(()=>e.dispatchEvent(t))}s(eb,"dispatchEvent");function Bn(e,t,r){let n=Zg(t,e,r);Ta(()=>e.dispatchEvent(n))}s(Bn,"dispatchDOMEvent");var v0=Symbol("patched focus/blur methods");function tb(e){if(e.prototype[v0])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:s(()=>a,"get")},blur:{configurable:!0,get:s(()=>o,"get")},[v0]:{configurable:!0,get:s(()=>({focus:t,blur:r}),"get")}});let n;function a(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);let l=Of(this.ownerDocument);if(l===this)return;let u=Symbol("focus call");n=u,l&&(r.call(l),Bn(l,"blur",{relatedTarget:this}),Bn(l,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,i),Bn(this,"focus",{relatedTarget:l})),n===u&&Bn(this,"focusin",{relatedTarget:l})}s(a,"patchedFocus");function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let i=Of(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Bn(i,"blur",{relatedTarget:null}),Bn(i,"focusout",{relatedTarget:null}))}s(o,"patchedBlur")}s(tb,"patchFocus");function Of(e){let t=Ho(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}s(Of,"getActiveTarget");var Sp=Symbol("Interceptor for programmatical calls");function pa(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[o])!="function"||n[o][Sp])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...l){let{applyNative:u=!1,realArgs:c,then:p}=r.call(this,...l),d=(!u&&a||n)[o];o==="set"?d.call(this,c):d.call(this,...c),p==null||p()}s(i,"intercept"),i[Sp]=Sp,Object.defineProperty(e,t,{...a??n,[o]:i})}s(pa,"prepareInterceptor");function QO(e){pa(e,"value",s(function(t){let r=mO(t);return r&&DO(this),{applyNative:!!r,realArgs:ZO(this,t),then:r?void 0:()=>OO(this,String(t))}},"interceptorImpl"))}s(QO,"prepareValueInterceptor");function ZO(e,t){return Ie(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}s(ZO,"sanitizeValue");function eR(e){pa(e,"setSelectionRange",s(function(t,...r){let n=yO(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:s(()=>n?void 0:xi(e),"then")}},"interceptorImpl")),pa(e,"selectionStart",s(function(t){return{realArgs:t,then:s(()=>xi(e),"then")}},"interceptorImpl")),pa(e,"selectionEnd",s(function(t){return{realArgs:t,then:s(()=>xi(e),"then")}},"interceptorImpl")),pa(e,"select",s(function(){return{realArgs:[],then:s(()=>vO(e,{anchorOffset:0,focusOffset:Ir(e).length}),"then")}},"interceptorImpl"))}s(eR,"prepareSelectionInterceptor");function tR(e){pa(e,"setRangeText",s(function(...t){return{realArgs:t,then:s(()=>{qc(e),xi(e)},"then")}},"interceptorImpl"))}s(tR,"prepareRangeTextInterceptor");var lo=Symbol("Node prepared with document state workarounds");function rb(e){e[lo]||(e.addEventListener("focus",t=>{let r=t.target;Rf(r)},{capture:!0,passive:!0}),e.activeElement&&Rf(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=bO(r);n!==void 0&&(r.value!==n&&Bn(r,"change"),zg(r))},{capture:!0,passive:!0}),e[lo]=lo)}s(rb,"prepareDocument");function Rf(e){e[lo]||(Ie(e,["input","textarea"])&&(QO(e),eR(e),tR(e)),e[lo]=lo)}s(Rf,"prepareElement");function rR(e){return nR(e)?e:e.ownerDocument}s(rR,"getDocumentFromNode");function nR(e){return e.nodeType===9}s(nR,"isDocument");var ur=function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e}({});function to(e,t){e.levelRefs[t]={}}s(to,"setLevelRef");function pi(e,t){return e.levelRefs[t]}s(pi,"getLevelRef");function Da(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}s(Da,"wait");var ll=function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e}({});function In(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(In,"_define_property");var qr=function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e}({}),FU=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Ff(e){return FU.includes(e)}s(Ff,"isModifierKey");var IU=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function If(e){return IU.includes(e)}s(If,"isModifierLock");var aR=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),a=String(r.code),o=il(t.config.document);this.setKeydownTarget(o),this.pressed.add(a,r),Ff(n)&&(this.modifiers[n]=!0);let i=t.dispatchUIEvent(o,"keydown",{key:n,code:a});If(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(a),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(il(t.config.document),"keypress",{key:n,code:a,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),a=String(r.code),o=this.pressed.isUnprevented(a);this.pressed.delete(a),Ff(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(il(t.config.document),"keyup",{key:n,code:a},!o),If(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){In(this,"system",void 0),In(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),In(this,"pressed",new class{add(r,n){var a,o,i;(i=(a=this.registry)[o=r])!==null&&i!==void 0||(a[o]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){In(this,"registry",{})}}),In(this,"carryChar",""),In(this,"lastKeydownTarget",void 0),In(this,"modifierLockStart",{}),this.system=t}};s(aR,"KeyboardHost");var kU=aR,NU=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:qr.LEFT},{code:"AltRight",key:"Alt",location:qr.RIGHT},{code:"ShiftLeft",key:"Shift",location:qr.LEFT},{code:"ShiftRight",key:"Shift",location:qr.RIGHT},{code:"ControlLeft",key:"Control",location:qr.LEFT},{code:"ControlRight",key:"Control",location:qr.RIGHT},{code:"MetaLeft",key:"Meta",location:qr.LEFT},{code:"MetaRight",key:"Meta",location:qr.RIGHT},{code:"OSLeft",key:"OS",location:qr.LEFT},{code:"OSRight",key:"OS",location:qr.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],BU=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function oR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(oR,"_define_property");var iR=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=nu(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=nu(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){oR(this,"pressed",{})}};s(iR,"Buttons");var sR=iR,E0={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function nu(e=0){return e in E0?E0[e]:Number(e)}s(nu,"getMouseButtonId");var C0={1:2,2:1};function au(e){return e=nu(e),e in C0?C0[e]:e}s(au,"getMouseEventButton");function lR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(lR,"_define_property");var uR=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){lR(this,"pressedKeys",new Set)}};s(uR,"Device");var jU=uR;function uo(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}s(uo,"getTreeDiff");function ou({target:e,node:t,offset:r}){return Fr(e)?{node:e,offset:r??Ir(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:nb(e,r)}s(ou,"resolveCaretPosition");function nb(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(o.nodeType===1)return nb(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}s(nb,"findNodeAtTextOffset");function cR({document:e,target:t,clickCount:r,node:n,offset:a}){if(dO(t))return;let o=Fr(t),i=String(o?Ir(t):t.textContent),[l,u]=n?[a,a]:pR(i,a,r);if(o)return qa(t,{anchorOffset:l??i.length,focusOffset:u??i.length}),{node:t,start:l??0,end:u??i.length};{let{node:c,offset:p}=ou({target:t,node:n,offset:l}),{node:d,offset:h}=ou({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(c,p),f.setEnd(d,h)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(f.cloneRange()),f}}s(cR,"setSelectionPerMouseDown");function pR(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}s(pR,"getTextRange");function dR(e,{document:t,target:r,node:n,offset:a}){let o=ou({target:r,node:n,offset:a});if("node"in e){if(o.node===e.node){let i=o.offset<e.start?e.end:e.start,l=o.offset>e.end||o.offset<e.start?o.offset:e.end;qa(e.node,{anchorOffset:i,focusOffset:l})}}else{let i=e.cloneRange(),l=i.comparePoint(o.node,o.offset);l<0?i.setStart(o.node,o.offset):l>0&&i.setEnd(o.node,o.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(i.cloneRange())}}s(dR,"modifySelectionPerMouseMove");function ab(e,t){var r,n,a,o,i,l,u,c,p,d,h,f,m,y,g,b,v,D,S,P,w,E,C,_;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((p=e.coords)===null||p===void 0?void 0:p.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((y=t.coords)===null||y===void 0?void 0:y.pageX)||((g=e.coords)===null||g===void 0?void 0:g.pageY)!==((b=t.coords)===null||b===void 0?void 0:b.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((D=t.coords)===null||D===void 0?void 0:D.screenX)||((S=e.coords)===null||S===void 0?void 0:S.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((w=e.caret)===null||w===void 0?void 0:w.node)!==((E=t.caret)===null||E===void 0?void 0:E.node)||((C=e.caret)===null||C===void 0?void 0:C.offset)!==((_=t.caret)===null||_===void 0?void 0:_.offset)}s(ab,"isDifferentPointerPosition");function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(kn,"_define_property");var fR=class{move(t,r,n){let a=this.position,o=this.getTarget(t);if(this.position=r,!ab(a,r))return;let i=this.getTarget(t),l=this.getEventInit("mousemove"),[u,c]=uo(o,i);return{leave:s(()=>{o!==i&&(t.dispatchUIEvent(o,"mouseout",l),u.forEach(p=>t.dispatchUIEvent(p,"mouseleave",l)))},"leave"),enter:s(()=>{o!==i&&(t.dispatchUIEvent(i,"mouseover",l),c.forEach(p=>t.dispatchUIEvent(p,"mouseenter",l)))},"enter"),move:s(()=>{n||(t.dispatchUIEvent(i,"mousemove",l),this.modifySelecting(t))},"move")}}down(t,r,n){let a=this.buttons.down(r);if(a===void 0)return;let o=this.getTarget(t);this.buttonDownTarget[a]=o;let i=this.getEventInit("mousedown",r.button),l=Zr(o);!n&&(l||t.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(t,i.detail),wn(o)),!l&&au(r.button)===2&&t.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let a=this.buttons.up(r);if(a===void 0)return;let o=this.getTarget(t);if(!Zr(o)){if(!n){let l=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(o,"mouseup",l),this.endSelecting()}let i=uo(this.buttonDownTarget[a],o)[2][0];if(i){let l=this.getEventInit("click",r.button);l.detail&&(t.dispatchUIEvent(i,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&t.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",r.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=au(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,a;this.selecting=cR({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(a=this.position.caret)===null||a===void 0?void 0:a.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&dR(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){kn(this,"position",{}),kn(this,"buttons",new sR),kn(this,"selecting",void 0),kn(this,"buttonDownTarget",{}),kn(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){kn(this,"down",{}),kn(this,"count",{})}})}};s(fR,"Mouse");var qU=fR;function Xi(e,t){var r;return((r=ob(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}s(Xi,"hasPointerEvents");function hR(e){let t=fr(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}s(hR,"closestPointerEventsDeclaration");var w0=Symbol("Last check for pointer-events");function ob(e,t){let r=t[w0];if(!(e.config.pointerEventsCheck!==ll.Never&&(!r||kf(e.config.pointerEventsCheck,ll.EachApiCall)&&r[ur.Call]!==pi(e,ur.Call)||kf(e.config.pointerEventsCheck,ll.EachTrigger)&&r[ur.Trigger]!==pi(e,ur.Trigger))))return r==null?void 0:r.result;let n=hR(t);return t[w0]={[ur.Call]:pi(e,ur.Call),[ur.Trigger]:pi(e,ur.Trigger),result:n},n}s(ob,"checkPointerEvents");function ro(e,t){let r=ob(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",mR(r.tree)].join(`
|
|
352
|
+
`))}s(ro,"assertPointerEvents");function mR(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,yR(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
|
|
353
|
+
`)}s(mR,"printTree");function yR(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(Ie(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var l;return(l=i.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(Ie(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}s(yR,"getLabelDescr");function kf(e,t){return(e&t)>0}s(kf,"hasBitFlag");function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Hr,"_define_property");var gR=class{init(t){let r=this.getTarget(t),[,n]=uo(null,r),a=this.getEventInit();return ro(t,r),t.dispatchUIEvent(r,"pointerover",a),n.forEach(o=>t.dispatchUIEvent(o,"pointerenter",a)),this}move(t,r){let n=this.position,a=this.getTarget(t);if(this.position=r,!ab(n,r))return;let o=this.getTarget(t),i=this.getEventInit(-1),[l,u]=uo(a,o);return{leave:s(()=>{Xi(t,a)&&a!==o&&(t.dispatchUIEvent(a,"pointerout",i),l.forEach(c=>t.dispatchUIEvent(c,"pointerleave",i)))},"leave"),enter:s(()=>{ro(t,o),a!==o&&(t.dispatchUIEvent(o,"pointerover",i),u.forEach(c=>t.dispatchUIEvent(c,"pointerenter",i)))},"enter"),move:s(()=>{t.dispatchUIEvent(o,"pointermove",i)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);ro(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);ro(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=uo(r,null),a=this.getEventInit();Xi(t,r)&&(t.dispatchUIEvent(r,"pointerout",a),n.forEach(o=>t.dispatchUIEvent(o,"pointerleave",a))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:au(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},a){Hr(this,"pointerId",void 0),Hr(this,"pointerType",void 0),Hr(this,"isPrimary",void 0),Hr(this,"buttons",void 0),Hr(this,"isMultitouch",!1),Hr(this,"isCancelled",!1),Hr(this,"isDown",!1),Hr(this,"isPrevented",!1),Hr(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=a}};s(gR,"Pointer");var MU=gR;function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(pn,"_define_property");var bR=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let a=this.getPointerName(r),o=r.pointerType==="touch"?this.pointers.new(a,r.pointerType,this.buttons):this.pointers.get(a);o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),o.pointerType==="touch"&&o.init(t),o.down(t,r.button),o.pointerType!=="touch"&&this.mouse.down(t,r,o.isPrevented)}async move(t,r,n){let a=this.pointers.get(r),o=a.move(t,n),i=a.pointerType==="touch"?void 0:this.mouse.move(t,n,a.isPrevented);o==null||o.leave(),i==null||i.leave(),o==null||o.enter(),i==null||i.enter(),o==null||o.move(),i==null||i.move()}async release(t,r,n){let a=this.devices.get(r.pointerType);a.removePressed(r),this.buttons.up(r);let o=this.pointers.get(this.getPointerName(r)),i=o.isPrevented;if(o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),a.countPressed===0&&o.up(t,r.button),o.pointerType==="touch"&&o.release(t),o.pointerType==="touch"&&!o.isMultitouch){let l=this.mouse.move(t,n,i);l==null||l.leave(),l==null||l.enter(),l==null||l.move(),this.mouse.down(t,r,i)}if(!o.isMultitouch){let l=this.mouse.move(t,n,i);l==null||l.leave(),l==null||l.enter(),l==null||l.move(),this.mouse.up(t,r,i)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){pn(this,"system",void 0),pn(this,"mouse",void 0),pn(this,"buttons",void 0),pn(this,"devices",new class{get(r){var n,a,o;return(o=(n=this.registry)[a=r])!==null&&o!==void 0?o:n[a]=new jU}constructor(){pn(this,"registry",{})}}),pn(this,"pointers",new class{new(r,n,a){let o=n!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return o||Object.values(this.registry).forEach(i=>{i.pointerType===n&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[r]=new MU({pointerId:this.nextId++,pointerType:n,isPrimary:o},a),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){pn(this,"registry",{}),pn(this,"nextId",1)}}),this.system=t,this.buttons=new sR,this.mouse=new qU,this.pointers.new("mouse","mouse",this.buttons)}};s(bR,"PointerHost");var LU=bR;function Nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Nf,"_define_property");var vR=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){Nf(this,"keyboard",new kU(this)),Nf(this,"pointer",new LU(this))}};s(vR,"System");var ER=vR;async function CR(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}s(CR,"click");async function wR(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}s(wR,"dblClick");async function AR(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}s(AR,"tripleClick");async function xR(e){return this.pointer({target:e})}s(xR,"hover");async function SR(e){return ro(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}s(SR,"unhover");async function _R({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}s(_R,"tab");var ib=function(e){return e["{"]="}",e["["]="]",e}(ib||{});function sb(e,t){let r=0,n=e[r]in ib?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?TR(e,r,t):PR(e,r,a,t)}}s(sb,"readNextDescriptor");function TR(e,t,r){let n=e[t];return lb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}s(TR,"readPrintableChar");function PR(e,t,r,n){var a,o;let i=e[t]==="/"?"/":"";t+=i.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];lb(u,e,t,n),t+=u.length;var c;let p=(c=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&c!==void 0?c:"";t+=p.length;let d=e[t]==="/"||!p&&e[t]===">"?e[t]:"";t+=d.length;let h=ib[r],f=e[t]===h?h:"";if(!f)throw new Error(ub([!p&&"repeat modifier",!d&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:p?Math.max(Number(p.substr(1)),1):1,releaseSelf:DR(d,p)}}s(PR,"readTag");function lb(e,t,r,n){if(!e)throw new Error(ub("key descriptor",t[r],t,n))}s(lb,"assertDescriptor");function DR(e,t){if(e)return e==="/";if(t)return!1}s(DR,"hasReleaseSelf");function ub(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
354
|
+
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
|
|
355
|
+
for more information about how userEvent parses your input.`}s(ub,"getErrorMessage");function OR(e,t){let r=[];do{let{type:a,descriptor:o,consumedLength:i,releasePrevious:l,releaseSelf:u=!0,repeat:c}=sb(t,"keyboard");var n;let p=(n=e.find(d=>{if(a==="["){var h;return((h=d.code)===null||h===void 0?void 0:h.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:p,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(i)}while(t);return r}s(OR,"parseKeyDef");async function RR(e){let t=OR(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Da(this.config),await FR(this,t[r])}s(RR,"keyboard");async function FR(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){let{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let i=1;i<=a;i++)await o.keyboard.keydown(e,t),i<a&&await Da(e.config);n&&await o.keyboard.keyup(e,t)}}s(FR,"keyboardAction");async function IR(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}s(IR,"releaseAllKeys");function cb(e){let t=Fr(e)?{"text/plain":kR(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Nc(fr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}s(cb,"copySelection");function kR(e){let t=Po(e);return Ir(e).substring(t.startOffset,t.endOffset)}s(kR,"readSelectedValueFromInput");async function NR(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=cb(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Ug(e,n),n}s(NR,"copy");async function BR(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=cb(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Ug(r.ownerDocument,n),n}s(BR,"cut");async function jR(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;let o=(a=typeof e=="string"?qR(t,e):e)!==null&&a!==void 0?a:await oO(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}s(jR,"paste");function qR(e,t){let r=Nc(fr(e));return r.setData("text",t),r}s(qR,"getClipboardDataFromString");function Bf(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=sb(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}s(Bf,"parseKeyDef");async function MR(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Bf(t,n)):"keys"in n?r.push(...Bf(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await Da(this.config),await LR(this,r[n]);this.system.pointer.resetClickCount()}s(MR,"pointer");async function LR(e,t){var r,n;let a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(a);var i,l,u,c;let p={target:(i=t.target)!==null&&i!==void 0?i:$R(e,o),coords:(l=t.coords)!==null&&l!==void 0?l:o==null?void 0:o.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:jf(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:jf(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(to(e,ur.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(to(e,ur.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(to(e,ur.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(to(e,ur.Trigger),await e.system.pointer.move(e,a,p))}s(LR,"pointerAction");function jf(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}s(jf,"hasCaretPosition");function $R(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}s($R,"getPrevTarget");async function UR(e){if(!_a(e)||Zr(e))throw new Error("clear()` is only supported on editable elements.");if(wn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Xg(e),!$O(e))throw new Error("The element content to be cleared could not be selected.");Pa(this,e,"","deleteContentBackward")}s(UR,"clear");async function VR(e,t){return pb.call(this,!0,e,t)}s(VR,"selectOptions");async function HR(e,t){return pb.call(this,!1,e,t)}s(HR,"deselectOptions");async function pb(e,t,r){if(!e&&!t.multiple)throw Le().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],a=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(l=>{if(typeof l!="string"&&a.includes(l))return l;{let u=a.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw Le().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!Zr(l));if(Zr(t)||!o.length)return;let i=s(l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(Ie(t,"select"))if(t.multiple)for(let l of o){let u=this.config.pointerEventsCheck===0?!0:Xi(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),wn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),i(l),u&&this.dispatchUIEvent(l,"click"),await Da(this.config)}else if(o.length===1){let l=this.config.pointerEventsCheck===0?!0:Xi(this,t);l?await this.click(t):wn(t),i(o[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Da(this.config)}else throw Le().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of o)await this.click(l),await this.unhover(l);else throw Le().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}s(pb,"selectOptionsBase");async function JR(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&eo(e,a,o??a),await this.keyboard(t),n||await IR(this))}s(JR,"type");var A0=Symbol("files and value properties are mocked");function ul(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}s(ul,"restoreProperty");function zR(e,t){var r;(r=e[A0])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){ul(e,"type",n),ul(e,"value",a),ul(e,"files",o)}s(i,"restore"),e[A0]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:s(()=>t,"get")},value:{configurable:!0,get:s(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(l){if(l==="")i();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:s(()=>"file","get"),set(l){l!=="file"&&(i(),e.type=l)}}})}s(zR,"setFiles");async function GR(e,t){let r=Ie(e,"label")?e.control:e;if(!r||!Ie(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(Zr(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||WR(o,r.accept)).slice(0,r.multiple?void 0:1),a=s(()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,l)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(zR(r,kc(fr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}s(GR,"upload");function di(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}s(di,"normalize");function WR(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return di(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?di(e.name).endsWith(n):r.includes(n)?di(e.type).startsWith(n.replace("*","")):di(e.type)===n)}s(WR,"isAcceptableFile");var x0={click:CR,dblClick:wR,tripleClick:AR,hover:xR,unhover:SR,tab:_R,keyboard:RR,copy:NR,cut:BR,paste:jR,pointer:MR,clear:UR,deselectOptions:HR,selectOptions:VR,type:JR,upload:GR};function KR(e){return Le().asyncWrapper(e)}s(KR,"wrapAsync");var YR={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:NU,pointerMap:BU,pointerEventsCheck:ll.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:s(()=>Promise.resolve(),"advanceTimers")},$U={...YR,writeToClipboard:!0};function db(e={},t=$U,r){let n=eF(e,r,t);return{...t,...e,document:n}}s(db,"createConfig");function XR(e={}){let t=db(e);rb(t.document),tb(fr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return rO(n),Lc(t).api}s(XR,"setupMain");function kt({keyboardState:e,pointerState:t,...r}={},n){let a=db(r,YR,n);rb(a.document),tb(fr(a.document).HTMLElement);var o;let i=(o=t??e)!==null&&o!==void 0?o:new ER;return{api:Lc(a,i).api,system:i}}s(kt,"setupDirect");function QR(e){return Lc({...this.config,...e},this.system).api}s(QR,"setupSub");function ZR(e,t){function r(...n){return to(e,ur.Call),KR(()=>t.apply(e,n).then(async a=>(await Da(e.config),a)))}return s(r,"method"),Object.defineProperty(r,"name",{get:s(()=>t.name,"get")}),r}s(ZR,"wrapAndBindImpl");function Lc(e,t=new ER){let r={};return Object.assign(r,{config:e,dispatchEvent:eb.bind(r),dispatchUIEvent:XO.bind(r),system:t,levelRefs:{},...x0}),{instance:r,api:{...Object.fromEntries(Object.entries(x0).map(([n,a])=>[n,ZR(r,a)])),setup:QR.bind(r)}}}s(Lc,"createInstance");function eF(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&rR(t))!==null&&a!==void 0?a:r.document}s(eF,"getDocument");var tF={};Jt(tF,{clear:()=>rF,click:()=>nF,copy:()=>aF,cut:()=>oF,dblClick:()=>iF,deselectOptions:()=>sF,hover:()=>lF,keyboard:()=>uF,paste:()=>pF,pointer:()=>cF,selectOptions:()=>dF,tab:()=>gF,tripleClick:()=>fF,type:()=>hF,unhover:()=>mF,upload:()=>yF});function rF(e){return kt().api.clear(e)}s(rF,"clear");function nF(e,t={}){return kt(t,e).api.click(e)}s(nF,"click");function aF(e={}){return kt(e).api.copy()}s(aF,"copy");function oF(e={}){return kt(e).api.cut()}s(oF,"cut");function iF(e,t={}){return kt(t).api.dblClick(e)}s(iF,"dblClick");function sF(e,t,r={}){return kt(r).api.deselectOptions(e,t)}s(sF,"deselectOptions");function lF(e,t={}){return kt(t).api.hover(e)}s(lF,"hover");async function uF(e,t={}){let{api:r,system:n}=kt(t);return r.keyboard(e).then(()=>n)}s(uF,"keyboard");async function cF(e,t={}){let{api:r,system:n}=kt(t);return r.pointer(e).then(()=>n)}s(cF,"pointer");function pF(e,t){return kt(t).api.paste(e)}s(pF,"paste");function dF(e,t,r={}){return kt(r).api.selectOptions(e,t)}s(dF,"selectOptions");function fF(e,t={}){return kt(t).api.tripleClick(e)}s(fF,"tripleClick");function hF(e,t,r={}){return kt(r,e).api.type(e,t,r)}s(hF,"type");function mF(e,t={}){let{api:r,system:n}=kt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}s(mF,"unhover");function yF(e,t,r={}){return kt(r).api.upload(e,t)}s(yF,"upload");function gF(e={}){return kt().api.tab(e)}s(gF,"tab");var bF={...tF,setup:XR},qf=No({...DT},{intercept:s((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});qf.screen=new Proxy(qf.screen,{get(e,t,r){return vt.warn(s$`
|
|
356
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
357
|
+
More info: https://storybook.js.org/docs/essentials/interactions
|
|
358
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:UU,configure:VU,createEvent:HU,fireEvent:JU,findAllByAltText:zU,findAllByDisplayValue:GU,findAllByLabelText:WU,findAllByPlaceholderText:KU,findAllByRole:YU,findAllByTestId:XU,findAllByText:QU,findAllByTitle:ZU,findByAltText:eV,findByDisplayValue:tV,findByLabelText:rV,findByPlaceholderText:nV,findByRole:aV,findByTestId:oV,findByText:iV,findByTitle:sV,getAllByAltText:lV,getAllByDisplayValue:uV,getAllByLabelText:cV,getAllByPlaceholderText:pV,getAllByRole:dV,getAllByTestId:fV,getAllByText:hV,getAllByTitle:mV,getByAltText:yV,getByDisplayValue:gV,getByLabelText:bV,getByPlaceholderText:vV,getByRole:EV,getByTestId:CV,getByText:wV,getByTitle:AV,getConfig:xV,getDefaultNormalizer:SV,getElementError:_V,getNodeText:TV,getQueriesForElement:PV,getRoles:DV,getSuggestedQuery:OV,isInaccessible:RV,logDOM:FV,logRoles:IV,prettyDOM:kV,queries:NV,queryAllByAltText:BV,queryAllByAttribute:jV,queryAllByDisplayValue:qV,queryAllByLabelText:MV,queryAllByPlaceholderText:LV,queryAllByRole:$V,queryAllByTestId:UV,queryAllByText:VV,queryAllByTitle:HV,queryByAltText:JV,queryByAttribute:zV,queryByDisplayValue:GV,queryByLabelText:WV,queryByPlaceholderText:KV,queryByRole:YV,queryByTestId:XV,queryByText:QV,queryByTitle:ZV,queryHelpers:eH,screen:tH,waitFor:rH,waitForElementToBeRemoved:nH,within:vF,prettyFormat:aH}=qf,EF=bF,{userEvent:oH}=No({userEvent:bF},{intercept:!0}),{expect:iH}=No({expect:_T},{getKeys:s((e,t)=>{if("constructor"in e&&e.constructor===V){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:s(e=>e!=="expect","intercept")}),sH={mock:s(()=>{},"mock")},S0=!1,lH=s(e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||S0||(ug((n,a)=>{let o=n.getMockName();o!=="spy"&&(!/^next\/.*::/.test(o)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(i=>o.startsWith(i)))&&Jo(o)(a)}),S0=!0)},"logActionsWhenMockCalled"),uH=[lH],_0=s(()=>({...nA,...oA}),"default"),iu="backgrounds",cH={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Dr}=globalThis,pH=s(()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},"isReduceMotionEnabled"),T0=s(e=>{(Array.isArray(e)?e:[e]).forEach(dH)},"clearStyles"),dH=s(e=>{if(!Dr)return;let t=Dr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),fH=s((e,t)=>{if(!Dr)return;let r=Dr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Dr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Dr.head.appendChild(n)}},"addGridStyle"),hH=s((e,t,r)=>{var a;if(!Dr)return;let n=Dr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let o=Dr.createElement("style");o.setAttribute("id",e),o.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,l=Dr.getElementById(i);l?(a=l.parentElement)==null||a.insertBefore(o,l):Dr.head.appendChild(o)}},"addBackgroundStyle"),mH={cellSize:100,cellAmount:10,opacity:.8},P0="addon-backgrounds",D0="addon-backgrounds-grid",yH=pH()?"":"transition: background-color 0.3s;",gH=s((e,t)=>{let{globals:r={},parameters:n={},viewMode:a,id:o}=t,{options:i=cH,disable:l,grid:u=mH}=n[iu]||{},c=r[iu]||{},p=typeof c=="string"?c:c==null?void 0:c.value,d=p?i[p]:void 0,h=typeof d=="string"?d:(d==null?void 0:d.value)||"transparent",f=typeof c=="string"?!1:c.grid||!1,m=!!d&&!l,y=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",g=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",b=n.layout===void 0||n.layout==="padded",v=a==="docs"?20:b?16:0,{cellAmount:D,cellSize:S,opacity:P,offsetX:w=v,offsetY:E=v}=u,C=a==="docs"?`${P0}-docs-${o}`:`${P0}-color`,_=a==="docs"?o:null;Jn(()=>{let B=`
|
|
359
|
+
${y} {
|
|
360
|
+
background: ${h} !important;
|
|
361
|
+
${yH}
|
|
362
|
+
}`;if(!m){T0(C);return}hH(C,B,_)},[y,C,_,m,h]);let N=a==="docs"?`${D0}-docs-${o}`:`${D0}`;return Jn(()=>{if(!f){T0(N);return}let B=[`${S*D}px ${S*D}px`,`${S*D}px ${S*D}px`,`${S}px ${S}px`,`${S}px ${S}px`].join(", "),J=`
|
|
363
|
+
${g} {
|
|
364
|
+
background-size: ${B} !important;
|
|
365
|
+
background-position: ${w}px ${E}px, ${w}px ${E}px, ${w}px ${E}px, ${w}px ${E}px !important;
|
|
366
|
+
background-blend-mode: difference !important;
|
|
367
|
+
background-image: linear-gradient(rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
368
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
369
|
+
linear-gradient(rgba(130, 130, 130, ${P/2}) 1px, transparent 1px),
|
|
370
|
+
linear-gradient(90deg, rgba(130, 130, 130, ${P/2}) 1px, transparent 1px) !important;
|
|
371
|
+
}
|
|
372
|
+
`;fH(N,J)},[D,S,g,N,f,w,E,P]),e()},"withBackgroundAndGrid"),HE,bH=(HE=globalThis.FEATURES)!=null&&HE.backgrounds?[gH]:[],vH={[iu]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},EH={[iu]:{value:void 0,grid:!1}},O0=s(()=>({decorators:bH,parameters:vH,initialGlobals:EH}),"default"),{step:CH}=No({step:s(async(e,t,r)=>t(r),"step")},{intercept:!0}),R0=s(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:CH}),"default"),$c="storybook/highlight",wH=`${$c}/add`,AH=`${$c}/remove`,xH=`${$c}/reset`,SH=`${$c}/scroll-into-view`,F0=2147483647,jn=28,I0={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},_H="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),At=s((e,t={},r)=>{let n=_H.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([a,o])=>{/[A-Z]/.test(a)?(a==="onClick"&&(n.addEventListener("click",o),n.addEventListener("keydown",i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),o())})),a==="onMouseEnter"&&n.addEventListener("mouseenter",o),a==="onMouseLeave"&&n.addEventListener("mouseleave",o)):n.setAttribute(a,o)}),r==null||r.forEach(a=>{if(!(a==null||a===!1))try{n.appendChild(a)}catch{n.appendChild(document.createTextNode(String(a)))}}),n},"createElement"),Bs=s(e=>I0[e]&&At("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},I0[e].map(t=>At("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),TH=s(e=>{if("elements"in e){let{elements:n,color:a,style:o}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${o} ${a}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),PH=s(e=>e instanceof Function,"isFunction"),ti=new Map,oa=new Map,js=new Map,sn=s(e=>{let t=Symbol();return oa.set(t,[]),ti.set(t,e),{get:s(()=>ti.get(t),"get"),set:s(r=>{var o;let n=ti.get(t),a=PH(r)?r(n):r;a!==n&&(ti.set(t,a),(o=oa.get(t))==null||o.forEach(i=>{var l;(l=js.get(i))==null||l(),js.set(i,i(a))}))},"set"),subscribe:s(r=>{var n;return(n=oa.get(t))==null||n.push(r),()=>{let a=oa.get(t);a&&oa.set(t,a.filter(o=>o!==r))}},"subscribe"),teardown:s(()=>{var r;(r=oa.get(t))==null||r.forEach(n=>{var a;(a=js.get(n))==null||a(),js.delete(n)}),oa.delete(t),ti.delete(t)},"teardown")}},"useStore"),k0=s(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:a=0}=n;for(let o of n.selectors){let i=[...document.querySelectorAll(`:is(${o}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...(t==null?void 0:t.querySelectorAll(o))||[]];for(let l of i){let u=r.get(l);(!u||u.priority<=a)&&r.set(l,{...n,priority:a,selectors:Array.from(new Set(((u==null?void 0:u.selectors)||[]).concat(o)))})}}}return r},"mapElements"),DH=s(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:a,focusStyles:o,menu:i}])=>{let{top:l,left:u,width:c,height:p}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:a,focusStyles:o,menu:i,top:d==="fixed"?l:l+window.scrollY,left:d==="fixed"?u:u+window.scrollX,width:c,height:p}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),N0=s((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:a}=t;return(r==null?void 0:r.top)&&(r==null?void 0:r.left)&&n>=r.left&&n<=r.left+r.width&&a>=r.top&&a<=r.top+r.height},"isOverMenu"),B0=s((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:a,width:o,height:i}=e;i<jn&&(a=a-Math.round((jn-i)/2),i=jn),o<jn&&(n=n-Math.round((jn-o)/2),o=jn),t.style.position==="fixed"&&(n+=window.scrollX,a+=window.scrollY);let{x:l,y:u}=r;return l>=n&&l<=n+o&&u>=a&&u<=a+i},"isTargeted"),OH=s((e,t,r={})=>{let{x:n,y:a}=t,{margin:o=5,topOffset:i=0,centered:l=!1}=r,{scrollX:u,scrollY:c,innerHeight:p,innerWidth:d}=window,h=Math.min(e.style.position==="fixed"?a-c:a,p-e.clientHeight-o-i+c),f=l?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-u,d-f-o),f+o):Math.max(Math.min(n,d-f-o+u),f+o+u);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==a&&{top:`${h}px`}})},"keepInViewport"),j0=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),RH=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),FH=s(e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),tt="storybook-highlights-menu",q0="storybook-highlights-root",IH="storybook-root",kH=s(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=sn([]),n=sn(new Map),a=sn([]),o=sn(),i=sn(),l=sn([]),u=sn([]),c=sn(),p=sn(),d=t.getElementById(q0);r.subscribe(()=>{d||(d=At("div",{id:q0}),t.body.appendChild(d))}),r.subscribe(E=>{let C=t.getElementById(IH);if(!C)return;n.set(k0(E));let _=new MutationObserver(()=>n.set(k0(E)));return _.observe(C,{subtree:!0,childList:!0}),()=>{_.disconnect()}}),n.subscribe(E=>{let C=s(()=>requestAnimationFrame(()=>a.set(DH(E))),"updateBoxes"),_=new ResizeObserver(C);_.observe(t.body),Array.from(E.keys()).forEach(B=>_.observe(B));let N=Array.from(t.body.querySelectorAll("*")).filter(B=>{let{overflow:J,overflowX:G,overflowY:R}=window.getComputedStyle(B);return["auto","scroll"].some(L=>[J,G,R].includes(L))});return N.forEach(B=>B.addEventListener("scroll",C)),()=>{_.disconnect(),N.forEach(B=>B.removeEventListener("scroll",C))}}),n.subscribe(E=>{let C=Array.from(E.keys()).filter(({style:N})=>N.position==="sticky"),_=s(()=>requestAnimationFrame(()=>{a.set(N=>N.map(B=>{if(C.includes(B.element)){let{top:J,left:G}=B.element.getBoundingClientRect();return{...B,top:J+window.scrollY,left:G+window.scrollX}}return B}))}),"updateBoxes");return t.addEventListener("scroll",_),()=>t.removeEventListener("scroll",_)}),n.subscribe(E=>{l.set(C=>C.filter(({element:_})=>E.has(_)))}),l.subscribe(E=>{E.length?(p.set(C=>E.some(_=>_.element===(C==null?void 0:C.element))?C:void 0),c.set(C=>E.some(_=>_.element===(C==null?void 0:C.element))?C:void 0)):(p.set(void 0),c.set(void 0),o.set(void 0))});let h=new Map(new Map);r.subscribe(E=>{E.forEach(({keyframes:C})=>{if(C){let _=h.get(C);_||(_=t.createElement("style"),_.setAttribute("data-highlight","keyframes"),h.set(C,_),t.head.appendChild(_)),_.innerHTML=C}}),h.forEach((C,_)=>{E.some(N=>N.keyframes===_)||(C.remove(),h.delete(_))})});let f=new Map(new Map);a.subscribe(E=>{E.forEach(C=>{let _=f.get(C.element);if(d&&!_){let N={popover:"manual","data-highlight-dimensions":`w${C.width.toFixed(0)}h${C.height.toFixed(0)}`,"data-highlight-coordinates":`x${C.left.toFixed(0)}y${C.top.toFixed(0)}`};_=d.appendChild(At("div",N,[At("div")])),f.set(C.element,_)}}),f.forEach((C,_)=>{E.some(({element:N})=>N===_)||(C.remove(),f.delete(_))})}),a.subscribe(E=>{let C=E.filter(N=>N.menu);if(!C.length)return;let _=s(N=>{requestAnimationFrame(()=>{let B=t.getElementById(tt),J={x:N.pageX,y:N.pageY};if(B&&!N0(B,J)){let G=C.filter(R=>{let L=f.get(R.element);return B0(R,L,J)});o.set(G.length?J:void 0),l.set(G)}})},"onClick");return t.addEventListener("click",_),()=>t.removeEventListener("click",_)});let m=s(()=>{let E=t.getElementById(tt),C=i.get();!C||E&&N0(E,C)||u.set(_=>{let N=a.get().filter(R=>{let L=f.get(R.element);return B0(R,L,C)}),B=_.filter(R=>N.includes(R)),J=N.filter(R=>!_.includes(R)),G=_.length-B.length;return J.length||G?[...B,...J]:_})},"updateHovered");i.subscribe(m),a.subscribe(m);let y=s(()=>{let E=p.get(),C=E?[E]:l.get(),_=C.length===1?C[0]:c.get(),N=o.get()!==void 0;a.get().forEach(B=>{var G;let J=f.get(B.element);if(J){let R=_===B,L=N?_?R:C.includes(B):(G=u.get())==null?void 0:G.includes(B);Object.assign(J.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...B.styles,...L?B.hoverStyles:{},...R?B.focusStyles:{},position:getComputedStyle(B.element).position==="fixed"?"fixed":"absolute",zIndex:F0-10,top:`${B.top}px`,left:`${B.left}px`,width:`${B.width}px`,height:`${B.height}px`,margin:0,padding:0,cursor:B.menu&&L?"pointer":"default",pointerEvents:B.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(J.children[0].style,{width:"100%",height:"100%",minHeight:`${jn}px`,minWidth:`${jn}px`,boxSizing:"content-box",padding:J.style.outlineWidth||"0px"}),j0(J)}})},"updateBoxStyles");a.subscribe(y),l.subscribe(y),u.subscribe(y),c.subscribe(y),p.subscribe(y);let g=s(()=>{var B;if(!d)return;let E=t.getElementById(tt);if(E)E.innerHTML="";else{let J={id:tt,popover:"manual"};E=d.appendChild(At("div",J)),d.appendChild(At("style",{},[`
|
|
373
|
+
#${tt} {
|
|
374
|
+
position: absolute;
|
|
375
|
+
z-index: ${F0};
|
|
376
|
+
width: 300px;
|
|
377
|
+
padding: 0px;
|
|
378
|
+
margin: 15px 0 0 0;
|
|
379
|
+
transform: translateX(-50%);
|
|
380
|
+
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
381
|
+
font-size: 12px;
|
|
382
|
+
background: white;
|
|
383
|
+
border: none;
|
|
384
|
+
border-radius: 6px;
|
|
385
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
386
|
+
color: #2E3438;
|
|
387
|
+
}
|
|
388
|
+
#${tt} ul {
|
|
389
|
+
list-style: none;
|
|
390
|
+
margin: 0;
|
|
391
|
+
padding: 0;
|
|
392
|
+
}
|
|
393
|
+
#${tt} > ul {
|
|
394
|
+
max-height: 300px;
|
|
395
|
+
overflow-y: auto;
|
|
396
|
+
padding: 4px 0;
|
|
397
|
+
}
|
|
398
|
+
#${tt} li {
|
|
399
|
+
padding: 0 4px;
|
|
400
|
+
margin: 0;
|
|
401
|
+
}
|
|
402
|
+
#${tt} li > :not(ul) {
|
|
403
|
+
display: flex;
|
|
404
|
+
padding: 8px;
|
|
405
|
+
margin: 0;
|
|
406
|
+
align-items: center;
|
|
407
|
+
gap: 8px;
|
|
408
|
+
border-radius: 4px;
|
|
409
|
+
}
|
|
410
|
+
#${tt} button {
|
|
411
|
+
width: 100%;
|
|
412
|
+
border: 0;
|
|
413
|
+
background: transparent;
|
|
414
|
+
color: inherit;
|
|
415
|
+
text-align: left;
|
|
416
|
+
font-family: inherit;
|
|
417
|
+
font-size: inherit;
|
|
418
|
+
}
|
|
419
|
+
#${tt} button:focus-visible {
|
|
420
|
+
outline-color: #029CFD;
|
|
421
|
+
}
|
|
422
|
+
#${tt} button:hover {
|
|
423
|
+
background: rgba(2, 156, 253, 0.07);
|
|
424
|
+
color: #029CFD;
|
|
425
|
+
cursor: pointer;
|
|
426
|
+
}
|
|
427
|
+
#${tt} li code {
|
|
428
|
+
white-space: nowrap;
|
|
429
|
+
overflow: hidden;
|
|
430
|
+
text-overflow: ellipsis;
|
|
431
|
+
line-height: 16px;
|
|
432
|
+
font-size: 11px;
|
|
433
|
+
}
|
|
434
|
+
#${tt} li svg {
|
|
435
|
+
flex-shrink: 0;
|
|
436
|
+
margin: 1px;
|
|
437
|
+
color: #73828C;
|
|
438
|
+
}
|
|
439
|
+
#${tt} li > button:hover svg, #${tt} li > button:focus-visible svg {
|
|
440
|
+
color: #029CFD;
|
|
441
|
+
}
|
|
442
|
+
#${tt} .element-list li svg {
|
|
443
|
+
display: none;
|
|
444
|
+
}
|
|
445
|
+
#${tt} li.selectable svg, #${tt} li.selected svg {
|
|
446
|
+
display: block;
|
|
447
|
+
}
|
|
448
|
+
#${tt} .menu-list {
|
|
449
|
+
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
450
|
+
}
|
|
451
|
+
#${tt} .menu-list > li:not(:last-child) {
|
|
452
|
+
padding-bottom: 4px;
|
|
453
|
+
margin-bottom: 4px;
|
|
454
|
+
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
455
|
+
}
|
|
456
|
+
#${tt} .menu-items, #${tt} .menu-items li {
|
|
457
|
+
padding: 0;
|
|
458
|
+
}
|
|
459
|
+
#${tt} .menu-item {
|
|
460
|
+
display: flex;
|
|
461
|
+
}
|
|
462
|
+
#${tt} .menu-item-content {
|
|
463
|
+
display: flex;
|
|
464
|
+
flex-direction: column;
|
|
465
|
+
flex-grow: 1;
|
|
466
|
+
}
|
|
467
|
+
`]))}let C=p.get(),_=C?[C]:l.get();if(_.length&&(E.style.position=getComputedStyle(_[0].element).position==="fixed"?"fixed":"absolute",E.appendChild(At("ul",{class:"element-list"},_.map(J=>{var j;let G=_.length>1&&!!((j=J.menu)!=null&&j.some(W=>W.some(K=>!K.selectors||K.selectors.some(ae=>J.selectors.includes(ae))))),R=G?{class:"selectable",onClick:s(()=>p.set(J),"onClick"),onMouseEnter:s(()=>c.set(J),"onMouseEnter"),onMouseLeave:s(()=>c.set(void 0),"onMouseLeave")}:C?{class:"selected",onClick:s(()=>p.set(void 0),"onClick")}:{},L=G||C;return At("li",R,[At(L?"button":"div",L?{type:"button"}:{},[C?Bs("chevronLeft"):null,At("code",{},[J.element.outerHTML]),G?Bs("chevronRight"):null])])})))),p.get()||l.get().length===1){let J=p.get()||l.get()[0],G=(B=J.menu)==null?void 0:B.filter(R=>R.some(L=>!L.selectors||L.selectors.some(j=>J.selectors.includes(j))));G!=null&&G.length&&E.appendChild(At("ul",{class:"menu-list"},G.map(R=>At("li",{},[At("ul",{class:"menu-items"},R.map(({id:L,title:j,description:W,iconLeft:K,iconRight:ae,clickEvent:se})=>{let Z=se&&(()=>e.emit(se,L,FH(J)));return At("li",{},[At(Z?"button":"div",Z?{class:"menu-item",type:"button",onClick:Z}:{class:"menu-item"},[K?Bs(K):null,At("div",{class:"menu-item-content"},[At(W?"strong":"span",{},[j]),W&&At("span",{},[W])]),ae?Bs(ae):null])])}))]))))}let N=o.get();N?(Object.assign(E.style,{display:"block",left:`${E.style.position==="fixed"?N.x-window.scrollX:N.x}px`,top:`${E.style.position==="fixed"?N.y-window.scrollY:N.y}px`}),j0(E),requestAnimationFrame(()=>OH(E,N,{topOffset:15,centered:!0}))):(RH(E),Object.assign(E.style,{display:"none"}))},"renderMenu");l.subscribe(g),p.subscribe(g);let b=s(E=>{let C=TH(E);r.set(_=>{var B;let N=C.id?_.filter(J=>J.id!==C.id):_;return(B=C.selectors)!=null&&B.length?[...N,C]:N})},"addHighlight"),v=s(E=>{E&&r.set(C=>C.filter(_=>_.id!==E))},"removeHighlight"),D=s(()=>{r.set([]),n.set(new Map),a.set([]),o.set(void 0),i.set(void 0),l.set([]),u.set([]),c.set(void 0),p.set(void 0)},"resetState"),S,P=s((E,C)=>{let _="scrollIntoView-highlight";clearTimeout(S),v(_);let N=t.querySelector(E);if(!N){console.warn(`Cannot scroll into view: ${E} not found`);return}N.scrollIntoView({behavior:"smooth",block:"center",...C});let B=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(J=>[...J,{id:_,priority:1e3,selectors:[E],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${B} 3s linear forwards`},keyframes:`@keyframes ${B} {
|
|
468
|
+
0% { outline: 2px solid #1EA7FD; }
|
|
469
|
+
20% { outline: 2px solid #1EA7FD00; }
|
|
470
|
+
40% { outline: 2px solid #1EA7FD; }
|
|
471
|
+
60% { outline: 2px solid #1EA7FD00; }
|
|
472
|
+
80% { outline: 2px solid #1EA7FD; }
|
|
473
|
+
100% { outline: 2px solid #1EA7FD00; }
|
|
474
|
+
}`}]),S=setTimeout(()=>v(_),3500)},"scrollIntoView"),w=s(E=>{requestAnimationFrame(()=>i.set({x:E.pageX,y:E.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",w),e.on(wH,b),e.on(AH,v),e.on(xH,D),e.on(SH,P),e.on(Ca,({newPhase:E})=>{E==="loading"&&D()})},"useHighlights"),JE;(JE=globalThis==null?void 0:globalThis.FEATURES)!=null&&JE.highlight&&(Xt!=null&&Xt.ready)&&Xt.ready().then(kH);var M0=s(()=>({}),"default"),NH="measureEnabled";function fb(){let e=de.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}s(fb,"getDocumentWidthAndHeight");function CF(){let e=de.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Yr(t!=null);let{width:r,height:n}=fb();return su(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",de.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}s(CF,"createCanvas");function su(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let a=de.window.devicePixelRatio;e.width=Math.floor(r*a),e.height=Math.floor(n*a),t.scale(a,a)}s(su,"setCanvasWidthAndHeight");var xt={};function wF(){xt.canvas||(xt=CF())}s(wF,"init");function hb(){xt.context&&xt.context.clearRect(0,0,xt.width??0,xt.height??0)}s(hb,"clear");function AF(e){hb(),e(xt.context)}s(AF,"draw");function xF(){Yr(xt.canvas),Yr(xt.context),su(xt.canvas,xt.context,{width:0,height:0});let{width:e,height:t}=fb();su(xt.canvas,xt.context,{width:e,height:t}),xt.width=e,xt.height=t}s(xF,"rescale");function SF(){var e;xt.canvas&&(hb(),(e=xt.canvas.parentNode)==null||e.removeChild(xt.canvas),xt={})}s(SF,"destroy");var Ua={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},bn=6;function Mf(e,{x:t,y:r,w:n,h:a,r:o}){t=t-n/2,r=r-a/2,n<2*o&&(o=n/2),a<2*o&&(o=a/2),e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+a,o),e.arcTo(t+n,r+a,t,r+a,o),e.arcTo(t,r+a,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}s(Mf,"roundedRect");function _F(e,{padding:t,border:r,width:n,height:a,top:o,left:i}){let l=n-r.left-r.right-t.left-t.right,u=a-t.top-t.bottom-r.top-r.bottom,c=i+r.left+t.left,p=o+r.top+t.top;return e==="top"?c+=l/2:e==="right"?(c+=l,p+=u/2):e==="bottom"?(c+=l/2,p+=u):e==="left"?p+=u/2:e==="center"&&(c+=l/2,p+=u/2),{x:c,y:p}}s(_F,"positionCoordinate");function TF(e,t,{margin:r,border:n,padding:a},o,i){let l=s(h=>0,"shift"),u=0,c=0,p=i?1:.5,d=i?o*2:0;return e==="padding"?l=s(h=>a[h]*p+d,"shift"):e==="border"?l=s(h=>a[h]+n[h]*p+d,"shift"):e==="margin"&&(l=s(h=>a[h]+n[h]+r[h]*p+d,"shift")),t==="top"?c=-l("top"):t==="right"?u=l("right"):t==="bottom"?c=l("bottom"):t==="left"&&(u=-l("left")),{offsetX:u,offsetY:c}}s(TF,"offset");function PF(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}s(PF,"collide");function DF(e,t,r){return e==="top"?t.y=r.y-r.h-bn:e==="right"?t.x=r.x+r.w/2+bn+t.w/2:e==="bottom"?t.y=r.y+r.h+bn:e==="left"&&(t.x=r.x-r.w/2-bn-t.w/2),{x:t.x,y:t.y}}s(DF,"overlapAdjustment");function mb(e,t,{x:r,y:n,w:a,h:o},i){return Mf(e,{x:r,y:n,w:a,h:o,r:3}),e.fillStyle=`${Ua[t]}dd`,e.fill(),e.strokeStyle=Ua[t],e.stroke(),e.fillStyle=Ua.text,e.fillText(i,r,n),Mf(e,{x:r,y:n,w:a,h:o,r:3}),e.fillStyle=`${Ua[t]}dd`,e.fill(),e.strokeStyle=Ua[t],e.stroke(),e.fillStyle=Ua.text,e.fillText(i,r,n),{x:r,y:n,w:a,h:o}}s(mb,"textWithRect");function yb(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,a=r.width+bn*2,o=n+bn*2;return{w:a,h:o}}s(yb,"configureText");function OF(e,t,{type:r,position:n="center",text:a},o,i=!1){let{x:l,y:u}=_F(n,t),{offsetX:c,offsetY:p}=TF(r,n,t,bn+1,i);l+=c,u+=p;let{w:d,h}=yb(e,a);if(o&&PF({x:l,y:u,w:d,h},o)){let f=DF(n,{x:l,y:u,w:d},o);l=f.x,u=f.y}return mb(e,r,{x:l,y:u,w:d,h},a)}s(OF,"drawLabel");function RF(e,{w:t,h:r}){let n=t*.5+bn,a=r*.5+bn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*a}}s(RF,"floatingOffset");function FF(e,t,{type:r,text:n}){let{floatingAlignment:a,extremities:o}=t,i=o[a.x],l=o[a.y],{w:u,h:c}=yb(e,n),{offsetX:p,offsetY:d}=RF(a,{w:u,h:c});return i+=p,l+=d,mb(e,r,{x:i,y:l,w:u,h:c},n)}s(FF,"drawFloatingLabel");function Ga(e,t,r,n){let a=[];r.forEach((o,i)=>{let l=n&&o.position==="center"?FF(e,t,o):OF(e,t,o,a[i-1],n);a[i]=l})}s(Ga,"drawStack");function IF(e,t,r,n){let a=r.reduce((o,i)=>{var l;return Object.prototype.hasOwnProperty.call(o,i.position)||(o[i.position]=[]),(l=o[i.position])==null||l.push(i),o},{});a.top&&Ga(e,t,a.top,n),a.right&&Ga(e,t,a.right,n),a.bottom&&Ga(e,t,a.bottom,n),a.left&&Ga(e,t,a.left,n),a.center&&Ga(e,t,a.center,n)}s(IF,"labelStacks");var Uc={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},L0=30;function or(e){return parseInt(e.replace("px",""),10)}s(or,"pxToNumber");function da(e){return Number.isInteger(e)?e:e.toFixed(2)}s(da,"round");function Vc(e){return e.filter(t=>t.text!==0&&t.text!=="0")}s(Vc,"filterZeroValues");function kF(e){let t={top:de.window.scrollY,bottom:de.window.scrollY+de.window.innerHeight,left:de.window.scrollX,right:de.window.scrollX+de.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}s(kF,"floatingAlignment");function NF(e){let t=de.getComputedStyle(e),{top:r,left:n,right:a,bottom:o,width:i,height:l}=e.getBoundingClientRect(),{marginTop:u,marginBottom:c,marginLeft:p,marginRight:d,paddingTop:h,paddingBottom:f,paddingLeft:m,paddingRight:y,borderBottomWidth:g,borderTopWidth:b,borderLeftWidth:v,borderRightWidth:D}=t;r=r+de.window.scrollY,n=n+de.window.scrollX,o=o+de.window.scrollY,a=a+de.window.scrollX;let S={top:or(u),bottom:or(c),left:or(p),right:or(d)},P={top:or(h),bottom:or(f),left:or(m),right:or(y)},w={top:or(b),bottom:or(g),left:or(v),right:or(D)},E={top:r-S.top,bottom:o+S.bottom,left:n-S.left,right:a+S.right};return{margin:S,padding:P,border:w,top:r,left:n,bottom:o,right:a,width:i,height:l,extremities:E,floatingAlignment:kF(E)}}s(NF,"measureElement");function BF(e,{margin:t,width:r,height:n,top:a,left:o,bottom:i,right:l}){let u=n+t.bottom+t.top;e.fillStyle=Uc.margin,e.fillRect(o,a-t.top,r,t.top),e.fillRect(l,a-t.top,t.right,u),e.fillRect(o,i,r,t.bottom),e.fillRect(o-t.left,a-t.top,t.left,u);let c=[{type:"margin",text:da(t.top),position:"top"},{type:"margin",text:da(t.right),position:"right"},{type:"margin",text:da(t.bottom),position:"bottom"},{type:"margin",text:da(t.left),position:"left"}];return Vc(c)}s(BF,"drawMargin");function jF(e,{padding:t,border:r,width:n,height:a,top:o,left:i,bottom:l,right:u}){let c=n-r.left-r.right,p=a-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Uc.padding,e.fillRect(i+r.left,o+r.top,c,t.top),e.fillRect(u-t.right-r.right,o+t.top+r.top,t.right,p),e.fillRect(i+r.left,l-t.bottom-r.bottom,c,t.bottom),e.fillRect(i+r.left,o+t.top+r.top,t.left,p);let d=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return Vc(d)}s(jF,"drawPadding");function qF(e,{border:t,width:r,height:n,top:a,left:o,bottom:i,right:l}){let u=n-t.top-t.bottom;e.fillStyle=Uc.border,e.fillRect(o,a,r,t.top),e.fillRect(o,i-t.bottom,r,t.bottom),e.fillRect(o,a+t.top,t.left,u),e.fillRect(l-t.right,a+t.top,t.right,u);let c=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return Vc(c)}s(qF,"drawBorder");function MF(e,{padding:t,border:r,width:n,height:a,top:o,left:i}){let l=n-r.left-r.right-t.left-t.right,u=a-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Uc.content,e.fillRect(i+r.left+t.left,o+r.top+t.top,l,u),[{type:"content",position:"center",text:`${da(l)} x ${da(u)}`}]}s(MF,"drawContent");function LF(e){return t=>{if(e&&t){let r=NF(e),n=BF(t,r),a=jF(t,r),o=qF(t,r),i=MF(t,r),l=r.width<=L0*3||r.height<=L0;IF(t,r,[...i,...a,...o,...n],l)}}}s(LF,"drawBoxModel");function $F(e){AF(LF(e))}s($F,"drawSelectedElement");var BH=s((e,t)=>{let r=de.document.elementFromPoint(e,t),n=s(a=>{if(a&&a.shadowRoot){let o=a.shadowRoot.elementFromPoint(e,t);return a.isEqualNode(o)?a:o.shadowRoot?n(o):o}return a},"crawlShadows");return n(r)||r},"deepElementFromPoint"),$0,qs={x:0,y:0};function Lf(e,t){$0=BH(e,t),$F($0)}s(Lf,"findAndDrawElement");var jH=s((e,t)=>{let{measureEnabled:r}=t.globals||{};return Jn(()=>{if(typeof globalThis.document>"u")return;let n=s(a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),qs.x=a.clientX,qs.y=a.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Jn(()=>{let n=s(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),Lf(o.clientX,o.clientY)})},"onPointerOver"),a=s(()=>{window.requestAnimationFrame(()=>{xF()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),wF(),globalThis.window.addEventListener("resize",a),Lf(qs.x,qs.y)),()=>{globalThis.window.removeEventListener("resize",a),SF()}},[r,t.viewMode]),e()},"withMeasure"),zE,qH=(zE=globalThis.FEATURES)!=null&&zE.measure?[jH]:[],MH={[NH]:!1},U0=s(()=>({decorators:qH,initialGlobals:MH}),"default"),UF="outline",V0=s(e=>{(Array.isArray(e)?e:[e]).forEach(LH)},"clearStyles"),LH=s(e=>{let t=typeof e=="string"?e:e.join(""),r=de.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),$H=s((e,t)=>{let r=de.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=de.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,de.document.head.appendChild(n)}},"addOutlineStyles");function VF(e){return je`
|
|
475
|
+
${e} body {
|
|
476
|
+
outline: 1px solid #2980b9 !important;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
${e} article {
|
|
480
|
+
outline: 1px solid #3498db !important;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
${e} nav {
|
|
484
|
+
outline: 1px solid #0088c3 !important;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
${e} aside {
|
|
488
|
+
outline: 1px solid #33a0ce !important;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
${e} section {
|
|
492
|
+
outline: 1px solid #66b8da !important;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
${e} header {
|
|
496
|
+
outline: 1px solid #99cfe7 !important;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
${e} footer {
|
|
500
|
+
outline: 1px solid #cce7f3 !important;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
${e} h1 {
|
|
504
|
+
outline: 1px solid #162544 !important;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
${e} h2 {
|
|
508
|
+
outline: 1px solid #314e6e !important;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
${e} h3 {
|
|
512
|
+
outline: 1px solid #3e5e85 !important;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
${e} h4 {
|
|
516
|
+
outline: 1px solid #449baf !important;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
${e} h5 {
|
|
520
|
+
outline: 1px solid #c7d1cb !important;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
${e} h6 {
|
|
524
|
+
outline: 1px solid #4371d0 !important;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
${e} main {
|
|
528
|
+
outline: 1px solid #2f4f90 !important;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
${e} address {
|
|
532
|
+
outline: 1px solid #1a2c51 !important;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
${e} div {
|
|
536
|
+
outline: 1px solid #036cdb !important;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
${e} p {
|
|
540
|
+
outline: 1px solid #ac050b !important;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
${e} hr {
|
|
544
|
+
outline: 1px solid #ff063f !important;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
${e} pre {
|
|
548
|
+
outline: 1px solid #850440 !important;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
${e} blockquote {
|
|
552
|
+
outline: 1px solid #f1b8e7 !important;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
${e} ol {
|
|
556
|
+
outline: 1px solid #ff050c !important;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
${e} ul {
|
|
560
|
+
outline: 1px solid #d90416 !important;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
${e} li {
|
|
564
|
+
outline: 1px solid #d90416 !important;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
${e} dl {
|
|
568
|
+
outline: 1px solid #fd3427 !important;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
${e} dt {
|
|
572
|
+
outline: 1px solid #ff0043 !important;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
${e} dd {
|
|
576
|
+
outline: 1px solid #e80174 !important;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
${e} figure {
|
|
580
|
+
outline: 1px solid #ff00bb !important;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
${e} figcaption {
|
|
584
|
+
outline: 1px solid #bf0032 !important;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
${e} table {
|
|
588
|
+
outline: 1px solid #00cc99 !important;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
${e} caption {
|
|
592
|
+
outline: 1px solid #37ffc4 !important;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
${e} thead {
|
|
596
|
+
outline: 1px solid #98daca !important;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
${e} tbody {
|
|
600
|
+
outline: 1px solid #64a7a0 !important;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
${e} tfoot {
|
|
604
|
+
outline: 1px solid #22746b !important;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
${e} tr {
|
|
608
|
+
outline: 1px solid #86c0b2 !important;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
${e} th {
|
|
612
|
+
outline: 1px solid #a1e7d6 !important;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
${e} td {
|
|
616
|
+
outline: 1px solid #3f5a54 !important;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
${e} col {
|
|
620
|
+
outline: 1px solid #6c9a8f !important;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
${e} colgroup {
|
|
624
|
+
outline: 1px solid #6c9a9d !important;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
${e} button {
|
|
628
|
+
outline: 1px solid #da8301 !important;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
${e} datalist {
|
|
632
|
+
outline: 1px solid #c06000 !important;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
${e} fieldset {
|
|
636
|
+
outline: 1px solid #d95100 !important;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
${e} form {
|
|
640
|
+
outline: 1px solid #d23600 !important;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
${e} input {
|
|
644
|
+
outline: 1px solid #fca600 !important;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
${e} keygen {
|
|
648
|
+
outline: 1px solid #b31e00 !important;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
${e} label {
|
|
652
|
+
outline: 1px solid #ee8900 !important;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
${e} legend {
|
|
656
|
+
outline: 1px solid #de6d00 !important;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
${e} meter {
|
|
660
|
+
outline: 1px solid #e8630c !important;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
${e} optgroup {
|
|
664
|
+
outline: 1px solid #b33600 !important;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
${e} option {
|
|
668
|
+
outline: 1px solid #ff8a00 !important;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
${e} output {
|
|
672
|
+
outline: 1px solid #ff9619 !important;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
${e} progress {
|
|
676
|
+
outline: 1px solid #e57c00 !important;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
${e} select {
|
|
680
|
+
outline: 1px solid #e26e0f !important;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
${e} textarea {
|
|
684
|
+
outline: 1px solid #cc5400 !important;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
${e} details {
|
|
688
|
+
outline: 1px solid #33848f !important;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
${e} summary {
|
|
692
|
+
outline: 1px solid #60a1a6 !important;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
${e} command {
|
|
696
|
+
outline: 1px solid #438da1 !important;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
${e} menu {
|
|
700
|
+
outline: 1px solid #449da6 !important;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
${e} del {
|
|
704
|
+
outline: 1px solid #bf0000 !important;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
${e} ins {
|
|
708
|
+
outline: 1px solid #400000 !important;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
${e} img {
|
|
712
|
+
outline: 1px solid #22746b !important;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
${e} iframe {
|
|
716
|
+
outline: 1px solid #64a7a0 !important;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
${e} embed {
|
|
720
|
+
outline: 1px solid #98daca !important;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
${e} object {
|
|
724
|
+
outline: 1px solid #00cc99 !important;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
${e} param {
|
|
728
|
+
outline: 1px solid #37ffc4 !important;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
${e} video {
|
|
732
|
+
outline: 1px solid #6ee866 !important;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
${e} audio {
|
|
736
|
+
outline: 1px solid #027353 !important;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
${e} source {
|
|
740
|
+
outline: 1px solid #012426 !important;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
${e} canvas {
|
|
744
|
+
outline: 1px solid #a2f570 !important;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
${e} track {
|
|
748
|
+
outline: 1px solid #59a600 !important;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
${e} map {
|
|
752
|
+
outline: 1px solid #7be500 !important;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
${e} area {
|
|
756
|
+
outline: 1px solid #305900 !important;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
${e} a {
|
|
760
|
+
outline: 1px solid #ff62ab !important;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
${e} em {
|
|
764
|
+
outline: 1px solid #800b41 !important;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
${e} strong {
|
|
768
|
+
outline: 1px solid #ff1583 !important;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
${e} i {
|
|
772
|
+
outline: 1px solid #803156 !important;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
${e} b {
|
|
776
|
+
outline: 1px solid #cc1169 !important;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
${e} u {
|
|
780
|
+
outline: 1px solid #ff0430 !important;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
${e} s {
|
|
784
|
+
outline: 1px solid #f805e3 !important;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
${e} small {
|
|
788
|
+
outline: 1px solid #d107b2 !important;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
${e} abbr {
|
|
792
|
+
outline: 1px solid #4a0263 !important;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
${e} q {
|
|
796
|
+
outline: 1px solid #240018 !important;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
${e} cite {
|
|
800
|
+
outline: 1px solid #64003c !important;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
${e} dfn {
|
|
804
|
+
outline: 1px solid #b4005a !important;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
${e} sub {
|
|
808
|
+
outline: 1px solid #dba0c8 !important;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
${e} sup {
|
|
812
|
+
outline: 1px solid #cc0256 !important;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
${e} time {
|
|
816
|
+
outline: 1px solid #d6606d !important;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
${e} code {
|
|
820
|
+
outline: 1px solid #e04251 !important;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
${e} kbd {
|
|
824
|
+
outline: 1px solid #5e001f !important;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
${e} samp {
|
|
828
|
+
outline: 1px solid #9c0033 !important;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
${e} var {
|
|
832
|
+
outline: 1px solid #d90047 !important;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
${e} mark {
|
|
836
|
+
outline: 1px solid #ff0053 !important;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
${e} bdi {
|
|
840
|
+
outline: 1px solid #bf3668 !important;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
${e} bdo {
|
|
844
|
+
outline: 1px solid #6f1400 !important;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
${e} ruby {
|
|
848
|
+
outline: 1px solid #ff7b93 !important;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
${e} rt {
|
|
852
|
+
outline: 1px solid #ff2f54 !important;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
${e} rp {
|
|
856
|
+
outline: 1px solid #803e49 !important;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
${e} span {
|
|
860
|
+
outline: 1px solid #cc2643 !important;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
${e} br {
|
|
864
|
+
outline: 1px solid #db687d !important;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
${e} wbr {
|
|
868
|
+
outline: 1px solid #db175b !important;
|
|
869
|
+
}`}s(VF,"outlineCSS");var UH=s((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[UF]),a=t.viewMode==="docs",o=em(()=>VF(a?'[data-story-block="true"]':".sb-show-main"),[t]);return Jn(()=>{let i=a?`addon-outline-docs-${t.id}`:"addon-outline";return n?$H(i,o):V0(i),()=>{V0(i)}},[n,o,t]),e()},"withOutline"),GE,VH=(GE=globalThis.FEATURES)!=null&&GE.outline?[UH]:[],HH={[UF]:!1},H0=s(()=>({decorators:VH,initialGlobals:HH}),"default"),JH=s(({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?fg():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?dg():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&hg()},"resetAllMocksLoader"),$f=s((e,t=0,r)=>{var n,a;if(t>5||e==null)return e;if(ga(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=cg(e);return r&&o.mockName(r),o}if(Array.isArray(e)){t++;for(let o=0;o<e.length;o++)(n=Object.getOwnPropertyDescriptor(e,o))!=null&&n.writable&&(e[o]=$f(e[o],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(a=Object.getOwnPropertyDescriptor(e,o))!=null&&a.writable&&(e[o]=$f(i,t,o));return e}return e},"traverseArgs"),zH=s(({initialArgs:e})=>{$f(e)},"nameSpiesAndWrapActionsInSpies"),J0=!1,GH=s(async e=>{var r,n;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=vF(e.canvasElement));let t=(n=(r=globalThis.window)==null?void 0:r.navigator)==null?void 0:n.clipboard;if(t){e.userEvent=No({userEvent:EF.setup()},{intercept:!0}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:s(()=>t,"get"),configurable:!0});let a=HTMLElement.prototype.focus;J0||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:s(o=>{a=o,J0=!0},"set"),get:s(()=>a,"get")}})}},"enhanceContext"),z0=s(()=>({loaders:[JH,zH,GH]}),"default"),WH="viewport",KH={[WH]:{value:void 0,isRotated:!1}},G0=s(()=>({initialGlobals:KH}),"default");function gb(){return[(U0.default??U0)(),(O0.default??O0)(),(M0.default??M0)(),(H0.default??H0)(),(G0.default??G0)(),(_0.default??_0)(),(R0.default??R0)(),(z0.default??z0)()]}s(gb,"getCoreAnnotations");function Hc(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}s(Hc,"isStory");var HF=s(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),W0=s((e,t)=>{let r=HF(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),YH=s((e,t)=>`${W0(e,"kind")}${t?`--${W0(t,"name")}`:""}`,"toId"),XH=s(e=>tA(e),"storyNameFromExport");function Uf(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}s(Uf,"matches");function lu(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Uf(e,t))&&(!r||!Uf(e,r))}s(lu,"isExportStory");var QH=s((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");function JF(){}s(JF,"noop");function Vf(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}s(Vf,"getSymbols");function Hf(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}s(Hf,"getTag");var ZH="[object RegExp]",eJ="[object String]",tJ="[object Number]",rJ="[object Boolean]",K0="[object Arguments]",nJ="[object Symbol]",aJ="[object Date]",oJ="[object Map]",iJ="[object Set]",sJ="[object Array]",lJ="[object Function]",uJ="[object ArrayBuffer]",_p="[object Object]",cJ="[object Error]",pJ="[object DataView]",dJ="[object Uint8Array]",fJ="[object Uint8ClampedArray]",hJ="[object Uint16Array]",mJ="[object Uint32Array]",yJ="[object BigUint64Array]",gJ="[object Int8Array]",bJ="[object Int16Array]",vJ="[object Int32Array]",EJ="[object BigInt64Array]",CJ="[object Float32Array]",wJ="[object Float64Array]";function Rr(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}s(Rr,"isPlainObject");function Do(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];r[o]=t(i,o,e)}return r}s(Do,"mapValues");function zF(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];t(i,o)&&(r[o]=i)}return r}s(zF,"pickBy");function GF(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}s(GF,"eq");function WF(e,t,r){return no(e,t,void 0,void 0,void 0,void 0,r)}s(WF,"isEqualWith");function no(e,t,r,n,a,o,i){let l=i(e,t,r,n,a,o);if(l!==void 0)return l;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return co(e,t,o,i)}return co(e,t,o,i)}s(no,"isEqualWithImpl");function co(e,t,r,n){if(Object.is(e,t))return!0;let a=Hf(e),o=Hf(t);if(a===K0&&(a=_p),o===K0&&(o=_p),a!==o)return!1;switch(a){case eJ:return e.toString()===t.toString();case tJ:{let u=e.valueOf(),c=t.valueOf();return GF(u,c)}case rJ:case aJ:case nJ:return Object.is(e.valueOf(),t.valueOf());case ZH:return e.source===t.source&&e.flags===t.flags;case lJ:return e===t}r=r??new Map;let i=r.get(e),l=r.get(t);if(i!=null&&l!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(a){case oJ:{if(e.size!==t.size)return!1;for(let[u,c]of e.entries())if(!t.has(u)||!no(c,t.get(u),u,e,t,r,n))return!1;return!0}case iJ:{if(e.size!==t.size)return!1;let u=Array.from(e.values()),c=Array.from(t.values());for(let p=0;p<u.length;p++){let d=u[p],h=c.findIndex(f=>no(d,f,void 0,e,t,r,n));if(h===-1)return!1;c.splice(h,1)}return!0}case sJ:case dJ:case fJ:case hJ:case mJ:case yJ:case gJ:case bJ:case vJ:case EJ:case CJ:case wJ:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!no(e[u],t[u],u,e,t,r,n))return!1;return!0}case uJ:return e.byteLength!==t.byteLength?!1:co(new Uint8Array(e),new Uint8Array(t),r,n);case pJ:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:co(new Uint8Array(e),new Uint8Array(t),r,n);case cJ:return e.name===t.name&&e.message===t.message;case _p:{if(!(co(e.constructor,t.constructor,r,n)||Rr(e)&&Rr(t)))return!1;let u=[...Object.keys(e),...Vf(e)],c=[...Object.keys(t),...Vf(t)];if(u.length!==c.length)return!1;for(let p=0;p<u.length;p++){let d=u[p],h=e[d];if(!Object.hasOwn(t,d))return!1;let f=t[d];if(!no(h,f,d,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}s(co,"areObjectsEqual");function KF(e,t){return WF(e,t,JF)}s(KF,"isEqual");var Tp=Et(fC(),1),Wa=Symbol("incompatible"),Jf=s((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Wa:e.reduce((n,a,o)=>{let i=Jf(a,{type:r.value});return i!==Wa&&(n[o]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Wa:Object.entries(e).reduce((n,[a,o])=>{let i=Jf(o,{type:r.value[a]});return i===Wa?n:Object.assign(n,{[a]:i})},{});default:return Wa}},"map"),AJ=s((e,t)=>Object.entries(e).reduce((r,[n,a])=>{if(!t[n])return r;let o=Jf(a,t[n]);return o===Wa?r:Object.assign(r,{[n]:o})},{}),"mapArgsToTypes"),uu=s((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,a)=>(r[a]=uu(e[a],t[a]),r),[...e]).filter(r=>r!==void 0):!Rr(e)||!Rr(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let a=uu(e[n],t[n]);a!==void 0&&(r[n]=a)}else r[n]=e[n];return r},{}),"combineArgs"),xJ=s((e,t)=>Object.entries(t).reduce((r,[n,{options:a}])=>{function o(){return n in e&&(r[n]=e[n]),r}if(s(o,"allowArg"),!a)return o();if(!Array.isArray(a))return vt.error(je`
|
|
870
|
+
Invalid argType: '${n}.options' should be an array.
|
|
871
|
+
|
|
872
|
+
More info: https://storybook.js.org/docs/api/arg-types
|
|
873
|
+
`),o();if(a.some(d=>d&&["object","function"].includes(typeof d)))return vt.error(je`
|
|
874
|
+
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
875
|
+
|
|
876
|
+
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
877
|
+
`),o();let i=Array.isArray(e[n]),l=i&&e[n].findIndex(d=>!a.includes(d)),u=i&&l===-1;if(e[n]===void 0||a.includes(e[n])||u)return o();let c=i?`${n}[${l}]`:n,p=a.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return vt.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),"validateOptions"),_i=Symbol("Deeply equal"),cu=s((e,t)=>{if(typeof e!=typeof t)return t;if(KF(e,t))return _i;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,a,o)=>{let i=cu(e[o],a);return i!==_i&&(n[o]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Rr(e)&&Rr(t)?Object.keys({...e,...t}).reduce((r,n)=>{let a=cu(e==null?void 0:e[n],t==null?void 0:t[n]);return a===_i?r:Object.assign(r,{[n]:a})},{}):t},"deepDiff"),YF="UNTARGETED";function XF({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,a])=>{let{target:o=YF}=t[n]||{};r[o]=r[o]||{},r[o][n]=a}),r}s(XF,"groupArgsByTarget");function QF(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}s(QF,"deleteUndefined");var ZF=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=cu(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==_i&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=xJ(r,t.argTypes);this.argsByStoryId[t.id]=uu(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=AJ(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=QF({...this.argsByStoryId[t],...r})}};s(ZF,"ArgsStore");var SJ=ZF,eI=s((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),tI=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&cu(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let a=eI(r);this.initialGlobals={...a,...t},this.globals=this.initialGlobals,n&&n!==_i&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,a])=>(this.allowedGlobalNames.has(n)?r[n]=a:ot.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};s(tI,"GlobalsStore");var _J=tI,TJ=Et(fC(),1),PJ=(0,TJ.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),rI=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(o=>o.id.startsWith(t));let{name:n,title:a}=t;return r.find(o=>o.name===n&&o.title===a)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new sw({storyId:t});return r}importPathToEntry(t){return PJ(this.entries)[t]}};s(rI,"StoryIndexStore");var DJ=rI,OJ=s(e=>typeof e=="string"?{name:e}:e,"normalizeType"),RJ=s(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),FJ=s((e,t)=>{let{type:r,control:n,...a}=e,o={name:t,...a};return r&&(o.type=OJ(r)),n?o.control=RJ(n):n===!1&&(o.control={disable:!0}),o},"normalizeInputType"),pu=s(e=>Do(e,FJ),"normalizeInputTypes"),Ze=s(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),IJ=je`
|
|
878
|
+
CSF .story annotations deprecated; annotate story functions directly:
|
|
879
|
+
- StoryFn.story.name => StoryFn.storyName
|
|
880
|
+
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
881
|
+
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
882
|
+
`;function Qi(e,t,r){let n=t,a=typeof t=="function"?t:null,{story:o}=n;o&&(ot.debug("deprecated story",o),Bh(IJ));let i=XH(e),l=typeof n!="function"&&n.name||n.storyName||(o==null?void 0:o.name)||i,u=[...Ze(n.decorators),...Ze(o==null?void 0:o.decorators)],c={...o==null?void 0:o.parameters,...n.parameters},p={...o==null?void 0:o.args,...n.args},d={...o==null?void 0:o.argTypes,...n.argTypes},h=[...Ze(n.loaders),...Ze(o==null?void 0:o.loaders)],f=[...Ze(n.beforeEach),...Ze(o==null?void 0:o.beforeEach)],m=[...Ze(n.afterEach),...Ze(o==null?void 0:o.afterEach)],{render:y,play:g,tags:b=[],globals:v={}}=n,D=c.__id||YH(r.id,i);return{moduleExport:t,id:D,name:l,tags:b,decorators:u,parameters:c,args:p,argTypes:pu(d),loaders:h,beforeEach:f,afterEach:m,globals:v,...y&&{render:y},...a&&{userStoryFn:a},...g&&{play:g}}}s(Qi,"normalizeStory");function du(e,t=e.title,r){let{id:n,argTypes:a}=e;return{id:HF(n||t),...e,title:t,...a&&{argTypes:pu(a)},parameters:{fileName:r,...e.parameters}}}s(du,"normalizeComponentAnnotations");var kJ=s(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ot.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),NJ=s(e=>{let{options:t}=e;t!=null&&t.storySort&&ot.error("The storySort option parameter can only be set globally")},"checkStorySort"),Ms=s(e=>{e&&(kJ(e),NJ(e))},"checkDisallowedParameters");function nI(e,t,r){let{default:n,__namedExportsOrder:a,...o}=e,i=Object.values(o)[0];if(Hc(i)){let c=du(i.meta.input,r,t);Ms(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(o).forEach(d=>{if(lu(d,c)){let h=Qi(d,o[d].input,c);Ms(h.parameters),p.stories[h.id]=h}}),p.projectAnnotations=i.meta.preview.composed,p}let l=du(n,r,t);Ms(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(o).forEach(c=>{if(lu(c,l)){let p=Qi(c,o[c],l);Ms(p.parameters),u.stories[p.id]=p}}),u}s(nI,"processCSFFile");function aI(e){return e!=null&&oI(e).includes("mount")}s(aI,"mountDestructured");function oI(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=zf(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?zf(n.slice(1,-1).replace(/\s/g,"")).map(a=>a.replace(/:.*|=.*/g,"")):[]}s(oI,"getUsedProps");function zf(e){let t=[],r=[],n=0;for(let o=0;o<e.length;o++)if(e[o]==="{"||e[o]==="[")r.push(e[o]==="{"?"}":"]");else if(e[o]===r[r.length-1])r.pop();else if(!r.length&&e[o]===","){let i=e.substring(n,o).trim();i&&t.push(i),n=o+1}let a=e.substring(n).trim();return a&&t.push(a),t}s(zf,"splitByComma");function bb(e,t,r){let n=r(e);return a=>t(n,a)}s(bb,"decorateStory");function vb({componentId:e,title:t,kind:r,id:n,name:a,story:o,parameters:i,initialArgs:l,argTypes:u,...c}={}){return c}s(vb,"sanitizeStoryContextUpdate");function Eb(e,t){let r={},n=s(o=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...vb(i)},o(r.value)},"bindWithContext"),a=t.reduce((o,i)=>bb(o,i,n),e);return o=>(r.value=o,a(o))}s(Eb,"defaultDecorateStory");var Oa=s((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,l])=>{let u=a[i];Array.isArray(l)||typeof u>"u"?a[i]=l:Rr(l)&&Rr(u)?t[i]=!0:typeof l<"u"&&(a[i]=l)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>Rr(i))?n[a]=Oa(...o):n[a]=o[o.length-1]}),n},"combineParameters");function Jc(e,t,r){let{moduleExport:n,id:a,name:o}=e||{},i=wb(e,t,r),l=s(async w=>{let E={};for(let C of[Ze(r.loaders),Ze(t.loaders),Ze(e.loaders)]){if(w.abortSignal.aborted)return E;let _=await Promise.all(C.map(N=>N(w)));Object.assign(E,..._)}return E},"applyLoaders"),u=s(async w=>{let E=new Array;for(let C of[...Ze(r.beforeEach),...Ze(t.beforeEach),...Ze(e.beforeEach)]){if(w.abortSignal.aborted)return E;let _=await C(w);_&&E.push(_)}return E},"applyBeforeEach"),c=s(async w=>{let E=[...Ze(r.afterEach),...Ze(t.afterEach),...Ze(e.afterEach)].reverse();for(let C of E){if(w.abortSignal.aborted)return;await C(w)}},"applyAfterEach"),p=s(w=>w.originalStoryFn(w.args,w),"undecoratedStoryFn"),{applyDecorators:d=Eb,runStep:h}=r,f=[...Ze(e==null?void 0:e.decorators),...Ze(t==null?void 0:t.decorators),...Ze(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,y=Jw(d)(p,f),g=s(w=>y(w),"unboundStoryFn"),b=(e==null?void 0:e.play)??(t==null?void 0:t.play),v=aI(b);if(!m&&!v)throw new Dw({id:a});let D=s(w=>async()=>(await w.renderToCanvas(),w.canvas),"defaultMount"),S=e.mount??t.mount??r.mount??D,P=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:a,name:o,story:o,originalStoryFn:m,undecoratedStoryFn:p,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:u,applyAfterEach:c,playFunction:b,runStep:h,mount:S,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:v}}s(Jc,"prepareStory");function Cb(e,t,r){return{...wb(void 0,e,t),moduleExport:r}}s(Cb,"prepareMeta");function wb(e,t,r){var b;let n=["dev","test"],a=((b=de.DOCS_OPTIONS)==null?void 0:b.autodocs)===!0?["autodocs"]:[],o=QH(...n,...a,...r.tags??[],...t.tags??[],...(e==null?void 0:e.tags)??[]),i=Oa(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Oa(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let v=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;i.__isArgsStory=v&&v.length>0}let p={...r.args,...t.args,...e==null?void 0:e.args},d={...t.globals,...e==null?void 0:e.globals},h={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:o,parameters:i,initialArgs:p,argTypes:c,storyGlobals:d};h.argTypes=l.reduce((v,D)=>D({...h,argTypes:v}),h.argTypes);let f={...p};h.initialArgs=[...u].reduce((v,D)=>({...v,...D({...h,initialArgs:v})}),f);let{name:m,story:y,...g}=h;return g}s(wb,"preparePartialAnnotations");function Ab(e){var o;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((o=de.FEATURES)!=null&&o.argTypeTargetsV7){let i=XF(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[YF]||{}}}let n=Object.entries(r.args).reduce((i,[l,u])=>{var p;if(!((p=r.argTypes[l])!=null&&p.mapping))return i[l]=u,i;let c=s(d=>{let h=r.argTypes[l].mapping;return h&&d in h?h[d]:d},"mappingFn");return i[l]=Array.isArray(u)?u.map(c):c(u),i},{}),a=Object.entries(n).reduce((i,[l,u])=>{let c=r.argTypes[l]||{};return W6(c,n,r.globals)&&(i[l]=u),i},{});return{...r,unmappedArgs:t,args:a}}s(Ab,"prepareContext");var Gf=s((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(ot.warn(je`
|
|
883
|
+
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
884
|
+
|
|
885
|
+
Consider using the mapping feature or fully custom args:
|
|
886
|
+
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
887
|
+
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
888
|
+
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Gf(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Do(e,a=>Gf(a,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),iI=s(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=Do(n,(i,l)=>({name:l,type:Gf(i,`${t}.${l}`,new Set)})),o=Do(r,(i,l)=>({name:l}));return Oa(a,o,r)},"inferArgTypes");iI.secondPass=!0;var Y0=s((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),sI=s((e,t,r)=>!t&&!r?e:e&&zF(e,(n,a)=>{let o=n.name||a.toString();return!!(!t||Y0(o,t))&&(!r||!Y0(o,r))}),"filterArgTypes"),BJ=s((e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&ot.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:(o==null?void 0:o.length)<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},"inferControl"),xb=s(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let i=sI(t,n,a),l=Do(i,(u,c)=>(u==null?void 0:u.type)&&BJ(u,c.toString(),o));return Oa(l,i)},"inferControls");xb.secondPass=!0;function Zi({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:a,beforeEach:o,afterEach:i,initialGlobals:l,...u}){return{...e&&{argTypes:pu(e)},...t&&{globalTypes:pu(t)},decorators:Ze(n),loaders:Ze(a),beforeEach:Ze(o),afterEach:Ze(i),argTypesEnhancers:[...r||[],iI,xb],initialGlobals:l,...u}}s(Zi,"normalizeProjectAnnotations");var jJ=s(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Sb(e){return async(t,r,n)=>{await e.reduceRight((a,o)=>async()=>o(t,a,n),async()=>r(n))()}}s(Sb,"composeStepRunners");function Oo(e,t){return e.map(r=>{var n;return((n=r.default)==null?void 0:n[t])??r[t]}).filter(Boolean)}s(Oo,"getField");function dn(e,t,r={}){return Oo(e,t).reduce((n,a)=>{let o=Ze(a);return r.reverseFileOrder?[...o,...n]:[...n,...o]},[])}s(dn,"getArrayField");function fi(e,t){return Object.assign({},...Oo(e,t))}s(fi,"getObjectField");function Ka(e,t){return Oo(e,t).pop()}s(Ka,"getSingletonField");function Ra(e){var a;let t=dn(e,"argTypesEnhancers"),r=Oo(e,"runStep"),n=dn(e,"beforeAll");return{parameters:Oa(...Oo(e,"parameters")),decorators:dn(e,"decorators",{reverseFileOrder:!(((a=de.FEATURES)==null?void 0:a.legacyDecoratorFileOrder)??!1)}),args:fi(e,"args"),argsEnhancers:dn(e,"argsEnhancers"),argTypes:fi(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],initialGlobals:fi(e,"initialGlobals"),globalTypes:fi(e,"globalTypes"),loaders:dn(e,"loaders"),beforeAll:jJ(n),beforeEach:dn(e,"beforeEach"),afterEach:dn(e,"afterEach"),render:Ka(e,"render"),renderToCanvas:Ka(e,"renderToCanvas"),applyDecorators:Ka(e,"applyDecorators"),runStep:Sb(r),tags:dn(e,"tags"),mount:Ka(e,"mount"),testingLibraryRender:Ka(e,"testingLibraryRender")}}s(Ra,"composeConfigs");function _b(){var e,t,r;try{return!!globalThis.__vitest_browser__||!!((r=(t=(e=globalThis.window)==null?void 0:e.navigator)==null?void 0:t.userAgent)!=null&&r.match(/StorybookTestRunner/))}catch{return!1}}s(_b,"isTestEnvironment");function zc(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
889
|
+
animation: none !important;
|
|
890
|
+
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
891
|
+
animation-delay: 0s !important;
|
|
892
|
+
animation-direction: ${e?"reverse":"normal"} !important;
|
|
893
|
+
animation-play-state: paused !important;
|
|
894
|
+
transition: none !important;
|
|
895
|
+
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}s(zc,"pauseAnimations");async function Gc(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...Tb(globalThis.document)],a=s(async()=>{if(t||e!=null&&e.aborted)return;let o=n.flatMap(i=>{var l;return((l=i==null?void 0:i.getAnimations)==null?void 0:l.call(i))||[]}).filter(i=>i.playState==="running"&&!lI(i));o.length>0&&(await Promise.all(o.map(i=>i.finished)),await a())},"checkAnimationsFinished");a().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}s(Gc,"waitForAnimations");function Tb(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...Tb(r.shadowRoot)),t),[])}s(Tb,"getShadowRoots");function lI(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}s(lI,"isInfiniteAnimation");var uI=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};s(uI,"ReporterAPI");var Pb=uI;function Db(e,t,r){return Hc(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}s(Db,"getCsfFactoryAnnotations");function cI(e){globalThis.defaultProjectAnnotations=e}s(cI,"setDefaultProjectAnnotations");var qJ="ComposedStory",MJ="Unnamed Story";function pI(e){return e?Ra([e]):{}}s(pI,"extractAnnotation");function dI(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Ra([...gb(),globalThis.defaultProjectAnnotations??{},Ra(t.map(pI))]),globalThis.globalProjectAnnotations??{}}s(dI,"setProjectAnnotations");var qn=[];function Ob(e,t,r,n,a){var b;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??qJ;let o=du(t),i=a||e.storyName||((b=e.story)==null?void 0:b.name)||e.name||MJ,l=Qi(i,e,o),u=Zi(Ra([n??globalThis.globalProjectAnnotations??{},r??{}])),c=Jc(l,o,u),p={...eI(u.globalTypes),...u.initialGlobals,...c.storyGlobals},d=new Pb,h=s(()=>{let v=Ab({hooks:new Xh,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:s((D,S)=>c.runStep(D,S,v),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return v.parameters.__isPortableStory=!0,v.context=v,c.renderToCanvas&&(v.renderToCanvas=async()=>{var S;let D=await((S=c.renderToCanvas)==null?void 0:S.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:s(()=>{},"showMain"),showError:s(P=>{throw new Error(`${P.title}
|
|
896
|
+
${P.description}`)},"showError"),showException:s(P=>{throw P},"showException"),forceRemount:!0,storyContext:v,storyFn:s(()=>c.unboundStoryFn(v),"storyFn"),unboundStoryFn:c.unboundStoryFn},v.canvasElement));D&&qn.push(D)}),v.mount=c.mount(v),v},"initializeContext"),f,m=s(async v=>{var S;let D=h();return D.canvasElement??(D.canvasElement=(S=globalThis==null?void 0:globalThis.document)==null?void 0:S.body),f&&(D.loaded=f.loaded),Object.assign(D,v),c.playFunction(D)},"play"),y=s(v=>{let D=h();return Object.assign(D,v),mI(c,D)},"run"),g=c.playFunction?m:void 0;return Object.assign(s(function(v){let D=h();return f&&(D.loaded=f.loaded),D.args={...D.initialArgs,...v},c.unboundStoryFn(D)},"storyFn"),{id:c.id,storyName:i,load:s(async()=>{for(let D of[...qn].reverse())await D();qn.length=0;let v=h();v.loaded=await c.applyLoaders(v),qn.push(...(await c.applyBeforeEach(v)).filter(Boolean)),f=v},"load"),globals:p,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:y,reporting:d,tags:c.tags})}s(Ob,"composeStory");var LJ=s((e,t,r,n)=>Ob(e,t,r,{},n),"defaultComposeStory");function fI(e,t,r=LJ){let{default:n,__esModule:a,__namedExportsOrder:o,...i}=e,l=n;return Object.entries(i).reduce((u,[c,p])=>{let{story:d,meta:h}=Db(p);return!l&&h&&(l=h),lu(c,l)?Object.assign(u,{[c]:r(d,l,t,c)}):u},{})}s(fI,"composeStories");function hI(e){return e.extend({mount:s(async({mount:t,page:r},n)=>{await n(async(a,...o)=>{if(!("__pw_type"in a)||"__pw_type"in a&&a.__pw_type!=="jsx")throw new Error(je`
|
|
897
|
+
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
898
|
+
Please use JSX format for your components such as:
|
|
899
|
+
|
|
900
|
+
instead of:
|
|
901
|
+
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
902
|
+
|
|
903
|
+
do:
|
|
904
|
+
await mount(<MyComponent foo="bar"/>)
|
|
905
|
+
|
|
906
|
+
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
907
|
+
`);let{props:i,...l}=a;await r.evaluate(async c=>{var d,h,f;let p=await((d=globalThis.__pwUnwrapObject)==null?void 0:d.call(globalThis,c));return(f=(h="__pw_type"in p?p.type:p)==null?void 0:h.load)==null?void 0:f.call(h)},l);let u=await t(a,...o);return await r.evaluate(async c=>{var f,m;let p=await((f=globalThis.__pwUnwrapObject)==null?void 0:f.call(globalThis,c)),d="__pw_type"in p?p.type:p,h=document.querySelector("#root");return(m=d==null?void 0:d.play)==null?void 0:m.call(d,{canvasElement:h})},l),u})},"mount")})}s(hI,"createPlaywrightTest");async function mI(e,t){var o,i;for(let l of[...qn].reverse())await l();if(qn.length=0,!t.canvasElement){let l=document.createElement("div");(i=(o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body)==null||i.appendChild(l),t.canvasElement=l,qn.push(()=>{var u,c,p,d;(c=(u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body)!=null&&c.contains(l)&&((d=(p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body)==null||d.removeChild(l))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;qn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Kh({playFunction:r.toString()})}),await r(t));let a;_b()?a=zc():await Gc(t.abortSignal),await e.applyAfterEach(t),await(a==null?void 0:a())}s(mI,"runStory");var X0=1e3,$J=1e4,yI=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new DJ(t),this.projectAnnotations=Zi(Ra([...gb(),n]));let{initialGlobals:a,globalTypes:o}=this.projectAnnotations;this.args=new SJ,this.userGlobals=new _J({globals:a,globalTypes:o}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Tp.default)(X0)(nI),this.prepareMetaWithCache=(0,Tp.default)(X0)(Cb),this.prepareStoryWithCache=(0,Tp.default)($J)(Jc)}setProjectAnnotations(t){this.projectAnnotations=Zi(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),a=await this.importFn(r);return this.processCSFFileWithCache(a,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:a})=>(r[n]=a,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new xw({storyId:t});let a=r.meta,o=this.prepareStoryWithCache(n,a,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(o),this.hooks[o.id]=this.hooks[o.id]||new Xh,o}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[a,...o]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let l=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:a,csfFiles:o}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:a}=this.userGlobals,o=new Pb;return Ab({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:a,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:o,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new pw;return Object.entries(this.storyIndex.entries).reduce((n,[a,{type:o,importPath:i}])=>{if(o==="docs")return n;let l=r[i],u=this.storyFromCSFFile({storyId:a,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[a]=Object.entries(u).reduce((c,[p,d])=>p==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[p]:d.slice().sort()}):Object.assign(c,{[p]:d}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}};s(yI,"StoryStore");var gI=yI;function bI(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}s(bI,"slash");var UJ=s(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t==null?void 0:t.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Wf(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}s(Wf,"pathJoin");var vI=s((e,t,r)=>{let{directory:n,importPathMatcher:a,titlePrefix:o=""}=t||{};typeof e=="number"&&vt.warn(je`
|
|
908
|
+
CSF Auto-title received a numeric fileName. This typically happens when
|
|
909
|
+
webpack is mis-configured in production mode. To force webpack to produce
|
|
910
|
+
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
911
|
+
`);let i=bI(String(e));if(a.exec(i)){if(!r){let l=i.replace(n,""),u=Wf([o,l]).split("/");return u=UJ(u),u.join("/")}return o?Wf([o,r]):r}},"userOrAutoTitleFromSpecifier"),VJ=s((e,t,r)=>{for(let n=0;n<t.length;n+=1){let a=vI(e,t[n],r);if(a)return a}return r||void 0},"userOrAutoTitle"),Q0=/\s*\/\s*/,HJ=s((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",a=e.order||[],o=t.title.trim().split(Q0),i=r.title.trim().split(Q0);e.includeNames&&(o.push(t.name),i.push(r.name));let l=0;for(;o[l]||i[l];){if(!o[l])return-1;if(!i[l])return 1;let u=o[l],c=i[l];if(u!==c){let d=a.indexOf(u),h=a.indexOf(c),f=a.indexOf("*");return d!==-1||h!==-1?(d===-1&&(f!==-1?d=f:d=a.length),h===-1&&(f!==-1?h=f:h=a.length),d-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=a.indexOf(u);p===-1&&(p=a.indexOf("*")),a=p!==-1&&Array.isArray(a[p+1])?a[p+1]:[],l+=1}return 0},"storySort"),JJ=s((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=HJ(t),e.sort(n)}else e.sort((n,a)=>r.indexOf(n.importPath)-r.indexOf(a.importPath));return e},"sortStoriesCommon"),zJ=s((e,t,r)=>{try{return JJ(e,t,r)}catch(n){throw new Error(je`
|
|
912
|
+
Error sorting stories with sort parameter ${t}:
|
|
913
|
+
|
|
914
|
+
> ${n.message}
|
|
915
|
+
|
|
916
|
+
Are you using a V6-style sort function in V7 mode?
|
|
917
|
+
|
|
918
|
+
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
919
|
+
`)}},"sortStoriesV7"),Wc=new Error("prepareAborted"),{AbortController:Z0}=globalThis;function Kf(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}s(Kf,"serializeError");var EI=class{constructor(t,r,n,a,o,i,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=a,this.id=o,this.viewMode=i,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=s(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Z0,this.renderId=Date.now(),u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Ca,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Ca,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Wc}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var D,S,P,w,E,C,_,N;let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let a=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:o,componentId:i,title:l,name:u,tags:c,applyLoaders:p,applyBeforeEach:d,applyAfterEach:h,unboundStoryFn:f,playFunction:m,runStep:y}=a;r&&!t&&(this.cancelRender(),this.abortController=new Z0);let g=this.abortController.signal,b=!1,v=a.usesMount;try{let B={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:s((Z,z)=>y(Z,z,B),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:s(async()=>{let Z=await this.renderToScreen(J,n);this.teardownRender=Z||(()=>{}),b=!0},"renderToCanvas"),mount:s(async(...Z)=>{var Q,ee;(ee=(Q=this.callbacks).showStoryDuringRender)==null||ee.call(Q);let z=null;return await this.runPhase(g,"rendering",async()=>{z=await a.mount(B)(...Z)}),v&&await this.runPhase(g,"playing"),z},"mount")};B.context=B;let J={componentId:i,title:l,kind:l,id:o,name:u,story:u,tags:c,...this.callbacks,showError:s(Z=>(this.phase="errored",this.callbacks.showError(Z)),"showError"),showException:s(Z=>(this.phase="errored",this.callbacks.showException(Z)),"showException"),forceRemount:r||this.notYetRendered,storyContext:B,storyFn:s(()=>f(B),"storyFn"),unboundStoryFn:f};if(await this.runPhase(g,"loading",async()=>{B.loaded=await p(B)}),g.aborted)return;let G=await d(B);if(this.store.addCleanupCallbacks(a,...G),this.checkIfAborted(g)||(!b&&!v&&await B.mount(),this.notYetRendered=!1,g.aborted))return;let R=((S=(D=this.story.parameters)==null?void 0:D.test)==null?void 0:S.dangerouslyIgnoreUnhandledErrors)===!0,L=new Set,j=s(Z=>{Z.error&&L.add(Z.error)},"onError"),W=s(Z=>{Z.reason&&L.add(Z.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){(P=window==null?void 0:window.addEventListener)==null||P.call(window,"error",j),(w=window==null?void 0:window.addEventListener)==null||w.call(window,"unhandledrejection",W),this.disableKeyListeners=!0;try{if(v?await m(B):(B.mount=async()=>{throw new Kh({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(B))),!b)throw new Rw;this.checkIfAborted(g),!R&&L.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(Z){if((C=(E=this.callbacks).showStoryDuringRender)==null||C.call(E),await this.runPhase(g,"errored",async()=>{this.channel.emit(CC,Kf(Z))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw Z;console.error(Z)}if(!R&&L.size>0&&this.channel.emit(wC,Array.from(L).map(Kf)),this.disableKeyListeners=!1,(_=window==null?void 0:window.removeEventListener)==null||_.call(window,"unhandledrejection",W),(N=window==null?void 0:window.removeEventListener)==null||N.call(window,"error",j),g.aborted)return}await this.runPhase(g,"completing",async()=>{_b()?this.store.addCleanupCallbacks(a,zc()):await Gc(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(Cl,o)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await h(B)});let K=!R&&L.size>0,ae=B.reporting.reports.some(Z=>Z.status==="failed"),se=K||ae;await this.runPhase(g,"finished",async()=>this.channel.emit(id,{storyId:o,status:se?"error":"success",reporters:B.reporting.reports}))}catch(B){this.phase="errored",this.callbacks.showException(B),await this.runPhase(g,"finished",async()=>this.channel.emit(id,{storyId:o,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){var t,r;this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let n=0;n<3;n+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(a=>setTimeout(a,0))}(r=(t=window==null?void 0:window.location)==null?void 0:t.reload)==null||r.call(t),await new Promise(()=>{})}};s(EI,"StoryRender");var Yf=EI,{fetch:GJ}=de,WJ="./index.json",CI=class{constructor(t,r,n=Xt.getChannel(),a=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((o,i)=>{this.resolveStoreInitializationPromise=o,this.rejectStoreInitializationPromise=i}),a&&this.initialize()}get storyStore(){return new Proxy({},{get:s((t,r)=>{if(this.storyStoreValue)return Bh("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new _w},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(DC,this.onStoryIndexChanged.bind(this)),this.channel.on(kh,this.onUpdateGlobals.bind(this)),this.channel.on(Nh,this.onUpdateArgs.bind(this)),this.channel.on(jC,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Fh,this.onResetArgs.bind(this)),this.channel.on(Rh,this.onForceReRender.bind(this)),this.channel.on(El,this.onForceRemount.bind(this)),this.channel.on(kC,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new fw;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,n;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((n=t.beforeAll)==null?void 0:n.call(t))}catch(a){throw this.renderPreviewEntryError("Error in beforeAll hook:",a),a}}async getStoryIndexFromServer(){let t=await GJ(WJ);if(t.status===200)return t.json();throw new yw({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new gI(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new lr({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(SC,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new lr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new lr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:a,userGlobals:o,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Fi,{initialGlobals:n,userGlobals:o,storyGlobals:a,globals:i})}else{let{initialGlobals:n,globals:a}=this.storyStoreValue.userGlobals;this.channel.emit(Fi,{initialGlobals:n,userGlobals:a,storyGlobals:{},globals:a})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new lr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(_C,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var n;try{await this.storeInitializationPromise;let a=await((n=this.storyStoreValue)==null?void 0:n.loadStory(r));this.channel.emit(sd,{id:t,success:!0,payload:{argTypes:(a==null?void 0:a.argTypes)||{}},error:null})}catch(a){this.channel.emit(sd,{id:t,success:!1,error:a==null?void 0:a.message})}}async onResetArgs({storyId:t,argNames:r}){var o;if(!this.storyStoreValue)throw new lr({methodName:"onResetArgs"});let n=((o=this.storyRenders.find(i=>i.id===t))==null?void 0:o.story)||await this.storyStoreValue.loadStory({storyId:t}),a=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,l)=>(i[l]=n.initialArgs[l],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:a})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(t=>t.cancelPlayFunction()))}renderStoryToElement(t,r,n,a){if(!this.renderToCanvas||!this.storyStoreValue)throw new lr({methodName:"renderStoryToElement"});let o=new Yf(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",a,t);return o.renderToElement(r),this.storyRenders.push(o),async()=>{await this.teardownRender(o)}}async teardownRender(t,{viewModeChanged:r}={}){var n;this.storyRenders=this.storyRenders.filter(a=>a!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new lr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new lr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new lr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ot.error(t),ot.error(r),this.channel.emit(vC,r)}};s(CI,"Preview");var wI=CI,AI=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=s(o=>{let i=this.nameToStoryId.get(o);if(i)return i;throw new Error(`No story found with that name: ${o}`)},"storyIdByName"),this.componentStories=s(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=s(o=>this.store.componentStoriesFromCSFFile({csfFile:o}),"componentStoriesFromCSFFile"),this.storyById=s(o=>{if(!o){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(o);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${o}`);return this.store.storyFromCSFFile({storyId:o,csfFile:i})},"storyById"),this.getStoryContext=s(o=>({...this.store.getStoryContext(o),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=s(o=>this.store.loadStory({storyId:o}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,a.forEach((o,i)=>{this.referenceCSFFile(o)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Hc(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let a=t;n=this.resolveAttachedModuleExportType(a)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let a=n.type==="component"?"component or unknown":n.type;throw new Error(je`Invalid value passed to the 'of' prop. The value was resolved to a '${a}' type but the only types for this block are: ${r.join(", ")}.
|
|
920
|
+
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
921
|
+
- ... or vice versa?
|
|
922
|
+
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};s(AI,"DocsContext");var Rb=AI,xI=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Wc;let{importPath:n,title:a}=this.entry,o=this.store.processCSFFileWithCache(t,n,a),i=Object.keys(o.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:o}),this.csfFiles=[o,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new Rb(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:a}=this.story.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o=await a.renderer(),{render:i}=o,l=s(async()=>{try{await i(n,a,t),this.channel.emit(Oh,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||o.unmount(t)},l()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};s(xI,"CsfDocsRender");var eE=xI,SI=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Wc;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new Rb(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:a}=this.store.projectAnnotations.parameters??{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o={...a,page:this.exports.default},i=await a.renderer(),{render:l}=i,u=s(async()=>{try{await l(n,o,t),this.channel.emit(Oh,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};s(SI,"MdxDocsRender");var tE=SI,KJ=globalThis;function _I(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}s(_I,"focusInInput");var TI="attached-mdx",YJ="unattached-mdx";function PI({tags:e}){return(e==null?void 0:e.includes(YJ))||(e==null?void 0:e.includes(TI))}s(PI,"isMdxEntry");function cl(e){return e.type==="story"}s(cl,"isStoryRender");function DI(e){return e.type==="docs"}s(DI,"isDocsRender");function OI(e){return DI(e)&&e.subtype==="csf"}s(OI,"isCsfDocsRender");var RI=class extends wI{constructor(t,r,n,a){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=a,this.initialize()}setupListeners(){super.setupListeners(),KJ.onkeydown=this.onKeydown.bind(this),this.channel.on(Ih,this.onSetCurrentStory.bind(this)),this.channel.on(NC,this.onUpdateQueryParams.bind(this)),this.channel.on(AC,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new lr({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new lr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new Ew):this.renderStoryLoadingException(t,new ww({storySpecifier:t.toString()}));return}let{id:a,type:o}=n;this.selectionStore.setSelection({storyId:a,viewMode:o}),this.channel.emit(RC,this.selectionStore.selection),this.channel.emit(ad,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!_I(t)){let{altKey:r,ctrlKey:n,metaKey:a,shiftKey:o,key:i,code:l,keyCode:u}=t;this.channel.emit(xC,{event:{altKey:r,ctrlKey:n,metaKey:a,shiftKey:o,key:i,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(ad,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var n,a;let r=this.currentRender instanceof Yf&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof tE||this.currentRender instanceof eE)&&await((a=(n=this.currentRender).rerender)==null?void 0:a.call(n))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var n;return(n=this.storyStoreValue)==null?void 0:n.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,f,m,y;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new lr({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:a}=n,o;try{o=await this.storyStoreValue.storyIdToEntry(a)}catch(g){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(a,g);return}let i=((h=this.currentSelection)==null?void 0:h.storyId)!==a,l=((f=this.currentRender)==null?void 0:f.type)!==o.type;o.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),(m=this.currentRender)!=null&&m.isPreparing()&&await this.teardownRender(this.currentRender);let u;o.type==="story"?u=new Yf(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(a),a,"story"):PI(o)?u=new tE(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(a)):u=new eE(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(a));let c=this.currentSelection;this.currentSelection=n;let p=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(g){p&&await this.teardownRender(p),g!==Wc&&this.renderStoryLoadingException(a,g);return}let d=!i&&p&&!u.isEqual(p);if(t&&cl(u)&&(Yr(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),p&&!p.torndown&&!i&&!d&&!l){this.currentRender=p,this.channel.emit(IC,a),this.view.showMain();return}if(p&&await this.teardownRender(p,{viewModeChanged:l}),c&&(i||l)&&this.channel.emit(TC,a),cl(u)){Yr(!!u.story);let{parameters:g,initialArgs:b,argTypes:v,unmappedArgs:D,initialGlobals:S,userGlobals:P,storyGlobals:w,globals:E}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(OC,{id:a,parameters:g,initialArgs:b,argTypes:v,args:D}),this.channel.emit(Fi,{userGlobals:P,storyGlobals:w,globals:E,initialGlobals:S})}else{let{parameters:g}=this.storyStoreValue.projectAnnotations,{initialGlobals:b,globals:v}=this.storyStoreValue.userGlobals;if(this.channel.emit(Fi,{globals:v,initialGlobals:b,storyGlobals:{},userGlobals:v}),OI(u)||((y=u.entry.tags)==null?void 0:y.includes(TI))){if(!u.csfFiles)throw new bw({storyId:a});({parameters:g}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(EC,{id:a,parameters:g})}cl(u)?(Yr(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var n;this.storyRenders=this.storyRenders.filter(a=>a!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}mainStoryCallbacks(t){return{showStoryDuringRender:s(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:s(()=>this.view.showMain(),"showMain"),showError:s(r=>this.renderError(t,r),"showError"),showException:s(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(od)}renderStoryLoadingException(t,r){ot.error(r),this.view.showErrorDisplay(r),this.channel.emit(od,t)}renderException(t,r){var l;let{name:n="Error",message:a=String(r),stack:o}=r,i=(l=this.currentRender)==null?void 0:l.renderId;this.channel.emit(FC,{name:n,message:a,stack:o}),this.channel.emit(Ca,{newPhase:"errored",renderId:i,storyId:t}),this.view.showErrorDisplay(r),ot.error(`Error rendering story '${t}':`),ot.error(r)}renderError(t,{title:r,description:n}){var o;let a=(o=this.currentRender)==null?void 0:o.renderId;this.channel.emit(PC,{title:r,description:n}),this.channel.emit(Ca,{newPhase:"errored",renderId:a,storyId:t}),this.view.showErrorDisplay({message:r,stack:n}),ot.error(`Error rendering story ${r}: ${n}`)}};s(RI,"PreviewWithSelection");var FI=RI,Xf=Et(Th(),1),XJ=Et(Th(),1),rE=/^[a-zA-Z0-9 _-]*$/,II=/^-?[0-9]+(\.[0-9]+)?$/,QJ=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,kI=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Qf=s((e="",t)=>e===null||e===""||!rE.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?rE.test(t)||II.test(t)||QJ.test(t)||kI.test(t):Array.isArray(t)?t.every(r=>Qf(e,r)):Rr(t)?Object.entries(t).every(([r,n])=>Qf(r,n)):!1,"validateArgs"),ZJ={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(kI);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return II.test(e)?Number(e):e}},nE=s(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,XJ.parse)(t.join(";"),ZJ)).reduce((r,[n,a])=>Qf(n,a)?Object.assign(r,{[n]:a}):(vt.warn(je`
|
|
923
|
+
Omitted potentially unsafe URL args.
|
|
924
|
+
|
|
925
|
+
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
926
|
+
`),r),{})},"parseArgsParam"),{history:NI,document:Qr}=de;function BI(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}s(BI,"pathToId");var jI=s(({selection:e,extraParams:t})=>{let r=Qr==null?void 0:Qr.location.search.slice(1),{path:n,selectedKind:a,selectedStory:o,...i}=(0,Xf.parse)(r);return`?${(0,Xf.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),ez=s(e=>{if(!e)return;let t=jI({selection:e}),{hash:r=""}=Qr.location;Qr.title=e.storyId,NI.replaceState({},"",`${Qr.location.pathname}${t}${r}`)},"setPath"),tz=s(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Ti=s(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Ti(e[0]);if(tz(e))return Ti(Object.values(e).filter(Boolean))}},"getFirstString"),rz=s(()=>{if(typeof Qr<"u"){let e=Qr.location.search.slice(1),t=(0,Xf.parse)(e),r=typeof t.args=="string"?nE(t.args):void 0,n=typeof t.globals=="string"?nE(t.globals):void 0,a=Ti(t.viewMode);(typeof a!="string"||!a.match(/docs|story/))&&(a="story");let o=Ti(t.path),i=o?BI(o):Ti(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:a}}return null},"getSelectionSpecifierFromPath"),qI=class{constructor(){this.selectionSpecifier=rz()}setSelection(t){this.selection=t,ez(this.selection)}setQueryParams(t){let r=jI({extraParams:t}),{hash:n=""}=Qr.location;NI.replaceState({},"",`${Qr.location.pathname}${r}${n}`)}};s(qI,"UrlStore");var MI=qI,nz=Et(k5(),1),az=Et(Th(),1),{document:Mt}=de,aE=100,LI=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(LI||{}),Pp={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Dp={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},oE=new nz.default({escapeXML:!0}),$I=class{constructor(){if(this.testing=!1,typeof Mt<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,az.parse)(Mt.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Mt.documentElement.scrollTop=0,Mt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Mt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Mt.documentElement.scrollTop=0,Mt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Mt.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Mt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Dp[t];Mt.body.classList.remove(this.currentLayoutClass),Mt.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Dp[t]||ot.warn(je`
|
|
927
|
+
The desired layout: ${t} is not a valid option.
|
|
928
|
+
The possible options are: ${Object.keys(Dp).join(", ")}, none.
|
|
929
|
+
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(LI).forEach(r=>{r===t?Mt.body.classList.add(Pp[r]):Mt.body.classList.remove(Pp[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,a=r,o=t.split(`
|
|
930
|
+
`);o.length>1&&([n]=o,a=o.slice(1).join(`
|
|
931
|
+
`).replace(/^\n/,"")),Mt.getElementById("error-message").innerHTML=oE.toHtml(n),Mt.getElementById("error-stack").innerHTML=oE.toHtml(a),this.showMode("ERROR")}showNoPreview(){var t,r;this.testing||(this.showMode("NOPREVIEW"),(t=this.storyRoot())==null||t.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),aE)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),aE)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Mt.body.classList.add(Pp.MAIN)}};s($I,"WebView");var UI=$I,VI=class extends FI{constructor(t,r){super(t,r,new MI,new UI),this.importFn=t,this.getProjectAnnotations=r,de.__STORYBOOK_PREVIEW__=this}};s(VI,"PreviewWeb");var oz=VI,{document:va}=de,iz=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],sz="script",iE="scripts-root";function fu(){let e=va.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),va.dispatchEvent(e)}s(fu,"simulateDOMContentLoaded");function HI(e,t,r){let n=va.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):va.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}s(HI,"insertScript");function Fb(e,t,r=0){e[r](()=>{r++,r===e.length?t():Fb(e,t,r)})}s(Fb,"insertScriptsSequentially");function JI(e){let t=va.getElementById(iE);t?t.innerHTML="":(t=va.createElement("div"),t.id=iE,va.body.appendChild(t));let r=Array.from(e.querySelectorAll(sz));if(r.length){let n=[];r.forEach(a=>{let o=a.getAttribute("type");(!o||iz.includes(o))&&n.push(i=>HI(a,i,t))}),n.length&&Fb(n,fu,void 0)}else fu()}s(JI,"simulatePageLoad");var lz="storybook/docs",uz=`${lz}/snippet-rendered`;async function zI(e,t){var l,u,c;let r=(c=(u=(l=t.parameters)==null?void 0:l.docs)==null?void 0:u.source)==null?void 0:c.transform,{id:n,unmappedArgs:a}=t,o=r&&e?r==null?void 0:r(e,t):e,i=o?await o:void 0;Xt.getChannel().emit(uz,{id:n,source:i,args:a})}s(zI,"emitTransformCode");var es={depth:10,clearOnStoryChange:!0,limit:50},cz=s((e={})=>{Object.assign(es,e)},"configureActions"),GI=s((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:GI(r,t)},"findProto"),pz=s(e=>!!(typeof e=="object"&&e&&GI(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),dz=s(e=>{if(pz(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function Jo(e,t={}){let r={...es,...t},n=s(function(...a){var d,h;if(t.implicit){let f=(d="__STORYBOOK_PREVIEW__"in de?de.__STORYBOOK_PREVIEW__:void 0)==null?void 0:d.storyRenders.find(m=>m.phase==="playing"||m.phase==="rendering");if(f){let m=!((h=globalThis==null?void 0:globalThis.FEATURES)!=null&&h.disallowImplicitActionsInRenderV8),y=new uw({phase:f.phase,name:e,deprecated:m});if(m)console.warn(y);else throw y}}let o=Xt.getChannel(),i=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,u=a.map(dz),c=a.length>1?u:u[0],p={id:i,count:0,data:{name:e,args:c},options:{...r,maxDepth:l+(r.depth||3)}};o.emit($w,p)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}s(Jo,"action");var fz=s((...e)=>{let t=es,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...es,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(o=>{n[o]=o}));let a={};return Object.keys(n).forEach(o=>{a[o]=Jo(n[o],t)}),a},"actions"),hz={"@storybook/global":qC,"storybook/test":iA,"storybook/actions":Lw,"storybook/preview-api":cd,"storybook/internal/channels":LC,"storybook/internal/client-logger":UC,"storybook/internal/core-events":Ph,"storybook/internal/types":qw,"storybook/internal/preview-errors":rw,"storybook/internal/preview-api":cd};async function WI(){let e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){let n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}mz(t,r)}s(WI,"maybeSetupPreviewNavigator");var mz=s(async(e,t)=>{var l,u;let r={entries:{}};for(let c of Object.values(e.entries)){let p=c.title.split("/"),d=r;for(let h of p)d.entries||(d.entries={}),d.entries[h]?t===c.id&&(d.entries[h].isActive=!0):d.entries[h]={title:h,isActive:t===c.id,entries:{}},d=d.entries[h];d.entries||(d.entries={}),d.entries[c.name]={id:c.id,name:c.name,href:`?id=${c.id}&viewMode=${c.type}&navigator=true`,isActive:t===c.id}}let n=s(c=>{if("entries"in c&&"title"in c){let d=c;return`
|
|
932
|
+
<li class="sb-navigator-branch">
|
|
933
|
+
<details${d.isActive?" open":""}>
|
|
934
|
+
<summary class="sb-navigator-title">
|
|
935
|
+
${d.title}
|
|
936
|
+
</summary>
|
|
937
|
+
<ul class="sb-navigator-entries" aria-label="${d.title}">
|
|
938
|
+
${Object.values(d.entries).map(n).join("")}
|
|
939
|
+
</ul>
|
|
940
|
+
</details>
|
|
941
|
+
</li>
|
|
942
|
+
`}let p=c;return`
|
|
943
|
+
<li class="sb-navigator-story-item">
|
|
944
|
+
<a href="${p.href}"
|
|
945
|
+
class="sb-navigator-story-link${p.isActive?" active":""}"
|
|
946
|
+
aria-current="${p.isActive?"location":"false"}">${p.name}</a>
|
|
947
|
+
</li>
|
|
948
|
+
`},"createHtmlForNode"),a=Object.values(r.entries).map(n).join(""),o=document.createElement("nav");o.id="sb-navigator-container",o.setAttribute("role","navigation"),o.setAttribute("aria-label","Story navigation"),o.innerHTML=`
|
|
949
|
+
<ul class="sb-navigator-list">${a}</ul>
|
|
950
|
+
`,document.body.insertBefore(o,document.body.firstChild);let i=document.createElement("style");i.id="sb-navigator-style",i.textContent=`
|
|
951
|
+
body {
|
|
952
|
+
display: grid !important;
|
|
953
|
+
grid-template-columns: 300px 1fr;
|
|
954
|
+
font-family: 'Nunito', sans-serif;
|
|
955
|
+
height: 100vh;
|
|
956
|
+
margin: 0;
|
|
957
|
+
|
|
958
|
+
--text-color: rgb(46, 52, 56);
|
|
959
|
+
--bg-color: rgb(246, 249, 252);
|
|
960
|
+
|
|
961
|
+
@media (prefers-color-scheme: dark) {
|
|
962
|
+
--text-color: rgb(201, 205, 207);
|
|
963
|
+
--bg-color: rgb(34, 36, 37);
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
#storybook-root, #storybook-docs {
|
|
967
|
+
overflow-y: auto;
|
|
968
|
+
max-height: 100vh;
|
|
969
|
+
max-width: 100%;
|
|
970
|
+
}
|
|
971
|
+
#sb-navigator-container, #sb-navigator-container * {
|
|
972
|
+
box-sizing: border-box;
|
|
973
|
+
}
|
|
974
|
+
#sb-navigator-container {
|
|
975
|
+
height: 100vh;
|
|
976
|
+
overflow-y: auto;
|
|
977
|
+
border-right: 1px solid #eee;
|
|
978
|
+
padding: 1rem;
|
|
979
|
+
font-size: 14px;
|
|
980
|
+
color: var(--text-color);
|
|
981
|
+
background-color: var(--bg-color);
|
|
982
|
+
align-self: start;
|
|
983
|
+
z-index: 1000;
|
|
984
|
+
}
|
|
985
|
+
.sb-main-padded #sb-navigator-container {
|
|
986
|
+
margin: -1rem 1rem -1rem -1rem;
|
|
987
|
+
}
|
|
988
|
+
.sb-navigator-list {
|
|
989
|
+
list-style-type: none;
|
|
990
|
+
padding: 0;
|
|
991
|
+
margin: 0;
|
|
992
|
+
}
|
|
993
|
+
.sb-navigator-branch {
|
|
994
|
+
list-style-type: none;
|
|
995
|
+
}
|
|
996
|
+
.sb-navigator-item {
|
|
997
|
+
margin-bottom: 15px;
|
|
998
|
+
}
|
|
999
|
+
.sb-navigator-title {
|
|
1000
|
+
color: var(--text-color);
|
|
1001
|
+
text-decoration: none;
|
|
1002
|
+
padding-block: 5px;
|
|
1003
|
+
cursor: pointer;
|
|
1004
|
+
}
|
|
1005
|
+
.sb-navigator-entries {
|
|
1006
|
+
padding-left: 15px;
|
|
1007
|
+
}
|
|
1008
|
+
.sb-navigator-story-item {
|
|
1009
|
+
margin-bottom: 8px;
|
|
1010
|
+
margin-left: 8px;
|
|
1011
|
+
}
|
|
1012
|
+
.sb-navigator-story-link {
|
|
1013
|
+
color: var(--text-color);
|
|
1014
|
+
}
|
|
1015
|
+
.sb-navigator-story-link.active {
|
|
1016
|
+
font-weight: bold;
|
|
1017
|
+
color: rgb(2, 156, 253);
|
|
1018
|
+
}
|
|
1019
|
+
`,document.head.appendChild(i),(u=(l=o.querySelector(".sb-navigator-story-link.active"))==null?void 0:l.closest("details"))==null||u.scrollIntoView({block:"center"})},"setupPreviewNavigator"),yz=Et(N5(),1),Op;function KI(){var e;return Op||(Op=new yz.default((e=de.navigator)==null?void 0:e.userAgent).getBrowserInfo()),Op}s(KI,"getBrowserInfo");function YI(e){return e.browserInfo=KI(),e}s(YI,"prepareForTelemetry");function XI(e){let t=e.error||e;t.fromStorybook&&de.sendTelemetryError(t)}s(XI,"errorListener");function QI({reason:e}){e.fromStorybook&&de.sendTelemetryError(e)}s(QI,"unhandledRejectionListener");function Ib(){i$.forEach(e=>{de[MC[e]]=hz[e]}),de.sendTelemetryError=e=>{de.__STORYBOOK_ADDONS_CHANNEL__.emit(BC,YI(e))},de.addEventListener("error",XI),de.addEventListener("unhandledrejection",QI),WI()}s(Ib,"setup");Ib();const{createBrowserChannel:gz}=__STORYBOOK_MODULE_CHANNELS__,{addons:bz}=__STORYBOOK_MODULE_PREVIEW_API__,kb=gz({page:"preview"});bz.setChannel(kb);window.__STORYBOOK_ADDONS_CHANNEL__=kb;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=kb);const vz={"./src/components/atoms/AllAtoms.stories.tsx":()=>We(()=>import("./AllAtoms.stories-DBoQZmq-.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]),import.meta.url),"./src/components/atoms/Button/Button.stories.tsx":()=>We(()=>import("./Button.stories-BeeBKHoX.js"),__vite__mapDeps([27,1,2,3,9,26]),import.meta.url),"./src/components/atoms/Card/Card.stories.tsx":()=>We(()=>import("./Card.stories-CpcboxKs.js"),__vite__mapDeps([28,4,2,5,1,3,26]),import.meta.url),"./src/components/atoms/Checkbox/Checkbox.stories.tsx":()=>We(()=>import("./Checkbox.stories-DxTQrFgm.js"),__vite__mapDeps([29,6,7,26]),import.meta.url),"./src/components/atoms/DateInput/DateInput.stories.tsx":()=>We(()=>import("./DateInput.stories-BGB5zJBm.js"),__vite__mapDeps([30,8,9,10,26]),import.meta.url),"./src/components/atoms/NumberStepper/NumberStepper.stories.tsx":()=>We(()=>import("./NumberStepper.stories-NZw7r4Oh.js"),__vite__mapDeps([31,22,2,12,23,26]),import.meta.url),"./src/components/atoms/SearchableDropdown/SearchableDropdown.stories.tsx":()=>We(()=>import("./SearchableDropdown.stories-ByZj6lJu.js"),__vite__mapDeps([32,11,9,2,12,13,26]),import.meta.url),"./src/components/atoms/SelectInput/SelectInput.stories.tsx":()=>We(()=>import("./SelectInput.stories-MyE-GqOw.js"),__vite__mapDeps([33,14,9,15,26]),import.meta.url),"./src/components/atoms/TextArea/TextArea.stories.tsx":()=>We(()=>import("./TextArea.stories-CCqRRpwq.js"),__vite__mapDeps([34,16,17,26]),import.meta.url),"./src/components/atoms/TextInput/TextInput.stories.tsx":()=>We(()=>import("./TextInput.stories-CtvOb60q.js"),__vite__mapDeps([35,18,19,26]),import.meta.url),"./src/components/atoms/Toggle/Toggle.stories.tsx":()=>We(()=>import("./Toggle.stories-BUSZc6m3.js"),__vite__mapDeps([36,20,21,9,26]),import.meta.url),"./src/components/atoms/ToggleButton/ToggleButton.stories.tsx":()=>We(()=>import("./ToggleButton.stories-BKN4zU3N.js"),__vite__mapDeps([37,24,2,12,25,26]),import.meta.url),"./src/components/molecules/ArrayInput/ArrayInput.stories.tsx":()=>We(()=>import("./ArrayInput.stories-CRqKExgm.js"),__vite__mapDeps([38,1,2,3,18,19,16,17,12,26,39]),import.meta.url),"./src/components/molecules/EditFAB/EditFAB.stories.tsx":()=>We(()=>import("./EditFAB.stories-CmfJxWns.js"),__vite__mapDeps([40,2,26,41]),import.meta.url),"./src/components/molecules/SearchBar/SearchBar.stories.tsx":()=>We(()=>import("./SearchBar.stories-DmHIaDZB.js"),__vite__mapDeps([42,9,2,12,26,43]),import.meta.url),"./src/components/molecules/Tabs/Tabs.stories.tsx":()=>We(()=>import("./Tabs.stories-c24Ffu3K.js"),__vite__mapDeps([44,9,2,26,45]),import.meta.url),"./src/components/molecules/ThemeSwitcher/ThemeSwitcher.stories.tsx":()=>We(()=>import("./ThemeSwitcher.stories-BvkX1SDm.js"),__vite__mapDeps([46,9,2,26,47]),import.meta.url),"./src/components/molecules/TimeInput/TimeInput.stories.tsx":()=>We(()=>import("./TimeInput.stories-BchhRfKo.js"),__vite__mapDeps([48,9,26,49]),import.meta.url),"./src/components/organisms/Calendar/Calendar.stories.tsx":()=>We(()=>import("./Calendar.stories-CKOG4XAn.js"),__vite__mapDeps([50,2,26,51]),import.meta.url),"./src/components/organisms/Navbar/Navbar.stories.tsx":()=>We(()=>import("./Navbar.stories-Dkf77idX.js"),__vite__mapDeps([52,9,2,12,26,53]),import.meta.url),"./src/components/organisms/animations/AnimationPlayer.stories.tsx":()=>We(()=>import("./AnimationPlayer.stories-yXQ8fqUT.js"),__vite__mapDeps([54,26,55]),import.meta.url),"./src/components/organisms/charts/BooleansHeatmap/BooleansHeatmap.stories.tsx":()=>We(()=>import("./BooleansHeatmap.stories-2u4SThph.js"),__vite__mapDeps([56,57,58,26,59]),import.meta.url),"./src/components/organisms/charts/MoodChart/MoodChart.stories.tsx":()=>We(()=>import("./MoodChart.stories-V-wKOSu-.js"),__vite__mapDeps([60,57,61,62,58,63,64,26,65]),import.meta.url),"./src/components/organisms/charts/PieChart/PieChart.stories.tsx":()=>We(()=>import("./PieChart.stories-BkfNODjW.js"),__vite__mapDeps([66,57,63,64,67,26,68]),import.meta.url),"./src/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.stories.tsx":()=>We(()=>import("./QuantifiableHabitsChart.stories-Df6rcrdD.js"),__vite__mapDeps([69,57,62,61,58,63,64,26,70]),import.meta.url),"./src/components/organisms/charts/SleepChart/SleepChart.stories.tsx":()=>We(()=>import("./SleepChart.stories-Dsz1U6F9.js"),__vite__mapDeps([71,57,61,26,72]),import.meta.url),"./src/components/organisms/charts/SunburstChart/SunburstChart.stories.tsx":()=>We(()=>import("./SunburstChart.stories-CphfyDsR.js"),__vite__mapDeps([73,57,67,64,26,74]),import.meta.url)};async function Ez(e){return await vz[e]()}function Cz(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ZI={exports:{}},qe={};/**
|
|
1020
|
+
* @license React
|
|
1021
|
+
* react.production.min.js
|
|
1022
|
+
*
|
|
1023
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1024
|
+
*
|
|
1025
|
+
* This source code is licensed under the MIT license found in the
|
|
1026
|
+
* LICENSE file in the root directory of this source tree.
|
|
1027
|
+
*/var _s=Symbol.for("react.element"),wz=Symbol.for("react.portal"),Az=Symbol.for("react.fragment"),xz=Symbol.for("react.strict_mode"),Sz=Symbol.for("react.profiler"),_z=Symbol.for("react.provider"),Tz=Symbol.for("react.context"),Pz=Symbol.for("react.forward_ref"),Dz=Symbol.for("react.suspense"),Oz=Symbol.for("react.memo"),Rz=Symbol.for("react.lazy"),sE=Symbol.iterator;function Fz(e){return e===null||typeof e!="object"?null:(e=sE&&e[sE]||e["@@iterator"],typeof e=="function"?e:null)}var e2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},t2=Object.assign,r2={};function zo(e,t,r){this.props=e,this.context=t,this.refs=r2,this.updater=r||e2}zo.prototype.isReactComponent={};zo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};zo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function n2(){}n2.prototype=zo.prototype;function Nb(e,t,r){this.props=e,this.context=t,this.refs=r2,this.updater=r||e2}var Bb=Nb.prototype=new n2;Bb.constructor=Nb;t2(Bb,zo.prototype);Bb.isPureReactComponent=!0;var lE=Array.isArray,a2=Object.prototype.hasOwnProperty,jb={current:null},o2={key:!0,ref:!0,__self:!0,__source:!0};function i2(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)a2.call(t,n)&&!o2.hasOwnProperty(n)&&(a[n]=t[n]);var l=arguments.length-2;if(l===1)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)a[n]===void 0&&(a[n]=l[n]);return{$$typeof:_s,type:e,key:o,ref:i,props:a,_owner:jb.current}}function Iz(e,t){return{$$typeof:_s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function qb(e){return typeof e=="object"&&e!==null&&e.$$typeof===_s}function kz(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var uE=/\/+/g;function Rp(e,t){return typeof e=="object"&&e!==null&&e.key!=null?kz(""+e.key):t.toString(36)}function pl(e,t,r,n,a){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case _s:case wz:i=!0}}if(i)return i=e,a=a(i),e=n===""?"."+Rp(i,0):n,lE(a)?(r="",e!=null&&(r=e.replace(uE,"$&/")+"/"),pl(a,t,r,"",function(c){return c})):a!=null&&(qb(a)&&(a=Iz(a,r+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(uE,"$&/")+"/")+e)),t.push(a)),1;if(i=0,n=n===""?".":n+":",lE(e))for(var l=0;l<e.length;l++){o=e[l];var u=n+Rp(o,l);i+=pl(o,t,r,u,a)}else if(u=Fz(e),typeof u=="function")for(e=u.call(e),l=0;!(o=e.next()).done;)o=o.value,u=n+Rp(o,l++),i+=pl(o,t,r,u,a);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Ls(e,t,r){if(e==null)return e;var n=[],a=0;return pl(e,n,"","",function(o){return t.call(r,o,a++)}),n}function Nz(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var zt={current:null},dl={transition:null},Bz={ReactCurrentDispatcher:zt,ReactCurrentBatchConfig:dl,ReactCurrentOwner:jb};function s2(){throw Error("act(...) is not supported in production builds of React.")}qe.Children={map:Ls,forEach:function(e,t,r){Ls(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Ls(e,function(){t++}),t},toArray:function(e){return Ls(e,function(t){return t})||[]},only:function(e){if(!qb(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};qe.Component=zo;qe.Fragment=Az;qe.Profiler=Sz;qe.PureComponent=Nb;qe.StrictMode=xz;qe.Suspense=Dz;qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bz;qe.act=s2;qe.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=t2({},e.props),a=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=jb.current),t.key!==void 0&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)a2.call(t,u)&&!o2.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];n.children=l}return{$$typeof:_s,type:e.type,key:a,ref:o,props:n,_owner:i}};qe.createContext=function(e){return e={$$typeof:Tz,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:_z,_context:e},e.Consumer=e};qe.createElement=i2;qe.createFactory=function(e){var t=i2.bind(null,e);return t.type=e,t};qe.createRef=function(){return{current:null}};qe.forwardRef=function(e){return{$$typeof:Pz,render:e}};qe.isValidElement=qb;qe.lazy=function(e){return{$$typeof:Rz,_payload:{_status:-1,_result:e},_init:Nz}};qe.memo=function(e,t){return{$$typeof:Oz,type:e,compare:t===void 0?null:t}};qe.startTransition=function(e){var t=dl.transition;dl.transition={};try{e()}finally{dl.transition=t}};qe.unstable_act=s2;qe.useCallback=function(e,t){return zt.current.useCallback(e,t)};qe.useContext=function(e){return zt.current.useContext(e)};qe.useDebugValue=function(){};qe.useDeferredValue=function(e){return zt.current.useDeferredValue(e)};qe.useEffect=function(e,t){return zt.current.useEffect(e,t)};qe.useId=function(){return zt.current.useId()};qe.useImperativeHandle=function(e,t,r){return zt.current.useImperativeHandle(e,t,r)};qe.useInsertionEffect=function(e,t){return zt.current.useInsertionEffect(e,t)};qe.useLayoutEffect=function(e,t){return zt.current.useLayoutEffect(e,t)};qe.useMemo=function(e,t){return zt.current.useMemo(e,t)};qe.useReducer=function(e,t,r){return zt.current.useReducer(e,t,r)};qe.useRef=function(e){return zt.current.useRef(e)};qe.useState=function(e){return zt.current.useState(e)};qe.useSyncExternalStore=function(e,t,r){return zt.current.useSyncExternalStore(e,t,r)};qe.useTransition=function(){return zt.current.useTransition()};qe.version="18.3.1";ZI.exports=qe;var Pt=ZI.exports;const Cr=Cz(Pt),IQ=cN({__proto__:null,default:Cr},[Pt]),{defaultDecorateStory:jz}=__STORYBOOK_MODULE_PREVIEW_API__;var Mb=(e,t)=>jz(r=>Cr.createElement(e,r),t),qz=Object.create,Kc=Object.defineProperty,Mz=Object.getOwnPropertyDescriptor,Lb=Object.getOwnPropertyNames,Lz=Object.getPrototypeOf,$z=Object.prototype.hasOwnProperty,Uz=(e,t)=>function(){return e&&(t=(0,e[Lb(e)[0]])(e=0)),t},be=(e,t)=>function(){return t||(0,e[Lb(e)[0]])((t={exports:{}}).exports,t),t.exports},Yc=(e,t)=>{for(var r in t)Kc(e,r,{get:t[r],enumerable:!0})},l2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Lb(t))!$z.call(e,a)&&a!==r&&Kc(e,a,{get:()=>t[a],enumerable:!(n=Mz(t,a))||n.enumerable});return e},Go=(e,t,r)=>(r=e!=null?qz(Lz(e)):{},l2(!e||!e.__esModule?Kc(r,"default",{value:e,enumerable:!0}):r,e)),cE=e=>l2(Kc({},"__esModule",{value:!0}),e),Fp={};const{global:Vz}=__STORYBOOK_MODULE_GLOBAL__;var Xc=be({"../../node_modules/semver/internal/constants.js"(e,t){var r="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,a=16,o=250,i=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:i,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),Qc=be({"../../node_modules/semver/internal/debug.js"(e,t){var r=typeof process=="object"&&Fp&&Fp.NODE_DEBUG&&/\bsemver\b/i.test(Fp.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};t.exports=r}}),Ts=be({"../../node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:a}=Xc(),o=Qc();e=t.exports={};var i=e.re=[],l=e.safeRe=[],u=e.src=[],c=e.safeSrc=[],p=e.t={},d=0,h="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",a],[h,n]],m=g=>{for(let[b,v]of f)g=g.split(`${b}*`).join(`${b}{0,${v}}`).split(`${b}+`).join(`${b}{1,${v}}`);return g},y=(g,b,v)=>{let D=m(b),S=d++;o(g,S,b),p[g]=S,u[S]=b,c[S]=D,i[S]=new RegExp(b,v?"g":void 0),l[S]=new RegExp(D,v?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),y("MAINVERSION",`(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${u[p.NONNUMERICIDENTIFIER]}|${u[p.NUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${u[p.NONNUMERICIDENTIFIER]}|${u[p.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASE",`(?:-(${u[p.PRERELEASEIDENTIFIER]}(?:\\.${u[p.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${u[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[p.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${h}+`),y("BUILD",`(?:\\+(${u[p.BUILDIDENTIFIER]}(?:\\.${u[p.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${u[p.MAINVERSION]}${u[p.PRERELEASE]}?${u[p.BUILD]}?`),y("FULL",`^${u[p.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${u[p.MAINVERSIONLOOSE]}${u[p.PRERELEASELOOSE]}?${u[p.BUILD]}?`),y("LOOSE",`^${u[p.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${u[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${u[p.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:${u[p.PRERELEASE]})?${u[p.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:${u[p.PRERELEASELOOSE]})?${u[p.BUILD]}?)?)?`),y("XRANGE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),y("COERCE",`${u[p.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",u[p.COERCEPLAIN]+`(?:${u[p.PRERELEASE]})?(?:${u[p.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",u[p.COERCE],!0),y("COERCERTLFULL",u[p.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${u[p.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",y("TILDE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${u[p.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",y("CARET",`^${u[p.LONECARET]}${u[p.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${u[p.LONECARET]}${u[p.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${u[p.GTLT]}\\s*(${u[p.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]}|${u[p.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${u[p.XRANGEPLAIN]})\\s+-\\s+(${u[p.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${u[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[p.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),$b=be({"../../node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),n=Object.freeze({}),a=o=>o?typeof o!="object"?r:o:n;t.exports=a}}),u2=be({"../../node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,n=(o,i)=>{let l=r.test(o),u=r.test(i);return l&&u&&(o=+o,i=+i),o===i?0:l&&!u?-1:u&&!l?1:o<i?-1:1},a=(o,i)=>n(i,o);t.exports={compareIdentifiers:n,rcompareIdentifiers:a}}}),Gt=be({"../../node_modules/semver/classes/semver.js"(e,t){var r=Qc(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:a}=Xc(),{safeRe:o,t:i}=Ts(),l=$b(),{compareIdentifiers:u}=u2(),c=class Jr{constructor(d,h){if(h=l(h),d instanceof Jr){if(d.loose===!!h.loose&&d.includePrerelease===!!h.includePrerelease)return d;d=d.version}else if(typeof d!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof d}".`);if(d.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",d,h),this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease;let f=d.trim().match(h.loose?o[i.LOOSE]:o[i.FULL]);if(!f)throw new TypeError(`Invalid Version: ${d}`);if(this.raw=d,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(m=>{if(/^[0-9]+$/.test(m)){let y=+m;if(y>=0&&y<a)return y}return m}):this.prerelease=[],this.build=f[5]?f[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(d){if(r("SemVer.compare",this.version,this.options,d),!(d instanceof Jr)){if(typeof d=="string"&&d===this.version)return 0;d=new Jr(d,this.options)}return d.version===this.version?0:this.compareMain(d)||this.comparePre(d)}compareMain(d){return d instanceof Jr||(d=new Jr(d,this.options)),u(this.major,d.major)||u(this.minor,d.minor)||u(this.patch,d.patch)}comparePre(d){if(d instanceof Jr||(d=new Jr(d,this.options)),this.prerelease.length&&!d.prerelease.length)return-1;if(!this.prerelease.length&&d.prerelease.length)return 1;if(!this.prerelease.length&&!d.prerelease.length)return 0;let h=0;do{let f=this.prerelease[h],m=d.prerelease[h];if(r("prerelease compare",h,f,m),f===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(f===void 0)return-1;if(f!==m)return u(f,m)}while(++h)}compareBuild(d){d instanceof Jr||(d=new Jr(d,this.options));let h=0;do{let f=this.build[h],m=d.build[h];if(r("build compare",h,f,m),f===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(f===void 0)return-1;if(f!==m)return u(f,m)}while(++h)}inc(d,h,f){if(d.startsWith("pre")){if(!h&&f===!1)throw new Error("invalid increment argument: identifier is empty");if(h){let m=`-${h}`.match(this.options.loose?o[i.PRERELEASELOOSE]:o[i.PRERELEASE]);if(!m||m[1]!==h)throw new Error(`invalid identifier: ${h}`)}}switch(d){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",h,f);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",h,f);break;case"prepatch":this.prerelease.length=0,this.inc("patch",h,f),this.inc("pre",h,f);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",h,f),this.inc("pre",h,f);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let m=Number(f)?1:0;if(this.prerelease.length===0)this.prerelease=[m];else{let y=this.prerelease.length;for(;--y>=0;)typeof this.prerelease[y]=="number"&&(this.prerelease[y]++,y=-2);if(y===-1){if(h===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(m)}}if(h){let y=[h,m];f===!1&&(y=[h]),u(this.prerelease[0],h)===0?isNaN(this.prerelease[1])&&(this.prerelease=y):this.prerelease=y}break}default:throw new Error(`invalid increment argument: ${d}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=c}}),Wo=be({"../../node_modules/semver/functions/parse.js"(e,t){var r=Gt(),n=(a,o,i=!1)=>{if(a instanceof r)return a;try{return new r(a,o)}catch(l){if(!i)return null;throw l}};t.exports=n}}),Hz=be({"../../node_modules/semver/functions/valid.js"(e,t){var r=Wo(),n=(a,o)=>{let i=r(a,o);return i?i.version:null};t.exports=n}}),Jz=be({"../../node_modules/semver/functions/clean.js"(e,t){var r=Wo(),n=(a,o)=>{let i=r(a.trim().replace(/^[=v]+/,""),o);return i?i.version:null};t.exports=n}}),zz=be({"../../node_modules/semver/functions/inc.js"(e,t){var r=Gt(),n=(a,o,i,l,u)=>{typeof i=="string"&&(u=l,l=i,i=void 0);try{return new r(a instanceof r?a.version:a,i).inc(o,l,u).version}catch{return null}};t.exports=n}}),Gz=be({"../../node_modules/semver/functions/diff.js"(e,t){var r=Wo(),n=(a,o)=>{let i=r(a,null,!0),l=r(o,null,!0),u=i.compare(l);if(u===0)return null;let c=u>0,p=c?i:l,d=c?l:i,h=!!p.prerelease.length;if(d.prerelease.length&&!h){if(!d.patch&&!d.minor)return"major";if(d.compareMain(p)===0)return d.minor&&!d.patch?"minor":"patch"}let f=h?"pre":"";return i.major!==l.major?f+"major":i.minor!==l.minor?f+"minor":i.patch!==l.patch?f+"patch":"prerelease"};t.exports=n}}),Wz=be({"../../node_modules/semver/functions/major.js"(e,t){var r=Gt(),n=(a,o)=>new r(a,o).major;t.exports=n}}),Kz=be({"../../node_modules/semver/functions/minor.js"(e,t){var r=Gt(),n=(a,o)=>new r(a,o).minor;t.exports=n}}),Yz=be({"../../node_modules/semver/functions/patch.js"(e,t){var r=Gt(),n=(a,o)=>new r(a,o).patch;t.exports=n}}),Xz=be({"../../node_modules/semver/functions/prerelease.js"(e,t){var r=Wo(),n=(a,o)=>{let i=r(a,o);return i&&i.prerelease.length?i.prerelease:null};t.exports=n}}),kr=be({"../../node_modules/semver/functions/compare.js"(e,t){var r=Gt(),n=(a,o,i)=>new r(a,i).compare(new r(o,i));t.exports=n}}),Qz=be({"../../node_modules/semver/functions/rcompare.js"(e,t){var r=kr(),n=(a,o,i)=>r(o,a,i);t.exports=n}}),Zz=be({"../../node_modules/semver/functions/compare-loose.js"(e,t){var r=kr(),n=(a,o)=>r(a,o,!0);t.exports=n}}),Ub=be({"../../node_modules/semver/functions/compare-build.js"(e,t){var r=Gt(),n=(a,o,i)=>{let l=new r(a,i),u=new r(o,i);return l.compare(u)||l.compareBuild(u)};t.exports=n}}),eG=be({"../../node_modules/semver/functions/sort.js"(e,t){var r=Ub(),n=(a,o)=>a.sort((i,l)=>r(i,l,o));t.exports=n}}),tG=be({"../../node_modules/semver/functions/rsort.js"(e,t){var r=Ub(),n=(a,o)=>a.sort((i,l)=>r(l,i,o));t.exports=n}}),Zc=be({"../../node_modules/semver/functions/gt.js"(e,t){var r=kr(),n=(a,o,i)=>r(a,o,i)>0;t.exports=n}}),Vb=be({"../../node_modules/semver/functions/lt.js"(e,t){var r=kr(),n=(a,o,i)=>r(a,o,i)<0;t.exports=n}}),c2=be({"../../node_modules/semver/functions/eq.js"(e,t){var r=kr(),n=(a,o,i)=>r(a,o,i)===0;t.exports=n}}),p2=be({"../../node_modules/semver/functions/neq.js"(e,t){var r=kr(),n=(a,o,i)=>r(a,o,i)!==0;t.exports=n}}),Hb=be({"../../node_modules/semver/functions/gte.js"(e,t){var r=kr(),n=(a,o,i)=>r(a,o,i)>=0;t.exports=n}}),Jb=be({"../../node_modules/semver/functions/lte.js"(e,t){var r=kr(),n=(a,o,i)=>r(a,o,i)<=0;t.exports=n}}),d2=be({"../../node_modules/semver/functions/cmp.js"(e,t){var r=c2(),n=p2(),a=Zc(),o=Hb(),i=Vb(),l=Jb(),u=(c,p,d,h)=>{switch(p){case"===":return typeof c=="object"&&(c=c.version),typeof d=="object"&&(d=d.version),c===d;case"!==":return typeof c=="object"&&(c=c.version),typeof d=="object"&&(d=d.version),c!==d;case"":case"=":case"==":return r(c,d,h);case"!=":return n(c,d,h);case">":return a(c,d,h);case">=":return o(c,d,h);case"<":return i(c,d,h);case"<=":return l(c,d,h);default:throw new TypeError(`Invalid operator: ${p}`)}};t.exports=u}}),rG=be({"../../node_modules/semver/functions/coerce.js"(e,t){var r=Gt(),n=Wo(),{safeRe:a,t:o}=Ts(),i=(l,u)=>{if(l instanceof r)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;u=u||{};let c=null;if(!u.rtl)c=l.match(u.includePrerelease?a[o.COERCEFULL]:a[o.COERCE]);else{let y=u.includePrerelease?a[o.COERCERTLFULL]:a[o.COERCERTL],g;for(;(g=y.exec(l))&&(!c||c.index+c[0].length!==l.length);)(!c||g.index+g[0].length!==c.index+c[0].length)&&(c=g),y.lastIndex=g.index+g[1].length+g[2].length;y.lastIndex=-1}if(c===null)return null;let p=c[2],d=c[3]||"0",h=c[4]||"0",f=u.includePrerelease&&c[5]?`-${c[5]}`:"",m=u.includePrerelease&&c[6]?`+${c[6]}`:"";return n(`${p}.${d}.${h}${f}${m}`,u)};t.exports=i}}),nG=be({"../../node_modules/semver/internal/lrucache.js"(e,t){var r=class{constructor(){this.max=1e3,this.map=new Map}get(n){let a=this.map.get(n);if(a!==void 0)return this.map.delete(n),this.map.set(n,a),a}delete(n){return this.map.delete(n)}set(n,a){if(!this.delete(n)&&a!==void 0){if(this.map.size>=this.max){let o=this.map.keys().next().value;this.delete(o)}this.map.set(n,a)}return this}};t.exports=r}}),Nr=be({"../../node_modules/semver/classes/range.js"(e,t){var r=/\s+/g,n=class fl{constructor(W,K){if(K=i(K),W instanceof fl)return W.loose===!!K.loose&&W.includePrerelease===!!K.includePrerelease?W:new fl(W.raw,K);if(W instanceof l)return this.raw=W.value,this.set=[[W]],this.formatted=void 0,this;if(this.options=K,this.loose=!!K.loose,this.includePrerelease=!!K.includePrerelease,this.raw=W.trim().replace(r," "),this.set=this.raw.split("||").map(ae=>this.parseRange(ae.trim())).filter(ae=>ae.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let ae=this.set[0];if(this.set=this.set.filter(se=>!b(se[0])),this.set.length===0)this.set=[ae];else if(this.set.length>1){for(let se of this.set)if(se.length===1&&v(se[0])){this.set=[se];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let W=0;W<this.set.length;W++){W>0&&(this.formatted+="||");let K=this.set[W];for(let ae=0;ae<K.length;ae++)ae>0&&(this.formatted+=" "),this.formatted+=K[ae].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(W){let K=((this.options.includePrerelease&&y)|(this.options.loose&&g))+":"+W,ae=o.get(K);if(ae)return ae;let se=this.options.loose,Z=se?p[d.HYPHENRANGELOOSE]:p[d.HYPHENRANGE];W=W.replace(Z,R(this.options.includePrerelease)),u("hyphen replace",W),W=W.replace(p[d.COMPARATORTRIM],h),u("comparator trim",W),W=W.replace(p[d.TILDETRIM],f),u("tilde trim",W),W=W.replace(p[d.CARETTRIM],m),u("caret trim",W);let z=W.split(" ").map(re=>S(re,this.options)).join(" ").split(/\s+/).map(re=>G(re,this.options));se&&(z=z.filter(re=>(u("loose invalid filter",re,this.options),!!re.match(p[d.COMPARATORLOOSE])))),u("range list",z);let Q=new Map,ee=z.map(re=>new l(re,this.options));for(let re of ee){if(b(re))return[re];Q.set(re.value,re)}Q.size>1&&Q.has("")&&Q.delete("");let le=[...Q.values()];return o.set(K,le),le}intersects(W,K){if(!(W instanceof fl))throw new TypeError("a Range is required");return this.set.some(ae=>D(ae,K)&&W.set.some(se=>D(se,K)&&ae.every(Z=>se.every(z=>Z.intersects(z,K)))))}test(W){if(!W)return!1;if(typeof W=="string")try{W=new c(W,this.options)}catch{return!1}for(let K=0;K<this.set.length;K++)if(L(this.set[K],W,this.options))return!0;return!1}};t.exports=n;var a=nG(),o=new a,i=$b(),l=ep(),u=Qc(),c=Gt(),{safeRe:p,t:d,comparatorTrimReplace:h,tildeTrimReplace:f,caretTrimReplace:m}=Ts(),{FLAG_INCLUDE_PRERELEASE:y,FLAG_LOOSE:g}=Xc(),b=j=>j.value==="<0.0.0-0",v=j=>j.value==="",D=(j,W)=>{let K=!0,ae=j.slice(),se=ae.pop();for(;K&&ae.length;)K=ae.every(Z=>se.intersects(Z,W)),se=ae.pop();return K},S=(j,W)=>(u("comp",j,W),j=C(j,W),u("caret",j),j=w(j,W),u("tildes",j),j=N(j,W),u("xrange",j),j=J(j,W),u("stars",j),j),P=j=>!j||j.toLowerCase()==="x"||j==="*",w=(j,W)=>j.trim().split(/\s+/).map(K=>E(K,W)).join(" "),E=(j,W)=>{let K=W.loose?p[d.TILDELOOSE]:p[d.TILDE];return j.replace(K,(ae,se,Z,z,Q)=>{u("tilde",j,ae,se,Z,z,Q);let ee;return P(se)?ee="":P(Z)?ee=`>=${se}.0.0 <${+se+1}.0.0-0`:P(z)?ee=`>=${se}.${Z}.0 <${se}.${+Z+1}.0-0`:Q?(u("replaceTilde pr",Q),ee=`>=${se}.${Z}.${z}-${Q} <${se}.${+Z+1}.0-0`):ee=`>=${se}.${Z}.${z} <${se}.${+Z+1}.0-0`,u("tilde return",ee),ee})},C=(j,W)=>j.trim().split(/\s+/).map(K=>_(K,W)).join(" "),_=(j,W)=>{u("caret",j,W);let K=W.loose?p[d.CARETLOOSE]:p[d.CARET],ae=W.includePrerelease?"-0":"";return j.replace(K,(se,Z,z,Q,ee)=>{u("caret",j,se,Z,z,Q,ee);let le;return P(Z)?le="":P(z)?le=`>=${Z}.0.0${ae} <${+Z+1}.0.0-0`:P(Q)?Z==="0"?le=`>=${Z}.${z}.0${ae} <${Z}.${+z+1}.0-0`:le=`>=${Z}.${z}.0${ae} <${+Z+1}.0.0-0`:ee?(u("replaceCaret pr",ee),Z==="0"?z==="0"?le=`>=${Z}.${z}.${Q}-${ee} <${Z}.${z}.${+Q+1}-0`:le=`>=${Z}.${z}.${Q}-${ee} <${Z}.${+z+1}.0-0`:le=`>=${Z}.${z}.${Q}-${ee} <${+Z+1}.0.0-0`):(u("no pr"),Z==="0"?z==="0"?le=`>=${Z}.${z}.${Q}${ae} <${Z}.${z}.${+Q+1}-0`:le=`>=${Z}.${z}.${Q}${ae} <${Z}.${+z+1}.0-0`:le=`>=${Z}.${z}.${Q} <${+Z+1}.0.0-0`),u("caret return",le),le})},N=(j,W)=>(u("replaceXRanges",j,W),j.split(/\s+/).map(K=>B(K,W)).join(" ")),B=(j,W)=>{j=j.trim();let K=W.loose?p[d.XRANGELOOSE]:p[d.XRANGE];return j.replace(K,(ae,se,Z,z,Q,ee)=>{u("xRange",j,ae,se,Z,z,Q,ee);let le=P(Z),re=le||P(z),me=re||P(Q),Ee=me;return se==="="&&Ee&&(se=""),ee=W.includePrerelease?"-0":"",le?se===">"||se==="<"?ae="<0.0.0-0":ae="*":se&&Ee?(re&&(z=0),Q=0,se===">"?(se=">=",re?(Z=+Z+1,z=0,Q=0):(z=+z+1,Q=0)):se==="<="&&(se="<",re?Z=+Z+1:z=+z+1),se==="<"&&(ee="-0"),ae=`${se+Z}.${z}.${Q}${ee}`):re?ae=`>=${Z}.0.0${ee} <${+Z+1}.0.0-0`:me&&(ae=`>=${Z}.${z}.0${ee} <${Z}.${+z+1}.0-0`),u("xRange return",ae),ae})},J=(j,W)=>(u("replaceStars",j,W),j.trim().replace(p[d.STAR],"")),G=(j,W)=>(u("replaceGTE0",j,W),j.trim().replace(p[W.includePrerelease?d.GTE0PRE:d.GTE0],"")),R=j=>(W,K,ae,se,Z,z,Q,ee,le,re,me,Ee)=>(P(ae)?K="":P(se)?K=`>=${ae}.0.0${j?"-0":""}`:P(Z)?K=`>=${ae}.${se}.0${j?"-0":""}`:z?K=`>=${K}`:K=`>=${K}${j?"-0":""}`,P(le)?ee="":P(re)?ee=`<${+le+1}.0.0-0`:P(me)?ee=`<${le}.${+re+1}.0-0`:Ee?ee=`<=${le}.${re}.${me}-${Ee}`:j?ee=`<${le}.${re}.${+me+1}-0`:ee=`<=${ee}`,`${K} ${ee}`.trim()),L=(j,W,K)=>{for(let ae=0;ae<j.length;ae++)if(!j[ae].test(W))return!1;if(W.prerelease.length&&!K.includePrerelease){for(let ae=0;ae<j.length;ae++)if(u(j[ae].semver),j[ae].semver!==l.ANY&&j[ae].semver.prerelease.length>0){let se=j[ae].semver;if(se.major===W.major&&se.minor===W.minor&&se.patch===W.patch)return!0}return!1}return!0}}}),ep=be({"../../node_modules/semver/classes/comparator.js"(e,t){var r=Symbol("SemVer ANY"),n=class Zf{static get ANY(){return r}constructor(h,f){if(f=a(f),h instanceof Zf){if(h.loose===!!f.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),u("comparator",h,f),this.options=f,this.loose=!!f.loose,this.parse(h),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(h){let f=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],m=h.match(f);if(!m)throw new TypeError(`Invalid comparator: ${h}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new c(m[2],this.options.loose):this.semver=r}toString(){return this.value}test(h){if(u("Comparator.test",h,this.options.loose),this.semver===r||h===r)return!0;if(typeof h=="string")try{h=new c(h,this.options)}catch{return!1}return l(h,this.operator,this.semver,this.options)}intersects(h,f){if(!(h instanceof Zf))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new p(h.value,f).test(this.value):h.operator===""?h.value===""?!0:new p(this.value,f).test(h.semver):(f=a(f),f.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||l(this.semver,"<",h.semver,f)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||l(this.semver,">",h.semver,f)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}};t.exports=n;var a=$b(),{safeRe:o,t:i}=Ts(),l=d2(),u=Qc(),c=Gt(),p=Nr()}}),tp=be({"../../node_modules/semver/functions/satisfies.js"(e,t){var r=Nr(),n=(a,o,i)=>{try{o=new r(o,i)}catch{return!1}return o.test(a)};t.exports=n}}),aG=be({"../../node_modules/semver/ranges/to-comparators.js"(e,t){var r=Nr(),n=(a,o)=>new r(a,o).set.map(i=>i.map(l=>l.value).join(" ").trim().split(" "));t.exports=n}}),oG=be({"../../node_modules/semver/ranges/max-satisfying.js"(e,t){var r=Gt(),n=Nr(),a=(o,i,l)=>{let u=null,c=null,p=null;try{p=new n(i,l)}catch{return null}return o.forEach(d=>{p.test(d)&&(!u||c.compare(d)===-1)&&(u=d,c=new r(u,l))}),u};t.exports=a}}),iG=be({"../../node_modules/semver/ranges/min-satisfying.js"(e,t){var r=Gt(),n=Nr(),a=(o,i,l)=>{let u=null,c=null,p=null;try{p=new n(i,l)}catch{return null}return o.forEach(d=>{p.test(d)&&(!u||c.compare(d)===1)&&(u=d,c=new r(u,l))}),u};t.exports=a}}),sG=be({"../../node_modules/semver/ranges/min-version.js"(e,t){var r=Gt(),n=Nr(),a=Zc(),o=(i,l)=>{i=new n(i,l);let u=new r("0.0.0");if(i.test(u)||(u=new r("0.0.0-0"),i.test(u)))return u;u=null;for(let c=0;c<i.set.length;++c){let p=i.set[c],d=null;p.forEach(h=>{let f=new r(h.semver.version);switch(h.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!d||a(f,d))&&(d=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${h.operator}`)}}),d&&(!u||a(u,d))&&(u=d)}return u&&i.test(u)?u:null};t.exports=o}}),lG=be({"../../node_modules/semver/ranges/valid.js"(e,t){var r=Nr(),n=(a,o)=>{try{return new r(a,o).range||"*"}catch{return null}};t.exports=n}}),zb=be({"../../node_modules/semver/ranges/outside.js"(e,t){var r=Gt(),n=ep(),{ANY:a}=n,o=Nr(),i=tp(),l=Zc(),u=Vb(),c=Jb(),p=Hb(),d=(h,f,m,y)=>{h=new r(h,y),f=new o(f,y);let g,b,v,D,S;switch(m){case">":g=l,b=c,v=u,D=">",S=">=";break;case"<":g=u,b=p,v=l,D="<",S="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(h,f,y))return!1;for(let P=0;P<f.set.length;++P){let w=f.set[P],E=null,C=null;if(w.forEach(_=>{_.semver===a&&(_=new n(">=0.0.0")),E=E||_,C=C||_,g(_.semver,E.semver,y)?E=_:v(_.semver,C.semver,y)&&(C=_)}),E.operator===D||E.operator===S||(!C.operator||C.operator===D)&&b(h,C.semver)||C.operator===S&&v(h,C.semver))return!1}return!0};t.exports=d}}),uG=be({"../../node_modules/semver/ranges/gtr.js"(e,t){var r=zb(),n=(a,o,i)=>r(a,o,">",i);t.exports=n}}),cG=be({"../../node_modules/semver/ranges/ltr.js"(e,t){var r=zb(),n=(a,o,i)=>r(a,o,"<",i);t.exports=n}}),pG=be({"../../node_modules/semver/ranges/intersects.js"(e,t){var r=Nr(),n=(a,o,i)=>(a=new r(a,i),o=new r(o,i),a.intersects(o,i));t.exports=n}}),dG=be({"../../node_modules/semver/ranges/simplify.js"(e,t){var r=tp(),n=kr();t.exports=(a,o,i)=>{let l=[],u=null,c=null,p=a.sort((m,y)=>n(m,y,i));for(let m of p)r(m,o,i)?(c=m,u||(u=m)):(c&&l.push([u,c]),c=null,u=null);u&&l.push([u,null]);let d=[];for(let[m,y]of l)m===y?d.push(m):!y&&m===p[0]?d.push("*"):y?m===p[0]?d.push(`<=${y}`):d.push(`${m} - ${y}`):d.push(`>=${m}`);let h=d.join(" || "),f=typeof o.raw=="string"?o.raw:String(o);return h.length<f.length?h:o}}}),fG=be({"../../node_modules/semver/ranges/subset.js"(e,t){var r=Nr(),n=ep(),{ANY:a}=n,o=tp(),i=kr(),l=(f,m,y={})=>{if(f===m)return!0;f=new r(f,y),m=new r(m,y);let g=!1;e:for(let b of f.set){for(let v of m.set){let D=p(b,v,y);if(g=g||D!==null,D)continue e}if(g)return!1}return!0},u=[new n(">=0.0.0-0")],c=[new n(">=0.0.0")],p=(f,m,y)=>{if(f===m)return!0;if(f.length===1&&f[0].semver===a){if(m.length===1&&m[0].semver===a)return!0;y.includePrerelease?f=u:f=c}if(m.length===1&&m[0].semver===a){if(y.includePrerelease)return!0;m=c}let g=new Set,b,v;for(let N of f)N.operator===">"||N.operator===">="?b=d(b,N,y):N.operator==="<"||N.operator==="<="?v=h(v,N,y):g.add(N.semver);if(g.size>1)return null;let D;if(b&&v&&(D=i(b.semver,v.semver,y),D>0||D===0&&(b.operator!==">="||v.operator!=="<=")))return null;for(let N of g){if(b&&!o(N,String(b),y)||v&&!o(N,String(v),y))return null;for(let B of m)if(!o(N,String(B),y))return!1;return!0}let S,P,w,E,C=v&&!y.includePrerelease&&v.semver.prerelease.length?v.semver:!1,_=b&&!y.includePrerelease&&b.semver.prerelease.length?b.semver:!1;C&&C.prerelease.length===1&&v.operator==="<"&&C.prerelease[0]===0&&(C=!1);for(let N of m){if(E=E||N.operator===">"||N.operator===">=",w=w||N.operator==="<"||N.operator==="<=",b){if(_&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===_.major&&N.semver.minor===_.minor&&N.semver.patch===_.patch&&(_=!1),N.operator===">"||N.operator===">="){if(S=d(b,N,y),S===N&&S!==b)return!1}else if(b.operator===">="&&!o(b.semver,String(N),y))return!1}if(v){if(C&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===C.major&&N.semver.minor===C.minor&&N.semver.patch===C.patch&&(C=!1),N.operator==="<"||N.operator==="<="){if(P=h(v,N,y),P===N&&P!==v)return!1}else if(v.operator==="<="&&!o(v.semver,String(N),y))return!1}if(!N.operator&&(v||b)&&D!==0)return!1}return!(b&&w&&!v&&D!==0||v&&E&&!b&&D!==0||_||C)},d=(f,m,y)=>{if(!f)return m;let g=i(f.semver,m.semver,y);return g>0?f:g<0||m.operator===">"&&f.operator===">="?m:f},h=(f,m,y)=>{if(!f)return m;let g=i(f.semver,m.semver,y);return g<0?f:g>0||m.operator==="<"&&f.operator==="<="?m:f};t.exports=l}}),hG=be({"../../node_modules/semver/index.js"(e,t){var r=Ts(),n=Xc(),a=Gt(),o=u2(),i=Wo(),l=Hz(),u=Jz(),c=zz(),p=Gz(),d=Wz(),h=Kz(),f=Yz(),m=Xz(),y=kr(),g=Qz(),b=Zz(),v=Ub(),D=eG(),S=tG(),P=Zc(),w=Vb(),E=c2(),C=p2(),_=Hb(),N=Jb(),B=d2(),J=rG(),G=ep(),R=Nr(),L=tp(),j=aG(),W=oG(),K=iG(),ae=sG(),se=lG(),Z=zb(),z=uG(),Q=cG(),ee=pG(),le=dG(),re=fG();t.exports={parse:i,valid:l,clean:u,inc:c,diff:p,major:d,minor:h,patch:f,prerelease:m,compare:y,rcompare:g,compareLoose:b,compareBuild:v,sort:D,rsort:S,gt:P,lt:w,eq:E,neq:C,gte:_,lte:N,cmp:B,coerce:J,Comparator:G,Range:R,satisfies:L,toComparators:j,maxSatisfying:W,minSatisfying:K,minVersion:ae,validRange:se,outside:Z,gtr:z,ltr:Q,intersects:ee,simplifyRange:le,subset:re,SemVer:a,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}}}),mG={};Yc(mG,{applyDecorators:()=>Mb,beforeAll:()=>E2,decorators:()=>b2,mount:()=>g2,parameters:()=>v2,render:()=>h2,renderToCanvas:()=>y2});var pE=Go(hG());function dE(e){globalThis.IS_REACT_ACT_ENVIRONMENT=e}function yG(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var f2=async({disableAct:e=!1}={})=>t=>t(),h2=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return Cr.createElement(n,{...e})},{FRAMEWORK_OPTIONS:Ip}=Vz,gG=class extends Pt.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},fE=Ip!=null&&Ip.strictMode?Pt.StrictMode:Pt.Fragment,eh=[],kp=!1,m2=async()=>{if(kp||eh.length===0)return;kp=!0;let e=eh.shift();e&&await e(),kp=!1,m2()};async function y2({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:a},o){let{renderElement:i,unmountElement:l}=await We(async()=>{const{renderElement:h,unmountElement:f}=await import("./react-18-D4c-_GAk.js").then(m=>m.b);return{renderElement:h,unmountElement:f}},[],import.meta.url),u=t,c=e.parameters.__isPortableStory?Cr.createElement(u,{...e}):Cr.createElement(gG,{key:e.id,showMain:r,showException:n},Cr.createElement(u,{...e})),p=fE?Cr.createElement(fE,null,c):c;a&&l(o);let d=await f2({disableAct:e.viewMode==="docs"});return await new Promise(async(h,f)=>{eh.push(async()=>{try{await d(async()=>{var m,y;await i(p,o,(y=(m=e==null?void 0:e.parameters)==null?void 0:m.react)==null?void 0:y.rootOptions)}),h()}catch(m){f(m)}}),m2()}),async()=>{await d(()=>{l(o)})}}var g2=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),b2=[(e,t)=>{var a,o;if(!((o=(a=t.parameters)==null?void 0:a.react)!=null&&o.rsc))return e();let r=pE.default.major(Pt.version),n=pE.default.minor(Pt.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Pt.createElement(Pt.Suspense,null,e())}],v2={renderer:"react"},E2=async()=>{try{let{configure:e}=await import(__STORYBOOK_MODULE_TEST__),t=await f2();e({unstable_advanceTimersWrapper:r=>t(r),asyncWrapper:async r=>{let n=yG();dE(!1);try{let a=await r();return await new Promise(o=>{setTimeout(()=>{o()},0),bG()&&jest.advanceTimersByTime(0)}),a}finally{dE(n)}},eventWrapper:r=>{let n;return t(()=>(n=r(),n)),n}})}catch{}};function bG(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}const vG=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:Mb,beforeAll:E2,decorators:b2,mount:g2,parameters:v2,render:h2,renderToCanvas:y2},Symbol.toStringTag,{value:"Module"}));var EG=be({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(u){for(var c,p=1,d=arguments.length;p<d;p++){c=arguments[p];for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(u[h]=c[h])}return u},t.apply(this,arguments)},r=e&&e.__spreadArrays||function(){for(var u=0,c=0,p=arguments.length;c<p;c++)u+=arguments[c].length;for(var d=Array(u),h=0,c=0;c<p;c++)for(var f=arguments[c],m=0,y=f.length;m<y;m++,h++)d[h]=f[m];return d};Object.defineProperty(e,"__esModule",{value:!0});var n=[];function a(u){var c=typeof u;return u!==null&&(c==="object"||c==="function")}function o(u){return Object.prototype.toString.call(u)==="[object RegExp]"}function i(u){return Object.getOwnPropertySymbols(u).filter(function(c){return Object.prototype.propertyIsEnumerable.call(u,c)})}function l(u,c,p){p===void 0&&(p="");var d={indent:" ",singleQuotes:!0},h=t(t({},d),c),f;h.inlineCharacterLimit===void 0?f={newLine:`
|
|
1028
|
+
`,newLineOrSpace:`
|
|
1029
|
+
`,pad:p,indent:p+h.indent}:f={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var m=function(b){if(h.inlineCharacterLimit===void 0)return b;var v=b.replace(new RegExp(f.newLine,"g"),"").replace(new RegExp(f.newLineOrSpace,"g")," ").replace(new RegExp(f.pad+"|"+f.indent,"g"),"");return v.length<=h.inlineCharacterLimit?v:b.replace(new RegExp(f.newLine+"|"+f.newLineOrSpace,"g"),`
|
|
1030
|
+
`).replace(new RegExp(f.pad,"g"),p).replace(new RegExp(f.indent,"g"),p+h.indent)};if(n.indexOf(u)!==-1)return'"[Circular]"';if(u==null||typeof u=="number"||typeof u=="boolean"||typeof u=="function"||typeof u=="symbol"||o(u))return String(u);if(u instanceof Date)return"new Date('"+u.toISOString()+"')";if(Array.isArray(u)){if(u.length===0)return"[]";n.push(u);var y="["+f.newLine+u.map(function(b,v){var D=u.length-1===v?f.newLine:","+f.newLineOrSpace,S=l(b,h,p+h.indent);return h.transform&&(S=h.transform(u,v,S)),f.indent+S+D}).join("")+f.pad+"]";return n.pop(),m(y)}if(a(u)){var g=r(Object.keys(u),i(u));if(h.filter&&(g=g.filter(function(v){return h.filter&&h.filter(u,v)})),g.length===0)return"{}";n.push(u);var y="{"+f.newLine+g.map(function(v,D){var S=g.length-1===D?f.newLine:","+f.newLineOrSpace,P=typeof v=="symbol",w=!P&&/^[a-z$_][a-z$_0-9]*$/i.test(v.toString()),E=P||w?v:l(v,h),C=l(u[v],h,p+h.indent);return h.transform&&(C=h.transform(u,v,C)),f.indent+String(E)+": "+C+S}).join("")+f.pad+"}";return n.pop(),m(y)}return u=String(u).replace(/[\r\n]/g,function(b){return b===`
|
|
1031
|
+
`?"\\n":"\\r"}),h.singleQuotes?(u=u.replace(/\\?'/g,"\\'"),"'"+u+"'"):(u=u.replace(/"/g,'\\"'),'"'+u+'"')}e.prettyPrint=l}}),CG=be({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function g(b){if(typeof b=="object"&&b!==null){var v=b.$$typeof;switch(v){case t:switch(b=b.type,b){case n:case o:case a:case p:case d:return b;default:switch(b=b&&b.$$typeof,b){case u:case l:case c:case f:case h:case i:return b;default:return v}}case r:return v}}}e.ContextConsumer=l,e.ContextProvider=i,e.Element=t,e.ForwardRef=c,e.Fragment=n,e.Lazy=f,e.Memo=h,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=p,e.SuspenseList=d,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(b){return g(b)===l},e.isContextProvider=function(b){return g(b)===i},e.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},e.isForwardRef=function(b){return g(b)===c},e.isFragment=function(b){return g(b)===n},e.isLazy=function(b){return g(b)===f},e.isMemo=function(b){return g(b)===h},e.isPortal=function(b){return g(b)===r},e.isProfiler=function(b){return g(b)===o},e.isStrictMode=function(b){return g(b)===a},e.isSuspense=function(b){return g(b)===p},e.isSuspenseList=function(b){return g(b)===d},e.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===o||b===a||b===p||b===d||b===m||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===h||b.$$typeof===i||b.$$typeof===l||b.$$typeof===c||b.$$typeof===y||b.getModuleId!==void 0)},e.typeOf=g}}),wG=be({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(e,t){t.exports=CG()}}),C2=e=>e.$$typeof===Symbol.for("react.memo"),AG=e=>e.$$typeof===Symbol.for("react.forward_ref");function hE(e){return Object.prototype.toString.call(e)==="[object Object]"}function xG(e){var t,r;return hE(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(hE(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var SG=Go(EG()),zr=Go(wG()),vn=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function th(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _G(e){if(Array.isArray(e))return th(e)}function TG(e,t,r){return(t=IG(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PG(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DG(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1032
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function OG(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mE(Object(r),!0).forEach(function(n){TG(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function RG(e){return _G(e)||PG(e)||kG(e)||DG()}function FG(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IG(e){var t=FG(e,"string");return typeof t=="symbol"?t:t+""}function ts(e){"@babel/helpers - typeof";return ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ts(e)}function kG(e,t){if(e){if(typeof e=="string")return th(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?th(e,t):void 0}}function rh(e,t){if(e===null||ts(e)!=="object"||e instanceof Date||e instanceof RegExp)return e;if(Pt.isValidElement(e)){var r=OG({},e);return delete r._owner,r}return t.add(e),Array.isArray(e)?e.map(function(n){return rh(n,t)}):Object.keys(e).sort().reduce(function(n,a){return a==="current"||t.has(e[a])?n[a]="[Circular]":n[a]=rh(e[a],t),n},{})}function NG(e){return rh(e,new WeakSet)}var w2=function(e){return{type:"string",value:e}},BG=function(e){return{type:"number",value:e}},jG=function(e,t,r,n){return{type:"ReactElement",displayName:e,props:t,defaultProps:r,childrens:n}},qG=function(e,t){return{type:"ReactFragment",key:e,childrens:t}},MG=!!Pt.Fragment,A2=function(e){return!e.name||e.name==="_default"?"No Display Name":e.name},nh=function(e){switch(!0){case!!e.displayName:return e.displayName;case e.$$typeof===zr.Memo:return nh(e.type);case e.$$typeof===zr.ForwardRef:return nh(e.render);default:return A2(e)}},LG=function(e){switch(!0){case typeof e.type=="string":return e.type;case typeof e.type=="function":return e.type.displayName?e.type.displayName:A2(e.type);case(0,zr.isForwardRef)(e):case(0,zr.isMemo)(e):return nh(e.type);case(0,zr.isContextConsumer)(e):return"".concat(e.type._context.displayName||"Context",".Consumer");case(0,zr.isContextProvider)(e):return"".concat(e.type._context.displayName||"Context",".Provider");case(0,zr.isLazy)(e):return"Lazy";case(0,zr.isProfiler)(e):return"Profiler";case(0,zr.isStrictMode)(e):return"StrictMode";case(0,zr.isSuspense)(e):return"Suspense";default:return"UnknownElementType"}},yE=function(e,t){return t!=="children"},$G=function(e){return e!==!0&&e!==!1&&e!==null&&e!==""},gE=function(e,t){var r={};return Object.keys(e).filter(function(n){return t(e[n],n)}).forEach(function(n){return r[n]=e[n]}),r},rp=function(e,t){var r=t.displayName,n=r===void 0?LG:r;if(typeof e=="string")return w2(e);if(typeof e=="number")return BG(e);if(!Cr.isValidElement(e))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(ts(e),"`"));var a=n(e),o=gE(e.props,yE);e.ref!==null&&(o.ref=e.ref);var i=e.key;typeof i=="string"&&i.search(/^\./)&&(o.key=i);var l=gE(e.type.defaultProps||{},yE),u=Cr.Children.toArray(e.props.children).filter($G).map(function(c){return rp(c,t)});return MG&&e.type===Pt.Fragment?qG(i,u):jG(a,o,l,u)};function UG(){}var VG=function(e){return e.toString().split(`
|
|
1033
|
+
`).map(function(t){return t.trim()}).join("")},bE=VG,x2=function(e,t){var r=t.functionValue,n=r===void 0?bE:r,a=t.showFunctions;return n(!a&&n===bE?UG:e)},HG=function(e,t,r,n){var a=NG(e),o=(0,SG.prettyPrint)(a,{transform:function(i,l,u){var c=i[l];return c&&Pt.isValidElement(c)?np(rp(c,n),!0,r,n):typeof c=="function"?x2(c,n):u}});return t?o.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):o.replace(/\t/g,vn(1,n.tabStop)).replace(/\n([^$])/g,`
|
|
1034
|
+
`.concat(vn(r+1,n.tabStop),"$1"))},JG=function(e){return e.replace(/"/g,""")},zG=function(e,t,r,n){if(typeof e=="number")return"{".concat(String(e),"}");if(typeof e=="string")return'"'.concat(JG(e),'"');if(ts(e)==="symbol"){var a=e.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return a?"{Symbol('".concat(a,"')}"):"{Symbol()}"}return typeof e=="function"?"{".concat(x2(e,n),"}"):Pt.isValidElement(e)?"{".concat(np(rp(e,n),!0,r,n),"}"):e instanceof Date?isNaN(e.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(e.toISOString(),'")}'):xG(e)||Array.isArray(e)?"{".concat(HG(e,t,r,n),"}"):"{".concat(String(e),"}")},GG=function(e,t,r,n,a,o,i,l){if(!t&&!n)throw new Error('The prop "'.concat(e,'" has no value and no default: could not be formatted'));var u=t?r:a,c=l.useBooleanShorthandSyntax,p=l.tabStop,d=zG(u,o,i,l),h=" ",f=`
|
|
1035
|
+
`.concat(vn(i+1,p)),m=d.includes(`
|
|
1036
|
+
`);return c&&d==="{false}"&&!n?(h="",f=""):c&&d==="{true}"?(h+="".concat(e),f+="".concat(e)):(h+="".concat(e,"=").concat(d),f+="".concat(e,"=").concat(d)),{attributeFormattedInline:h,attributeFormattedMultiline:f,isMultilineAttribute:m}},WG=function(e,t){var r=e.slice(0,e.length>0?e.length-1:0),n=e[e.length-1];return n&&(t.type==="string"||t.type==="number")&&(n.type==="string"||n.type==="number")?r.push(w2(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r},KG=function(e){return["key","ref"].includes(e)},YG=function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),a=t.filter(function(i){return!KG(i)}),o=RG(e?a.sort():a);return n&&o.unshift("ref"),r&&o.unshift("key"),o}};function XG(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var QG=function(e,t,r,n,a){var o=a.tabStop;return e.type==="string"?t.split(`
|
|
1037
|
+
`).map(function(i,l){return l===0?i:"".concat(vn(n,o)).concat(i)}).join(`
|
|
1038
|
+
`):t},ZG=function(e,t,r){return function(n){return QG(n,np(n,e,t,r),e,t,r)}},eW=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},S2=function(e,t,r,n,a){return a?vn(r,n).length+t.length>a:e.length>1},tW=function(e,t,r,n,a,o,i){return(S2(e,t,a,o,i)||r)&&!n},_2=function(e,t,r,n){var a=e.type,o=e.displayName,i=o===void 0?"":o,l=e.childrens,u=e.props,c=u===void 0?{}:u,p=e.defaultProps,d=p===void 0?{}:p;if(a!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(a));var h=n.filterProps,f=n.maxInlineAttributesLineLength,m=n.showDefaultProps,y=n.sortProps,g=n.tabStop,b="<".concat(i),v=b,D=b,S=!1,P=[],w=XG(c,h);Object.keys(c).filter(w).filter(eW(d,c)).forEach(function(_){return P.push(_)}),Object.keys(d).filter(w).filter(function(){return m}).filter(function(_){return!P.includes(_)}).forEach(function(_){return P.push(_)});var E=YG(y)(P);if(E.forEach(function(_){var N=GG(_,Object.keys(c).includes(_),c[_],Object.keys(d).includes(_),d[_],t,r,n),B=N.attributeFormattedInline,J=N.attributeFormattedMultiline,G=N.isMultilineAttribute;G&&(S=!0),v+=B,D+=J}),D+=`
|
|
1039
|
+
`.concat(vn(r,g)),tW(E,v,S,t,r,g,f)?b=D:b=v,l&&l.length>0){var C=r+1;b+=">",t||(b+=`
|
|
1040
|
+
`,b+=vn(C,g)),b+=l.reduce(WG,[]).map(ZG(t,C,n)).join(t?"":`
|
|
1041
|
+
`.concat(vn(C,g))),t||(b+=`
|
|
1042
|
+
`,b+=vn(C-1,g)),b+="</".concat(i,">")}else S2(E,v,r,g,f)||(b+=" "),b+="/>";return b},rW="",vE="React.Fragment",nW=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},aW=function(e){var t=e.key;return!!t},oW=function(e){var t=e.childrens;return t.length===0},iW=function(e,t,r,n){var a=e.type,o=e.key,i=e.childrens;if(a!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(a));var l=n.useFragmentShortSyntax,u;return l?oW(e)||aW(e)?u=vE:u=rW:u=vE,_2(nW(u,o,i),t,r,n)},sW=["<",">","{","}"],lW=function(e){return sW.some(function(t){return e.includes(t)})},uW=function(e){return lW(e)?"{`".concat(e,"`}"):e},cW=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},np=function(e,t,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(cW(uW(String(e.value)))):"";if(e.type==="ReactElement")return _2(e,t,r,n);if(e.type==="ReactFragment")return iW(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},pW=function(e,t){return np(e,!1,0,t)},T2=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,a=t.showDefaultProps,o=a===void 0?!0:a,i=t.showFunctions,l=i===void 0?!1:i,u=t.functionValue,c=t.tabStop,p=c===void 0?2:c,d=t.useBooleanShorthandSyntax,h=d===void 0?!0:d,f=t.useFragmentShortSyntax,m=f===void 0?!0:f,y=t.sortProps,g=y===void 0?!0:y,b=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var D={filterProps:n,showDefaultProps:o,showFunctions:l,functionValue:u,tabStop:p,useBooleanShorthandSyntax:h,useFragmentShortSyntax:m,sortProps:g,maxInlineAttributesLineLength:b,displayName:v};return pW(rp(e,D),D)},dW=Object.create,Gb=Object.defineProperty,fW=Object.getOwnPropertyDescriptor,hW=Object.getOwnPropertyNames,mW=Object.getPrototypeOf,yW=Object.prototype.hasOwnProperty,q=(e,t)=>Gb(e,"name",{value:t,configurable:!0}),gW=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),bW=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of hW(t))!yW.call(e,a)&&a!==r&&Gb(e,a,{get:()=>t[a],enumerable:!(n=fW(t,a))||n.enumerable});return e},vW=(e,t,r)=>(r=e!=null?dW(mW(e)):{},bW(Gb(r,"default",{value:e,enumerable:!0}),e)),EW=gW((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(A){return A.text!==void 0&&A.text!==""?`'${A.type}' with value '${A.text}'`:`'${A.type}'`}q(n,"tokenToString");let a=class P2 extends Error{constructor(I){super(`No parslet found for token: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,P2.prototype)}getToken(){return this.token}};q(a,"NoParsletFoundError");let o=a,i=class D2 extends Error{constructor(I){super(`The parsing ended early. The next token was: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,D2.prototype)}getToken(){return this.token}};q(i,"EarlyEndOfParseError");let l=i,u=class O2 extends Error{constructor(I,H){let ne=`Unexpected type: '${I.type}'.`;H!==void 0&&(ne+=` Message: ${H}`),super(ne),Object.setPrototypeOf(this,O2.prototype)}};q(u,"UnexpectedTypeError");let c=u;function p(A){return I=>I.startsWith(A)?{type:A,text:A}:null}q(p,"makePunctuationRule");function d(A){let I=0,H,ne=A[0],pe=!1;if(ne!=="'"&&ne!=='"')return null;for(;I<A.length;){if(I++,H=A[I],!pe&&H===ne){I++;break}pe=!pe&&H==="\\"}if(H!==ne)throw new Error("Unterminated String");return A.slice(0,I)}q(d,"getQuoted");let h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),f=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function m(A){let I=A[0];if(!h.test(I))return null;let H=1;do{if(I=A[H],!f.test(I))break;H++}while(H<A.length);return A.slice(0,H)}q(m,"getIdentifier");let y=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function g(A){var I,H;return(H=(I=y.exec(A))===null||I===void 0?void 0:I[0])!==null&&H!==void 0?H:null}q(g,"getNumber");let b=q(A=>{let I=m(A);return I==null?null:{type:"Identifier",text:I}},"identifierRule");function v(A){return I=>{if(!I.startsWith(A))return null;let H=I[A.length];return H!==void 0&&f.test(H)?null:{type:A,text:A}}}q(v,"makeKeyWordRule");let D=q(A=>{let I=d(A);return I==null?null:{type:"StringValue",text:I}},"stringValueRule"),S=q(A=>A.length>0?null:{type:"EOF",text:""},"eofRule"),P=q(A=>{let I=g(A);return I===null?null:{type:"Number",text:I}},"numberRule"),w=[S,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),v("undefined"),v("null"),v("function"),v("this"),v("new"),v("module"),v("event"),v("external"),v("typeof"),v("keyof"),v("readonly"),v("import"),v("is"),v("in"),v("asserts"),P,b,D],E=/^\s*\n\s*/,C=class hl{static create(I){let H=this.read(I);I=H.text;let ne=this.read(I);return I=ne.text,new hl(I,void 0,H.token,ne.token)}constructor(I,H,ne,pe){this.text="",this.text=I,this.previous=H,this.current=ne,this.next=pe}static read(I,H=!1){H=H||E.test(I),I=I.trim();for(let ne of w){let pe=ne(I);if(pe!==null){let Ce=Object.assign(Object.assign({},pe),{startOfLine:H});return I=I.slice(Ce.text.length),{text:I,token:Ce}}}throw new Error("Unexpected Token "+I)}advance(){let I=hl.read(this.text);return new hl(I.text,this.current,this.next,I.token)}};q(C,"Lexer");let _=C;function N(A){if(A===void 0)throw new Error("Unexpected undefined");if(A.type==="JsdocTypeKeyValue"||A.type==="JsdocTypeParameterList"||A.type==="JsdocTypeProperty"||A.type==="JsdocTypeReadonlyProperty"||A.type==="JsdocTypeObjectField"||A.type==="JsdocTypeJsdocObjectField"||A.type==="JsdocTypeIndexSignature"||A.type==="JsdocTypeMappedType")throw new c(A);return A}q(N,"assertRootResult");function B(A){return A.type==="JsdocTypeKeyValue"?G(A):N(A)}q(B,"assertPlainKeyValueOrRootResult");function J(A){return A.type==="JsdocTypeName"?A:G(A)}q(J,"assertPlainKeyValueOrNameResult");function G(A){if(A.type!=="JsdocTypeKeyValue")throw new c(A);return A}q(G,"assertPlainKeyValueResult");function R(A){var I;if(A.type==="JsdocTypeVariadic"){if(((I=A.element)===null||I===void 0?void 0:I.type)==="JsdocTypeName")return A;throw new c(A)}if(A.type!=="JsdocTypeNumber"&&A.type!=="JsdocTypeName")throw new c(A);return A}q(R,"assertNumberOrVariadicNameResult");function L(A){return A.type==="JsdocTypeIndexSignature"||A.type==="JsdocTypeMappedType"}q(L,"isSquaredProperty");var j;(function(A){A[A.ALL=0]="ALL",A[A.PARAMETER_LIST=1]="PARAMETER_LIST",A[A.OBJECT=2]="OBJECT",A[A.KEY_VALUE=3]="KEY_VALUE",A[A.INDEX_BRACKETS=4]="INDEX_BRACKETS",A[A.UNION=5]="UNION",A[A.INTERSECTION=6]="INTERSECTION",A[A.PREFIX=7]="PREFIX",A[A.INFIX=8]="INFIX",A[A.TUPLE=9]="TUPLE",A[A.SYMBOL=10]="SYMBOL",A[A.OPTIONAL=11]="OPTIONAL",A[A.NULLABLE=12]="NULLABLE",A[A.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",A[A.FUNCTION=14]="FUNCTION",A[A.ARROW=15]="ARROW",A[A.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",A[A.GENERIC=17]="GENERIC",A[A.NAME_PATH=18]="NAME_PATH",A[A.PARENTHESIS=19]="PARENTHESIS",A[A.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(j||(j={}));let W=class{constructor(I,H,ne){this.grammar=I,typeof H=="string"?this._lexer=_.create(H):this._lexer=H,this.baseParser=ne}get lexer(){return this._lexer}parse(){let I=this.parseType(j.ALL);if(this.lexer.current.type!=="EOF")throw new l(this.lexer.current);return I}parseType(I){return N(this.parseIntermediateType(I))}parseIntermediateType(I){let H=this.tryParslets(null,I);if(H===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(H,I)}parseInfixIntermediateType(I,H){let ne=this.tryParslets(I,H);for(;ne!==null;)I=ne,ne=this.tryParslets(I,H);return I}tryParslets(I,H){for(let ne of this.grammar){let pe=ne(this,H,I);if(pe!==null)return pe}return null}consume(I){return Array.isArray(I)||(I=[I]),I.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(I){this._lexer=I.lexer}};q(W,"Parser");let K=W;function ae(A){return A==="EOF"||A==="|"||A===","||A===")"||A===">"}q(ae,"isQuestionMarkUnknownType");let se=q((A,I,H)=>{let ne=A.lexer.current.type,pe=A.lexer.next.type;return H==null&&ne==="?"&&!ae(pe)||H!=null&&ne==="?"?(A.consume("?"),H==null?{type:"JsdocTypeNullable",element:A.parseType(j.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:N(H),meta:{position:"suffix"}}):null},"nullableParslet");function Z(A){let I=q((H,ne,pe)=>{let Ce=H.lexer.current.type,Re=H.lexer.next.type;if(pe===null){if("parsePrefix"in A&&A.accept(Ce,Re))return A.parsePrefix(H)}else if("parseInfix"in A&&A.precedence>ne&&A.accept(Ce,Re))return A.parseInfix(H,pe);return null},"parslet");return Object.defineProperty(I,"name",{value:A.name}),I}q(Z,"composeParslet");let z=Z({name:"optionalParslet",accept:q(A=>A==="=","accept"),precedence:j.OPTIONAL,parsePrefix:q(A=>(A.consume("="),{type:"JsdocTypeOptional",element:A.parseType(j.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:q((A,I)=>(A.consume("="),{type:"JsdocTypeOptional",element:N(I),meta:{position:"suffix"}}),"parseInfix")}),Q=Z({name:"numberParslet",accept:q(A=>A==="Number","accept"),parsePrefix:q(A=>{let I=parseFloat(A.lexer.current.text);return A.consume("Number"),{type:"JsdocTypeNumber",value:I}},"parsePrefix")}),ee=Z({name:"parenthesisParslet",accept:q(A=>A==="(","accept"),parsePrefix:q(A=>{if(A.consume("("),A.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let I=A.parseIntermediateType(j.ALL);if(!A.consume(")"))throw new Error("Unterminated parenthesis");return I.type==="JsdocTypeParameterList"?I:I.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[I]}:{type:"JsdocTypeParenthesis",element:N(I)}},"parsePrefix")}),le=Z({name:"specialTypesParslet",accept:q((A,I)=>A==="?"&&ae(I)||A==="null"||A==="undefined"||A==="*","accept"),parsePrefix:q(A=>{if(A.consume("null"))return{type:"JsdocTypeNull"};if(A.consume("undefined"))return{type:"JsdocTypeUndefined"};if(A.consume("*"))return{type:"JsdocTypeAny"};if(A.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+A.lexer.current.text)},"parsePrefix")}),re=Z({name:"notNullableParslet",accept:q(A=>A==="!","accept"),precedence:j.NULLABLE,parsePrefix:q(A=>(A.consume("!"),{type:"JsdocTypeNotNullable",element:A.parseType(j.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:q((A,I)=>(A.consume("!"),{type:"JsdocTypeNotNullable",element:N(I),meta:{position:"suffix"}}),"parseInfix")});function me({allowTrailingComma:A}){return Z({name:"parameterListParslet",accept:q(I=>I===",","accept"),precedence:j.PARAMETER_LIST,parseInfix:q((I,H)=>{let ne=[B(H)];I.consume(",");do try{let pe=I.parseIntermediateType(j.PARAMETER_LIST);ne.push(B(pe))}catch(pe){if(A&&pe instanceof o)break;throw pe}while(I.consume(","));if(ne.length>0&&ne.slice(0,-1).some(pe=>pe.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:ne}},"parseInfix")})}q(me,"createParameterListParslet");let Ee=Z({name:"genericParslet",accept:q((A,I)=>A==="<"||A==="."&&I==="<","accept"),precedence:j.GENERIC,parseInfix:q((A,I)=>{let H=A.consume(".");A.consume("<");let ne=[];do ne.push(A.parseType(j.PARAMETER_LIST));while(A.consume(","));if(!A.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:N(I),elements:ne,meta:{brackets:"angle",dot:H}}},"parseInfix")}),it=Z({name:"unionParslet",accept:q(A=>A==="|","accept"),precedence:j.UNION,parseInfix:q((A,I)=>{A.consume("|");let H=[];do H.push(A.parseType(j.UNION));while(A.consume("|"));return{type:"JsdocTypeUnion",elements:[N(I),...H]}},"parseInfix")}),ht=[se,z,Q,ee,le,re,me({allowTrailingComma:!0}),Ee,it,z];function Y({allowSquareBracketsOnAnyType:A,allowJsdocNamePaths:I,pathGrammar:H}){return q(function(ne,pe,Ce){if(Ce==null||pe>=j.NAME_PATH)return null;let Re=ne.lexer.current.type,ct=ne.lexer.next.type;if(!(Re==="."&&ct!=="<"||Re==="["&&(A||Ce.type==="JsdocTypeName")||I&&(Re==="~"||Re==="#")))return null;let yt,qt=!1;ne.consume(".")?yt="property":ne.consume("[")?(yt="property-brackets",qt=!0):ne.consume("~")?yt="inner":(ne.consume("#"),yt="instance");let an=H!==null?new K(H,ne.lexer,ne):ne,_r=an.parseIntermediateType(j.NAME_PATH);ne.acceptLexerState(an);let Yo;switch(_r.type){case"JsdocTypeName":Yo={type:"JsdocTypeProperty",value:_r.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Yo={type:"JsdocTypeProperty",value:_r.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Yo={type:"JsdocTypeProperty",value:_r.value,meta:{quote:_r.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(_r.specialType==="event")Yo=_r;else throw new c(_r,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new c(_r,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(qt&&!ne.consume("]")){let fv=ne.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${fv.type}' with text '${fv.text}'`)}return{type:"JsdocTypeNamePath",left:N(Ce),right:Yo,pathType:yt}},"namePathParslet")}q(Y,"createNamePathParslet");function ce({allowedAdditionalTokens:A}){return Z({name:"nameParslet",accept:q(I=>I==="Identifier"||I==="this"||I==="new"||A.includes(I),"accept"),parsePrefix:q(I=>{let{type:H,text:ne}=I.lexer.current;return I.consume(H),{type:"JsdocTypeName",value:ne}},"parsePrefix")})}q(ce,"createNameParslet");let ye=Z({name:"stringValueParslet",accept:q(A=>A==="StringValue","accept"),parsePrefix:q(A=>{let I=A.lexer.current.text;return A.consume("StringValue"),{type:"JsdocTypeStringValue",value:I.slice(1,-1),meta:{quote:I[0]==="'"?"single":"double"}}},"parsePrefix")});function ge({pathGrammar:A,allowedTypes:I}){return Z({name:"specialNamePathParslet",accept:q(H=>I.includes(H),"accept"),parsePrefix:q(H=>{let ne=H.lexer.current.type;if(H.consume(ne),!H.consume(":"))return{type:"JsdocTypeName",value:ne};let pe,Ce=H.lexer.current;if(H.consume("StringValue"))pe={type:"JsdocTypeSpecialNamePath",value:Ce.text.slice(1,-1),specialType:ne,meta:{quote:Ce.text[0]==="'"?"single":"double"}};else{let yt="",qt=["Identifier","@","/"];for(;qt.some(an=>H.consume(an));)yt+=Ce.text,Ce=H.lexer.current;pe={type:"JsdocTypeSpecialNamePath",value:yt,specialType:ne,meta:{quote:void 0}}}let Re=new K(A,H.lexer,H),ct=Re.parseInfixIntermediateType(pe,j.ALL);return H.acceptLexerState(Re),N(ct)},"parsePrefix")})}q(ge,"createSpecialNamePathParslet");let ve=[ce({allowedAdditionalTokens:["external","module"]}),ye,Q,Y({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],xe=[...ve,ge({allowedTypes:["event"],pathGrammar:ve})];function Se(A){let I;if(A.type==="JsdocTypeParameterList")I=A.elements;else if(A.type==="JsdocTypeParenthesis")I=[A.element];else throw new c(A);return I.map(H=>B(H))}q(Se,"getParameters");function Je(A){let I=Se(A);if(I.some(H=>H.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return I}q(Je,"getUnnamedParameters");function st({allowNamedParameters:A,allowNoReturnType:I,allowWithoutParenthesis:H,allowNewAsFunctionKeyword:ne}){return Z({name:"functionParslet",accept:q((pe,Ce)=>pe==="function"||ne&&pe==="new"&&Ce==="(","accept"),parsePrefix:q(pe=>{let Ce=pe.consume("new");pe.consume("function");let Re=pe.lexer.current.type==="(";if(!Re){if(!H)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ct={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:Ce,parenthesis:Re},yt=pe.parseIntermediateType(j.FUNCTION);if(A===void 0)ct.parameters=Je(yt);else{if(Ce&&yt.type==="JsdocTypeFunction"&&yt.arrow)return ct=yt,ct.constructor=!0,ct;ct.parameters=Se(yt);for(let qt of ct.parameters)if(qt.type==="JsdocTypeKeyValue"&&!A.includes(qt.key))throw new Error(`only allowed named parameters are ${A.join(", ")} but got ${qt.type}`)}if(pe.consume(":"))ct.returnType=pe.parseType(j.PREFIX);else if(!I)throw new Error("function is missing return type");return ct},"parsePrefix")})}q(st,"createFunctionParslet");function Ot({allowPostfix:A,allowEnclosingBrackets:I}){return Z({name:"variadicParslet",accept:q(H=>H==="...","accept"),precedence:j.PREFIX,parsePrefix:q(H=>{H.consume("...");let ne=I&&H.consume("[");try{let pe=H.parseType(j.PREFIX);if(ne&&!H.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:N(pe),meta:{position:"prefix",squareBrackets:ne}}}catch(pe){if(pe instanceof o){if(ne)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw pe}},"parsePrefix"),parseInfix:A?(H,ne)=>(H.consume("..."),{type:"JsdocTypeVariadic",element:N(ne),meta:{position:"suffix",squareBrackets:!1}}):void 0})}q(Ot,"createVariadicParslet");let Wt=Z({name:"symbolParslet",accept:q(A=>A==="(","accept"),precedence:j.SYMBOL,parseInfix:q((A,I)=>{if(I.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");A.consume("(");let H={type:"JsdocTypeSymbol",value:I.value};if(!A.consume(")")){let ne=A.parseIntermediateType(j.SYMBOL);if(H.element=R(ne),!A.consume(")"))throw new Error("Symbol does not end after value")}return H},"parseInfix")}),_t=Z({name:"arrayBracketsParslet",precedence:j.ARRAY_BRACKETS,accept:q((A,I)=>A==="["&&I==="]","accept"),parseInfix:q((A,I)=>(A.consume("["),A.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[N(I)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function Vt({objectFieldGrammar:A,allowKeyTypes:I}){return Z({name:"objectParslet",accept:q(H=>H==="{","accept"),parsePrefix:q(H=>{H.consume("{");let ne={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!H.consume("}")){let pe,Ce=new K(A,H.lexer,H);for(;;){Ce.acceptLexerState(H);let Re=Ce.parseIntermediateType(j.OBJECT);H.acceptLexerState(Ce),Re===void 0&&I&&(Re=H.parseIntermediateType(j.OBJECT));let ct=!1;if(Re.type==="JsdocTypeNullable"&&(ct=!0,Re=Re.element),Re.type==="JsdocTypeNumber"||Re.type==="JsdocTypeName"||Re.type==="JsdocTypeStringValue"){let yt;Re.type==="JsdocTypeStringValue"&&(yt=Re.meta.quote),ne.elements.push({type:"JsdocTypeObjectField",key:Re.value.toString(),right:void 0,optional:ct,readonly:!1,meta:{quote:yt}})}else if(Re.type==="JsdocTypeObjectField"||Re.type==="JsdocTypeJsdocObjectField")ne.elements.push(Re);else throw new c(Re);if(H.lexer.current.startOfLine)pe="linebreak";else if(H.consume(","))pe="comma";else if(H.consume(";"))pe="semicolon";else break;if(H.lexer.current.type==="}")break}if(ne.meta.separator=pe??"comma",!H.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return ne},"parsePrefix")})}q(Vt,"createObjectParslet");function Nt({allowSquaredProperties:A,allowKeyTypes:I,allowReadonly:H,allowOptional:ne}){return Z({name:"objectFieldParslet",precedence:j.KEY_VALUE,accept:q(pe=>pe===":","accept"),parseInfix:q((pe,Ce)=>{var Re;let ct=!1,yt=!1;ne&&Ce.type==="JsdocTypeNullable"&&(ct=!0,Ce=Ce.element),H&&Ce.type==="JsdocTypeReadonlyProperty"&&(yt=!0,Ce=Ce.element);let qt=(Re=pe.baseParser)!==null&&Re!==void 0?Re:pe;if(qt.acceptLexerState(pe),Ce.type==="JsdocTypeNumber"||Ce.type==="JsdocTypeName"||Ce.type==="JsdocTypeStringValue"||L(Ce)){if(L(Ce)&&!A)throw new c(Ce);qt.consume(":");let an;Ce.type==="JsdocTypeStringValue"&&(an=Ce.meta.quote);let _r=qt.parseType(j.KEY_VALUE);return pe.acceptLexerState(qt),{type:"JsdocTypeObjectField",key:L(Ce)?Ce:Ce.value.toString(),right:_r,optional:ct,readonly:yt,meta:{quote:an}}}else{if(!I)throw new c(Ce);qt.consume(":");let an=qt.parseType(j.KEY_VALUE);return pe.acceptLexerState(qt),{type:"JsdocTypeJsdocObjectField",left:N(Ce),right:an}}},"parseInfix")})}q(Nt,"createObjectFieldParslet");function Te({allowOptional:A,allowVariadic:I}){return Z({name:"keyValueParslet",precedence:j.KEY_VALUE,accept:q(H=>H===":","accept"),parseInfix:q((H,ne)=>{let pe=!1,Ce=!1;if(A&&ne.type==="JsdocTypeNullable"&&(pe=!0,ne=ne.element),I&&ne.type==="JsdocTypeVariadic"&&ne.element!==void 0&&(Ce=!0,ne=ne.element),ne.type!=="JsdocTypeName")throw new c(ne);H.consume(":");let Re=H.parseType(j.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:ne.value,right:Re,optional:pe,variadic:Ce}},"parseInfix")})}q(Te,"createKeyValueParslet");let lt=[...ht,st({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ye,ge({allowedTypes:["module","external","event"],pathGrammar:xe}),Ot({allowEnclosingBrackets:!0,allowPostfix:!0}),ce({allowedAdditionalTokens:["keyof"]}),Wt,_t,Y({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:xe})],Ae=[...lt,Vt({objectFieldGrammar:[ce({allowedAdditionalTokens:["module","in"]}),Nt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...lt],allowKeyTypes:!0}),Te({allowOptional:!0,allowVariadic:!0})],ut=Z({name:"typeOfParslet",accept:q(A=>A==="typeof","accept"),parsePrefix:q(A=>(A.consume("typeof"),{type:"JsdocTypeTypeof",element:N(A.parseType(j.KEY_OF_TYPE_OF))}),"parsePrefix")}),Xe=[ce({allowedAdditionalTokens:["module","keyof","event","external","in"]}),se,z,ye,Q,Nt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],ta=[...ht,Vt({allowKeyTypes:!1,objectFieldGrammar:Xe}),ce({allowedAdditionalTokens:["event","external","in"]}),ut,st({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ot({allowEnclosingBrackets:!1,allowPostfix:!1}),ce({allowedAdditionalTokens:["keyof"]}),ge({allowedTypes:["module"],pathGrammar:xe}),Y({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:xe}),Te({allowOptional:!1,allowVariadic:!1}),Wt],ra=Z({name:"assertsParslet",accept:q(A=>A==="asserts","accept"),parsePrefix:q(A=>{A.consume("asserts");let I=A.parseIntermediateType(j.SYMBOL);if(I.type!=="JsdocTypeName")throw new c(I,"A typescript asserts always has to have a name on the left side.");return A.consume("is"),{type:"JsdocTypeAsserts",left:I,right:N(A.parseIntermediateType(j.INFIX))}},"parsePrefix")});function Bt({allowQuestionMark:A}){return Z({name:"tupleParslet",accept:q(I=>I==="[","accept"),parsePrefix:q(I=>{I.consume("[");let H={type:"JsdocTypeTuple",elements:[]};if(I.consume("]"))return H;let ne=I.parseIntermediateType(j.ALL);if(ne.type==="JsdocTypeParameterList"?ne.elements[0].type==="JsdocTypeKeyValue"?H.elements=ne.elements.map(G):H.elements=ne.elements.map(N):ne.type==="JsdocTypeKeyValue"?H.elements=[G(ne)]:H.elements=[N(ne)],!I.consume("]"))throw new Error("Unterminated '['");if(!A&&H.elements.some(pe=>pe.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return H},"parsePrefix")})}q(Bt,"createTupleParslet");let Tn=Z({name:"keyOfParslet",accept:q(A=>A==="keyof","accept"),parsePrefix:q(A=>(A.consume("keyof"),{type:"JsdocTypeKeyof",element:N(A.parseType(j.KEY_OF_TYPE_OF))}),"parsePrefix")}),hr=Z({name:"importParslet",accept:q(A=>A==="import","accept"),parsePrefix:q(A=>{if(A.consume("import"),!A.consume("("))throw new Error("Missing parenthesis after import keyword");let I=A.parseType(j.PREFIX);if(I.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!A.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:I}},"parsePrefix")}),et=Z({name:"readonlyPropertyParslet",accept:q(A=>A==="readonly","accept"),parsePrefix:q(A=>(A.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:A.parseType(j.KEY_VALUE)}),"parsePrefix")}),Pn=Z({name:"arrowFunctionParslet",precedence:j.ARROW,accept:q(A=>A==="=>","accept"),parseInfix:q((A,I)=>(A.consume("=>"),{type:"JsdocTypeFunction",parameters:Se(I).map(J),arrow:!0,constructor:!1,parenthesis:!0,returnType:A.parseType(j.OBJECT)}),"parseInfix")}),na=Z({name:"intersectionParslet",accept:q(A=>A==="&","accept"),precedence:j.INTERSECTION,parseInfix:q((A,I)=>{A.consume("&");let H=[];do H.push(A.parseType(j.INTERSECTION));while(A.consume("&"));return{type:"JsdocTypeIntersection",elements:[N(I),...H]}},"parseInfix")}),Qe=Z({name:"predicateParslet",precedence:j.INFIX,accept:q(A=>A==="is","accept"),parseInfix:q((A,I)=>{if(I.type!=="JsdocTypeName")throw new c(I,"A typescript predicate always has to have a name on the left side.");return A.consume("is"),{type:"JsdocTypePredicate",left:I,right:N(A.parseIntermediateType(j.INFIX))}},"parseInfix")}),wt=Z({name:"objectSquareBracketPropertyParslet",accept:q(A=>A==="[","accept"),parsePrefix:q(A=>{if(A.baseParser===void 0)throw new Error("Only allowed inside object grammar");A.consume("[");let I=A.lexer.current.text;A.consume("Identifier");let H;if(A.consume(":")){let ne=A.baseParser;ne.acceptLexerState(A),H={type:"JsdocTypeIndexSignature",key:I,right:ne.parseType(j.INDEX_BRACKETS)},A.acceptLexerState(ne)}else if(A.consume("in")){let ne=A.baseParser;ne.acceptLexerState(A),H={type:"JsdocTypeMappedType",key:I,right:ne.parseType(j.ARRAY_BRACKETS)},A.acceptLexerState(ne)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!A.consume("]"))throw new Error("Unterminated square brackets");return H},"parsePrefix")}),Sr=[et,ce({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),se,z,ye,Q,Nt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),wt],Br=[...ht,Vt({allowKeyTypes:!1,objectFieldGrammar:Sr}),ut,Tn,hr,ye,st({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Bt({allowQuestionMark:!1}),Ot({allowEnclosingBrackets:!1,allowPostfix:!1}),ra,ce({allowedAdditionalTokens:["event","external","in"]}),ge({allowedTypes:["module"],pathGrammar:xe}),_t,Pn,Y({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:xe}),na,Qe,Te({allowVariadic:!0,allowOptional:!0})];function jr(A,I){switch(I){case"closure":return new K(ta,A).parse();case"jsdoc":return new K(Ae,A).parse();case"typescript":return new K(Br,A).parse()}}q(jr,"parse");function Dn(A,I=["typescript","closure","jsdoc"]){let H;for(let ne of I)try{return jr(A,ne)}catch(pe){H=pe}throw H}q(Dn,"tryParse");function mr(A,I){let H=A[I.type];if(H===void 0)throw new Error(`In this set of transform rules exists no rule for type ${I.type}.`);return H(I,ne=>mr(A,ne))}q(mr,"transform");function x(A){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}q(x,"notAvailableTransform");function k(A){let I={params:[]};for(let H of A.parameters)H.type==="JsdocTypeKeyValue"?H.key==="this"?I.this=H.right:H.key==="new"?I.new=H.right:I.params.push(H):I.params.push(H);return I}q(k,"extractSpecialParams");function F(A,I,H){return A==="prefix"?H+I:I+H}q(F,"applyPosition");function T(A,I){switch(I){case"double":return`"${A}"`;case"single":return`'${A}'`;case void 0:return A}}q(T,"quote");function $(){return{JsdocTypeParenthesis:q((A,I)=>`(${A.element!==void 0?I(A.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:q((A,I)=>`keyof ${I(A.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:q((A,I)=>{if(A.arrow){if(A.returnType===void 0)throw new Error("Arrow function needs a return type.");let H=`(${A.parameters.map(I).join(", ")}) => ${I(A.returnType)}`;return A.constructor&&(H="new "+H),H}else{let H=A.constructor?"new":"function";return A.parenthesis&&(H+=`(${A.parameters.map(I).join(", ")})`,A.returnType!==void 0&&(H+=`: ${I(A.returnType)}`)),H}},"JsdocTypeFunction"),JsdocTypeName:q(A=>A.value,"JsdocTypeName"),JsdocTypeTuple:q((A,I)=>`[${A.elements.map(I).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:q((A,I)=>A.meta.position===void 0?"...":F(A.meta.position,I(A.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:q((A,I)=>{let H=I(A.left),ne=I(A.right);switch(A.pathType){case"inner":return`${H}~${ne}`;case"instance":return`${H}#${ne}`;case"property":return`${H}.${ne}`;case"property-brackets":return`${H}[${ne}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:q(A=>T(A.value,A.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:q(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:q((A,I)=>{if(A.meta.brackets==="square"){let H=A.elements[0],ne=I(H);return H.type==="JsdocTypeUnion"||H.type==="JsdocTypeIntersection"?`(${ne})[]`:`${ne}[]`}else return`${I(A.left)}${A.meta.dot?".":""}<${A.elements.map(I).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:q((A,I)=>`import(${I(A.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:q((A,I)=>{let H="";return A.readonly&&(H+="readonly "),typeof A.key=="string"?H+=T(A.key,A.meta.quote):H+=I(A.key),A.optional&&(H+="?"),A.right===void 0?H:H+`: ${I(A.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((A,I)=>`${I(A.left)}: ${I(A.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((A,I)=>{let H=A.key;return A.optional&&(H+="?"),A.variadic&&(H="..."+H),A.right===void 0?H:H+`: ${I(A.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:q(A=>`${A.specialType}:${T(A.value,A.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:q((A,I)=>F(A.meta.position,I(A.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:q(()=>"null","JsdocTypeNull"),JsdocTypeNullable:q((A,I)=>F(A.meta.position,I(A.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:q(A=>A.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:q((A,I)=>`{${A.elements.map(I).join((A.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:q((A,I)=>F(A.meta.position,I(A.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:q((A,I)=>`${A.value}(${A.element!==void 0?I(A.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:q((A,I)=>`typeof ${I(A.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:q(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:q((A,I)=>A.elements.map(I).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:q(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:q((A,I)=>A.elements.map(I).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:q(A=>T(A.value,A.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:q((A,I)=>`${I(A.left)} is ${I(A.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:q((A,I)=>`[${A.key}: ${I(A.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:q((A,I)=>`[${A.key} in ${I(A.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:q((A,I)=>`asserts ${I(A.left)} is ${I(A.right)}`,"JsdocTypeAsserts")}}q($,"stringifyRules");let oe=$();function ie(A){return mr(oe,A)}q(ie,"stringify");let ue=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function he(A){let I={type:"NameExpression",name:A};return ue.includes(A)&&(I.reservedWord=!0),I}q(he,"makeName");let Ne={JsdocTypeOptional:q((A,I)=>{let H=I(A.element);return H.optional=!0,H},"JsdocTypeOptional"),JsdocTypeNullable:q((A,I)=>{let H=I(A.element);return H.nullable=!0,H},"JsdocTypeNullable"),JsdocTypeNotNullable:q((A,I)=>{let H=I(A.element);return H.nullable=!1,H},"JsdocTypeNotNullable"),JsdocTypeVariadic:q((A,I)=>{if(A.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let H=I(A.element);return H.repeatable=!0,H},"JsdocTypeVariadic"),JsdocTypeAny:q(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:q(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:q(A=>he(T(A.value,A.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:q(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:q(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:q((A,I)=>{let H=k(A),ne={type:"FunctionType",params:H.params.map(I)};return H.this!==void 0&&(ne.this=I(H.this)),H.new!==void 0&&(ne.new=I(H.new)),A.returnType!==void 0&&(ne.result=I(A.returnType)),ne},"JsdocTypeFunction"),JsdocTypeGeneric:q((A,I)=>({type:"TypeApplication",applications:A.elements.map(H=>I(H)),expression:I(A.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:q(A=>he(A.specialType+":"+T(A.value,A.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:q(A=>A.value!=="function"?he(A.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:q(A=>he(A.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:q((A,I)=>{let H={type:"RecordType",fields:[]};for(let ne of A.elements)ne.type!=="JsdocTypeObjectField"&&ne.type!=="JsdocTypeJsdocObjectField"?H.fields.push({type:"FieldType",key:I(ne),value:void 0}):H.fields.push(I(ne));return H},"JsdocTypeObject"),JsdocTypeObjectField:q((A,I)=>{if(typeof A.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:he(T(A.key,A.meta.quote)),value:A.right===void 0?void 0:I(A.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((A,I)=>({type:"FieldType",key:I(A.left),value:I(A.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:q((A,I)=>({type:"TypeUnion",elements:A.elements.map(H=>I(H))}),"JsdocTypeUnion"),JsdocTypeKeyValue:q((A,I)=>({type:"FieldType",key:he(A.key),value:A.right===void 0?void 0:I(A.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:q((A,I)=>{let H=I(A.left),ne;A.right.type==="JsdocTypeSpecialNamePath"?ne=I(A.right).name:ne=T(A.right.value,A.right.meta.quote);let pe=A.pathType==="inner"?"~":A.pathType==="instance"?"#":".";return he(`${H.name}${pe}${ne}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:q(A=>{let I="",H=A.element,ne=!1;return(H==null?void 0:H.type)==="JsdocTypeVariadic"&&(H.meta.position==="prefix"?I="...":ne=!0,H=H.element),(H==null?void 0:H.type)==="JsdocTypeName"?I+=H.value:(H==null?void 0:H.type)==="JsdocTypeNumber"&&(I+=H.value.toString()),ne&&(I+="..."),he(`${A.value}(${I})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:q((A,I)=>I(N(A.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:x,JsdocTypeIndexSignature:x,JsdocTypeImport:x,JsdocTypeKeyof:x,JsdocTypeTuple:x,JsdocTypeTypeof:x,JsdocTypeIntersection:x,JsdocTypeProperty:x,JsdocTypePredicate:x,JsdocTypeAsserts:x};function mt(A){return mr(Ne,A)}q(mt,"catharsisTransform");function jt(A){switch(A){case void 0:return"none";case"single":return"single";case"double":return"double"}}q(jt,"getQuoteStyle");function nn(A){switch(A){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}q(nn,"getMemberType");function aa(A,I){return I.length===2?{type:A,left:I[0],right:I[1]}:{type:A,left:I[0],right:aa(A,I.slice(1))}}q(aa,"nestResults");let Fs={JsdocTypeOptional:q((A,I)=>({type:"OPTIONAL",value:I(A.element),meta:{syntax:A.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:q((A,I)=>({type:"NULLABLE",value:I(A.element),meta:{syntax:A.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:q((A,I)=>({type:"NOT_NULLABLE",value:I(A.element),meta:{syntax:A.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:q((A,I)=>{let H={type:"VARIADIC",meta:{syntax:A.meta.position==="prefix"?"PREFIX_DOTS":A.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return A.element!==void 0&&(H.value=I(A.element)),H},"JsdocTypeVariadic"),JsdocTypeName:q(A=>({type:"NAME",name:A.value}),"JsdocTypeName"),JsdocTypeTypeof:q((A,I)=>({type:"TYPE_QUERY",name:I(A.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:q((A,I)=>({type:"TUPLE",entries:A.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeKeyof:q((A,I)=>({type:"KEY_QUERY",value:I(A.element)}),"JsdocTypeKeyof"),JsdocTypeImport:q(A=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:jt(A.element.meta.quote),string:A.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:q(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:q(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:q((A,I)=>{let H=k(A),ne={type:A.arrow?"ARROW":"FUNCTION",params:H.params.map(pe=>{if(pe.type==="JsdocTypeKeyValue"){if(pe.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:pe.key,typeName:I(pe.right)}}else return I(pe)}),new:null,returns:null};return H.this!==void 0?ne.this=I(H.this):A.arrow||(ne.this=null),H.new!==void 0&&(ne.new=I(H.new)),A.returnType!==void 0&&(ne.returns=I(A.returnType)),ne},"JsdocTypeFunction"),JsdocTypeGeneric:q((A,I)=>{let H={type:"GENERIC",subject:I(A.left),objects:A.elements.map(I),meta:{syntax:A.meta.brackets==="square"?"SQUARE_BRACKET":A.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return A.meta.brackets==="square"&&A.elements[0].type==="JsdocTypeFunction"&&!A.elements[0].parenthesis&&(H.objects[0]={type:"NAME",name:"function"}),H},"JsdocTypeGeneric"),JsdocTypeObjectField:q((A,I)=>{if(typeof A.key!="string")throw new Error("Index signatures and mapped types are not supported");if(A.right===void 0)return{type:"RECORD_ENTRY",key:A.key,quoteStyle:jt(A.meta.quote),value:null,readonly:!1};let H=I(A.right);return A.optional&&(H={type:"OPTIONAL",value:H,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:A.key.toString(),quoteStyle:jt(A.meta.quote),value:H,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((A,I)=>{if(A.right===void 0)return{type:"RECORD_ENTRY",key:A.key,quoteStyle:"none",value:null,readonly:!1};let H=I(A.right);return A.optional&&(H={type:"OPTIONAL",value:H,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:A.key,quoteStyle:"none",value:H,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:q((A,I)=>{let H=[];for(let ne of A.elements)(ne.type==="JsdocTypeObjectField"||ne.type==="JsdocTypeJsdocObjectField")&&H.push(I(ne));return{type:"RECORD",entries:H}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:q(A=>{if(A.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${A.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:jt(A.meta.quote),path:A.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:q((A,I)=>{let H=!1,ne,pe;A.right.type==="JsdocTypeSpecialNamePath"&&A.right.specialType==="event"?(H=!0,ne=A.right.value,pe=jt(A.right.meta.quote)):(ne=A.right.value,pe=jt(A.right.meta.quote));let Ce={type:nn(A.pathType),owner:I(A.left),name:ne,quoteStyle:pe,hasEventPrefix:H};if(Ce.owner.type==="MODULE"){let Re=Ce.owner;return Ce.owner=Ce.owner.value,Re.value=Ce,Re}else return Ce},"JsdocTypeNamePath"),JsdocTypeUnion:q((A,I)=>aa("UNION",A.elements.map(I)),"JsdocTypeUnion"),JsdocTypeParenthesis:q((A,I)=>({type:"PARENTHESIS",value:I(N(A.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:q(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:q(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:q(A=>({type:"STRING_VALUE",quoteStyle:jt(A.meta.quote),string:A.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:q((A,I)=>aa("INTERSECTION",A.elements.map(I)),"JsdocTypeIntersection"),JsdocTypeNumber:q(A=>({type:"NUMBER_VALUE",number:A.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:x,JsdocTypeProperty:x,JsdocTypePredicate:x,JsdocTypeMappedType:x,JsdocTypeIndexSignature:x,JsdocTypeAsserts:x};function er(A){return mr(Fs,A)}q(er,"jtpTransform");function cv(){return{JsdocTypeIntersection:q((A,I)=>({type:"JsdocTypeIntersection",elements:A.elements.map(I)}),"JsdocTypeIntersection"),JsdocTypeGeneric:q((A,I)=>({type:"JsdocTypeGeneric",left:I(A.left),elements:A.elements.map(I),meta:{dot:A.meta.dot,brackets:A.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:q(A=>A,"JsdocTypeNullable"),JsdocTypeUnion:q((A,I)=>({type:"JsdocTypeUnion",elements:A.elements.map(I)}),"JsdocTypeUnion"),JsdocTypeUnknown:q(A=>A,"JsdocTypeUnknown"),JsdocTypeUndefined:q(A=>A,"JsdocTypeUndefined"),JsdocTypeTypeof:q((A,I)=>({type:"JsdocTypeTypeof",element:I(A.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:q((A,I)=>{let H={type:"JsdocTypeSymbol",value:A.value};return A.element!==void 0&&(H.element=I(A.element)),H},"JsdocTypeSymbol"),JsdocTypeOptional:q((A,I)=>({type:"JsdocTypeOptional",element:I(A.element),meta:{position:A.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:q((A,I)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:A.elements.map(I)}),"JsdocTypeObject"),JsdocTypeNumber:q(A=>A,"JsdocTypeNumber"),JsdocTypeNull:q(A=>A,"JsdocTypeNull"),JsdocTypeNotNullable:q((A,I)=>({type:"JsdocTypeNotNullable",element:I(A.element),meta:{position:A.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:q(A=>A,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:q((A,I)=>({type:"JsdocTypeObjectField",key:A.key,right:A.right===void 0?void 0:I(A.right),optional:A.optional,readonly:A.readonly,meta:A.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:q((A,I)=>({type:"JsdocTypeJsdocObjectField",left:I(A.left),right:I(A.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:q((A,I)=>({type:"JsdocTypeKeyValue",key:A.key,right:A.right===void 0?void 0:I(A.right),optional:A.optional,variadic:A.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:q((A,I)=>({type:"JsdocTypeImport",element:I(A.element)}),"JsdocTypeImport"),JsdocTypeAny:q(A=>A,"JsdocTypeAny"),JsdocTypeStringValue:q(A=>A,"JsdocTypeStringValue"),JsdocTypeNamePath:q(A=>A,"JsdocTypeNamePath"),JsdocTypeVariadic:q((A,I)=>{let H={type:"JsdocTypeVariadic",meta:{position:A.meta.position,squareBrackets:A.meta.squareBrackets}};return A.element!==void 0&&(H.element=I(A.element)),H},"JsdocTypeVariadic"),JsdocTypeTuple:q((A,I)=>({type:"JsdocTypeTuple",elements:A.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeName:q(A=>A,"JsdocTypeName"),JsdocTypeFunction:q((A,I)=>{let H={type:"JsdocTypeFunction",arrow:A.arrow,parameters:A.parameters.map(I),constructor:A.constructor,parenthesis:A.parenthesis};return A.returnType!==void 0&&(H.returnType=I(A.returnType)),H},"JsdocTypeFunction"),JsdocTypeKeyof:q((A,I)=>({type:"JsdocTypeKeyof",element:I(A.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:q((A,I)=>({type:"JsdocTypeParenthesis",element:I(A.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:q(A=>A,"JsdocTypeProperty"),JsdocTypePredicate:q((A,I)=>({type:"JsdocTypePredicate",left:I(A.left),right:I(A.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:q((A,I)=>({type:"JsdocTypeIndexSignature",key:A.key,right:I(A.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:q((A,I)=>({type:"JsdocTypeMappedType",key:A.key,right:I(A.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:q((A,I)=>({type:"JsdocTypeAsserts",left:I(A.left),right:I(A.right)}),"JsdocTypeAsserts")}}q(cv,"identityTransformRules");let pv={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Is(A,I,H,ne,pe){ne==null||ne(A,I,H);let Ce=pv[A.type];for(let Re of Ce){let ct=A[Re];if(ct!==void 0)if(Array.isArray(ct))for(let yt of ct)Is(yt,A,Re,ne,pe);else Is(ct,A,Re,ne,pe)}pe==null||pe(A,I,H)}q(Is,"_traverse");function dv(A,I,H){Is(A,void 0,void 0,I,H)}q(dv,"traverse"),r.catharsisTransform=mt,r.identityTransformRules=cv,r.jtpTransform=er,r.parse=jr,r.stringify=ie,r.stringifyRules=$,r.transform=mr,r.traverse=dv,r.tryParse=Dn,r.visitorKeys=pv})});const{UnknownArgTypesError:CW}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var wW=q(e=>e.name==="literal","isLiteral"),AW=q(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),xW=q(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Pi(r.value)}),{name:"object",value:t};default:throw new CW({type:e,language:"Flow"})}},"convertSig"),Pi=q(e=>{var a,o,i,l;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Pi)};case"signature":return{...n,...xW(e)};case"union":return(a=e.elements)!=null&&a.every(wW)?{...n,name:"enum",value:(o=e.elements)==null?void 0:o.map(AW)}:{...n,name:t,value:(i=e.elements)==null?void 0:i.map(Pi)};case"intersection":return{...n,name:t,value:(l=e.elements)==null?void 0:l.map(Pi)};default:return{...n,name:"other",value:t}}},"convert");function ml(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}q(ml,"isPlainObject");function R2(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];r[o]=t(i,o,e)}return r}q(R2,"mapValues");var F2=/^['"]|['"]$/g,SW=q(e=>e.replace(F2,""),"trimQuotes"),_W=q(e=>F2.test(e),"includesQuotes"),I2=q(e=>{let t=SW(e);return _W(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),TW=/^\(.*\) => /,hi=q(e=>{let{name:t,raw:r,computed:n,value:a}=e,o={};switch(typeof r<"u"&&(o.raw=r),t){case"enum":{let l=n?a:a.map(u=>I2(u.value));return{...o,name:t,value:l}}case"string":case"number":case"symbol":return{...o,name:t};case"func":return{...o,name:"function"};case"bool":case"boolean":return{...o,name:"boolean"};case"arrayOf":case"array":return{...o,name:"array",value:a&&hi(a)};case"object":return{...o,name:t};case"objectOf":return{...o,name:t,value:hi(a)};case"shape":case"exact":let i=R2(a,l=>hi(l));return{...o,name:"object",value:i};case"union":return{...o,name:"union",value:a.map(l=>hi(l))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let c=t.split("|").map(p=>JSON.parse(p));return{...o,name:"enum",value:c}}catch{}let l=a?`${t}(${a})`:t,u=TW.test(t)?"function":"other";return{...o,name:u,value:l}}}},"convert");const{UnknownArgTypesError:PW}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var DW=q(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Di(r.value)}),{name:"object",value:t};default:throw new PW({type:e,language:"Typescript"})}},"convertSig"),Di=q(e=>{var a,o,i,l;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Di)};case"signature":return{...n,...DW(e)};case"union":let u;return(a=e.elements)!=null&&a.every(c=>c.name==="literal")?u={...n,name:"enum",value:(o=e.elements)==null?void 0:o.map(c=>I2(c.value))}:u={...n,name:t,value:(i=e.elements)==null?void 0:i.map(Di)},u;case"intersection":return{...n,name:t,value:(l=e.elements)==null?void 0:l.map(Di)};default:return{...n,name:"other",value:t}}},"convert"),Wb=q(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return hi(t);if(r!=null)return Di(r);if(n!=null)return Pi(n)}catch(a){console.error(a)}return null},"convert"),ah=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(ah||{}),OW=["null","undefined"];function ap(e){return OW.some(t=>t===e)}q(ap,"isDefaultValueBlacklisted");var RW=q(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function op(e){return!!e.__docgenInfo}q(op,"hasDocgen");function k2(e){return e!=null&&Object.keys(e).length>0}q(k2,"isValidDocgenSection");function hu(e,t){return op(e)?e.__docgenInfo[t]:null}q(hu,"getDocgenSection");function N2(e){return op(e)?RW(e.__docgenInfo.description):""}q(N2,"getDocgenDescription");var Vn;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Vn=Vn||(Vn={}));function B2(e){return/^\s+$/.test(e)}q(B2,"isSpace");function j2(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}q(j2,"splitCR");function Ea(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}q(Ea,"splitSpace");function q2(e){return e.split(/\n/)}q(q2,"splitLines");function M2(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}q(M2,"seedSpec");function L2(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}q(L2,"seedTokens");var FW=/^@\S+/;function $2({fence:e="```"}={}){let t=U2(e),r=q((n,a)=>t(n)?!a:a,"toggleFence");return q(function(n){let a=[[]],o=!1;for(let i of n)FW.test(i.tokens.description)&&!o?a.push([i]):a[a.length-1].push(i),o=r(i.tokens.description,o);return a},"parseBlock")}q($2,"getParser");function U2(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}q(U2,"getFencer");function V2({startLine:e=0,markers:t=Vn}={}){let r=null,n=e;return q(function(a){let o=a,i=L2();if([i.lineEnd,o]=j2(o),[i.start,o]=Ea(o),r===null&&o.startsWith(t.start)&&!o.startsWith(t.nostart)&&(r=[],i.delimiter=o.slice(0,t.start.length),o=o.slice(t.start.length),[i.postDelimiter,o]=Ea(o)),r===null)return n++,null;let l=o.trimRight().endsWith(t.end);if(i.delimiter===""&&o.startsWith(t.delim)&&!o.startsWith(t.end)&&(i.delimiter=t.delim,o=o.slice(t.delim.length),[i.postDelimiter,o]=Ea(o)),l){let u=o.trimRight();i.end=o.slice(u.length-t.end.length),o=u.slice(0,-t.end.length)}if(i.description=o,r.push({number:n,source:a,tokens:i}),n++,l){let u=r.slice();return r=null,u}return null},"parseSource")}q(V2,"getParser");function H2({tokenizers:e}){return q(function(t){var r;let n=M2({source:t});for(let a of e)if(n=a(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}q(H2,"getParser");function J2(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}q(J2,"tagTokenizer");function z2(e="compact"){let t=G2(e);return r=>{let n=0,a=[];for(let[l,{tokens:u}]of r.source.entries()){let c="";if(l===0&&u.description[0]!=="{")return r;for(let p of u.description)if(p==="{"&&n++,p==="}"&&n--,c+=p,n===0)break;if(a.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let o=[],i=a[0][0].postDelimiter.length;for(let[l,[u,c]]of a.entries())u.type=c,l>0&&(u.type=u.postDelimiter.slice(i)+c,u.postDelimiter=u.postDelimiter.slice(0,i)),[u.postType,u.description]=Ea(u.description.slice(c.length)),o.push(u.type);return o[0]=o[0].slice(1),o[o.length-1]=o[o.length-1].slice(0,-1),r.type=t(o),r}}q(z2,"typeTokenizer");var IW=q(e=>e.trim(),"trim");function G2(e){return e==="compact"?t=>t.map(IW).join(""):e==="preserve"?t=>t.join(`
|
|
1043
|
+
`):e}q(G2,"getJoiner");var kW=q(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function W2(){let e=q((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),a=n.split('"');if(a.length>1&&a[0]===""&&a.length%2===1)return t.name=a[1],r.name=`"${a[1]}"`,[r.postName,r.description]=Ea(n.slice(r.name.length)),t;let o=0,i="",l=!1,u;for(let p of n){if(o===0&&B2(p))break;p==="["&&o++,p==="]"&&o--,i+=p}if(o!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=i;if(i[0]==="["&&i[i.length-1]==="]"){l=!0,i=i.slice(1,-1);let p=i.split("=");if(i=p[0].trim(),p[1]!==void 0&&(u=p.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!kW(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=i,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=Ea(n.slice(r.name.length)),t}}q(W2,"nameTokenizer");function K2(e="compact",t=Vn){let r=Kb(e);return n=>(n.description=r(n.source,t),n)}q(K2,"descriptionTokenizer");function Kb(e){return e==="compact"?Y2:e==="preserve"?X2:e}q(Kb,"getJoiner");function Y2(e,t=Vn){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}q(Y2,"compactJoiner");var NW=q((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),BW=q(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function X2(e,t=Vn){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(NW,0)),e.map(BW).join(`
|
|
1044
|
+
`)}q(X2,"preserveJoiner");function Q2({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Vn,tokenizers:a=[J2(),z2(r),W2(),K2(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let o=V2({startLine:e,markers:n}),i=$2({fence:t}),l=H2({tokenizers:a}),u=Kb(r);return function(c){let p=[];for(let d of q2(c)){let h=o(d);if(h===null)continue;let f=i(h),m=f.slice(1).map(l);p.push({description:u(f[0],n),tags:m,source:h,problems:m.reduce((y,g)=>y.concat(g.problems),[])})}return p}}q(Q2,"getParser");function Z2(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}q(Z2,"join");function jW(){return e=>e.source.map(({tokens:t})=>Z2(t)).join(`
|
|
1045
|
+
`)}q(jW,"getStringifier");function ek(e,t={}){return Q2(t)(e)}q(ek,"parse");var Yb=vW(EW());function tk(e){return e!=null&&e.includes("@")}q(tk,"containsJsDoc");function rk(e){let t=`/**
|
|
1046
|
+
`+(e??"").split(`
|
|
1047
|
+
`).map(n=>` * ${n}`).join(`
|
|
1048
|
+
`)+`
|
|
1049
|
+
*/`,r=ek(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}q(rk,"parse");var qW={tags:["param","arg","argument","returns","ignore","deprecated"]},MW=q((e,t=qW)=>{if(!tk(e))return{includesJsDoc:!1,ignore:!1};let r=rk(e),n=nk(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function nk(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let a=ok(n);a!=null&&(r.params==null&&(r.params=[]),r.params.push(a));break}case"deprecated":{let a=ik(n);a!=null&&(r.deprecated=a);break}case"returns":{let a=sk(n);a!=null&&(r.returns=a);break}}return r}q(nk,"extractJsDocTags");function ak(e){return e.replace(/[\.-]$/,"")}q(ak,"normaliseParamName");function ok(e){if(!e.name||e.name==="-")return null;let t=Zb(e.type);return{name:e.name,type:t,description:Qb(e.description),getPrettyName:q(()=>ak(e.name),"getPrettyName"),getTypeName:q(()=>t?ev(t):null,"getTypeName")}}q(ok,"extractParam");function ik(e){return e.name?Xb(e.name,e.description):null}q(ik,"extractDeprecated");function Xb(e,t){let r=e===""?t:`${e} ${t}`;return Qb(r)}q(Xb,"joinNameAndDescription");function Qb(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}q(Qb,"normaliseDescription");function sk(e){let t=Zb(e.type);return t?{type:t,description:Xb(e.name,e.description),getTypeName:q(()=>ev(t),"getTypeName")}:null}q(sk,"extractReturns");var ea=(0,Yb.stringifyRules)(),LW=ea.JsdocTypeObject;ea.JsdocTypeAny=()=>"any";ea.JsdocTypeObject=(e,t)=>`(${LW(e,t)})`;ea.JsdocTypeOptional=(e,t)=>t(e.element);ea.JsdocTypeNullable=(e,t)=>t(e.element);ea.JsdocTypeNotNullable=(e,t)=>t(e.element);ea.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Zb(e){try{return(0,Yb.parse)(e,"typescript")}catch{return null}}q(Zb,"extractType");function ev(e){return(0,Yb.transform)(ea,e)}q(ev,"extractTypeName");function ip(e){return e.length>90}q(ip,"isTooLongForTypeSummary");function Ma(e){return e.length>50}q(Ma,"isTooLongForDefaultValueSummary");function _e(e,t){return e===t?{summary:e}:{summary:e,detail:t}}q(_e,"createSummaryValue");function lk(e,t){if(e!=null){let{value:r}=e;if(!ap(r))return Ma(r)?_e(t==null?void 0:t.name,r):_e(r)}return null}q(lk,"createDefaultValue");function tv({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(tv).join(" | "):n??e)}q(tv,"generateUnionElement");function uk({name:e,raw:t,elements:r}){return r!=null?_e(r.map(tv).join(" | ")):t!=null?_e(t.replace(/^\|\s*/,"")):_e(e)}q(uk,"generateUnion");function ck({type:e,raw:t}){return t!=null?_e(t):_e(e)}q(ck,"generateFuncSignature");function pk({type:e,raw:t}){return t!=null?ip(t)?_e(e,t):_e(t):_e(e)}q(pk,"generateObjectSignature");function dk(e){let{type:t}=e;return t==="object"?pk(e):ck(e)}q(dk,"generateSignature");function fk({name:e,raw:t}){return t!=null?ip(t)?_e(e,t):_e(t):_e(e)}q(fk,"generateDefault");function hk(e){if(e==null)return null;switch(e.name){case"union":return uk(e);case"signature":return dk(e);default:return fk(e)}}q(hk,"createType");var $W=q((e,t)=>{let{flowType:r,description:n,required:a,defaultValue:o}=t;return{name:e,type:hk(r),required:a,description:n,defaultValue:lk(o??null,r??null)}},"createFlowPropDef");function mk({defaultValue:e}){if(e!=null){let{value:t}=e;if(!ap(t))return _e(t)}return null}q(mk,"createDefaultValue");function yk({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),_e(["Array","Record","signature"].includes(e.name)?e.raw:r)}q(yk,"createType");var UW=q((e,t)=>{let{description:r,required:n}=t;return{name:e,type:yk(t),required:n,description:r,defaultValue:mk(t)}},"createTsPropDef");function gk(e){return e!=null?_e(e.name):null}q(gk,"createType");function bk(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}q(bk,"isReactDocgenTypescript");function vk(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}q(vk,"isStringValued");function Ek(e,t){if(e!=null){let{value:r}=e;if(!ap(r))return bk(e)&&vk(t)?_e(JSON.stringify(r)):_e(r)}return null}q(Ek,"createDefaultValue");function rv(e,t,r){let{description:n,required:a,defaultValue:o}=r;return{name:e,type:gk(t),required:a,description:n,defaultValue:Ek(o,t)}}q(rv,"createBasicPropDef");function Ps(e,t){var r;if(t!=null&&t.includesJsDoc){let{description:n,extractedTags:a}=t;n!=null&&(e.description=t.description);let o={...a,params:(r=a==null?void 0:a.params)==null?void 0:r.map(i=>({name:i.getPrettyName(),description:i.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}q(Ps,"applyJsDocResult");var VW=q((e,t,r)=>{let n=rv(e,t.type,t);return n.sbType=Wb(t),Ps(n,r)},"javaScriptFactory"),HW=q((e,t,r)=>{let n=UW(e,t);return n.sbType=Wb(t),Ps(n,r)},"tsFactory"),JW=q((e,t,r)=>{let n=$W(e,t);return n.sbType=Wb(t),Ps(n,r)},"flowFactory"),zW=q((e,t,r)=>{let n=rv(e,{name:"unknown"},t);return Ps(n,r)},"unknownFactory"),Ck=q(e=>{switch(e){case"JavaScript":return VW;case"TypeScript":return HW;case"Flow":return JW;default:return zW}},"getPropDefFactory"),wk=q(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),GW=q(e=>{let t=wk(e[0]),r=Ck(t);return e.map(n=>{var o;let a=n;return(o=n.type)!=null&&o.elements&&(a={...n,type:{...n.type,value:n.type.elements}}),nv(a.name,a,t,r)})},"extractComponentSectionArray"),WW=q(e=>{let t=Object.keys(e),r=wk(e[t[0]]),n=Ck(r);return t.map(a=>{let o=e[a];return o!=null?nv(a,o,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),KW=q((e,t)=>{let r=hu(e,t);return k2(r)?Array.isArray(r)?GW(r):WW(r):[]},"extractComponentProps");function nv(e,t,r,n){let a=MW(t.description);return a.includesJsDoc&&a.ignore?null:{propDef:n(e,t,a),jsDocTags:a.extractedTags,docgenInfo:t,typeSystem:r}}q(nv,"extractProp");function Ak(e){return e!=null?N2(e):""}q(Ak,"extractComponentDescription");var xk=q((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,l])=>{let u=a[i];Array.isArray(l)||typeof u>"u"?a[i]=l:ml(l)&&ml(u)?t[i]=!0:typeof l<"u"&&(a[i]=l)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>ml(i))?n[a]=xk(...o):n[a]=o[o.length-1]}),n},"combineParameters"),YW=q(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:a}=n;if(!a||!t)return r;let o=a(t);return o?xk(o,r):r},"enhanceArgTypes"),XW="storybook/docs",NQ=`${XW}/snippet-rendered`,oh=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(oh||{}),QW=be({"../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,a,o,i,l,u;function c(P){var w={},E,C;for(E in P)P.hasOwnProperty(E)&&(C=P[E],typeof C=="object"&&C!==null?w[E]=c(C):w[E]=C);return w}function p(P,w){var E,C,_,N;for(C=P.length,_=0;C;)E=C>>>1,N=_+E,w(P[N])?C=E:(_=N+1,C-=E+1);return _}n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},i={},l={},u={},a={Break:i,Skip:l,Remove:u};function d(P,w){this.parent=P,this.key=w}d.prototype.replace=function(P){this.parent[this.key]=P},d.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function h(P,w,E,C){this.node=P,this.path=w,this.wrap=E,this.ref=C}function f(){}f.prototype.path=function(){var P,w,E,C,_,N;function B(J,G){if(Array.isArray(G))for(E=0,C=G.length;E<C;++E)J.push(G[E]);else J.push(G)}if(!this.__current.path)return null;for(_=[],P=2,w=this.__leavelist.length;P<w;++P)N=this.__leavelist[P],B(_,N.path);return B(_,this.__current.path),_},f.prototype.type=function(){var P=this.current();return P.type||this.__current.wrap},f.prototype.parents=function(){var P,w,E;for(E=[],P=1,w=this.__leavelist.length;P<w;++P)E.push(this.__leavelist[P].node);return E},f.prototype.current=function(){return this.__current.node},f.prototype.__execute=function(P,w){var E,C;return C=void 0,E=this.__current,this.__current=w,this.__state=null,P&&(C=P.call(this,w.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=E,C},f.prototype.notify=function(P){this.__state=P},f.prototype.skip=function(){this.notify(l)},f.prototype.break=function(){this.notify(i)},f.prototype.remove=function(){this.notify(u)},f.prototype.__initialize=function(P,w){this.visitor=w,this.root=P,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,w.fallback==="iteration"?this.__fallback=Object.keys:typeof w.fallback=="function"&&(this.__fallback=w.fallback),this.__keys=o,w.keys&&(this.__keys=Object.assign(Object.create(this.__keys),w.keys))};function m(P){return P==null?!1:typeof P=="object"&&typeof P.type=="string"}function y(P,w){return(P===n.ObjectExpression||P===n.ObjectPattern)&&w==="properties"}function g(P,w){for(var E=P.length-1;E>=0;--E)if(P[E].node===w)return!0;return!1}f.prototype.traverse=function(P,w){var E,C,_,N,B,J,G,R,L,j,W,K;for(this.__initialize(P,w),K={},E=this.__worklist,C=this.__leavelist,E.push(new h(P,null,null,null)),C.push(new h(null,null,null,null));E.length;){if(_=E.pop(),_===K){if(_=C.pop(),J=this.__execute(w.leave,_),this.__state===i||J===i)return;continue}if(_.node){if(J=this.__execute(w.enter,_),this.__state===i||J===i)return;if(E.push(K),C.push(_),this.__state===l||J===l)continue;if(N=_.node,B=N.type||_.wrap,j=this.__keys[B],!j)if(this.__fallback)j=this.__fallback(N);else throw new Error("Unknown node type "+B+".");for(R=j.length;(R-=1)>=0;)if(G=j[R],W=N[G],!!W){if(Array.isArray(W)){for(L=W.length;(L-=1)>=0;)if(W[L]&&!g(C,W[L])){if(y(B,j[R]))_=new h(W[L],[G,L],"Property",null);else if(m(W[L]))_=new h(W[L],[G,L],null,null);else continue;E.push(_)}}else if(m(W)){if(g(C,W))continue;E.push(new h(W,G,null,null))}}}}},f.prototype.replace=function(P,w){var E,C,_,N,B,J,G,R,L,j,W,K,ae;function se(Z){var z,Q,ee,le;if(Z.ref.remove()){for(Q=Z.ref.key,le=Z.ref.parent,z=E.length;z--;)if(ee=E[z],ee.ref&&ee.ref.parent===le){if(ee.ref.key<Q)break;--ee.ref.key}}}for(this.__initialize(P,w),W={},E=this.__worklist,C=this.__leavelist,K={root:P},J=new h(P,null,null,new d(K,"root")),E.push(J),C.push(J);E.length;){if(J=E.pop(),J===W){if(J=C.pop(),B=this.__execute(w.leave,J),B!==void 0&&B!==i&&B!==l&&B!==u&&J.ref.replace(B),(this.__state===u||B===u)&&se(J),this.__state===i||B===i)return K.root;continue}if(B=this.__execute(w.enter,J),B!==void 0&&B!==i&&B!==l&&B!==u&&(J.ref.replace(B),J.node=B),(this.__state===u||B===u)&&(se(J),J.node=null),this.__state===i||B===i)return K.root;if(_=J.node,!!_&&(E.push(W),C.push(J),!(this.__state===l||B===l))){if(N=_.type||J.wrap,L=this.__keys[N],!L)if(this.__fallback)L=this.__fallback(_);else throw new Error("Unknown node type "+N+".");for(G=L.length;(G-=1)>=0;)if(ae=L[G],j=_[ae],!!j)if(Array.isArray(j)){for(R=j.length;(R-=1)>=0;)if(j[R]){if(y(N,L[G]))J=new h(j[R],[ae,R],"Property",new d(j,R));else if(m(j[R]))J=new h(j[R],[ae,R],null,new d(j,R));else continue;E.push(J)}}else m(j)&&E.push(new h(j,ae,null,new d(_,ae)))}}return K.root};function b(P,w){var E=new f;return E.traverse(P,w)}function v(P,w){var E=new f;return E.replace(P,w)}function D(P,w){var E;return E=p(w,function(C){return C.range[0]>P.range[0]}),P.extendedRange=[P.range[0],P.range[1]],E!==w.length&&(P.extendedRange[1]=w[E].range[0]),E-=1,E>=0&&(P.extendedRange[0]=w[E].range[1]),P}function S(P,w,E){var C=[],_,N,B,J;if(!P.range)throw new Error("attachComments needs range information");if(!E.length){if(w.length){for(B=0,N=w.length;B<N;B+=1)_=c(w[B]),_.extendedRange=[0,P.range[0]],C.push(_);P.leadingComments=C}return P}for(B=0,N=w.length;B<N;B+=1)C.push(D(c(w[B]),E));return J=0,b(P,{enter:function(G){for(var R;J<C.length&&(R=C[J],!(R.extendedRange[1]>G.range[0]));)R.extendedRange[1]===G.range[0]?(G.leadingComments||(G.leadingComments=[]),G.leadingComments.push(R),C.splice(J,1)):J+=1;if(J===C.length)return a.Break;if(C[J].extendedRange[0]>G.range[1])return a.Skip}}),J=0,b(P,{leave:function(G){for(var R;J<C.length&&(R=C[J],!(G.range[1]<R.extendedRange[0]));)G.range[1]===R.extendedRange[0]?(G.trailingComments||(G.trailingComments=[]),G.trailingComments.push(R),C.splice(J,1)):J+=1;if(J===C.length)return a.Break;if(C[J].extendedRange[0]>G.range[1])return a.Skip}}),P}return r.Syntax=n,r.traverse=b,r.replace=v,r.attachComments=S,r.VisitorKeys=o,r.VisitorOption=a,r.Controller=f,r.cloneEnvironment=function(){return t({})},r})(e)}}),ZW=be({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(u){if(u==null)return!1;switch(u.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(u){if(u==null)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function a(u){if(u==null)return!1;switch(u.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function o(u){return a(u)||u!=null&&u.type==="FunctionDeclaration"}function i(u){switch(u.type){case"IfStatement":return u.alternate!=null?u.alternate:u.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return u.body}return null}function l(u){var c;if(u.type!=="IfStatement"||u.alternate==null)return!1;c=u.consequent;do{if(c.type==="IfStatement"&&c.alternate==null)return!0;c=i(c)}while(c);return!1}t.exports={isExpression:r,isStatement:a,isIterationStatement:n,isSourceElement:o,isProblematicIfStatement:l,trailingStatement:i}})()}}),Sk=be({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,a,o,i,l;n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function u(v){return 48<=v&&v<=57}function c(v){return 48<=v&&v<=57||97<=v&&v<=102||65<=v&&v<=70}function p(v){return v>=48&&v<=55}a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function d(v){return v===32||v===9||v===11||v===12||v===160||v>=5760&&a.indexOf(v)>=0}function h(v){return v===10||v===13||v===8232||v===8233}function f(v){if(v<=65535)return String.fromCharCode(v);var D=String.fromCharCode(Math.floor((v-65536)/1024)+55296),S=String.fromCharCode((v-65536)%1024+56320);return D+S}for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(i=new Array(128),l=0;l<128;++l)i[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function m(v){return v<128?o[v]:n.NonAsciiIdentifierStart.test(f(v))}function y(v){return v<128?i[v]:n.NonAsciiIdentifierPart.test(f(v))}function g(v){return v<128?o[v]:r.NonAsciiIdentifierStart.test(f(v))}function b(v){return v<128?i[v]:r.NonAsciiIdentifierPart.test(f(v))}t.exports={isDecimalDigit:u,isHexDigit:c,isOctalDigit:p,isWhiteSpace:d,isLineTerminator:h,isIdentifierStartES5:m,isIdentifierPartES5:y,isIdentifierStartES6:g,isIdentifierPartES6:b}})()}}),eK=be({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=Sk();function n(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function a(m,y){return!y&&m==="yield"?!1:o(m,y)}function o(m,y){if(y&&n(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function i(m,y){return m==="null"||m==="true"||m==="false"||a(m,y)}function l(m,y){return m==="null"||m==="true"||m==="false"||o(m,y)}function u(m){return m==="eval"||m==="arguments"}function c(m){var y,g,b;if(m.length===0||(b=m.charCodeAt(0),!r.isIdentifierStartES5(b)))return!1;for(y=1,g=m.length;y<g;++y)if(b=m.charCodeAt(y),!r.isIdentifierPartES5(b))return!1;return!0}function p(m,y){return(m-55296)*1024+(y-56320)+65536}function d(m){var y,g,b,v,D;if(m.length===0)return!1;for(D=r.isIdentifierStartES6,y=0,g=m.length;y<g;++y){if(b=m.charCodeAt(y),55296<=b&&b<=56319){if(++y,y>=g||(v=m.charCodeAt(y),!(56320<=v&&v<=57343)))return!1;b=p(b,v)}if(!D(b))return!1;D=r.isIdentifierPartES6}return!0}function h(m,y){return c(m)&&!i(m,y)}function f(m,y){return d(m)&&!l(m,y)}t.exports={isKeywordES5:a,isKeywordES6:o,isReservedWordES5:i,isReservedWordES6:l,isRestrictedWord:u,isIdentifierNameES5:c,isIdentifierNameES6:d,isIdentifierES5:h,isIdentifierES6:f}})()}}),tK=be({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=ZW(),e.code=Sk(),e.keyword=eK()})()}}),rK=be({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r<t.length)return t[r];throw new TypeError("Must be between 0 and 63: "+r)},e.decode=function(r){var n=65,a=90,o=97,i=122,l=48,u=57,c=43,p=47,d=26,h=52;return n<=r&&r<=a?r-n:o<=r&&r<=i?r-o+d:l<=r&&r<=u?r-l+h:r==c?62:r==p?63:-1}}}),_k=be({"../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(e){var t=rK(),r=5,n=1<<r,a=n-1,o=n;function i(u){return u<0?(-u<<1)+1:(u<<1)+0}function l(u){var c=(u&1)===1,p=u>>1;return c?-p:p}e.encode=function(u){var c="",p,d=i(u);do p=d&a,d>>>=r,d>0&&(p|=o),c+=t.encode(p);while(d>0);return c},e.decode=function(u,c,p){var d=u.length,h=0,f=0,m,y;do{if(c>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(y=t.decode(u.charCodeAt(c++)),y===-1)throw new Error("Invalid base64 digit: "+u.charAt(c-1));m=!!(y&o),y&=a,h=h+(y<<f),f+=r}while(m);p.value=l(h),p.rest=c}}}),Ds=be({"../../node_modules/escodegen/node_modules/source-map/lib/util.js"(e){function t(S,P,w){if(P in S)return S[P];if(arguments.length===3)return w;throw new Error('"'+P+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function a(S){var P=S.match(r);return P?{scheme:P[1],auth:P[2],host:P[3],port:P[4],path:P[5]}:null}e.urlParse=a;function o(S){var P="";return S.scheme&&(P+=S.scheme+":"),P+="//",S.auth&&(P+=S.auth+"@"),S.host&&(P+=S.host),S.port&&(P+=":"+S.port),S.path&&(P+=S.path),P}e.urlGenerate=o;function i(S){var P=S,w=a(S);if(w){if(!w.path)return S;P=w.path}for(var E=e.isAbsolute(P),C=P.split(/\/+/),_,N=0,B=C.length-1;B>=0;B--)_=C[B],_==="."?C.splice(B,1):_===".."?N++:N>0&&(_===""?(C.splice(B+1,N),N=0):(C.splice(B,2),N--));return P=C.join("/"),P===""&&(P=E?"/":"."),w?(w.path=P,o(w)):P}e.normalize=i;function l(S,P){S===""&&(S="."),P===""&&(P=".");var w=a(P),E=a(S);if(E&&(S=E.path||"/"),w&&!w.scheme)return E&&(w.scheme=E.scheme),o(w);if(w||P.match(n))return P;if(E&&!E.host&&!E.path)return E.host=P,o(E);var C=P.charAt(0)==="/"?P:i(S.replace(/\/+$/,"")+"/"+P);return E?(E.path=C,o(E)):C}e.join=l,e.isAbsolute=function(S){return S.charAt(0)==="/"||r.test(S)};function u(S,P){S===""&&(S="."),S=S.replace(/\/$/,"");for(var w=0;P.indexOf(S+"/")!==0;){var E=S.lastIndexOf("/");if(E<0||(S=S.slice(0,E),S.match(/^([^\/]+:\/)?\/*$/)))return P;++w}return Array(w+1).join("../")+P.substr(S.length+1)}e.relative=u;var c=function(){var S=Object.create(null);return!("__proto__"in S)}();function p(S){return S}function d(S){return f(S)?"$"+S:S}e.toSetString=c?p:d;function h(S){return f(S)?S.slice(1):S}e.fromSetString=c?p:h;function f(S){if(!S)return!1;var P=S.length;if(P<9||S.charCodeAt(P-1)!==95||S.charCodeAt(P-2)!==95||S.charCodeAt(P-3)!==111||S.charCodeAt(P-4)!==116||S.charCodeAt(P-5)!==111||S.charCodeAt(P-6)!==114||S.charCodeAt(P-7)!==112||S.charCodeAt(P-8)!==95||S.charCodeAt(P-9)!==95)return!1;for(var w=P-10;w>=0;w--)if(S.charCodeAt(w)!==36)return!1;return!0}function m(S,P,w){var E=g(S.source,P.source);return E!==0||(E=S.originalLine-P.originalLine,E!==0)||(E=S.originalColumn-P.originalColumn,E!==0||w)||(E=S.generatedColumn-P.generatedColumn,E!==0)||(E=S.generatedLine-P.generatedLine,E!==0)?E:g(S.name,P.name)}e.compareByOriginalPositions=m;function y(S,P,w){var E=S.generatedLine-P.generatedLine;return E!==0||(E=S.generatedColumn-P.generatedColumn,E!==0||w)||(E=g(S.source,P.source),E!==0)||(E=S.originalLine-P.originalLine,E!==0)||(E=S.originalColumn-P.originalColumn,E!==0)?E:g(S.name,P.name)}e.compareByGeneratedPositionsDeflated=y;function g(S,P){return S===P?0:S===null?1:P===null?-1:S>P?1:-1}function b(S,P){var w=S.generatedLine-P.generatedLine;return w!==0||(w=S.generatedColumn-P.generatedColumn,w!==0)||(w=g(S.source,P.source),w!==0)||(w=S.originalLine-P.originalLine,w!==0)||(w=S.originalColumn-P.originalColumn,w!==0)?w:g(S.name,P.name)}e.compareByGeneratedPositionsInflated=b;function v(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function D(S,P,w){if(P=P||"",S&&(S[S.length-1]!=="/"&&P[0]!=="/"&&(S+="/"),P=S+P),w){var E=a(w);if(!E)throw new Error("sourceMapURL could not be parsed");if(E.path){var C=E.path.lastIndexOf("/");C>=0&&(E.path=E.path.substring(0,C+1))}P=l(o(E),P)}return i(P)}e.computeSourceURL=D}}),Tk=be({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=Ds(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function a(){this._array=[],this._set=n?new Map:Object.create(null)}a.fromArray=function(o,i){for(var l=new a,u=0,c=o.length;u<c;u++)l.add(o[u],i);return l},a.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(o,i){var l=n?o:t.toSetString(o),u=n?this.has(o):r.call(this._set,l),c=this._array.length;(!u||i)&&this._array.push(o),u||(n?this._set.set(o,c):this._set[l]=c)},a.prototype.has=function(o){if(n)return this._set.has(o);var i=t.toSetString(o);return r.call(this._set,i)},a.prototype.indexOf=function(o){if(n){var i=this._set.get(o);if(i>=0)return i}else{var l=t.toSetString(o);if(r.call(this._set,l))return this._set[l]}throw new Error('"'+o+'" is not in the set.')},a.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},a.prototype.toArray=function(){return this._array.slice()},e.ArraySet=a}}),nK=be({"../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(e){var t=Ds();function r(a,o){var i=a.generatedLine,l=o.generatedLine,u=a.generatedColumn,c=o.generatedColumn;return l>i||l==i&&c>=u||t.compareByGeneratedPositionsInflated(a,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(a,o){this._array.forEach(a,o)},n.prototype.add=function(a){r(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),Pk=be({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=_k(),r=Ds(),n=Tk().ArraySet,a=nK().MappingList;function o(i){i||(i={}),this._file=r.getArg(i,"file",null),this._sourceRoot=r.getArg(i,"sourceRoot",null),this._skipValidation=r.getArg(i,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new a,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(i){var l=i.sourceRoot,u=new o({file:i.file,sourceRoot:l});return i.eachMapping(function(c){var p={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source!=null&&(p.source=c.source,l!=null&&(p.source=r.relative(l,p.source)),p.original={line:c.originalLine,column:c.originalColumn},c.name!=null&&(p.name=c.name)),u.addMapping(p)}),i.sources.forEach(function(c){var p=c;l!==null&&(p=r.relative(l,c)),u._sources.has(p)||u._sources.add(p);var d=i.sourceContentFor(c);d!=null&&u.setSourceContent(c,d)}),u},o.prototype.addMapping=function(i){var l=r.getArg(i,"generated"),u=r.getArg(i,"original",null),c=r.getArg(i,"source",null),p=r.getArg(i,"name",null);this._skipValidation||this._validateMapping(l,u,c,p),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:c,name:p})},o.prototype.setSourceContent=function(i,l){var u=i;this._sourceRoot!=null&&(u=r.relative(this._sourceRoot,u)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(u)]=l):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(i,l,u){var c=l;if(l==null){if(i.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=i.file}var p=this._sourceRoot;p!=null&&(c=r.relative(p,c));var d=new n,h=new n;this._mappings.unsortedForEach(function(f){if(f.source===c&&f.originalLine!=null){var m=i.originalPositionFor({line:f.originalLine,column:f.originalColumn});m.source!=null&&(f.source=m.source,u!=null&&(f.source=r.join(u,f.source)),p!=null&&(f.source=r.relative(p,f.source)),f.originalLine=m.line,f.originalColumn=m.column,m.name!=null&&(f.name=m.name))}var y=f.source;y!=null&&!d.has(y)&&d.add(y);var g=f.name;g!=null&&!h.has(g)&&h.add(g)},this),this._sources=d,this._names=h,i.sources.forEach(function(f){var m=i.sourceContentFor(f);m!=null&&(u!=null&&(f=r.join(u,f)),p!=null&&(f=r.relative(p,f)),this.setSourceContent(f,m))},this)},o.prototype._validateMapping=function(i,l,u,c){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!l&&!u&&!c)){if(i&&"line"in i&&"column"in i&&l&&"line"in l&&"column"in l&&i.line>0&&i.column>=0&&l.line>0&&l.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:i,source:u,original:l,name:c}))}},o.prototype._serializeMappings=function(){for(var i=0,l=1,u=0,c=0,p=0,d=0,h="",f,m,y,g,b=this._mappings.toArray(),v=0,D=b.length;v<D;v++){if(m=b[v],f="",m.generatedLine!==l)for(i=0;m.generatedLine!==l;)f+=";",l++;else if(v>0){if(!r.compareByGeneratedPositionsInflated(m,b[v-1]))continue;f+=","}f+=t.encode(m.generatedColumn-i),i=m.generatedColumn,m.source!=null&&(g=this._sources.indexOf(m.source),f+=t.encode(g-d),d=g,f+=t.encode(m.originalLine-1-c),c=m.originalLine-1,f+=t.encode(m.originalColumn-u),u=m.originalColumn,m.name!=null&&(y=this._names.indexOf(m.name),f+=t.encode(y-p),p=y)),h+=f}return h},o.prototype._generateSourcesContent=function(i,l){return i.map(function(u){if(!this._sourcesContents)return null;l!=null&&(u=r.relative(l,u));var c=r.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},o.prototype.toJSON=function(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(i.file=this._file),this._sourceRoot!=null&&(i.sourceRoot=this._sourceRoot),this._sourcesContents&&(i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)),i},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),aK=be({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,a,o,i,l){var u=Math.floor((n-r)/2)+r,c=i(a,o[u],!0);return c===0?u:c>0?n-u>1?t(u,n,a,o,i,l):l==e.LEAST_UPPER_BOUND?n<o.length?n:-1:u:u-r>1?t(r,u,a,o,i,l):l==e.LEAST_UPPER_BOUND?u:r<0?-1:r}e.search=function(r,n,a,o){if(n.length===0)return-1;var i=t(-1,n.length,r,n,a,o||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&a(n[i],n[i-1],!0)===0;)--i;return i}}}),oK=be({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(a,o,i){var l=a[o];a[o]=a[i],a[i]=l}function r(a,o){return Math.round(a+Math.random()*(o-a))}function n(a,o,i,l){if(i<l){var u=r(i,l),c=i-1;t(a,u,l);for(var p=a[l],d=i;d<l;d++)o(a[d],p)<=0&&(c+=1,t(a,c,d));t(a,c+1,d);var h=c+1;n(a,o,i,h-1),n(a,o,h+1,l)}}e.quickSort=function(a,o){n(a,o,0,a.length-1)}}}),iK=be({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(e){var t=Ds(),r=aK(),n=Tk().ArraySet,a=_k(),o=oK().quickSort;function i(p,d){var h=p;return typeof p=="string"&&(h=t.parseSourceMapInput(p)),h.sections!=null?new c(h,d):new l(h,d)}i.fromSourceMap=function(p,d){return l.fromSourceMap(p,d)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(p,d){var h=p.charAt(d);return h===";"||h===","},i.prototype._parseMappings=function(p,d){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(p,d,h){var f=d||null,m=h||i.GENERATED_ORDER,y;switch(m){case i.GENERATED_ORDER:y=this._generatedMappings;break;case i.ORIGINAL_ORDER:y=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var g=this.sourceRoot;y.map(function(b){var v=b.source===null?null:this._sources.at(b.source);return v=t.computeSourceURL(g,v,this._sourceMapURL),{source:v,generatedLine:b.generatedLine,generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:b.name===null?null:this._names.at(b.name)}},this).forEach(p,f)},i.prototype.allGeneratedPositionsFor=function(p){var d=t.getArg(p,"line"),h={source:t.getArg(p,"source"),originalLine:d,originalColumn:t.getArg(p,"column",0)};if(h.source=this._findSourceIndex(h.source),h.source<0)return[];var f=[],m=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(m>=0){var y=this._originalMappings[m];if(p.column===void 0)for(var g=y.originalLine;y&&y.originalLine===g;)f.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++m];else for(var b=y.originalColumn;y&&y.originalLine===d&&y.originalColumn==b;)f.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++m]}return f},e.SourceMapConsumer=i;function l(p,d){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var f=t.getArg(h,"version"),m=t.getArg(h,"sources"),y=t.getArg(h,"names",[]),g=t.getArg(h,"sourceRoot",null),b=t.getArg(h,"sourcesContent",null),v=t.getArg(h,"mappings"),D=t.getArg(h,"file",null);if(f!=this._version)throw new Error("Unsupported version: "+f);g&&(g=t.normalize(g)),m=m.map(String).map(t.normalize).map(function(S){return g&&t.isAbsolute(g)&&t.isAbsolute(S)?t.relative(g,S):S}),this._names=n.fromArray(y.map(String),!0),this._sources=n.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(S){return t.computeSourceURL(g,S,d)}),this.sourceRoot=g,this.sourcesContent=b,this._mappings=v,this._sourceMapURL=d,this.file=D}l.prototype=Object.create(i.prototype),l.prototype.consumer=i,l.prototype._findSourceIndex=function(p){var d=p;if(this.sourceRoot!=null&&(d=t.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var h;for(h=0;h<this._absoluteSources.length;++h)if(this._absoluteSources[h]==p)return h;return-1},l.fromSourceMap=function(p,d){var h=Object.create(l.prototype),f=h._names=n.fromArray(p._names.toArray(),!0),m=h._sources=n.fromArray(p._sources.toArray(),!0);h.sourceRoot=p._sourceRoot,h.sourcesContent=p._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=p._file,h._sourceMapURL=d,h._absoluteSources=h._sources.toArray().map(function(w){return t.computeSourceURL(h.sourceRoot,w,d)});for(var y=p._mappings.toArray().slice(),g=h.__generatedMappings=[],b=h.__originalMappings=[],v=0,D=y.length;v<D;v++){var S=y[v],P=new u;P.generatedLine=S.generatedLine,P.generatedColumn=S.generatedColumn,S.source&&(P.source=m.indexOf(S.source),P.originalLine=S.originalLine,P.originalColumn=S.originalColumn,S.name&&(P.name=f.indexOf(S.name)),b.push(P)),g.push(P)}return o(h.__originalMappings,t.compareByOriginalPositions),h},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.prototype._parseMappings=function(p,d){for(var h=1,f=0,m=0,y=0,g=0,b=0,v=p.length,D=0,S={},P={},w=[],E=[],C,_,N,B,J;D<v;)if(p.charAt(D)===";")h++,D++,f=0;else if(p.charAt(D)===",")D++;else{for(C=new u,C.generatedLine=h,B=D;B<v&&!this._charIsMappingSeparator(p,B);B++);if(_=p.slice(D,B),N=S[_],N)D+=_.length;else{for(N=[];D<B;)a.decode(p,D,P),J=P.value,D=P.rest,N.push(J);if(N.length===2)throw new Error("Found a source, but no line and column");if(N.length===3)throw new Error("Found a source and line, but no column");S[_]=N}C.generatedColumn=f+N[0],f=C.generatedColumn,N.length>1&&(C.source=g+N[1],g+=N[1],C.originalLine=m+N[2],m=C.originalLine,C.originalLine+=1,C.originalColumn=y+N[3],y=C.originalColumn,N.length>4&&(C.name=b+N[4],b+=N[4])),E.push(C),typeof C.originalLine=="number"&&w.push(C)}o(E,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,o(w,t.compareByOriginalPositions),this.__originalMappings=w},l.prototype._findMapping=function(p,d,h,f,m,y){if(p[h]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+p[h]);if(p[f]<0)throw new TypeError("Column must be greater than or equal to 0, got "+p[f]);return r.search(p,d,m,y)},l.prototype.computeColumnSpans=function(){for(var p=0;p<this._generatedMappings.length;++p){var d=this._generatedMappings[p];if(p+1<this._generatedMappings.length){var h=this._generatedMappings[p+1];if(d.generatedLine===h.generatedLine){d.lastGeneratedColumn=h.generatedColumn-1;continue}}d.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(p){var d={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=this._findMapping(d,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(p,"bias",i.GREATEST_LOWER_BOUND));if(h>=0){var f=this._generatedMappings[h];if(f.generatedLine===d.generatedLine){var m=t.getArg(f,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var y=t.getArg(f,"name",null);return y!==null&&(y=this._names.at(y)),{source:m,line:t.getArg(f,"originalLine",null),column:t.getArg(f,"originalColumn",null),name:y}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(p){return p==null}):!1},l.prototype.sourceContentFor=function(p,d){if(!this.sourcesContent)return null;var h=this._findSourceIndex(p);if(h>=0)return this.sourcesContent[h];var f=p;this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f));var m;if(this.sourceRoot!=null&&(m=t.urlParse(this.sourceRoot))){var y=f.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];if((!m.path||m.path=="/")&&this._sources.has("/"+f))return this.sourcesContent[this._sources.indexOf("/"+f)]}if(d)return null;throw new Error('"'+f+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(p){var d=t.getArg(p,"source");if(d=this._findSourceIndex(d),d<0)return{line:null,column:null,lastColumn:null};var h={source:d,originalLine:t.getArg(p,"line"),originalColumn:t.getArg(p,"column")},f=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(p,"bias",i.GREATEST_LOWER_BOUND));if(f>=0){var m=this._originalMappings[f];if(m.source===h.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=l;function c(p,d){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var f=t.getArg(h,"version"),m=t.getArg(h,"sections");if(f!=this._version)throw new Error("Unsupported version: "+f);this._sources=new n,this._names=new n;var y={line:-1,column:0};this._sections=m.map(function(g){if(g.url)throw new Error("Support for url field in sections not implemented.");var b=t.getArg(g,"offset"),v=t.getArg(b,"line"),D=t.getArg(b,"column");if(v<y.line||v===y.line&&D<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=b,{generatedOffset:{generatedLine:v+1,generatedColumn:D+1},consumer:new i(t.getArg(g,"map"),d)}})}c.prototype=Object.create(i.prototype),c.prototype.constructor=i,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var p=[],d=0;d<this._sections.length;d++)for(var h=0;h<this._sections[d].consumer.sources.length;h++)p.push(this._sections[d].consumer.sources[h]);return p}}),c.prototype.originalPositionFor=function(p){var d={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=r.search(d,this._sections,function(m,y){var g=m.generatedLine-y.generatedOffset.generatedLine;return g||m.generatedColumn-y.generatedOffset.generatedColumn}),f=this._sections[h];return f?f.consumer.originalPositionFor({line:d.generatedLine-(f.generatedOffset.generatedLine-1),column:d.generatedColumn-(f.generatedOffset.generatedLine===d.generatedLine?f.generatedOffset.generatedColumn-1:0),bias:p.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(p){return p.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(p,d){for(var h=0;h<this._sections.length;h++){var f=this._sections[h],m=f.consumer.sourceContentFor(p,!0);if(m)return m}if(d)return null;throw new Error('"'+p+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(p){for(var d=0;d<this._sections.length;d++){var h=this._sections[d];if(h.consumer._findSourceIndex(t.getArg(p,"source"))!==-1){var f=h.consumer.generatedPositionFor(p);if(f){var m={line:f.line+(h.generatedOffset.generatedLine-1),column:f.column+(h.generatedOffset.generatedLine===f.line?h.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},c.prototype._parseMappings=function(p,d){this.__generatedMappings=[],this.__originalMappings=[];for(var h=0;h<this._sections.length;h++)for(var f=this._sections[h],m=f.consumer._generatedMappings,y=0;y<m.length;y++){var g=m[y],b=f.consumer._sources.at(g.source);b=t.computeSourceURL(f.consumer.sourceRoot,b,this._sourceMapURL),this._sources.add(b),b=this._sources.indexOf(b);var v=null;g.name&&(v=f.consumer._names.at(g.name),this._names.add(v),v=this._names.indexOf(v));var D={source:b,generatedLine:g.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:g.generatedColumn+(f.generatedOffset.generatedLine===g.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:g.originalLine,originalColumn:g.originalColumn,name:v};this.__generatedMappings.push(D),typeof D.originalLine=="number"&&this.__originalMappings.push(D)}o(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),o(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=c}}),sK=be({"../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(e){var t=Pk().SourceMapGenerator,r=Ds(),n=/(\r?\n)/,a=10,o="$$$isSourceNode$$$";function i(l,u,c,p,d){this.children=[],this.sourceContents={},this.line=l??null,this.column=u??null,this.source=c??null,this.name=d??null,this[o]=!0,p!=null&&this.add(p)}i.fromStringWithSourceMap=function(l,u,c){var p=new i,d=l.split(n),h=0,f=function(){var v=S(),D=S()||"";return v+D;function S(){return h<d.length?d[h++]:void 0}},m=1,y=0,g=null;return u.eachMapping(function(v){if(g!==null)if(m<v.generatedLine)b(g,f()),m++,y=0;else{var D=d[h]||"",S=D.substr(0,v.generatedColumn-y);d[h]=D.substr(v.generatedColumn-y),y=v.generatedColumn,b(g,S),g=v;return}for(;m<v.generatedLine;)p.add(f()),m++;if(y<v.generatedColumn){var D=d[h]||"";p.add(D.substr(0,v.generatedColumn)),d[h]=D.substr(v.generatedColumn),y=v.generatedColumn}g=v},this),h<d.length&&(g&&b(g,f()),p.add(d.splice(h).join(""))),u.sources.forEach(function(v){var D=u.sourceContentFor(v);D!=null&&(c!=null&&(v=r.join(c,v)),p.setSourceContent(v,D))}),p;function b(v,D){if(v===null||v.source===void 0)p.add(D);else{var S=c?r.join(c,v.source):v.source;p.add(new i(v.originalLine,v.originalColumn,S,D,v.name))}}},i.prototype.add=function(l){if(Array.isArray(l))l.forEach(function(u){this.add(u)},this);else if(l[o]||typeof l=="string")l&&this.children.push(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.prepend=function(l){if(Array.isArray(l))for(var u=l.length-1;u>=0;u--)this.prepend(l[u]);else if(l[o]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.walk=function(l){for(var u,c=0,p=this.children.length;c<p;c++)u=this.children[c],u[o]?u.walk(l):u!==""&&l(u,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(l){var u,c,p=this.children.length;if(p>0){for(u=[],c=0;c<p-1;c++)u.push(this.children[c]),u.push(l);u.push(this.children[c]),this.children=u}return this},i.prototype.replaceRight=function(l,u){var c=this.children[this.children.length-1];return c[o]?c.replaceRight(l,u):typeof c=="string"?this.children[this.children.length-1]=c.replace(l,u):this.children.push("".replace(l,u)),this},i.prototype.setSourceContent=function(l,u){this.sourceContents[r.toSetString(l)]=u},i.prototype.walkSourceContents=function(l){for(var u=0,c=this.children.length;u<c;u++)this.children[u][o]&&this.children[u].walkSourceContents(l);for(var p=Object.keys(this.sourceContents),u=0,c=p.length;u<c;u++)l(r.fromSetString(p[u]),this.sourceContents[p[u]])},i.prototype.toString=function(){var l="";return this.walk(function(u){l+=u}),l},i.prototype.toStringWithSourceMap=function(l){var u={code:"",line:1,column:0},c=new t(l),p=!1,d=null,h=null,f=null,m=null;return this.walk(function(y,g){u.code+=y,g.source!==null&&g.line!==null&&g.column!==null?((d!==g.source||h!==g.line||f!==g.column||m!==g.name)&&c.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name}),d=g.source,h=g.line,f=g.column,m=g.name,p=!0):p&&(c.addMapping({generated:{line:u.line,column:u.column}}),d=null,p=!1);for(var b=0,v=y.length;b<v;b++)y.charCodeAt(b)===a?(u.line++,u.column=0,b+1===v?(d=null,p=!1):p&&c.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name})):u.column++}),this.walkSourceContents(function(y,g){c.setSourceContent(y,g)}),{code:u.code,map:c}},e.SourceNode=i}}),lK=be({"../../node_modules/escodegen/node_modules/source-map/source-map.js"(e){e.SourceMapGenerator=Pk().SourceMapGenerator,e.SourceMapConsumer=iK().SourceMapConsumer,e.SourceNode=sK().SourceNode}}),uK=be({"../../node_modules/escodegen/package.json"(e,t){t.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"2.1.0",engines:{node:">=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),cK=be({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,g,b,v,D,S,P,w,E,C,_,N;o=QW(),i=tK(),t=o.Syntax;function B(x){return Qe.Expression.hasOwnProperty(x.type)}function J(x){return Qe.Statement.hasOwnProperty(x.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},n={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var G=1,R=2,L=4,j=8,W=16,K=32,ae=64,se=R|L,Z=G|R,z=G|R|L,Q=G,ee=L,le=G|L,re=G,me=G|K,Ee=0,it=G|W,ht=G|j;function Y(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:`
|
|
1050
|
+
`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function ce(x,k){var F="";for(k|=0;k>0;k>>>=1,x+=x)k&1&&(F+=x);return F}function ye(x){return/[\r\n]/g.test(x)}function ge(x){var k=x.length;return k&&i.code.isLineTerminator(x.charCodeAt(k-1))}function ve(x,k){var F;for(F in k)k.hasOwnProperty(F)&&(x[F]=k[F]);return x}function xe(x,k){var F,T;function $(oe){return typeof oe=="object"&&oe instanceof Object&&!(oe instanceof RegExp)}for(F in k)k.hasOwnProperty(F)&&(T=k[F],$(T)?$(x[F])?xe(x[F],T):x[F]=xe({},T):x[F]=T);return x}function Se(x){var k,F,T,$,oe;if(x!==x)throw new Error("Numeric literal whose value is NaN");if(x<0||x===0&&1/x<0)throw new Error("Numeric literal whose value is negative");if(x===1/0)return c?"null":p?"1e400":"1e+400";if(k=""+x,!p||k.length<3)return k;for(F=k.indexOf("."),!c&&k.charCodeAt(0)===48&&F===1&&(F=0,k=k.slice(1)),T=k,k=k.replace("e+","e"),$=0,(oe=T.indexOf("e"))>0&&($=+T.slice(oe+1),T=T.slice(0,oe)),F>=0&&($-=T.length-F-1,T=+(T.slice(0,F)+T.slice(F+1))+""),oe=0;T.charCodeAt(T.length+oe-1)===48;)--oe;return oe!==0&&($-=oe,T=T.slice(0,oe)),$!==0&&(T+="e"+$),(T.length<k.length||d&&x>1e12&&Math.floor(x)===x&&(T="0x"+x.toString(16)).length<k.length)&&+T===x&&(k=T),k}function Je(x,k){return(x&-2)===8232?(k?"u":"\\u")+(x===8232?"2028":"2029"):x===10||x===13?(k?"":"\\")+(x===10?"n":"r"):String.fromCharCode(x)}function st(x){var k,F,T,$,oe,ie,ue,he;if(F=x.toString(),x.source){if(k=F.match(/\/([^/]*)$/),!k)return F;for(T=k[1],F="",ue=!1,he=!1,$=0,oe=x.source.length;$<oe;++$)ie=x.source.charCodeAt($),he?(F+=Je(ie,he),he=!1):(ue?ie===93&&(ue=!1):ie===47?F+="\\":ie===91&&(ue=!0),F+=Je(ie,he),he=ie===92);return"/"+F+"/"+T}return F}function Ot(x,k){var F;return x===8?"\\b":x===12?"\\f":x===9?"\\t":(F=x.toString(16).toUpperCase(),c||x>255?"\\u"+"0000".slice(F.length)+F:x===0&&!i.code.isDecimalDigit(k)?"\\0":x===11?"\\x0B":"\\x"+"00".slice(F.length)+F)}function Wt(x){if(x===92)return"\\\\";if(x===10)return"\\n";if(x===13)return"\\r";if(x===8232)return"\\u2028";if(x===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function _t(x){var k,F,T,$;for($=h==="double"?'"':"'",k=0,F=x.length;k<F;++k)if(T=x.charCodeAt(k),T===39){$='"';break}else if(T===34){$="'";break}else T===92&&++k;return $+x+$}function Vt(x){var k="",F,T,$,oe=0,ie=0,ue,he;for(F=0,T=x.length;F<T;++F){if($=x.charCodeAt(F),$===39)++oe;else if($===34)++ie;else if($===47&&c)k+="\\";else if(i.code.isLineTerminator($)||$===92){k+=Wt($);continue}else if(!i.code.isIdentifierPartES5($)&&(c&&$<32||!c&&!f&&($<32||$>126))){k+=Ot($,x.charCodeAt(F+1));continue}k+=String.fromCharCode($)}if(ue=!(h==="double"||h==="auto"&&ie<oe),he=ue?"'":'"',!(ue?oe:ie))return he+k+he;for(x=k,k=he,F=0,T=x.length;F<T;++F)$=x.charCodeAt(F),($===39&&ue||$===34&&!ue)&&(k+="\\"),k+=String.fromCharCode($);return k+he}function Nt(x){var k,F,T,$="";for(k=0,F=x.length;k<F;++k)T=x[k],$+=Array.isArray(T)?Nt(T):T;return $}function Te(x,k){if(!w)return Array.isArray(x)?Nt(x):x;if(k==null){if(x instanceof a)return x;k={}}return k.loc==null?new a(null,null,w,x,k.name||null):new a(k.loc.start.line,k.loc.start.column,w===!0?k.loc.source||null:w,x,k.name||null)}function lt(){return y||" "}function Ae(x,k){var F,T,$,oe;return F=Te(x).toString(),F.length===0?[k]:(T=Te(k).toString(),T.length===0?[x]:($=F.charCodeAt(F.length-1),oe=T.charCodeAt(0),($===43||$===45)&&$===oe||i.code.isIdentifierPartES5($)&&i.code.isIdentifierPartES5(oe)||$===47&&oe===105?[x,lt(),k]:i.code.isWhiteSpace($)||i.code.isLineTerminator($)||i.code.isWhiteSpace(oe)||i.code.isLineTerminator(oe)?[x,k]:[x,y,k]))}function ut(x){return[l,x]}function Xe(x){var k;k=l,l+=u,x(l),l=k}function ta(x){var k;for(k=x.length-1;k>=0&&!i.code.isLineTerminator(x.charCodeAt(k));--k);return x.length-1-k}function ra(x,k){var F,T,$,oe,ie,ue,he,Ne;for(F=x.split(/\r\n|[\r\n]/),ue=Number.MAX_VALUE,T=1,$=F.length;T<$;++T){for(oe=F[T],ie=0;ie<oe.length&&i.code.isWhiteSpace(oe.charCodeAt(ie));)++ie;ue>ie&&(ue=ie)}for(typeof k<"u"?(he=l,F[1][ue]==="*"&&(k+=" "),l=k):(ue&1&&--ue,he=l),T=1,$=F.length;T<$;++T)Ne=Te(ut(F[T].slice(ue))),F[T]=w?Ne.join(""):Ne;return l=he,F.join(`
|
|
1051
|
+
`)}function Bt(x,k){if(x.type==="Line"){if(ge(x.value))return"//"+x.value;var F="//"+x.value;return C||(F+=`
|
|
1052
|
+
`),F}return S.format.indent.adjustMultilineComment&&/[\n\r]/.test(x.value)?ra("/*"+x.value+"*/",k):"/*"+x.value+"*/"}function Tn(x,k){var F,T,$,oe,ie,ue,he,Ne,mt,jt,nn,aa,Fs,er;if(x.leadingComments&&x.leadingComments.length>0){if(oe=k,C){for($=x.leadingComments[0],k=[],Ne=$.extendedRange,mt=$.range,nn=E.substring(Ne[0],mt[0]),er=(nn.match(/\n/g)||[]).length,er>0?(k.push(ce(`
|
|
1053
|
+
`,er)),k.push(ut(Bt($)))):(k.push(nn),k.push(Bt($))),jt=mt,F=1,T=x.leadingComments.length;F<T;F++)$=x.leadingComments[F],mt=$.range,aa=E.substring(jt[1],mt[0]),er=(aa.match(/\n/g)||[]).length,k.push(ce(`
|
|
1054
|
+
`,er)),k.push(ut(Bt($))),jt=mt;Fs=E.substring(mt[1],Ne[1]),er=(Fs.match(/\n/g)||[]).length,k.push(ce(`
|
|
1055
|
+
`,er))}else for($=x.leadingComments[0],k=[],v&&x.type===t.Program&&x.body.length===0&&k.push(`
|
|
1056
|
+
`),k.push(Bt($)),ge(Te(k).toString())||k.push(`
|
|
1057
|
+
`),F=1,T=x.leadingComments.length;F<T;++F)$=x.leadingComments[F],he=[Bt($)],ge(Te(he).toString())||he.push(`
|
|
1058
|
+
`),k.push(ut(he));k.push(ut(oe))}if(x.trailingComments)if(C)$=x.trailingComments[0],Ne=$.extendedRange,mt=$.range,nn=E.substring(Ne[0],mt[0]),er=(nn.match(/\n/g)||[]).length,er>0?(k.push(ce(`
|
|
1059
|
+
`,er)),k.push(ut(Bt($)))):(k.push(nn),k.push(Bt($)));else for(ie=!ge(Te(k).toString()),ue=ce(" ",ta(Te([l,k,u]).toString())),F=0,T=x.trailingComments.length;F<T;++F)$=x.trailingComments[F],ie?(F===0?k=[k,u]:k=[k,ue],k.push(Bt($,ue))):k=[k,ut(Bt($))],F!==T-1&&!ge(Te(k).toString())&&(k=[k,`
|
|
1060
|
+
`]);return k}function hr(x,k,F){var T,$=0;for(T=x;T<k;T++)E[T]===`
|
|
1061
|
+
`&&$++;for(T=1;T<$;T++)F.push(m)}function et(x,k,F){return k<F?["(",x,")"]:x}function Pn(x){var k,F,T;for(T=x.split(/\r\n|\n/),k=1,F=T.length;k<F;k++)T[k]=m+l+T[k];return T}function na(x,k){var F,T,$;return F=x[S.verbatim],typeof F=="string"?T=et(Pn(F),r.Sequence,k):(T=Pn(F.content),$=F.precedence!=null?F.precedence:r.Sequence,T=et(T,$,k)),Te(T,x)}function Qe(){}Qe.prototype.maybeBlock=function(x,k){var F,T,$=this;return T=!S.comment||!x.leadingComments,x.type===t.BlockStatement&&T?[y,this.generateStatement(x,k)]:x.type===t.EmptyStatement&&T?";":(Xe(function(){F=[m,ut($.generateStatement(x,k))]}),F)},Qe.prototype.maybeBlockSuffix=function(x,k){var F=ge(Te(k).toString());return x.type===t.BlockStatement&&(!S.comment||!x.leadingComments)&&!F?[k,y]:F?[k,l]:[k,m,l]};function wt(x){return Te(x.name,x)}function Sr(x,k){return x.async?"async"+(k?lt():y):""}function Br(x){var k=x.generator&&!S.moz.starlessGenerator;return k?"*"+y:""}function jr(x){var k=x.value,F="";return k.async&&(F+=Sr(k,!x.computed)),k.generator&&(F+=Br(k)?"*":""),F}Qe.prototype.generatePattern=function(x,k,F){return x.type===t.Identifier?wt(x):this.generateExpression(x,k,F)},Qe.prototype.generateFunctionParams=function(x){var k,F,T,$;if($=!1,x.type===t.ArrowFunctionExpression&&!x.rest&&(!x.defaults||x.defaults.length===0)&&x.params.length===1&&x.params[0].type===t.Identifier)T=[Sr(x,!0),wt(x.params[0])];else{for(T=x.type===t.ArrowFunctionExpression?[Sr(x,!1)]:[],T.push("("),x.defaults&&($=!0),k=0,F=x.params.length;k<F;++k)$&&x.defaults[k]?T.push(this.generateAssignment(x.params[k],x.defaults[k],"=",r.Assignment,z)):T.push(this.generatePattern(x.params[k],r.Assignment,z)),k+1<F&&T.push(","+y);x.rest&&(x.params.length&&T.push(","+y),T.push("..."),T.push(wt(x.rest))),T.push(")")}return T},Qe.prototype.generateFunctionBody=function(x){var k,F;return k=this.generateFunctionParams(x),x.type===t.ArrowFunctionExpression&&(k.push(y),k.push("=>")),x.expression?(k.push(y),F=this.generateExpression(x.body,r.Assignment,z),F.toString().charAt(0)==="{"&&(F=["(",F,")"]),k.push(F)):k.push(this.maybeBlock(x.body,ht)),k},Qe.prototype.generateIterationForStatement=function(x,k,F){var T=["for"+(k.await?lt()+"await":"")+y+"("],$=this;return Xe(function(){k.left.type===t.VariableDeclaration?Xe(function(){T.push(k.left.kind+lt()),T.push($.generateStatement(k.left.declarations[0],Ee))}):T.push($.generateExpression(k.left,r.Call,z)),T=Ae(T,x),T=[Ae(T,$.generateExpression(k.right,r.Assignment,z)),")"]}),T.push(this.maybeBlock(k.body,F)),T},Qe.prototype.generatePropertyKey=function(x,k){var F=[];return k&&F.push("["),F.push(this.generateExpression(x,r.Assignment,z)),k&&F.push("]"),F},Qe.prototype.generateAssignment=function(x,k,F,T,$){return r.Assignment<T&&($|=G),et([this.generateExpression(x,r.Call,$),y+F+y,this.generateExpression(k,r.Assignment,$)],r.Assignment,T)},Qe.prototype.semicolon=function(x){return!b&&x&K?"":";"},Qe.Statement={BlockStatement:function(x,k){var F,T,$=["{",m],oe=this;return Xe(function(){x.body.length===0&&C&&(F=x.range,F[1]-F[0]>2&&(T=E.substring(F[0]+1,F[1]-1),T[0]===`
|
|
1062
|
+
`&&($=["{"]),$.push(T)));var ie,ue,he,Ne;for(Ne=re,k&j&&(Ne|=W),ie=0,ue=x.body.length;ie<ue;++ie)C&&(ie===0&&(x.body[0].leadingComments&&(F=x.body[0].leadingComments[0].extendedRange,T=E.substring(F[0],F[1]),T[0]===`
|
|
1063
|
+
`&&($=["{"])),x.body[0].leadingComments||hr(x.range[0],x.body[0].range[0],$)),ie>0&&!x.body[ie-1].trailingComments&&!x.body[ie].leadingComments&&hr(x.body[ie-1].range[1],x.body[ie].range[0],$)),ie===ue-1&&(Ne|=K),x.body[ie].leadingComments&&C?he=oe.generateStatement(x.body[ie],Ne):he=ut(oe.generateStatement(x.body[ie],Ne)),$.push(he),ge(Te(he).toString())||C&&ie<ue-1&&x.body[ie+1].leadingComments||$.push(m),C&&ie===ue-1&&(x.body[ie].trailingComments||hr(x.body[ie].range[1],x.range[1],$))}),$.push(ut("}")),$},BreakStatement:function(x,k){return x.label?"break "+x.label.name+this.semicolon(k):"break"+this.semicolon(k)},ContinueStatement:function(x,k){return x.label?"continue "+x.label.name+this.semicolon(k):"continue"+this.semicolon(k)},ClassBody:function(x,k){var F=["{",m],T=this;return Xe(function($){var oe,ie;for(oe=0,ie=x.body.length;oe<ie;++oe)F.push($),F.push(T.generateExpression(x.body[oe],r.Sequence,z)),oe+1<ie&&F.push(m)}),ge(Te(F).toString())||F.push(m),F.push(l),F.push("}"),F},ClassDeclaration:function(x,k){var F,T;return F=["class"],x.id&&(F=Ae(F,this.generateExpression(x.id,r.Sequence,z))),x.superClass&&(T=Ae("extends",this.generateExpression(x.superClass,r.Unary,z)),F=Ae(F,T)),F.push(y),F.push(this.generateStatement(x.body,me)),F},DirectiveStatement:function(x,k){return S.raw&&x.raw?x.raw+this.semicolon(k):_t(x.directive)+this.semicolon(k)},DoWhileStatement:function(x,k){var F=Ae("do",this.maybeBlock(x.body,re));return F=this.maybeBlockSuffix(x.body,F),Ae(F,["while"+y+"(",this.generateExpression(x.test,r.Sequence,z),")"+this.semicolon(k)])},CatchClause:function(x,k){var F,T=this;return Xe(function(){var $;x.param?(F=["catch"+y+"(",T.generateExpression(x.param,r.Sequence,z),")"],x.guard&&($=T.generateExpression(x.guard,r.Sequence,z),F.splice(2,0," if ",$))):F=["catch"]}),F.push(this.maybeBlock(x.body,re)),F},DebuggerStatement:function(x,k){return"debugger"+this.semicolon(k)},EmptyStatement:function(x,k){return";"},ExportDefaultDeclaration:function(x,k){var F=["export"],T;return T=k&K?me:re,F=Ae(F,"default"),J(x.declaration)?F=Ae(F,this.generateStatement(x.declaration,T)):F=Ae(F,this.generateExpression(x.declaration,r.Assignment,z)+this.semicolon(k)),F},ExportNamedDeclaration:function(x,k){var F=["export"],T,$=this;return T=k&K?me:re,x.declaration?Ae(F,this.generateStatement(x.declaration,T)):(x.specifiers&&(x.specifiers.length===0?F=Ae(F,"{"+y+"}"):x.specifiers[0].type===t.ExportBatchSpecifier?F=Ae(F,this.generateExpression(x.specifiers[0],r.Sequence,z)):(F=Ae(F,"{"),Xe(function(oe){var ie,ue;for(F.push(m),ie=0,ue=x.specifiers.length;ie<ue;++ie)F.push(oe),F.push($.generateExpression(x.specifiers[ie],r.Sequence,z)),ie+1<ue&&F.push(","+m)}),ge(Te(F).toString())||F.push(m),F.push(l+"}")),x.source?F=Ae(F,["from"+y,this.generateExpression(x.source,r.Sequence,z),this.semicolon(k)]):F.push(this.semicolon(k))),F)},ExportAllDeclaration:function(x,k){return["export"+y,"*"+y,"from"+y,this.generateExpression(x.source,r.Sequence,z),this.semicolon(k)]},ExpressionStatement:function(x,k){var F,T;function $(ue){var he;return ue.slice(0,5)!=="class"?!1:(he=ue.charCodeAt(5),he===123||i.code.isWhiteSpace(he)||i.code.isLineTerminator(he))}function oe(ue){var he;return ue.slice(0,8)!=="function"?!1:(he=ue.charCodeAt(8),he===40||i.code.isWhiteSpace(he)||he===42||i.code.isLineTerminator(he))}function ie(ue){var he,Ne,mt;if(ue.slice(0,5)!=="async"||!i.code.isWhiteSpace(ue.charCodeAt(5)))return!1;for(Ne=6,mt=ue.length;Ne<mt&&i.code.isWhiteSpace(ue.charCodeAt(Ne));++Ne);return Ne===mt||ue.slice(Ne,Ne+8)!=="function"?!1:(he=ue.charCodeAt(Ne+8),he===40||i.code.isWhiteSpace(he)||he===42||i.code.isLineTerminator(he))}return F=[this.generateExpression(x.expression,r.Sequence,z)],T=Te(F).toString(),T.charCodeAt(0)===123||$(T)||oe(T)||ie(T)||D&&k&W&&x.expression.type===t.Literal&&typeof x.expression.value=="string"?F=["(",F,")"+this.semicolon(k)]:F.push(this.semicolon(k)),F},ImportDeclaration:function(x,k){var F,T,$=this;return x.specifiers.length===0?["import",y,this.generateExpression(x.source,r.Sequence,z),this.semicolon(k)]:(F=["import"],T=0,x.specifiers[T].type===t.ImportDefaultSpecifier&&(F=Ae(F,[this.generateExpression(x.specifiers[T],r.Sequence,z)]),++T),x.specifiers[T]&&(T!==0&&F.push(","),x.specifiers[T].type===t.ImportNamespaceSpecifier?F=Ae(F,[y,this.generateExpression(x.specifiers[T],r.Sequence,z)]):(F.push(y+"{"),x.specifiers.length-T===1?(F.push(y),F.push(this.generateExpression(x.specifiers[T],r.Sequence,z)),F.push(y+"}"+y)):(Xe(function(oe){var ie,ue;for(F.push(m),ie=T,ue=x.specifiers.length;ie<ue;++ie)F.push(oe),F.push($.generateExpression(x.specifiers[ie],r.Sequence,z)),ie+1<ue&&F.push(","+m)}),ge(Te(F).toString())||F.push(m),F.push(l+"}"+y)))),F=Ae(F,["from"+y,this.generateExpression(x.source,r.Sequence,z),this.semicolon(k)]),F)},VariableDeclarator:function(x,k){var F=k&G?z:se;return x.init?[this.generateExpression(x.id,r.Assignment,F),y,"=",y,this.generateExpression(x.init,r.Assignment,F)]:this.generatePattern(x.id,r.Assignment,F)},VariableDeclaration:function(x,k){var F,T,$,oe,ie,ue=this;F=[x.kind],ie=k&G?re:Ee;function he(){for(oe=x.declarations[0],S.comment&&oe.leadingComments?(F.push(`
|
|
1064
|
+
`),F.push(ut(ue.generateStatement(oe,ie)))):(F.push(lt()),F.push(ue.generateStatement(oe,ie))),T=1,$=x.declarations.length;T<$;++T)oe=x.declarations[T],S.comment&&oe.leadingComments?(F.push(","+m),F.push(ut(ue.generateStatement(oe,ie)))):(F.push(","+y),F.push(ue.generateStatement(oe,ie)))}return x.declarations.length>1?Xe(he):he(),F.push(this.semicolon(k)),F},ThrowStatement:function(x,k){return[Ae("throw",this.generateExpression(x.argument,r.Sequence,z)),this.semicolon(k)]},TryStatement:function(x,k){var F,T,$,oe;if(F=["try",this.maybeBlock(x.block,re)],F=this.maybeBlockSuffix(x.block,F),x.handlers)for(T=0,$=x.handlers.length;T<$;++T)F=Ae(F,this.generateStatement(x.handlers[T],re)),(x.finalizer||T+1!==$)&&(F=this.maybeBlockSuffix(x.handlers[T].body,F));else{for(oe=x.guardedHandlers||[],T=0,$=oe.length;T<$;++T)F=Ae(F,this.generateStatement(oe[T],re)),(x.finalizer||T+1!==$)&&(F=this.maybeBlockSuffix(oe[T].body,F));if(x.handler)if(Array.isArray(x.handler))for(T=0,$=x.handler.length;T<$;++T)F=Ae(F,this.generateStatement(x.handler[T],re)),(x.finalizer||T+1!==$)&&(F=this.maybeBlockSuffix(x.handler[T].body,F));else F=Ae(F,this.generateStatement(x.handler,re)),x.finalizer&&(F=this.maybeBlockSuffix(x.handler.body,F))}return x.finalizer&&(F=Ae(F,["finally",this.maybeBlock(x.finalizer,re)])),F},SwitchStatement:function(x,k){var F,T,$,oe,ie,ue=this;if(Xe(function(){F=["switch"+y+"(",ue.generateExpression(x.discriminant,r.Sequence,z),")"+y+"{"+m]}),x.cases)for(ie=re,$=0,oe=x.cases.length;$<oe;++$)$===oe-1&&(ie|=K),T=ut(this.generateStatement(x.cases[$],ie)),F.push(T),ge(Te(T).toString())||F.push(m);return F.push(ut("}")),F},SwitchCase:function(x,k){var F,T,$,oe,ie,ue=this;return Xe(function(){for(x.test?F=[Ae("case",ue.generateExpression(x.test,r.Sequence,z)),":"]:F=["default:"],$=0,oe=x.consequent.length,oe&&x.consequent[0].type===t.BlockStatement&&(T=ue.maybeBlock(x.consequent[0],re),F.push(T),$=1),$!==oe&&!ge(Te(F).toString())&&F.push(m),ie=re;$<oe;++$)$===oe-1&&k&K&&(ie|=K),T=ut(ue.generateStatement(x.consequent[$],ie)),F.push(T),$+1!==oe&&!ge(Te(T).toString())&&F.push(m)}),F},IfStatement:function(x,k){var F,T,$,oe=this;return Xe(function(){F=["if"+y+"(",oe.generateExpression(x.test,r.Sequence,z),")"]}),$=k&K,T=re,$&&(T|=K),x.alternate?(F.push(this.maybeBlock(x.consequent,re)),F=this.maybeBlockSuffix(x.consequent,F),x.alternate.type===t.IfStatement?F=Ae(F,["else ",this.generateStatement(x.alternate,T)]):F=Ae(F,Ae("else",this.maybeBlock(x.alternate,T)))):F.push(this.maybeBlock(x.consequent,T)),F},ForStatement:function(x,k){var F,T=this;return Xe(function(){F=["for"+y+"("],x.init?x.init.type===t.VariableDeclaration?F.push(T.generateStatement(x.init,Ee)):(F.push(T.generateExpression(x.init,r.Sequence,se)),F.push(";")):F.push(";"),x.test&&(F.push(y),F.push(T.generateExpression(x.test,r.Sequence,z))),F.push(";"),x.update&&(F.push(y),F.push(T.generateExpression(x.update,r.Sequence,z))),F.push(")")}),F.push(this.maybeBlock(x.body,k&K?me:re)),F},ForInStatement:function(x,k){return this.generateIterationForStatement("in",x,k&K?me:re)},ForOfStatement:function(x,k){return this.generateIterationForStatement("of",x,k&K?me:re)},LabeledStatement:function(x,k){return[x.label.name+":",this.maybeBlock(x.body,k&K?me:re)]},Program:function(x,k){var F,T,$,oe,ie;for(oe=x.body.length,F=[v&&oe>0?`
|
|
1065
|
+
`:""],ie=it,$=0;$<oe;++$)!v&&$===oe-1&&(ie|=K),C&&($===0&&(x.body[0].leadingComments||hr(x.range[0],x.body[$].range[0],F)),$>0&&!x.body[$-1].trailingComments&&!x.body[$].leadingComments&&hr(x.body[$-1].range[1],x.body[$].range[0],F)),T=ut(this.generateStatement(x.body[$],ie)),F.push(T),$+1<oe&&!ge(Te(T).toString())&&(C&&x.body[$+1].leadingComments||F.push(m)),C&&$===oe-1&&(x.body[$].trailingComments||hr(x.body[$].range[1],x.range[1],F));return F},FunctionDeclaration:function(x,k){return[Sr(x,!0),"function",Br(x)||lt(),x.id?wt(x.id):"",this.generateFunctionBody(x)]},ReturnStatement:function(x,k){return x.argument?[Ae("return",this.generateExpression(x.argument,r.Sequence,z)),this.semicolon(k)]:["return"+this.semicolon(k)]},WhileStatement:function(x,k){var F,T=this;return Xe(function(){F=["while"+y+"(",T.generateExpression(x.test,r.Sequence,z),")"]}),F.push(this.maybeBlock(x.body,k&K?me:re)),F},WithStatement:function(x,k){var F,T=this;return Xe(function(){F=["with"+y+"(",T.generateExpression(x.object,r.Sequence,z),")"]}),F.push(this.maybeBlock(x.body,k&K?me:re)),F}},ve(Qe.prototype,Qe.Statement),Qe.Expression={SequenceExpression:function(x,k,F){var T,$,oe;for(r.Sequence<k&&(F|=G),T=[],$=0,oe=x.expressions.length;$<oe;++$)T.push(this.generateExpression(x.expressions[$],r.Assignment,F)),$+1<oe&&T.push(","+y);return et(T,r.Sequence,k)},AssignmentExpression:function(x,k,F){return this.generateAssignment(x.left,x.right,x.operator,k,F)},ArrowFunctionExpression:function(x,k,F){return et(this.generateFunctionBody(x),r.ArrowFunction,k)},ConditionalExpression:function(x,k,F){return r.Conditional<k&&(F|=G),et([this.generateExpression(x.test,r.Coalesce,F),y+"?"+y,this.generateExpression(x.consequent,r.Assignment,F),y+":"+y,this.generateExpression(x.alternate,r.Assignment,F)],r.Conditional,k)},LogicalExpression:function(x,k,F){return x.operator==="??"&&(F|=ae),this.BinaryExpression(x,k,F)},BinaryExpression:function(x,k,F){var T,$,oe,ie,ue,he;return ie=n[x.operator],$=x.operator==="**"?r.Postfix:ie,oe=x.operator==="**"?ie:ie+1,ie<k&&(F|=G),ue=this.generateExpression(x.left,$,F),he=ue.toString(),he.charCodeAt(he.length-1)===47&&i.code.isIdentifierPartES5(x.operator.charCodeAt(0))?T=[ue,lt(),x.operator]:T=Ae(ue,x.operator),ue=this.generateExpression(x.right,oe,F),x.operator==="/"&&ue.toString().charAt(0)==="/"||x.operator.slice(-1)==="<"&&ue.toString().slice(0,3)==="!--"?(T.push(lt()),T.push(ue)):T=Ae(T,ue),x.operator==="in"&&!(F&G)?["(",T,")"]:(x.operator==="||"||x.operator==="&&")&&F&ae?["(",T,")"]:et(T,ie,k)},CallExpression:function(x,k,F){var T,$,oe;for(T=[this.generateExpression(x.callee,r.Call,Z)],x.optional&&T.push("?."),T.push("("),$=0,oe=x.arguments.length;$<oe;++$)T.push(this.generateExpression(x.arguments[$],r.Assignment,z)),$+1<oe&&T.push(","+y);return T.push(")"),F&R?et(T,r.Call,k):["(",T,")"]},ChainExpression:function(x,k,F){r.OptionalChaining<k&&(F|=R);var T=this.generateExpression(x.expression,r.OptionalChaining,F);return et(T,r.OptionalChaining,k)},NewExpression:function(x,k,F){var T,$,oe,ie,ue;if($=x.arguments.length,ue=F&L&&!g&&$===0?le:Q,T=Ae("new",this.generateExpression(x.callee,r.New,ue)),!(F&L)||g||$>0){for(T.push("("),oe=0,ie=$;oe<ie;++oe)T.push(this.generateExpression(x.arguments[oe],r.Assignment,z)),oe+1<ie&&T.push(","+y);T.push(")")}return et(T,r.New,k)},MemberExpression:function(x,k,F){var T,$;return T=[this.generateExpression(x.object,r.Call,F&R?Z:Q)],x.computed?(x.optional&&T.push("?."),T.push("["),T.push(this.generateExpression(x.property,r.Sequence,F&R?z:le)),T.push("]")):(!x.optional&&x.object.type===t.Literal&&typeof x.object.value=="number"&&($=Te(T).toString(),$.indexOf(".")<0&&!/[eExX]/.test($)&&i.code.isDecimalDigit($.charCodeAt($.length-1))&&!($.length>=2&&$.charCodeAt(0)===48)&&T.push(" ")),T.push(x.optional?"?.":"."),T.push(wt(x.property))),et(T,r.Member,k)},MetaProperty:function(x,k,F){var T;return T=[],T.push(typeof x.meta=="string"?x.meta:wt(x.meta)),T.push("."),T.push(typeof x.property=="string"?x.property:wt(x.property)),et(T,r.Member,k)},UnaryExpression:function(x,k,F){var T,$,oe,ie,ue;return $=this.generateExpression(x.argument,r.Unary,z),y===""?T=Ae(x.operator,$):(T=[x.operator],x.operator.length>2?T=Ae(T,$):(ie=Te(T).toString(),ue=ie.charCodeAt(ie.length-1),oe=$.toString().charCodeAt(0),((ue===43||ue===45)&&ue===oe||i.code.isIdentifierPartES5(ue)&&i.code.isIdentifierPartES5(oe))&&T.push(lt()),T.push($))),et(T,r.Unary,k)},YieldExpression:function(x,k,F){var T;return x.delegate?T="yield*":T="yield",x.argument&&(T=Ae(T,this.generateExpression(x.argument,r.Yield,z))),et(T,r.Yield,k)},AwaitExpression:function(x,k,F){var T=Ae(x.all?"await*":"await",this.generateExpression(x.argument,r.Await,z));return et(T,r.Await,k)},UpdateExpression:function(x,k,F){return x.prefix?et([x.operator,this.generateExpression(x.argument,r.Unary,z)],r.Unary,k):et([this.generateExpression(x.argument,r.Postfix,z),x.operator],r.Postfix,k)},FunctionExpression:function(x,k,F){var T=[Sr(x,!0),"function"];return x.id?(T.push(Br(x)||lt()),T.push(wt(x.id))):T.push(Br(x)||y),T.push(this.generateFunctionBody(x)),T},ArrayPattern:function(x,k,F){return this.ArrayExpression(x,k,F,!0)},ArrayExpression:function(x,k,F,T){var $,oe,ie=this;return x.elements.length?(oe=T?!1:x.elements.length>1,$=["[",oe?m:""],Xe(function(ue){var he,Ne;for(he=0,Ne=x.elements.length;he<Ne;++he)x.elements[he]?($.push(oe?ue:""),$.push(ie.generateExpression(x.elements[he],r.Assignment,z))):(oe&&$.push(ue),he+1===Ne&&$.push(",")),he+1<Ne&&$.push(","+(oe?m:y))}),oe&&!ge(Te($).toString())&&$.push(m),$.push(oe?l:""),$.push("]"),$):"[]"},RestElement:function(x,k,F){return"..."+this.generatePattern(x.argument)},ClassExpression:function(x,k,F){var T,$;return T=["class"],x.id&&(T=Ae(T,this.generateExpression(x.id,r.Sequence,z))),x.superClass&&($=Ae("extends",this.generateExpression(x.superClass,r.Unary,z)),T=Ae(T,$)),T.push(y),T.push(this.generateStatement(x.body,me)),T},MethodDefinition:function(x,k,F){var T,$;return x.static?T=["static"+y]:T=[],x.kind==="get"||x.kind==="set"?$=[Ae(x.kind,this.generatePropertyKey(x.key,x.computed)),this.generateFunctionBody(x.value)]:$=[jr(x),this.generatePropertyKey(x.key,x.computed),this.generateFunctionBody(x.value)],Ae(T,$)},Property:function(x,k,F){return x.kind==="get"||x.kind==="set"?[x.kind,lt(),this.generatePropertyKey(x.key,x.computed),this.generateFunctionBody(x.value)]:x.shorthand?x.value.type==="AssignmentPattern"?this.AssignmentPattern(x.value,r.Sequence,z):this.generatePropertyKey(x.key,x.computed):x.method?[jr(x),this.generatePropertyKey(x.key,x.computed),this.generateFunctionBody(x.value)]:[this.generatePropertyKey(x.key,x.computed),":"+y,this.generateExpression(x.value,r.Assignment,z)]},ObjectExpression:function(x,k,F){var T,$,oe,ie=this;return x.properties.length?(T=x.properties.length>1,Xe(function(){oe=ie.generateExpression(x.properties[0],r.Sequence,z)}),!T&&!ye(Te(oe).toString())?["{",y,oe,y,"}"]:(Xe(function(ue){var he,Ne;if($=["{",m,ue,oe],T)for($.push(","+m),he=1,Ne=x.properties.length;he<Ne;++he)$.push(ue),$.push(ie.generateExpression(x.properties[he],r.Sequence,z)),he+1<Ne&&$.push(","+m)}),ge(Te($).toString())||$.push(m),$.push(l),$.push("}"),$)):"{}"},AssignmentPattern:function(x,k,F){return this.generateAssignment(x.left,x.right,"=",k,F)},ObjectPattern:function(x,k,F){var T,$,oe,ie,ue,he=this;if(!x.properties.length)return"{}";if(ie=!1,x.properties.length===1)ue=x.properties[0],ue.type===t.Property&&ue.value.type!==t.Identifier&&(ie=!0);else for($=0,oe=x.properties.length;$<oe;++$)if(ue=x.properties[$],ue.type===t.Property&&!ue.shorthand){ie=!0;break}return T=["{",ie?m:""],Xe(function(Ne){var mt,jt;for(mt=0,jt=x.properties.length;mt<jt;++mt)T.push(ie?Ne:""),T.push(he.generateExpression(x.properties[mt],r.Sequence,z)),mt+1<jt&&T.push(","+(ie?m:y))}),ie&&!ge(Te(T).toString())&&T.push(m),T.push(ie?l:""),T.push("}"),T},ThisExpression:function(x,k,F){return"this"},Super:function(x,k,F){return"super"},Identifier:function(x,k,F){return wt(x)},ImportDefaultSpecifier:function(x,k,F){return wt(x.id||x.local)},ImportNamespaceSpecifier:function(x,k,F){var T=["*"],$=x.id||x.local;return $&&T.push(y+"as"+lt()+wt($)),T},ImportSpecifier:function(x,k,F){var T=x.imported,$=[T.name],oe=x.local;return oe&&oe.name!==T.name&&$.push(lt()+"as"+lt()+wt(oe)),$},ExportSpecifier:function(x,k,F){var T=x.local,$=[T.name],oe=x.exported;return oe&&oe.name!==T.name&&$.push(lt()+"as"+lt()+wt(oe)),$},Literal:function(x,k,F){var T;if(x.hasOwnProperty("raw")&&P&&S.raw)try{if(T=P(x.raw).body[0].expression,T.type===t.Literal&&T.value===x.value)return x.raw}catch{}return x.regex?"/"+x.regex.pattern+"/"+x.regex.flags:typeof x.value=="bigint"?x.value.toString()+"n":x.bigint?x.bigint+"n":x.value===null?"null":typeof x.value=="string"?Vt(x.value):typeof x.value=="number"?Se(x.value):typeof x.value=="boolean"?x.value?"true":"false":st(x.value)},GeneratorExpression:function(x,k,F){return this.ComprehensionExpression(x,k,F)},ComprehensionExpression:function(x,k,F){var T,$,oe,ie,ue=this;return T=x.type===t.GeneratorExpression?["("]:["["],S.moz.comprehensionExpressionStartsWithAssignment&&(ie=this.generateExpression(x.body,r.Assignment,z),T.push(ie)),x.blocks&&Xe(function(){for($=0,oe=x.blocks.length;$<oe;++$)ie=ue.generateExpression(x.blocks[$],r.Sequence,z),$>0||S.moz.comprehensionExpressionStartsWithAssignment?T=Ae(T,ie):T.push(ie)}),x.filter&&(T=Ae(T,"if"+y),ie=this.generateExpression(x.filter,r.Sequence,z),T=Ae(T,["(",ie,")"])),S.moz.comprehensionExpressionStartsWithAssignment||(ie=this.generateExpression(x.body,r.Assignment,z),T=Ae(T,ie)),T.push(x.type===t.GeneratorExpression?")":"]"),T},ComprehensionBlock:function(x,k,F){var T;return x.left.type===t.VariableDeclaration?T=[x.left.kind,lt(),this.generateStatement(x.left.declarations[0],Ee)]:T=this.generateExpression(x.left,r.Call,z),T=Ae(T,x.of?"of":"in"),T=Ae(T,this.generateExpression(x.right,r.Sequence,z)),["for"+y+"(",T,")"]},SpreadElement:function(x,k,F){return["...",this.generateExpression(x.argument,r.Assignment,z)]},TaggedTemplateExpression:function(x,k,F){var T=Z;F&R||(T=Q);var $=[this.generateExpression(x.tag,r.Call,T),this.generateExpression(x.quasi,r.Primary,ee)];return et($,r.TaggedTemplate,k)},TemplateElement:function(x,k,F){return x.value.raw},TemplateLiteral:function(x,k,F){var T,$,oe;for(T=["`"],$=0,oe=x.quasis.length;$<oe;++$)T.push(this.generateExpression(x.quasis[$],r.Primary,z)),$+1<oe&&(T.push("${"+y),T.push(this.generateExpression(x.expressions[$],r.Sequence,z)),T.push(y+"}"));return T.push("`"),T},ModuleSpecifier:function(x,k,F){return this.Literal(x,k,F)},ImportExpression:function(x,k,F){return et(["import(",this.generateExpression(x.source,r.Assignment,z),")"],r.Call,k)}},ve(Qe.prototype,Qe.Expression),Qe.prototype.generateExpression=function(x,k,F){var T,$;return $=x.type||t.Property,S.verbatim&&x.hasOwnProperty(S.verbatim)?na(x,k):(T=this[$](x,k,F),S.comment&&(T=Tn(x,T)),Te(T,x))},Qe.prototype.generateStatement=function(x,k){var F,T;return F=this[x.type](x,k),S.comment&&(F=Tn(x,F)),T=Te(F).toString(),x.type===t.Program&&!v&&m===""&&T.charAt(T.length-1)===`
|
|
1066
|
+
`&&(F=w?Te(F).replaceRight(/\s+$/,""):T.replace(/\s+$/,"")),Te(F,x)};function Dn(x){var k;if(k=new Qe,J(x))return k.generateStatement(x,re);if(B(x))return k.generateExpression(x,r.Sequence,z);throw new Error("Unknown node type: "+x.type)}function mr(x,k){var F=Y(),T,$;return k!=null?(typeof k.indent=="string"&&(F.format.indent.style=k.indent),typeof k.base=="number"&&(F.format.indent.base=k.base),k=xe(F,k),u=k.format.indent.style,typeof k.base=="string"?l=k.base:l=ce(u,k.format.indent.base)):(k=F,u=k.format.indent.style,l=ce(u,k.format.indent.base)),c=k.format.json,p=k.format.renumber,d=c?!1:k.format.hexadecimal,h=c?"double":k.format.quotes,f=k.format.escapeless,m=k.format.newline,y=k.format.space,k.format.compact&&(m=y=u=l=""),g=k.format.parentheses,b=k.format.semicolons,v=k.format.safeConcatenation,D=k.directive,P=c?null:k.parse,w=k.sourceMap,E=k.sourceCode,C=k.format.preserveBlankLines&&E!==null,S=k,w&&(e.browser?a=global.sourceMap.SourceNode:a=lK().SourceNode),T=Dn(x),w?($=T.toStringWithSourceMap({file:k.file,sourceRoot:k.sourceMapRoot}),k.sourceContent&&$.map.setSourceContent(k.sourceMap,k.sourceContent),k.sourceMapWithCode?$:$.map.toString()):($={code:T.toString(),map:null},k.sourceMapWithCode?$:$.code)}_={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},N=Y().format,e.version=uK().version,e.generate=mr,e.attachComments=o.attachComments,e.Precedence=xe({},r),e.browser=!1,e.FORMAT_MINIFY=_,e.FORMAT_DEFAULTS=N})()}}),ih={};Yc(ih,{Node:()=>mi,Parser:()=>rt,Position:()=>la,SourceLocation:()=>ao,TokContext:()=>ir,Token:()=>yi,TokenType:()=>$e,defaultOptions:()=>rs,getLineInfo:()=>lh,isIdentifierChar:()=>sa,isIdentifierStart:()=>fn,isNewLine:()=>Ya,keywordTypes:()=>Oi,lineBreak:()=>Yt,lineBreakG:()=>ha,nonASCIIwhitespace:()=>bl,parse:()=>vK,parseExpressionAt:()=>EK,tokContexts:()=>pt,tokTypes:()=>M,tokenizer:()=>CK,version:()=>hh});function sh(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}}function fn(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Rk.test(String.fromCharCode(e)):t===!1?!1:sh(e,av)}function sa(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Fk.test(String.fromCharCode(e)):t===!1?!1:sh(e,av)||sh(e,Ik)}function gr(e,t){return new $e(e,{beforeExpr:!0,binop:t})}function Me(e,t){return t===void 0&&(t={}),t.keyword=e,Oi[e]=new $e(e,t)}function Ya(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function yl(e,t){return kk.call(e,t)}function fa(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function lh(e,t){for(var r=1,n=0;;){ha.lastIndex=n;var a=ha.exec(e);if(a&&a.index<t)++r,n=a.index+a[0].length;else return new la(r,t-n)}}function pK(e){var t={};for(var r in rs)t[r]=e&&yl(e,r)?e[r]:rs[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),uh(t.onToken)){var n=t.onToken;t.onToken=function(a){return n.push(a)}}return uh(t.onComment)&&(t.onComment=dK(t,t.onComment)),t}function dK(e,t){return function(r,n,a,o,i,l){var u={type:r?"Block":"Line",value:n,start:a,end:o};e.locations&&(u.loc=new ao(this,i,l)),e.ranges&&(u.range=[a,o]),t.push(u)}}function Np(e,t){return Xa|(e?ch:0)|(t?ph:0)}function $s(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function EE(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}function Bp(e){var t=fh[e]={binary:fa(Nk[e]+" "+dh),nonBinary:{General_Category:fa(dh),Script:fa(Bk[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function Us(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function CE(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function fK(e){return fn(e,!0)||e===36||e===95}function hK(e){return sa(e,!0)||e===36||e===95||e===8204||e===8205}function Dk(e){return e>=65&&e<=90||e>=97&&e<=122}function mK(e){return e>=0&&e<=1114111}function yK(e){return e===100||e===68||e===115||e===83||e===119||e===87}function Ok(e){return Dk(e)||e===95}function gK(e){return Ok(e)||gl(e)}function gl(e){return e>=48&&e<=57}function wE(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function AE(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function xE(e){return e>=48&&e<=55}function bK(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function SE(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function jp(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function vK(e,t){return rt.parse(e,t)}function EK(e,t,r){return rt.parseExpressionAt(e,t,r)}function CK(e,t){return rt.tokenizer(e,t)}var Vs,Hs,_E,TE,Js,qp,Rk,Fk,av,Ik,$e,rr,Kt,Oi,M,Yt,ha,bl,nr,Mp,kk,PE,uh,la,ao,rs,Va,Xa,zs,ch,ph,Lp,$p,Up,Vp,Hp,Gs,Mr,Jp,zp,Gp,rt,On,Lt,DE,Pe,Ws,OE,RE,Ha,Ks,Wp,Lr,Fe,FE,ri,ln,IE,mi,ni,ir,pt,ai,Kp,Yp,kE,Nk,dh,Xp,Qp,NE,Bk,fh,we,$r,yi,Be,Zp,hh,mh=Uz({"../../node_modules/acorn/dist/acorn.mjs"(){Vs={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Hs="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_E={5:Hs,"5module":Hs+" export import",6:Hs+" const class extends export import super"},TE=/^in(stanceof)?$/,Js="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",qp="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Rk=new RegExp("["+Js+"]"),Fk=new RegExp("["+Js+qp+"]"),Js=qp=null,av=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Ik=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],$e=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},rr={beforeExpr:!0},Kt={startsExpr:!0},Oi={},M={num:new $e("num",Kt),regexp:new $e("regexp",Kt),string:new $e("string",Kt),name:new $e("name",Kt),eof:new $e("eof"),bracketL:new $e("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new $e("]"),braceL:new $e("{",{beforeExpr:!0,startsExpr:!0}),braceR:new $e("}"),parenL:new $e("(",{beforeExpr:!0,startsExpr:!0}),parenR:new $e(")"),comma:new $e(",",rr),semi:new $e(";",rr),colon:new $e(":",rr),dot:new $e("."),question:new $e("?",rr),questionDot:new $e("?."),arrow:new $e("=>",rr),template:new $e("template"),invalidTemplate:new $e("invalidTemplate"),ellipsis:new $e("...",rr),backQuote:new $e("`",Kt),dollarBraceL:new $e("${",{beforeExpr:!0,startsExpr:!0}),eq:new $e("=",{beforeExpr:!0,isAssign:!0}),assign:new $e("_=",{beforeExpr:!0,isAssign:!0}),incDec:new $e("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new $e("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:gr("||",1),logicalAND:gr("&&",2),bitwiseOR:gr("|",3),bitwiseXOR:gr("^",4),bitwiseAND:gr("&",5),equality:gr("==/!=/===/!==",6),relational:gr("</>/<=/>=",7),bitShift:gr("<</>>/>>>",8),plusMin:new $e("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:gr("%",10),star:gr("*",10),slash:gr("/",10),starstar:new $e("**",{beforeExpr:!0}),coalesce:gr("??",1),_break:Me("break"),_case:Me("case",rr),_catch:Me("catch"),_continue:Me("continue"),_debugger:Me("debugger"),_default:Me("default",rr),_do:Me("do",{isLoop:!0,beforeExpr:!0}),_else:Me("else",rr),_finally:Me("finally"),_for:Me("for",{isLoop:!0}),_function:Me("function",Kt),_if:Me("if"),_return:Me("return",rr),_switch:Me("switch"),_throw:Me("throw",rr),_try:Me("try"),_var:Me("var"),_const:Me("const"),_while:Me("while",{isLoop:!0}),_with:Me("with"),_new:Me("new",{beforeExpr:!0,startsExpr:!0}),_this:Me("this",Kt),_super:Me("super",Kt),_class:Me("class",Kt),_extends:Me("extends",rr),_export:Me("export"),_import:Me("import",Kt),_null:Me("null",Kt),_true:Me("true",Kt),_false:Me("false",Kt),_in:Me("in",{beforeExpr:!0,binop:7}),_instanceof:Me("instanceof",{beforeExpr:!0,binop:7}),_typeof:Me("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Me("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Me("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Yt=/\r\n?|\n|\u2028|\u2029/,ha=new RegExp(Yt.source,"g"),bl=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,nr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Mp=Object.prototype,kk=Mp.hasOwnProperty,PE=Mp.toString,uh=Array.isArray||function(e){return PE.call(e)==="[object Array]"},la=function(e,t){this.line=e,this.column=t},la.prototype.offset=function(e){return new la(this.line,this.column+e)},ao=function(e,t,r){this.start=t,this.end=r,e.sourceFile!==null&&(this.source=e.sourceFile)},rs={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Va=1,Xa=2,zs=Va|Xa,ch=4,ph=8,Lp=16,$p=32,Up=64,Vp=128,Hp=0,Gs=1,Mr=2,Jp=3,zp=4,Gp=5,rt=function(e,t,r){this.options=e=pK(e),this.sourceFile=e.sourceFile,this.keywords=fa(_E[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";if(e.allowReserved!==!0){for(var a=e.ecmaVersion;!(n=Vs[a]);a--);e.sourceType==="module"&&(n+=" await")}this.reservedWords=fa(n);var o=(n?n+" ":"")+Vs.strict;this.reservedWordsStrict=fa(o),this.reservedWordsStrictBind=fa(o+" "+Vs.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
|
|
1067
|
+
`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Yt).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=M.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Va),this.regexpState=null},On={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},rt.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},On.inFunction.get=function(){return(this.currentVarScope().flags&Xa)>0},On.inGenerator.get=function(){return(this.currentVarScope().flags&ph)>0},On.inAsync.get=function(){return(this.currentVarScope().flags&ch)>0},On.allowSuper.get=function(){return(this.currentThisScope().flags&Up)>0},On.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Vp)>0},On.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},rt.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Xa)>0},rt.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},rt.parse=function(e,t){return new this(t,e).parse()},rt.parseExpressionAt=function(e,t,r){var n=new this(r,e,t);return n.nextToken(),n.parseExpression()},rt.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(rt.prototype,On),Lt=rt.prototype,DE=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,Lt.strictDirective=function(e){for(;;){nr.lastIndex=e,e+=nr.exec(this.input)[0].length;var t=DE.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){nr.lastIndex=e+t[0].length;var r=nr.exec(this.input),n=r.index+r[0].length,a=this.input.charAt(n);return a===";"||a==="}"||Yt.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,nr.lastIndex=e,e+=nr.exec(this.input)[0].length,this.input[e]===";"&&e++}},Lt.eat=function(e){return this.type===e?(this.next(),!0):!1},Lt.isContextual=function(e){return this.type===M.name&&this.value===e&&!this.containsEsc},Lt.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},Lt.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Lt.canInsertSemicolon=function(){return this.type===M.eof||this.type===M.braceR||Yt.test(this.input.slice(this.lastTokEnd,this.start))},Lt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Lt.semicolon=function(){!this.eat(M.semi)&&!this.insertSemicolon()&&this.unexpected()},Lt.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Lt.expect=function(e){this.eat(e)||this.unexpected()},Lt.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},Lt.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},Lt.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},Lt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Lt.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"},Pe=rt.prototype,Pe.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==M.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,a=Object.keys(this.undefinedExports);n<a.length;n+=1){var o=a[n];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")},Ws={kind:"loop"},OE={kind:"switch"},Pe.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;nr.lastIndex=this.pos;var t=nr.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91)return!0;if(e)return!1;if(n===123)return!0;if(fn(n,!0)){for(var a=r+1;sa(this.input.charCodeAt(a),!0);)++a;var o=this.input.slice(r,a);if(!TE.test(o))return!0}return!1},Pe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;nr.lastIndex=this.pos;var e=nr.exec(this.input),t=this.pos+e[0].length;return!Yt.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!sa(this.input.charAt(t+8)))},Pe.parseStatement=function(e,t,r){var n=this.type,a=this.startNode(),o;switch(this.isLet(e)&&(n=M._var,o="let"),n){case M._break:case M._continue:return this.parseBreakContinueStatement(a,n.keyword);case M._debugger:return this.parseDebuggerStatement(a);case M._do:return this.parseDoStatement(a);case M._for:return this.parseForStatement(a);case M._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case M._class:return e&&this.unexpected(),this.parseClass(a,!0);case M._if:return this.parseIfStatement(a);case M._return:return this.parseReturnStatement(a);case M._switch:return this.parseSwitchStatement(a);case M._throw:return this.parseThrowStatement(a);case M._try:return this.parseTryStatement(a);case M._const:case M._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(a,o);case M._while:return this.parseWhileStatement(a);case M._with:return this.parseWithStatement(a);case M.braceL:return this.parseBlock(!0,a);case M.semi:return this.parseEmptyStatement(a);case M._export:case M._import:if(this.options.ecmaVersion>10&&n===M._import){nr.lastIndex=this.pos;var i=nr.exec(this.input),l=this.pos+i[0].length,u=this.input.charCodeAt(l);if(u===40||u===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===M._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,p=this.parseExpression();return n===M.name&&p.type==="Identifier"&&this.eat(M.colon)?this.parseLabeledStatement(a,c,p,e):this.parseExpressionStatement(a,p)}},Pe.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(M.semi)||this.insertSemicolon()?e.label=null:this.type!==M.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var a=this.labels[n];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},Pe.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Pe.parseDoStatement=function(e){return this.next(),this.labels.push(Ws),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(M._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(M.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Pe.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ws),this.enterScope(0),this.expect(M.parenL),this.type===M.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===M._var||this.type===M._const||r){var n=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(n,!0,a),this.finishNode(n,"VariableDeclaration"),(this.type===M._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===M._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var o=new $s,i=this.parseExpression(!0,o);return this.type===M._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===M._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(i,!1,o),this.checkLVal(i),this.parseForIn(e,i)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,i))},Pe.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ha|(r?0:Ks),!1,t)},Pe.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(M._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Pe.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(M.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Pe.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(M.braceL),this.labels.push(OE),this.enterScope(0);for(var t,r=!1;this.type!==M.braceR;)if(this.type===M._case||this.type===M._default){var n=this.type===M._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(M.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Pe.parseThrowStatement=function(e){return this.next(),Yt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},RE=[],Pe.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===M._catch){var t=this.startNode();if(this.next(),this.eat(M.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?$p:0),this.checkLVal(t.param,r?zp:Mr),this.expect(M.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(M._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Pe.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Pe.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ws),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Pe.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},Pe.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Pe.parseLabeledStatement=function(e,t,r,n){for(var a=0,o=this.labels;a<o.length;a+=1){var i=o[a];i.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===M._switch?"switch":null,u=this.labels.length-1;u>=0;u--){var c=this.labels[u];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},Pe.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Pe.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(M.braceL),e&&this.enterScope(0);this.type!==M.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Pe.parseFor=function(e,t){return e.init=t,this.expect(M.semi),e.test=this.type===M.semi?null:this.parseExpression(),this.expect(M.semi),e.update=this.type===M.parenR?null:this.parseExpression(),this.expect(M.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Pe.parseForIn=function(e,t){var r=this.type===M._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(M.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},Pe.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(M.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===M._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===M._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(M.comma))break}return e},Pe.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Gs:Mr,!1)},Ha=1,Ks=2,Wp=4,Pe.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===M.star&&t&Ks&&this.unexpected(),e.generator=this.eat(M.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Ha&&(e.id=t&Wp&&this.type!==M.name?null:this.parseIdent(),e.id&&!(t&Ks)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Gs:Mr:Jp));var a=this.yieldPos,o=this.awaitPos,i=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Np(e.async,e.generator)),t&Ha||(e.id=this.type===M.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=i,this.finishNode(e,t&Ha?"FunctionDeclaration":"FunctionExpression")},Pe.parseFunctionParams=function(e){this.expect(M.parenL),e.params=this.parseBindingList(M.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Pe.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),a=!1;for(n.body=[],this.expect(M.braceL);this.type!==M.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(n.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(a&&this.raise(o.start,"Duplicate constructor in the same class"),a=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Pe.parseClassElement=function(e){var t=this;if(this.eat(M.semi))return null;var r=this.startNode(),n=function(u,c){c===void 0&&(c=!1);var p=t.start,d=t.startLoc;return t.eatContextual(u)?t.type!==M.parenL&&(!c||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(p,d),r.key.name=u,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=n("static");var a=this.eat(M.star),o=!1;a||(this.options.ecmaVersion>=8&&n("async",!0)?(o=!0,a=this.options.ecmaVersion>=9&&this.eat(M.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var i=r.key,l=!1;return!r.computed&&!r.static&&(i.type==="Identifier"&&i.name==="constructor"||i.type==="Literal"&&i.value==="constructor")?(r.kind!=="method"&&this.raise(i.start,"Constructor can't have get/set modifier"),a&&this.raise(i.start,"Constructor can't be a generator"),o&&this.raise(i.start,"Constructor can't be an async method"),r.kind="constructor",l=e):r.static&&i.type==="Identifier"&&i.name==="prototype"&&this.raise(i.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,a,o,l),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},Pe.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},Pe.parseClassId=function(e,t){this.type===M.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Mr,!1)):(t===!0&&this.unexpected(),e.id=null)},Pe.parseClassSuper=function(e){e.superClass=this.eat(M._extends)?this.parseExprSubscripts():null},Pe.parseExport=function(e,t){if(this.next(),this.eat(M.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==M.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(M._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===M._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,Ha|Wp,!1,r)}else if(this.type===M._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==M.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,i=e.specifiers;o<i.length;o+=1){var l=i[o];this.checkUnreserved(l.local),this.checkLocalExport(l.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},Pe.checkExport=function(e,t,r){e&&(yl(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},Pe.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t.name,t.start);else if(r==="ObjectPattern")for(var n=0,a=t.properties;n<a.length;n+=1){var o=a[n];this.checkPatternExport(e,o)}else if(r==="ArrayPattern")for(var i=0,l=t.elements;i<l.length;i+=1){var u=l[i];u&&this.checkPatternExport(e,u)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)},Pe.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var a=n[r];this.checkPatternExport(e,a.id)}},Pe.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Pe.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(M.braceL);!this.eat(M.braceR);){if(r)r=!1;else if(this.expect(M.comma),this.afterTrailingComma(M.braceR))break;var n=this.startNode();n.local=this.parseIdent(!0),n.exported=this.eatContextual("as")?this.parseIdent(!0):n.local,this.checkExport(e,n.exported.name,n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t},Pe.parseImport=function(e){return this.next(),this.type===M.string?(e.specifiers=RE,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===M.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Pe.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===M.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,Mr),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(M.comma))return e}if(this.type===M.star){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLVal(n.local,Mr),e.push(this.finishNode(n,"ImportNamespaceSpecifier")),e}for(this.expect(M.braceL);!this.eat(M.braceR);){if(t)t=!1;else if(this.expect(M.comma),this.afterTrailingComma(M.braceR))break;var a=this.startNode();a.imported=this.parseIdent(!0),this.eatContextual("as")?a.local=this.parseIdent():(this.checkUnreserved(a.imported),a.local=a.imported),this.checkLVal(a.local,Mr),e.push(this.finishNode(a,"ImportSpecifier"))}return e},Pe.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},Pe.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")},Lr=rt.prototype,Lr.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];this.toAssignable(o,t),o.type==="RestElement"&&(o.argument.type==="ArrayPattern"||o.argument.type==="ObjectPattern")&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},Lr.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var a=e[n];a&&this.toAssignable(a,t)}if(r){var o=e[r-1];this.options.ecmaVersion===6&&t&&o&&o.type==="RestElement"&&o.argument.type!=="Identifier"&&this.unexpected(o.argument.start)}return e},Lr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Lr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==M.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Lr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case M.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(M.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case M.braceL:return this.parseObj(!0)}return this.parseIdent()},Lr.parseBindingList=function(e,t,r){for(var n=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(M.comma),t&&this.type===M.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===M.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),n.push(o),this.type===M.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var i=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(i),n.push(i)}}return n},Lr.parseBindingListItem=function(e){return e},Lr.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(M.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},Lr.checkLVal=function(e,t,r){switch(t===void 0&&(t=Hp),e.type){case"Identifier":t===Mr&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(yl(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==Hp&&t!==Gp&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];this.checkLVal(o,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var i=0,l=e.elements;i<l.length;i+=1){var u=l[i];u&&this.checkLVal(u,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}},Fe=rt.prototype,Fe.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,a;switch(n.type){case"Identifier":a=n.name;break;case"Literal":a=String(n.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&o==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var i=t[a];if(i){var l;o==="init"?l=this.strict&&i.init||i.get||i.set:l=i.init||i[o],l&&this.raiseRecoverable(n.start,"Redefinition of property")}else i=t[a]={init:!1,get:!1,set:!1};i[o]=!0}},Fe.parseExpression=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===M.comma){var o=this.startNodeAt(r,n);for(o.expressions=[a];this.eat(M.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return a},Fe.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,a=-1,o=-1;t?(a=t.parenthesizedAssign,o=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new $s,n=!0);var i=this.start,l=this.startLoc;(this.type===M.parenL||this.type===M.name)&&(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(r&&(u=r.call(this,u,i,l)),this.type.isAssign){var c=this.startNodeAt(i,l);return c.operator=this.value,c.left=this.type===M.eq?this.toAssignable(u,!1,t):u,n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.left.start&&(t.shorthandAssign=-1),this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),o>-1&&(t.trailingComma=o),u},Fe.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(M.question)){var o=this.startNodeAt(r,n);return o.test=a,o.consequent=this.parseMaybeAssign(),this.expect(M.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return a},Fe.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||a.start===r&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,r,n,-1,e)},Fe.parseExprOp=function(e,t,r,n,a){var o=this.type.binop;if(o!=null&&(!a||this.type!==M._in)&&o>n){var i=this.type===M.logicalOR||this.type===M.logicalAND,l=this.type===M.coalesce;l&&(o=M.logicalAND.binop);var u=this.value;this.next();var c=this.start,p=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1),c,p,o,a),h=this.buildBinary(t,r,e,d,u,i||l);return(i&&this.type===M.coalesce||l&&(this.type===M.logicalOR||this.type===M.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,r,n,a)}return e},Fe.buildBinary=function(e,t,r,n,a,o){var i=this.startNodeAt(e,t);return i.left=r,i.operator=a,i.right=n,this.finishNode(i,o?"LogicalExpression":"BinaryExpression")},Fe.parseMaybeUnary=function(e,t){var r=this.start,n=this.startLoc,a;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))a=this.parseAwait(),t=!0;else if(this.type.prefix){var o=this.startNode(),i=this.type===M.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),i?this.checkLVal(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,a=this.finishNode(o,i?"UpdateExpression":"UnaryExpression")}else{if(a=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(r,n);l.operator=this.value,l.prefix=!1,l.argument=a,this.checkLVal(a),this.next(),a=this.finishNode(l,"UpdateExpression")}}return!t&&this.eat(M.starstar)?this.buildBinary(r,n,a,this.parseMaybeUnary(null,!1),"**",!1):a},Fe.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,n=this.parseExprAtom(e);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return n;var a=this.parseSubscripts(n,t,r);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},Fe.parseSubscripts=function(e,t,r,n){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var i=this.parseSubscript(e,t,r,n,a,o);if(i.optional&&(o=!0),i===e||i.type==="ArrowFunctionExpression"){if(o){var l=this.startNodeAt(t,r);l.expression=i,i=this.finishNode(l,"ChainExpression")}return i}e=i}},Fe.parseSubscript=function(e,t,r,n,a,o){var i=this.options.ecmaVersion>=11,l=i&&this.eat(M.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var u=this.eat(M.bracketL);if(u||l&&this.type!==M.parenL&&this.type!==M.backQuote||this.eat(M.dot)){var c=this.startNodeAt(t,r);c.object=e,c.property=u?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),c.computed=!!u,u&&this.expect(M.bracketR),i&&(c.optional=l),e=this.finishNode(c,"MemberExpression")}else if(!n&&this.eat(M.parenL)){var p=new $s,d=this.yieldPos,h=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(M.parenR,this.options.ecmaVersion>=8,!1,p);if(a&&!l&&!this.canInsertSemicolon()&&this.eat(M.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=h,this.awaitIdentPos=f,this.parseArrowExpression(this.startNodeAt(t,r),m,!0);this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var y=this.startNodeAt(t,r);y.callee=e,y.arguments=m,i&&(y.optional=l),e=this.finishNode(y,"CallExpression")}else if(this.type===M.backQuote){(l||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var g=this.startNodeAt(t,r);g.tag=e,g.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(g,"TaggedTemplateExpression")}return e},Fe.parseExprAtom=function(e){this.type===M.slash&&this.readRegexp();var t,r=this.potentialArrowAt===this.start;switch(this.type){case M._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===M.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==M.dot&&this.type!==M.bracketL&&this.type!==M.parenL&&this.unexpected(),this.finishNode(t,"Super");case M._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case M.name:var n=this.start,a=this.startLoc,o=this.containsEsc,i=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&i.name==="async"&&!this.canInsertSemicolon()&&this.eat(M._function))return this.parseFunction(this.startNodeAt(n,a),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(M.arrow))return this.parseArrowExpression(this.startNodeAt(n,a),[i],!1);if(this.options.ecmaVersion>=8&&i.name==="async"&&this.type===M.name&&!o)return i=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(M.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,a),[i],!0)}return i;case M.regexp:var l=this.value;return t=this.parseLiteral(l.value),t.regex={pattern:l.pattern,flags:l.flags},t;case M.num:case M.string:return this.parseLiteral(this.value);case M._null:case M._true:case M._false:return t=this.startNode(),t.value=this.type===M._null?null:this.type===M._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case M.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case M.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(M.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case M.braceL:return this.parseObj(!1,e);case M._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case M._class:return this.parseClass(this.startNode(),!1);case M._new:return this.parseNew();case M.backQuote:return this.parseTemplate();case M._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Fe.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case M.parenL:return this.parseDynamicImport(e);case M.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Fe.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(M.parenR)){var t=this.start;this.eat(M.comma)&&this.eat(M.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Fe.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Fe.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Fe.parseParenExpression=function(){this.expect(M.parenL);var e=this.parseExpression();return this.expect(M.parenR),e},Fe.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,n,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,i=this.startLoc,l=[],u=!0,c=!1,p=new $s,d=this.yieldPos,h=this.awaitPos,f;for(this.yieldPos=0,this.awaitPos=0;this.type!==M.parenR;)if(u?u=!1:this.expect(M.comma),a&&this.afterTrailingComma(M.parenR,!0)){c=!0;break}else if(this.type===M.ellipsis){f=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===M.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var m=this.start,y=this.startLoc;if(this.expect(M.parenR),e&&!this.canInsertSemicolon()&&this.eat(M.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=h,this.parseParenArrowList(t,r,l);(!l.length||c)&&this.unexpected(this.lastTokStart),f&&this.unexpected(f),this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,l.length>1?(n=this.startNodeAt(o,i),n.expressions=l,this.finishNodeAt(n,"SequenceExpression",m,y)):n=l[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(t,r);return g.expression=n,this.finishNode(g,"ParenthesizedExpression")}else return n},Fe.parseParenItem=function(e){return e},Fe.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)},FE=[],Fe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(M.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,a=this.startLoc,o=this.type===M._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,a,!0),o&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(M.parenL)?e.arguments=this.parseExprList(M.parenR,this.options.ecmaVersion>=8,!1):e.arguments=FE,this.finishNode(e,"NewExpression")},Fe.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===M.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
1068
|
+
`),cooked:this.value},this.next(),r.tail=this.type===M.backQuote,this.finishNode(r,"TemplateElement")},Fe.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===M.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(M.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(M.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},Fe.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===M.name||this.type===M.num||this.type===M.string||this.type===M.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===M.star)&&!Yt.test(this.input.slice(this.lastTokEnd,this.start))},Fe.parseObj=function(e,t){var r=this.startNode(),n=!0,a={};for(r.properties=[],this.next();!this.eat(M.braceR);){if(n)n=!1;else if(this.expect(M.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(M.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,a,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Fe.parseProperty=function(e,t){var r=this.startNode(),n,a,o,i;if(this.options.ecmaVersion>=9&&this.eat(M.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===M.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===M.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===M.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,i=this.startLoc),e||(n=this.eat(M.star)));var l=this.containsEsc;return this.parsePropertyName(r),!e&&!l&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(a=!0,n=this.options.ecmaVersion>=9&&this.eat(M.star),this.parsePropertyName(r,t)):a=!1,this.parsePropertyValue(r,e,n,a,o,i,t,l),this.finishNode(r,"Property")},Fe.parsePropertyValue=function(e,t,r,n,a,o,i,l){if((r||n)&&this.type===M.colon&&this.unexpected(),this.eat(M.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,i),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===M.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==M.comma&&this.type!==M.braceR&&this.type!==M.eq){(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var c=e.value.start;e.kind==="get"?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),e.kind="init",t?e.value=this.parseMaybeDefault(a,o,e.key):this.type===M.eq&&i?(i.shorthandAssign<0&&(i.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},Fe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(M.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(M.bracketR),e.key;e.computed=!1}return e.key=this.type===M.num||this.type===M.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Fe.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Fe.parseMethod=function(e,t,r){var n=this.startNode(),a=this.yieldPos,o=this.awaitPos,i=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Np(t,n.generator)|Up|(r?Vp:0)),this.expect(M.parenL),n.params=this.parseBindingList(M.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=i,this.finishNode(n,"FunctionExpression")},Fe.parseArrowExpression=function(e,t,r){var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Np(r,!1)|Lp),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},Fe.parseFunctionBody=function(e,t,r){var n=t&&this.type!==M.braceL,a=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var i=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||i)&&(o=this.strictDirective(this.end),o&&i&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Gp),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},Fe.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0},Fe.checkParams=function(e,t){for(var r={},n=0,a=e.params;n<a.length;n+=1){var o=a[n];this.checkLVal(o,Gs,t?null:r)}},Fe.parseExprList=function(e,t,r,n){for(var a=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(M.comma),t&&this.afterTrailingComma(e))break;var i=void 0;r&&this.type===M.comma?i=null:this.type===M.ellipsis?(i=this.parseSpread(n),n&&this.type===M.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):i=this.parseMaybeAssign(!1,n),a.push(i)}return a},Fe.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}},Fe.parseIdent=function(e,t){var r=this.startNode();return this.type===M.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r},Fe.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===M.semi||this.canInsertSemicolon()||this.type!==M.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(M.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Fe.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")},ri=rt.prototype,ri.raise=function(e,t){var r=lh(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},ri.raiseRecoverable=ri.raise,ri.curPosition=function(){if(this.options.locations)return new la(this.curLine,this.pos-this.lineStart)},ln=rt.prototype,IE=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]},ln.enterScope=function(e){this.scopeStack.push(new IE(e))},ln.exitScope=function(){this.scopeStack.pop()},ln.treatFunctionsAsVarInScope=function(e){return e.flags&Xa||!this.inModule&&e.flags&Va},ln.declareName=function(e,t,r){var n=!1;if(t===Mr){var a=this.currentScope();n=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&Va&&delete this.undefinedExports[e]}else if(t===zp){var o=this.currentScope();o.lexical.push(e)}else if(t===Jp){var i=this.currentScope();this.treatFunctionsAsVar?n=i.lexical.indexOf(e)>-1:n=i.lexical.indexOf(e)>-1||i.var.indexOf(e)>-1,i.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var u=this.scopeStack[l];if(u.lexical.indexOf(e)>-1&&!(u.flags&$p&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){n=!0;break}if(u.var.push(e),this.inModule&&u.flags&Va&&delete this.undefinedExports[e],u.flags&zs)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ln.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ln.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ln.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&zs)return t}},ln.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&zs&&!(t.flags&Lp))return t}},mi=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ao(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ni=rt.prototype,ni.startNode=function(){return new mi(this,this.start,this.startLoc)},ni.startNodeAt=function(e,t){return new mi(this,e,t)},ni.finishNode=function(e,t){return EE.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ni.finishNodeAt=function(e,t,r,n){return EE.call(this,e,t,r,n)},ir=function(e,t,r,n,a){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!a},pt={b_stat:new ir("{",!1),b_expr:new ir("{",!0),b_tmpl:new ir("${",!1),p_stat:new ir("(",!1),p_expr:new ir("(",!0),q_tmpl:new ir("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ir("function",!1),f_expr:new ir("function",!0),f_expr_gen:new ir("function",!0,!1,null,!0),f_gen:new ir("function",!1,!1,null,!0)},ai=rt.prototype,ai.initialContext=function(){return[pt.b_stat]},ai.braceIsBlock=function(e){var t=this.curContext();return t===pt.f_expr||t===pt.f_stat?!0:e===M.colon&&(t===pt.b_stat||t===pt.b_expr)?!t.isExpr:e===M._return||e===M.name&&this.exprAllowed?Yt.test(this.input.slice(this.lastTokEnd,this.start)):e===M._else||e===M.semi||e===M.eof||e===M.parenR||e===M.arrow?!0:e===M.braceL?t===pt.b_stat:e===M._var||e===M._const||e===M.name?!1:!this.exprAllowed},ai.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},ai.updateContext=function(e){var t,r=this.type;r.keyword&&e===M.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},M.parenR.updateContext=M.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===pt.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},M.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?pt.b_stat:pt.b_expr),this.exprAllowed=!0},M.dollarBraceL.updateContext=function(){this.context.push(pt.b_tmpl),this.exprAllowed=!0},M.parenL.updateContext=function(e){var t=e===M._if||e===M._for||e===M._with||e===M._while;this.context.push(t?pt.p_stat:pt.p_expr),this.exprAllowed=!0},M.incDec.updateContext=function(){},M._function.updateContext=M._class.updateContext=function(e){e.beforeExpr&&e!==M.semi&&e!==M._else&&!(e===M._return&&Yt.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===M.colon||e===M.braceL)&&this.curContext()===pt.b_stat)?this.context.push(pt.f_expr):this.context.push(pt.f_stat),this.exprAllowed=!1},M.backQuote.updateContext=function(){this.curContext()===pt.q_tmpl?this.context.pop():this.context.push(pt.q_tmpl),this.exprAllowed=!1},M.star.updateContext=function(e){if(e===M._function){var t=this.context.length-1;this.context[t]===pt.f_expr?this.context[t]=pt.f_expr_gen:this.context[t]=pt.f_gen}this.exprAllowed=!0},M.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==M.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},Kp="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Yp=Kp+" Extended_Pictographic",kE=Yp,Nk={9:Kp,10:Yp,11:kE},dh="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Xp="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Qp=Xp+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",NE=Qp+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Bk={9:Xp,10:Qp,11:NE},fh={},Bp(9),Bp(10),Bp(11),we=rt.prototype,$r=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=fh[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},$r.prototype.reset=function(e,t,r){var n=r.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},$r.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},$r.prototype.at=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var a=r.charCodeAt(e);if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=n)return a;var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a},$r.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var a=r.charCodeAt(e),o;return!(t||this.switchU)||a<=55295||a>=57344||e+1>=n||(o=r.charCodeAt(e+1))<56320||o>57343?e+1:e+2},$r.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},$r.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},$r.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},$r.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},we.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n<r.length;n++){var a=r.charAt(n);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},we.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},we.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames.indexOf(n)===-1&&e.raise("Invalid named capture referenced")}},we.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},we.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},we.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},we.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},we.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},we.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},we.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},we.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},we.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},we.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},we.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},we.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},we.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},we.regexp_eatSyntaxCharacter=function(e){var t=e.current();return CE(t)?(e.lastIntValue=t,e.advance(),!0):!1},we.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!CE(r);)e.advance();return e.pos!==t},we.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},we.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},we.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},we.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Us(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Us(e.lastIntValue);return!0}return!1},we.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),fK(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},we.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),hK(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},we.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},we.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},we.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},we.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},we.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},we.regexp_eatZero=function(e){return e.current()===48&&!gl(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},we.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},we.regexp_eatControlLetter=function(e){var t=e.current();return Dk(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},we.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(n&&a>=55296&&a<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(i>=56320&&i<=57343)return e.lastIntValue=(a-55296)*1024+(i-56320)+65536,!0}e.pos=o,e.lastIntValue=a}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&mK(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},we.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},we.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},we.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(yK(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},we.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a),!0}return!1},we.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){yl(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},we.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},we.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ok(t=e.current());)e.lastStringValue+=Us(t),e.advance();return e.lastStringValue!==""},we.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";gK(t=e.current());)e.lastStringValue+=Us(t),e.advance();return e.lastStringValue!==""},we.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},we.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},we.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},we.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||xE(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1},we.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},we.regexp_eatClassControlLetter=function(e){var t=e.current();return gl(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},we.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},we.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;gl(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},we.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;wE(r=e.current());)e.lastIntValue=16*e.lastIntValue+AE(r),e.advance();return e.pos!==t},we.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},we.regexp_eatOctalDigit=function(e){var t=e.current();return xE(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},we.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var a=e.current();if(!wE(a))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+AE(a),e.advance()}return!0},yi=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new ao(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Be=rt.prototype,Be.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new yi(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Be.getToken=function(){return this.next(),new yi(this)},typeof Symbol<"u"&&(Be[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===M.eof,value:t}}}}),Be.curContext=function(){return this.context[this.context.length-1]},Be.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(M.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},Be.readToken=function(e){return fn(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},Be.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},Be.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){ha.lastIndex=t;for(var n;(n=ha.exec(this.input))&&n.index<this.pos;)++this.curLine,this.lineStart=n.index+n[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},Be.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ya(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},Be.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&bl.test(String.fromCharCode(e)))++this.pos;else break e}}},Be.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Be.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(M.ellipsis)):(++this.pos,this.finishToken(M.dot))},Be.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(M.assign,2):this.finishOp(M.slash,1)},Be.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?M.star:M.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=M.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(M.assign,r+1):this.finishOp(n,r)},Be.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(M.assign,3)}return this.finishOp(e===124?M.logicalOR:M.logicalAND,2)}return t===61?this.finishOp(M.assign,2):this.finishOp(e===124?M.bitwiseOR:M.bitwiseAND,1)},Be.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(M.assign,2):this.finishOp(M.bitwiseXOR,1)},Be.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Yt.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(M.incDec,2):t===61?this.finishOp(M.assign,2):this.finishOp(M.plusMin,1)},Be.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(M.assign,r+1):this.finishOp(M.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(M.relational,r))},Be.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(M.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(M.arrow)):this.finishOp(e===61?M.eq:M.prefix,1)},Be.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(M.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(M.assign,3)}return this.finishOp(M.coalesce,2)}}return this.finishOp(M.question,1)},Be.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(M.parenL);case 41:return++this.pos,this.finishToken(M.parenR);case 59:return++this.pos,this.finishToken(M.semi);case 44:return++this.pos,this.finishToken(M.comma);case 91:return++this.pos,this.finishToken(M.bracketL);case 93:return++this.pos,this.finishToken(M.bracketR);case 123:return++this.pos,this.finishToken(M.braceL);case 125:return++this.pos,this.finishToken(M.braceR);case 58:return++this.pos,this.finishToken(M.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(M.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(M.prefix,1)}this.raise(this.pos,"Unexpected character '"+jp(e)+"'")},Be.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Be.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(Yt.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,i=this.readWord1();this.containsEsc&&this.unexpected(o);var l=this.regexpState||(this.regexpState=new $r(this));l.reset(r,a,i),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var u=null;try{u=new RegExp(a,i)}catch{}return this.finishToken(M.regexp,{pattern:a,flags:i,value:u})},Be.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,a=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,i=0,l=0,u=0,c=t??1/0;u<c;++u,++this.pos){var p=this.input.charCodeAt(this.pos),d=void 0;if(n&&p===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=p;continue}if(p>=97?d=p-97+10:p>=65?d=p-65+10:p>=48&&p<=57?d=p-48:d=1/0,d>=e)break;l=p,i=i*e+d}return n&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:i},Be.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=SE(this.input.slice(t,this.pos)),++this.pos):fn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(M.num,r)},Be.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var a=SE(this.input.slice(t,this.pos));return++this.pos,fn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(M.num,a)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),fn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=bK(this.input.slice(t,this.pos),r);return this.finishToken(M.num,o)},Be.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},Be.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(Ya(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(M.string,t)},Zp={},Be.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Zp)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},Be.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Zp;this.raise(e,t)},Be.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===M.template||this.type===M.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(M.dollarBraceL)):(++this.pos,this.finishToken(M.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(M.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ya(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
1069
|
+
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Be.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(M.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Be.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
1070
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return jp(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(n,8);return a>255&&(n=n.slice(0,-1),a=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return Ya(t)?"":String.fromCharCode(t)}},Be.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},Be.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(sa(a,n))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var i=this.readCodePoint();(t?fn:sa)(i,n)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=jp(i),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},Be.readWord=function(){var e=this.readWord1(),t=M.name;return this.keywords.test(e)&&(t=Oi[e]),this.finishToken(t,e)},hh="7.4.1",rt.acorn={Parser:rt,version:hh,defaultOptions:rs,Position:la,SourceLocation:ao,getLineInfo:lh,Node:mi,TokenType:$e,tokTypes:M,keywordTypes:Oi,TokContext:ir,tokContexts:pt,isIdentifierChar:sa,isIdentifierStart:fn,Token:yi,isNewLine:Ya,lineBreak:Yt,lineBreakG:ha,nonASCIIwhitespace:bl}}}),wK=be({"../../node_modules/acorn-jsx/xhtml.js"(e,t){t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),AK=be({"../../node_modules/acorn-jsx/index.js"(e,t){var r=wK(),n=/^[\da-fA-F]+$/,a=/^\d+$/,o=new WeakMap;function i(c){c=c.Parser.acorn||c;let p=o.get(c);if(!p){let d=c.tokTypes,h=c.TokContext,f=c.TokenType,m=new h("<tag",!1),y=new h("</tag",!1),g=new h("<tag>...</tag>",!0,!0),b={tc_oTag:m,tc_cTag:y,tc_expr:g},v={jsxName:new f("jsxName"),jsxText:new f("jsxText",{beforeExpr:!0}),jsxTagStart:new f("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new f("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(g),this.context.push(m),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(D){let S=this.context.pop();S===m&&D===d.slash||S===y?(this.context.pop(),this.exprAllowed=this.curContext()===g):this.exprAllowed=!0},p={tokContexts:b,tokTypes:v},o.set(c,p)}return p}function l(c){if(!c)return c;if(c.type==="JSXIdentifier")return c.name;if(c.type==="JSXNamespacedName")return c.namespace.name+":"+c.name.name;if(c.type==="JSXMemberExpression")return l(c.object)+"."+l(c.property)}t.exports=function(c){return c=c||{},function(p){return u({allowNamespaces:c.allowNamespaces!==!1,allowNamespacedObjects:!!c.allowNamespacedObjects},p)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return i((mh(),cE(ih))).tokTypes},configurable:!0,enumerable:!0});function u(c,p){let d=p.acorn||(mh(),cE(ih)),h=i(d),f=d.tokTypes,m=h.tokTypes,y=d.tokContexts,g=h.tokContexts.tc_oTag,b=h.tokContexts.tc_cTag,v=h.tokContexts.tc_expr,D=d.isNewLine,S=d.isIdentifierStart,P=d.isIdentifierChar;return class extends p{static get acornJsx(){return h}jsx_readToken(){let w="",E=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let C=this.input.charCodeAt(this.pos);switch(C){case 60:case 123:return this.pos===this.start?C===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(C):(w+=this.input.slice(E,this.pos),this.finishToken(m.jsxText,w));case 38:w+=this.input.slice(E,this.pos),w+=this.jsx_readEntity(),E=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(C===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:D(C)?(w+=this.input.slice(E,this.pos),w+=this.jsx_readNewLine(!0),E=this.pos):++this.pos}}}jsx_readNewLine(w){let E=this.input.charCodeAt(this.pos),C;return++this.pos,E===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,C=w?`
|
|
1071
|
+
`:`\r
|
|
1072
|
+
`):C=String.fromCharCode(E),this.options.locations&&(++this.curLine,this.lineStart=this.pos),C}jsx_readString(w){let E="",C=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let _=this.input.charCodeAt(this.pos);if(_===w)break;_===38?(E+=this.input.slice(C,this.pos),E+=this.jsx_readEntity(),C=this.pos):D(_)?(E+=this.input.slice(C,this.pos),E+=this.jsx_readNewLine(!1),C=this.pos):++this.pos}return E+=this.input.slice(C,this.pos++),this.finishToken(f.string,E)}jsx_readEntity(){let w="",E=0,C,_=this.input[this.pos];_!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let N=++this.pos;for(;this.pos<this.input.length&&E++<10;){if(_=this.input[this.pos++],_===";"){w[0]==="#"?w[1]==="x"?(w=w.substr(2),n.test(w)&&(C=String.fromCharCode(parseInt(w,16)))):(w=w.substr(1),a.test(w)&&(C=String.fromCharCode(parseInt(w,10)))):C=r[w];break}w+=_}return C||(this.pos=N,"&")}jsx_readWord(){let w,E=this.pos;do w=this.input.charCodeAt(++this.pos);while(P(w)||w===45);return this.finishToken(m.jsxName,this.input.slice(E,this.pos))}jsx_parseIdentifier(){let w=this.startNode();return this.type===m.jsxName?w.name=this.value:this.type.keyword?w.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(w,"JSXIdentifier")}jsx_parseNamespacedName(){let w=this.start,E=this.startLoc,C=this.jsx_parseIdentifier();if(!c.allowNamespaces||!this.eat(f.colon))return C;var _=this.startNodeAt(w,E);return _.namespace=C,_.name=this.jsx_parseIdentifier(),this.finishNode(_,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===m.jsxTagEnd)return"";let w=this.start,E=this.startLoc,C=this.jsx_parseNamespacedName();for(this.type===f.dot&&C.type==="JSXNamespacedName"&&!c.allowNamespacedObjects&&this.unexpected();this.eat(f.dot);){let _=this.startNodeAt(w,E);_.object=C,_.property=this.jsx_parseIdentifier(),C=this.finishNode(_,"JSXMemberExpression")}return C}jsx_parseAttributeValue(){switch(this.type){case f.braceL:let w=this.jsx_parseExpressionContainer();return w.expression.type==="JSXEmptyExpression"&&this.raise(w.start,"JSX attributes must only be assigned a non-empty expression"),w;case m.jsxTagStart:case f.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let w=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(w,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let w=this.startNode();return this.next(),w.expression=this.type===f.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(f.braceR),this.finishNode(w,"JSXExpressionContainer")}jsx_parseAttribute(){let w=this.startNode();return this.eat(f.braceL)?(this.expect(f.ellipsis),w.argument=this.parseMaybeAssign(),this.expect(f.braceR),this.finishNode(w,"JSXSpreadAttribute")):(w.name=this.jsx_parseNamespacedName(),w.value=this.eat(f.eq)?this.jsx_parseAttributeValue():null,this.finishNode(w,"JSXAttribute"))}jsx_parseOpeningElementAt(w,E){let C=this.startNodeAt(w,E);C.attributes=[];let _=this.jsx_parseElementName();for(_&&(C.name=_);this.type!==f.slash&&this.type!==m.jsxTagEnd;)C.attributes.push(this.jsx_parseAttribute());return C.selfClosing=this.eat(f.slash),this.expect(m.jsxTagEnd),this.finishNode(C,_?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(w,E){let C=this.startNodeAt(w,E),_=this.jsx_parseElementName();return _&&(C.name=_),this.expect(m.jsxTagEnd),this.finishNode(C,_?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(w,E){let C=this.startNodeAt(w,E),_=[],N=this.jsx_parseOpeningElementAt(w,E),B=null;if(!N.selfClosing){e:for(;;)switch(this.type){case m.jsxTagStart:if(w=this.start,E=this.startLoc,this.next(),this.eat(f.slash)){B=this.jsx_parseClosingElementAt(w,E);break e}_.push(this.jsx_parseElementAt(w,E));break;case m.jsxText:_.push(this.parseExprAtom());break;case f.braceL:_.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}l(B.name)!==l(N.name)&&this.raise(B.start,"Expected corresponding JSX closing tag for <"+l(N.name)+">")}let J=N.name?"Element":"Fragment";return C["opening"+J]=N,C["closing"+J]=B,C.children=_,this.type===f.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(C,"JSX"+J)}jsx_parseText(){let w=this.parseLiteral(this.value);return w.type="JSXText",w}jsx_parseElement(){let w=this.start,E=this.startLoc;return this.next(),this.jsx_parseElementAt(w,E)}parseExprAtom(w){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(w)}readToken(w){let E=this.curContext();if(E===v)return this.jsx_readToken();if(E===g||E===b){if(S(w))return this.jsx_readWord();if(w==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((w===34||w===39)&&E==g)return this.jsx_readString(w)}return w===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(w)}updateContext(w){if(this.type==f.braceL){var E=this.curContext();E==g?this.context.push(y.b_expr):E==v?this.context.push(y.b_tmpl):super.updateContext(w),this.exprAllowed=!0}else if(this.type===f.slash&&w===m.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(w)}}}}}),xK=be({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),SK=be({"../../node_modules/html-tags/index.js"(e,t){t.exports=xK()}}),_K={};Yc(_K,{argTypesEnhancers:()=>Xk,parameters:()=>Yk});var yh="custom",Os="object",ov="array",TK="class",Ro="func",Ko="element",PK=Go(cK());function DK(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var d,h;return(h=(d=p.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):l},[]);if(a.length){var o=new RegExp(`
|
|
1073
|
+
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o,`
|
|
1074
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),p=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
|
|
1075
|
+
`)&&(d=String(l).split(`
|
|
1076
|
+
`).map(function(h,f){return f===0?h:""+p+h}).join(`
|
|
1077
|
+
`)),i+=d+n[u+1]}),i}var jk={format:{indent:{style:" "},semicolons:!1}},OK={...jk,format:{newline:""}},RK={...jk};function Hn(e,t=!1){return(0,PK.generate)(e,t?OK:RK)}function gh(e,t=!1){return t?FK(e):Hn(e)}function FK(e){let t=Hn(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function BE(e,t=!1){return t?kK(e):IK(e)}function IK(e){let t=Hn(e);return t.endsWith(" }]")&&(t=DK(t)),t}function kK(e){let t=Hn(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}mh();var NK=Go(AK());function qk(e,t,r,n,a){r||(r=fe),function o(i,l,u){var c=u||i.type,p=t[c];r[c](i,l,o),p&&p(i,l)}(e,n,a)}function BK(e,t,r,n,a){var o=[];r||(r=fe),function i(l,u,c){var p=c||l.type,d=t[p],h=l!==o[o.length-1];h&&o.push(l),r[p](l,u,i),d&&d(l,u||o,o),h&&o.pop()}(e,n,a)}function iv(e,t,r){r(e,t)}function La(e,t,r){}var fe={};fe.Program=fe.BlockStatement=function(e,t,r){for(var n=0,a=e.body;n<a.length;n+=1){var o=a[n];r(o,t,"Statement")}};fe.Statement=iv;fe.EmptyStatement=La;fe.ExpressionStatement=fe.ParenthesizedExpression=fe.ChainExpression=function(e,t,r){return r(e.expression,t,"Expression")};fe.IfStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Statement"),e.alternate&&r(e.alternate,t,"Statement")};fe.LabeledStatement=function(e,t,r){return r(e.body,t,"Statement")};fe.BreakStatement=fe.ContinueStatement=La;fe.WithStatement=function(e,t,r){r(e.object,t,"Expression"),r(e.body,t,"Statement")};fe.SwitchStatement=function(e,t,r){r(e.discriminant,t,"Expression");for(var n=0,a=e.cases;n<a.length;n+=1){var o=a[n];o.test&&r(o.test,t,"Expression");for(var i=0,l=o.consequent;i<l.length;i+=1){var u=l[i];r(u,t,"Statement")}}};fe.SwitchCase=function(e,t,r){e.test&&r(e.test,t,"Expression");for(var n=0,a=e.consequent;n<a.length;n+=1){var o=a[n];r(o,t,"Statement")}};fe.ReturnStatement=fe.YieldExpression=fe.AwaitExpression=function(e,t,r){e.argument&&r(e.argument,t,"Expression")};fe.ThrowStatement=fe.SpreadElement=function(e,t,r){return r(e.argument,t,"Expression")};fe.TryStatement=function(e,t,r){r(e.block,t,"Statement"),e.handler&&r(e.handler,t),e.finalizer&&r(e.finalizer,t,"Statement")};fe.CatchClause=function(e,t,r){e.param&&r(e.param,t,"Pattern"),r(e.body,t,"Statement")};fe.WhileStatement=fe.DoWhileStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.body,t,"Statement")};fe.ForStatement=function(e,t,r){e.init&&r(e.init,t,"ForInit"),e.test&&r(e.test,t,"Expression"),e.update&&r(e.update,t,"Expression"),r(e.body,t,"Statement")};fe.ForInStatement=fe.ForOfStatement=function(e,t,r){r(e.left,t,"ForInit"),r(e.right,t,"Expression"),r(e.body,t,"Statement")};fe.ForInit=function(e,t,r){e.type==="VariableDeclaration"?r(e,t):r(e,t,"Expression")};fe.DebuggerStatement=La;fe.FunctionDeclaration=function(e,t,r){return r(e,t,"Function")};fe.VariableDeclaration=function(e,t,r){for(var n=0,a=e.declarations;n<a.length;n+=1){var o=a[n];r(o,t)}};fe.VariableDeclarator=function(e,t,r){r(e.id,t,"Pattern"),e.init&&r(e.init,t,"Expression")};fe.Function=function(e,t,r){e.id&&r(e.id,t,"Pattern");for(var n=0,a=e.params;n<a.length;n+=1){var o=a[n];r(o,t,"Pattern")}r(e.body,t,e.expression?"Expression":"Statement")};fe.Pattern=function(e,t,r){e.type==="Identifier"?r(e,t,"VariablePattern"):e.type==="MemberExpression"?r(e,t,"MemberPattern"):r(e,t)};fe.VariablePattern=La;fe.MemberPattern=iv;fe.RestElement=function(e,t,r){return r(e.argument,t,"Pattern")};fe.ArrayPattern=function(e,t,r){for(var n=0,a=e.elements;n<a.length;n+=1){var o=a[n];o&&r(o,t,"Pattern")}};fe.ObjectPattern=function(e,t,r){for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];o.type==="Property"?(o.computed&&r(o.key,t,"Expression"),r(o.value,t,"Pattern")):o.type==="RestElement"&&r(o.argument,t,"Pattern")}};fe.Expression=iv;fe.ThisExpression=fe.Super=fe.MetaProperty=La;fe.ArrayExpression=function(e,t,r){for(var n=0,a=e.elements;n<a.length;n+=1){var o=a[n];o&&r(o,t,"Expression")}};fe.ObjectExpression=function(e,t,r){for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];r(o,t)}};fe.FunctionExpression=fe.ArrowFunctionExpression=fe.FunctionDeclaration;fe.SequenceExpression=function(e,t,r){for(var n=0,a=e.expressions;n<a.length;n+=1){var o=a[n];r(o,t,"Expression")}};fe.TemplateLiteral=function(e,t,r){for(var n=0,a=e.quasis;n<a.length;n+=1){var o=a[n];r(o,t)}for(var i=0,l=e.expressions;i<l.length;i+=1){var u=l[i];r(u,t,"Expression")}};fe.TemplateElement=La;fe.UnaryExpression=fe.UpdateExpression=function(e,t,r){r(e.argument,t,"Expression")};fe.BinaryExpression=fe.LogicalExpression=function(e,t,r){r(e.left,t,"Expression"),r(e.right,t,"Expression")};fe.AssignmentExpression=fe.AssignmentPattern=function(e,t,r){r(e.left,t,"Pattern"),r(e.right,t,"Expression")};fe.ConditionalExpression=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Expression"),r(e.alternate,t,"Expression")};fe.NewExpression=fe.CallExpression=function(e,t,r){if(r(e.callee,t,"Expression"),e.arguments)for(var n=0,a=e.arguments;n<a.length;n+=1){var o=a[n];r(o,t,"Expression")}};fe.MemberExpression=function(e,t,r){r(e.object,t,"Expression"),e.computed&&r(e.property,t,"Expression")};fe.ExportNamedDeclaration=fe.ExportDefaultDeclaration=function(e,t,r){e.declaration&&r(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&r(e.source,t,"Expression")};fe.ExportAllDeclaration=function(e,t,r){e.exported&&r(e.exported,t),r(e.source,t,"Expression")};fe.ImportDeclaration=function(e,t,r){for(var n=0,a=e.specifiers;n<a.length;n+=1){var o=a[n];r(o,t)}r(e.source,t,"Expression")};fe.ImportExpression=function(e,t,r){r(e.source,t,"Expression")};fe.ImportSpecifier=fe.ImportDefaultSpecifier=fe.ImportNamespaceSpecifier=fe.Identifier=fe.Literal=La;fe.TaggedTemplateExpression=function(e,t,r){r(e.tag,t,"Expression"),r(e.quasi,t,"Expression")};fe.ClassDeclaration=fe.ClassExpression=function(e,t,r){return r(e,t,"Class")};fe.Class=function(e,t,r){e.id&&r(e.id,t,"Pattern"),e.superClass&&r(e.superClass,t,"Expression"),r(e.body,t)};fe.ClassBody=function(e,t,r){for(var n=0,a=e.body;n<a.length;n+=1){var o=a[n];r(o,t)}};fe.MethodDefinition=fe.Property=function(e,t,r){e.computed&&r(e.key,t,"Expression"),r(e.value,t,"Expression")};var sv={...fe,JSXElement:()=>{}},jK=rt.extend((0,NK.default)());function Rs(e){return e!=null?e.name:null}function jE(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function Mk(e){let t=[];return BK(e,{ObjectExpression(r,n){t.push(jE(n).length)},ArrayExpression(r,n){t.push(jE(n).length)}},sv),Math.max(...t)}function qK(e){return{inferredType:{type:"Identifier",identifier:Rs(e)},ast:e}}function MK(e){return{inferredType:{type:"Literal"},ast:e}}function LK(e){let t;qk(e.body,{JSXElement(a){t=a}},sv);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=Rs(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function $K(e){let t;return qk(e.body,{JSXElement(r){t=r}},sv),{inferredType:{type:t!=null?"Element":"Class",identifier:Rs(e.id)},ast:e}}function UK(e){let t={type:"Element"},r=Rs(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function VK(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Rs(t)==="shape"?Lk(e.arguments[0]):null}function Lk(e){return{inferredType:{type:"Object",depth:Mk(e)},ast:e}}function HK(e){return{inferredType:{type:"Array",depth:Mk(e)},ast:e}}function JK(e){switch(e.type){case"Identifier":return qK(e);case"Literal":return MK(e);case"FunctionExpression":case"ArrowFunctionExpression":return LK(e);case"ClassExpression":return $K(e);case"JSXElement":return UK(e);case"CallExpression":return VK(e);case"ObjectExpression":return Lk(e);case"ArrayExpression":return HK(e);default:return null}}function zK(e){let t=jK.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];switch(n.type){case"ExpressionStatement":{let a=JK(n.expression);a!=null&&(r=a);break}}}return r}function Yn(e){try{return{...zK(e)}}catch{}return{inferredType:{type:"Unknown"}}}var GK=Go(SK());function lv(e){return GK.default.includes(e.toLowerCase())}function $k({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=BE(t,!0);if(!Ma(n))return _e(n)}return _e(ov,BE(t))}function Uk({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=gh(t,!0);if(!Ma(n))return _e(n)}return _e(Os,gh(t))}function uv(e,t){return t?`${e}( ... )`:`${e}()`}function sp(e){return`<${e} />`}function Vk(e){let{type:t,identifier:r}=e;switch(t){case"Function":return uv(r,e.hasParams);case"Element":return sp(r);default:return r}}function WK({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return _e(Vk(e),Hn(t));let n=Hn(t,!0);return Ma(n)?_e(Ro,Hn(t)):_e(n)}function KK(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!lv(n)){let a=Vk(r);return _e(a,e)}return Ma(e)?_e(Ko,e):_e(e)}function Hk(e){try{let t=Yn(e);switch(t.inferredType.type){case"Object":return Uk(t);case"Function":return WK(t);case"Element":return KK(e,t);case"Array":return $k(t);default:return null}}catch(t){console.error(t)}return null}function YK(e){var r;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let n=e[Symbol.toStringTag];return n==null||!((r=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&r.writable)?!1:e.toString()===`[object ${n}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function qE(e){return typeof e=="function"}function XK(e){return typeof e=="string"||e instanceof String}var ME=T2;function Jk(e){return e.$$typeof!=null}function zk(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var QK=e=>_e(JSON.stringify(e));function ZK(e){let{type:t}=e,{displayName:r}=t,n=ME(e,{});if(r!=null){let a=sp(r);return _e(a,n)}if(XK(t)&&lv(t)){let a=ME(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!Ma(a))return _e(a)}return _e(Ko,n)}var eY=e=>{if(Jk(e)&&e.type!=null)return ZK(e);if(YK(e)){let t=Yn(JSON.stringify(e));return Uk(t)}if(Array.isArray(e)){let t=Yn(JSON.stringify(e));return $k(t)}return _e(Os)},tY=(e,t)=>{let r=!1,n;if(qE(e.render))r=!0;else if(e.prototype!=null&&qE(e.prototype.render))r=!0;else{let o;try{n=Yn(e.toString());let{hasParams:i,params:l}=n.inferredType;i?l.length===1&&l[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&Jk(o)&&(r=!0)}catch{}}let a=zk(e,t.name);if(a!=null){if(r)return _e(sp(a));n!=null&&(n=Yn(e.toString()));let{hasParams:o}=n.inferredType;return _e(uv(a,o))}return _e(r?Ko:Ro)},rY=e=>_e(e.toString()),Gk={string:QK,object:eY,function:tY,default:rY};function nY(e={}){return{...Gk,...e}}function aY(e,t,r=Gk){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(n){console.error(n)}return null}function oY(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let a=[];if(r){let o=e.map(i=>{let l=i.getPrettyName(),u=i.getTypeName();return u!=null?`${l}: ${u}`:l});a.push(`(${o.join(", ")})`)}else a.push("()");return n&&a.push(`=> ${t.getTypeName()}`),a.join(" ")}function iY(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let a=[];return r?a.push("( ... )"):a.push("()"),n&&a.push(`=> ${t.getTypeName()}`),a.join(" ")}function sY(e){return e.replace(/,/g,`,\r
|
|
1078
|
+
`)}var lY=150;function Ut({name:e,short:t,compact:r,full:n,inferredType:a}){return{name:e,short:t,compact:r,full:n??t,inferredType:a}}function Wk(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function LE(e){return e.split(/\r?\n/)}function mu(e,t=!1){return Wk(gh(e,t))}function $E(e,t=!1){return Wk(Hn(e,t))}function uY(e){switch(e){case"Object":return Os;case"Array":return ov;case"Class":return TK;case"Function":return Ro;case"Element":return Ko;default:return yh}}function Kk(e,t){let{inferredType:r,ast:n}=Yn(e),{type:a}=r,o,i,l;switch(a){case"Identifier":case"Literal":o=e,i=e;break;case"Object":{let{depth:u}=r;o=Os,i=u===1?mu(n,!0):null,l=mu(n);break}case"Element":{let{identifier:u}=r;o=u!=null&&!lv(u)?u:Ko,i=LE(e).length===1?e:null,l=e;break}case"Array":{let{depth:u}=r;o=ov,i=u<=2?$E(n,!0):null,l=$E(n);break}default:o=uY(a),i=LE(e).length===1?e:null,l=e;break}return Ut({name:t,short:o,compact:i,full:l,inferredType:a})}function cY({raw:e}){return e!=null?Kk(e,"custom"):Ut({name:"custom",short:yh,compact:yh})}function pY(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Ut({name:"func",short:iY(t.params,t.returns),compact:null,full:oY(t.params,t.returns)}):Ut({name:"func",short:Ro,compact:Ro})}function dY(e,t){let r=Object.keys(e.value).map(i=>`${i}: ${Fo(e.value[i],t).full}`).join(", "),{inferredType:n,ast:a}=Yn(`{ ${r} }`),{depth:o}=n;return Ut({name:"shape",short:Os,compact:o===1&&a?mu(a,!0):null,full:a?mu(a):null})}function ed(e){return`objectOf(${e})`}function fY(e,t){let{short:r,compact:n,full:a}=Fo(e.value,t);return Ut({name:"objectOf",short:ed(r),compact:n!=null?ed(n):null,full:a&&ed(a)})}function hY(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,a)=>{let{short:o,compact:i,full:l}=Fo(a,t);return n.short.push(o),n.compact.push(i),n.full.push(l),n},{short:[],compact:[],full:[]});return Ut({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return Ut({name:"union",short:e.value,compact:null})}function mY({value:e,computed:t}){return t?Kk(e,"enumvalue"):Ut({name:"enumvalue",short:e,compact:e})}function yY(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:a,compact:o,full:i}=mY(n);return r.short.push(a),r.compact.push(o),r.full.push(i),r},{short:[],compact:[],full:[]});return Ut({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Ut({name:"enum",short:e.value,compact:e.value})}function bh(e){return`${e}[]`}function UE(e){return`[${e}]`}function VE(e,t,r){return Ut({name:"arrayOf",short:bh(e),compact:t!=null?UE(t):null,full:r&&UE(r)})}function gY(e,t){let{name:r,short:n,compact:a,full:o,inferredType:i}=Fo(e.value,t);if(r==="custom"){if(i==="Object")return VE(n,a,o)}else if(r==="shape")return VE(n,a,o);return Ut({name:"arrayOf",short:bh(n),compact:bh(n)})}function Fo(e,t){try{switch(e.name){case"custom":return cY(e);case"func":return pY(t);case"shape":return dY(e,t);case"instanceOf":return Ut({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return fY(e,t);case"union":return hY(e,t);case"enum":return yY(e);case"arrayOf":return gY(e,t);default:return Ut({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return Ut({name:"unknown",short:"unknown",compact:"unknown"})}function bY(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:n,full:a}=Fo(t,e);return n!=null&&!ip(n)?_e(n):a?_e(r,a):_e(r)}case"func":{let{short:r,full:n}=Fo(t,e),a=r,o;return n&&n.length<lY?a=n:n&&(o=sY(n)),_e(a,o)}default:return null}}catch(r){console.error(r)}return null}var vY=(e,{name:t,type:r})=>{let n=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",a=zk(e,t);if(a!=null){if(n)return _e(sp(a));let{hasParams:o}=Yn(e.toString()).inferredType;return _e(uv(a,o))}return _e(n?Ko:Ro)},EY=nY({function:vY});function CY(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(a=>a.name===n)).filter(Boolean):e}function wY(e,t){let{propDef:r}=e,n=bY(e);n!=null&&(r.type=n);let{defaultValue:a}=e.docgenInfo;if(a!=null&&a.value!=null){let o=Hk(a.value);o!=null&&(r.defaultValue=o)}else if(t!=null){let o=aY(t,r,EY);o!=null&&(r.defaultValue=o)}return r}function AY(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(a=>wY(a,r[a.propDef.name]));return CY(n,t)}function xY(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let a=Hk(n.value);a!=null&&(r.defaultValue=a)}return r}function SY(e){return e.map(t=>xY(t))}function _Y(e,t){let r=e;!op(e)&&!e.propTypes&&C2(e)&&(r=e.type);let n=KW(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case ah.JAVASCRIPT:return AY(n,e);case ah.TYPESCRIPT:return SY(n);default:return n.map(a=>a.propDef)}}var TY=e=>({rows:_Y(e,"props")}),PY=e=>{if(e){let{rows:t}=TY(e);if(t)return t.reduce((r,n)=>{let{name:a,description:o,type:i,sbType:l,defaultValue:u,jsDocTags:c,required:p}=n;return r[a]={name:a,description:o,type:{required:p,...l},table:{type:i??void 0,jsDocTags:c,defaultValue:u??void 0}},r},{})}return null},Yk={docs:{extractArgTypes:PY,extractComponentDescription:Ak}},Xk=[YW];const DY=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:Xk,parameters:Yk},Symbol.toStringTag,{value:"Module"})),{logger:Ys}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{useRef:OY,useEffect:RY,emitTransformCode:FY}=__STORYBOOK_MODULE_PREVIEW_API__;var IY={};Yc(IY,{applyDecorators:()=>eN,decorators:()=>tN,parameters:()=>rN});var td=T2,kY=e=>e.charAt(0).toUpperCase()+e.slice(1),NY=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(kY).join("")).join(".");function vh(e){if(Pt.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=vh(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(vh):e}var BY=(e,t)=>{if(typeof e>"u")return Ys.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let i=0;i<(t==null?void 0:t.skip);i+=1){if(typeof r>"u")return Ys.warn("Cannot skip undefined element"),null;if(Cr.Children.count(r)>1)return Ys.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(Ys.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=Cr.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let a;typeof(t==null?void 0:t.displayName)=="string"?a={showFunctions:!0,displayName:()=>t.displayName}:a={displayName:i=>{var l;return i.type.displayName?i.type.displayName:hu(i.type,"displayName")?hu(i.type,"displayName"):(l=i.type.render)!=null&&l.displayName?i.type.render.displayName:typeof i.type=="symbol"||i.type.$$typeof&&typeof i.type.$$typeof=="symbol"?NY(i.type):i.type.name&&i.type.name!=="_default"?i.type.name:typeof i.type=="function"?"No Display Name":AG(i.type)?i.type.render.name:C2(i.type)?i.type.type.name:i.type}};let o={...a,filterProps:(i,l)=>i!==void 0,...t};return Cr.Children.map(e,i=>{let l=typeof i=="number"?i.toString():i,u=(typeof td=="function"?td:td.default)(vh(l),o);if(u.indexOf(""")>-1){let c=u.match(/\S+=\\"([^"]*)\\"/g);c&&c.forEach(p=>{u=u.replace(p,p.replace(/"/g,"'"))})}return u}).join(`
|
|
1079
|
+
`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},jY={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},qY=e=>{var n;let t=(n=e==null?void 0:e.parameters.docs)==null?void 0:n.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===oh.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===oh.CODE},MY=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Qk=e=>{if(!MY(e))return e;let{mdxType:t,originalType:r,children:n,...a}=e.props,o=[];return n&&(o=(Array.isArray(n)?n:[n]).map(Qk)),Pt.createElement(r,a,...o)},Zk=(e,t)=>{let r=OY(void 0),n=e(),a=qY(t),o={...jY,...(t==null?void 0:t.parameters.jsx)||{}},i=t.originalStoryFn(t.args,t);return RY(()=>{if(a)return;let l=Qk(i),u=BY(l,o);u&&r.current!==u&&(FY(u,t),r.current=u)}),n},eN=(e,t)=>{let r=t.findIndex(a=>a.originalFn===Zk),n=r===-1?t:[...t.splice(r,1),...t];return Mb(e,n)},tN=[Zk],rN={docs:{story:{inline:!0}}};const LY=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:eN,decorators:tN,parameters:rN},Symbol.toStringTag,{value:"Module"}));var $Y=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),UY={docs:{renderer:async()=>{let{DocsRenderer:e}=await We(()=>import("./DocsRenderer-PQXLIZUC-q9kcQxfH.js").then(t=>t.D),__vite__mapDeps([75,26,76]),import.meta.url);return new e},stories:{filter:e=>{var t;return(e.tags||[]).filter(r=>$Y[r]).length===0&&!((t=e.parameters.docs)!=null&&t.disable)}}}};const VY=Object.freeze(Object.defineProperty({__proto__:null,parameters:UY},Symbol.toStringTag,{value:"Module"})),{STORY_CHANGED:HY,SELECT_STORY:JY}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:zY}=__STORYBOOK_MODULE_GLOBAL__,{makeDecorator:GY,addons:nN}=__STORYBOOK_MODULE_PREVIEW_API__;var WY="links",{document:aN,HTMLElement:KY}=zY,YY=e=>nN.getChannel().emit(JY,e),oN=e=>{let{target:t}=e;if(!(t instanceof KY))return;let r=t,{sbKind:n,sbStory:a}=r.dataset;(n||a)&&(e.preventDefault(),YY({kind:n,story:a}))},yu=!1,XY=()=>{yu||(yu=!0,aN.addEventListener("click",oN))},QY=()=>{yu&&(yu=!1,aN.removeEventListener("click",oN))},ZY=GY({name:"withLinks",parameterName:WY,wrapper:(e,t)=>(XY(),nN.getChannel().once(HY,QY),e(t))}),eX=[ZY];const tX=Object.freeze(Object.defineProperty({__proto__:null,decorators:eX},Symbol.toStringTag,{value:"Module"}));var iN={exports:{}},lp={};/**
|
|
1080
|
+
* @license React
|
|
1081
|
+
* react-jsx-runtime.production.min.js
|
|
1082
|
+
*
|
|
1083
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1084
|
+
*
|
|
1085
|
+
* This source code is licensed under the MIT license found in the
|
|
1086
|
+
* LICENSE file in the root directory of this source tree.
|
|
1087
|
+
*/var rX=Pt,nX=Symbol.for("react.element"),aX=Symbol.for("react.fragment"),oX=Object.prototype.hasOwnProperty,iX=rX.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sX={key:!0,ref:!0,__self:!0,__source:!0};function sN(e,t,r){var n,a={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)oX.call(t,n)&&!sX.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)a[n]===void 0&&(a[n]=t[n]);return{$$typeof:nX,type:e,key:o,ref:i,props:a,_owner:iX.current}}lp.Fragment=aX;lp.jsx=sN;lp.jsxs=sN;iN.exports=lp;var Ri=iN.exports;const lX=({theme:e,children:t})=>(Pt.useEffect(()=>{if(e){document.documentElement.setAttribute("data-theme",e),e.includes("dark")?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark");const r={light:"#ffffff",dark:"#0a0a0a",lossito:"#f8fafc","lossito-dark":"#111827",dmood:"#ffffff","dmood-dark":"#1a1a1a"},n=r[e]||r.light;document.body.style.backgroundColor=n;const a=document.querySelector(".sb-show-main");a&&(a.style.backgroundColor=n),document.documentElement.classList.add("theme-transitioning"),setTimeout(()=>{document.documentElement.classList.remove("theme-transitioning")},50)}},[e]),Ri.jsx(Ri.Fragment,{children:t})),uX={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}},backgrounds:{default:"light",values:[{name:"light",value:"#ffffff"},{name:"dark",value:"#0a0a0a"},{name:"lossito",value:"#f8fafc"},{name:"lossito-dark",value:"#111827"},{name:"dmood",value:"#ffffff"},{name:"dmood-dark",value:"#1a1a1a"}]}},globalTypes:{theme:{name:"Theme",description:"Global theme for components",defaultValue:"light",toolbar:{icon:"paintbrush",items:[{value:"light",title:"Light (Default)",left:"☀️"},{value:"dark",title:"Dark",left:"🌙"},{value:"lossito",title:"Lossito Light",left:"✨"},{value:"lossito-dark",title:"Lossito Dark",left:"🌑"},{value:"dmood",title:"Dmood Light",left:"💙"},{value:"dmood-dark",title:"Dmood Dark",left:"🌌"}],showName:!0,dynamicTitle:!0}}},decorators:[(e,t)=>{const r=t.globals.theme||"light";return Ri.jsx(lX,{theme:r,children:Ri.jsx("div",{style:{minHeight:"100vh",padding:"1rem",backgroundColor:"var(--color-background)",color:"var(--color-text)",transition:"all 0.3s ease"},children:Ri.jsx(e,{})})})}]},cX=Object.freeze(Object.defineProperty({__proto__:null,default:uX},Symbol.toStringTag,{value:"Module"}));Ib();const{composeConfigs:pX,PreviewWeb:dX}=__STORYBOOK_MODULE_PREVIEW_API__,fX=(e=[])=>{const t=[e[0]??vG,e[1]??DY,e[2]??LY,e[3]??VY,e[4]??tX,e[5]??cX];return pX(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new dX(Ez,fX);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Cr as R,oh as T,IQ as V,Cz as g,NQ as h,Ri as j,Pt as r};
|