@mozaic-ds/web-components 1.5.1 → 1.7.0
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/Condition20.js +1 -1
- package/dist/Condition20.js.map +1 -1
- package/dist/accordion-list.state.svelte.js +1 -1
- package/dist/attributes.js +1 -1
- package/dist/attributes.js.map +1 -1
- package/dist/branches.js +1 -1
- package/dist/branches.js.map +1 -1
- package/dist/bundle.d.ts +16 -0
- package/dist/bundle.d.ts.map +1 -1
- package/dist/bundle.js +16 -0
- package/dist/components/accordionlist/AccordionList.js +4 -4
- package/dist/components/accordionlist/AccordionList.js.map +1 -1
- package/dist/components/accordionlist/AccordionList.stories.js +2 -2
- package/dist/components/accordionlist/AccordionList.svelte +19 -17
- package/dist/components/accordionlistItem/AccordionListItem.js +4 -4
- package/dist/components/accordionlistItem/AccordionListItem.js.map +1 -1
- package/dist/components/accordionlistItem/AccordionListItem.svelte +19 -17
- package/dist/components/actionbottombar/ActionBottomBar.js +2 -2
- package/dist/components/actionlistbox/ActionListbox.js +6 -4
- package/dist/components/actionlistbox/ActionListbox.js.map +1 -1
- package/dist/components/actionlistbox/ActionListbox.spec.js +73 -16
- package/dist/components/actionlistbox/ActionListbox.stories.d.ts +2 -0
- package/dist/components/actionlistbox/ActionListbox.stories.d.ts.map +1 -1
- package/dist/components/actionlistbox/ActionListbox.stories.js +73 -2
- package/dist/components/actionlistbox/ActionListbox.svelte +158 -12
- package/dist/components/actionlistbox/ActionListbox.svelte.d.ts +11 -1
- package/dist/components/actionlistbox/ActionListbox.svelte.d.ts.map +1 -1
- package/dist/components/actionlistbox/README.md +3 -0
- package/dist/components/actionlistboxitem/ActionListboxItem.js +2 -2
- package/dist/components/actionlistboxitem/ActionListboxItem.js.map +1 -1
- package/dist/components/actionlistboxitem/ActionListboxItem.svelte +21 -5
- package/dist/components/actionlistboxitem/ActionListboxItem.svelte.d.ts +6 -1
- package/dist/components/actionlistboxitem/ActionListboxItem.svelte.d.ts.map +1 -1
- package/dist/components/avatar/Avatar.js +2 -2
- package/dist/components/breadcrumb/Breadcrumb.js +4 -6
- package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.svelte +7 -14
- package/dist/components/breadcrumb/Breadcrumb.svelte.d.ts.map +1 -1
- package/dist/components/builtinmenu/BuiltInMenu.js +2 -2
- package/dist/components/builtinmenu/BuiltInMenu.stories.d.ts +1 -1
- package/dist/components/builtinmenu/BuiltInMenu.stories.d.ts.map +1 -1
- package/dist/components/builtinmenu/BuiltInMenu.stories.js +2 -2
- package/dist/components/builtinmenu/BuiltInMenu.svelte +1 -1
- package/dist/components/builtinmenuitem/BuiltInMenuItem.js +3 -3
- package/dist/components/builtinmenuitem/BuiltInMenuItem.svelte +1 -1
- package/dist/components/button/Button.js +3 -3
- package/dist/components/button/Button.js.map +1 -1
- package/dist/components/button/Button.svelte +16 -1
- package/dist/components/button/Button.svelte.d.ts +6 -1
- package/dist/components/button/Button.svelte.d.ts.map +1 -1
- package/dist/components/callout/Callout.js +2 -2
- package/dist/components/callout/Callout.stories.d.ts +3 -3
- package/dist/components/callout/Callout.stories.d.ts.map +1 -1
- package/dist/components/callout/Callout.stories.js +3 -3
- package/dist/components/carousel/Carousel.js +2 -2
- package/dist/components/carousel/Carousel.js.map +1 -1
- package/dist/components/carousel/Carousel.svelte +1 -0
- package/dist/components/checkbox/Checkbox.js +4 -4
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox/Checkbox.svelte +30 -10
- package/dist/components/checkboxgroup/CheckboxGroup.js +4 -4
- package/dist/components/checkboxgroup/CheckboxGroup.js.map +1 -1
- package/dist/components/checkboxgroup/CheckboxGroup.svelte +30 -10
- package/dist/components/checklistmenu/CheckListMenu.js +2 -2
- package/dist/components/checklistmenu/CheckListMenu.js.map +1 -1
- package/dist/components/checklistmenu/CheckListMenu.stories.js +1 -1
- package/dist/components/circularprogressbar/CircularProgressbar.js +2 -2
- package/dist/components/combobox/Combobox.js +4 -0
- package/dist/components/combobox/Combobox.js.map +1 -0
- package/dist/components/combobox/Combobox.spec.js +186 -0
- package/dist/components/combobox/Combobox.stories.d.ts +17 -0
- package/dist/components/combobox/Combobox.stories.d.ts.map +1 -0
- package/dist/components/combobox/Combobox.stories.js +126 -0
- package/dist/components/combobox/Combobox.svelte +415 -0
- package/dist/components/combobox/Combobox.svelte.d.ts +99 -0
- package/dist/components/combobox/Combobox.svelte.d.ts.map +1 -0
- package/dist/components/combobox/README.md +38 -0
- package/dist/components/container/Container.js +2 -2
- package/dist/components/datepicker/Datepicker.js +3 -3
- package/dist/components/datepicker/Datepicker.js.map +1 -1
- package/dist/components/datepicker/Datepicker.stories.d.ts +1 -1
- package/dist/components/datepicker/Datepicker.stories.d.ts.map +1 -1
- package/dist/components/datepicker/Datepicker.stories.js +2 -2
- package/dist/components/datepicker/Datepicker.svelte +34 -9
- package/dist/components/divider/Divider.js +2 -2
- package/dist/components/divider/Divider.js.map +1 -1
- package/dist/components/divider/Divider.svelte +6 -1
- package/dist/components/divider/Divider.svelte.d.ts.map +1 -1
- package/dist/components/drawer/Drawer.js +4 -4
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/drawer/Drawer.svelte +6 -2
- package/dist/components/field/Field.js +3 -3
- package/dist/components/field/Field.js.map +1 -1
- package/dist/components/field/Field.spec.js +1 -1
- package/dist/components/field/Field.svelte +7 -3
- package/dist/components/fileuploader/FileUploader.js +2 -2
- package/dist/components/fileuploader/FileUploader.js.map +1 -1
- package/dist/components/fileuploader/FileUploader.stories.js +3 -3
- package/dist/components/fileuploader/FileUploader.svelte +5 -5
- package/dist/components/fileuploaderitem/FileUploaderItem.js +3 -3
- package/dist/components/fileuploaderitem/FileUploaderItem.svelte +1 -4
- package/dist/components/flag/Flag.js +2 -2
- package/dist/components/iconbutton/IconButton.js +2 -2
- package/dist/components/iconbutton/IconButton.js.map +1 -1
- package/dist/components/iconbutton/IconButton.svelte +11 -1
- package/dist/components/iconbutton/IconButton.svelte.d.ts +3 -1
- package/dist/components/iconbutton/IconButton.svelte.d.ts.map +1 -1
- package/dist/components/kpiitem/KpiItem.js +2 -2
- package/dist/components/linearprogressbarbuffer/LinearProgressbarBuffer.js +2 -2
- package/dist/components/linearprogressbarpercentage/LinearProgressbarPercentage.js +2 -2
- package/dist/components/link/Link.js +2 -2
- package/dist/components/link/Link.stories.js +2 -2
- package/dist/components/loader/Loader.js +2 -2
- package/dist/components/loadingoverlay/LoadingOverlay.js +2 -2
- package/dist/components/loadingoverlay/LoadingOverlay.svelte +1 -1
- package/dist/components/modal/Modal.js +5 -5
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/modal/Modal.spec.js +3 -1
- package/dist/components/modal/Modal.svelte +14 -4
- package/dist/components/modal/Modal.svelte.d.ts +4 -0
- package/dist/components/modal/Modal.svelte.d.ts.map +1 -1
- package/dist/components/modal/README.md +1 -0
- package/dist/components/navigationindicator/NavigationIndicator.js +4 -0
- package/dist/components/navigationindicator/NavigationIndicator.js.map +1 -0
- package/dist/components/navigationindicator/NavigationIndicator.spec.js +130 -0
- package/dist/components/navigationindicator/NavigationIndicator.stories.d.ts +8 -0
- package/dist/components/navigationindicator/NavigationIndicator.stories.d.ts.map +1 -0
- package/dist/components/navigationindicator/NavigationIndicator.stories.js +40 -0
- package/dist/components/navigationindicator/NavigationIndicator.svelte +156 -0
- package/dist/components/navigationindicator/NavigationIndicator.svelte.d.ts +34 -0
- package/dist/components/navigationindicator/NavigationIndicator.svelte.d.ts.map +1 -0
- package/dist/components/navigationindicator/README.md +21 -0
- package/dist/components/numberbadge/NumberBadge.js +2 -2
- package/dist/components/optionlistbox/OptionListbox.js +23 -0
- package/dist/components/optionlistbox/OptionListbox.js.map +1 -0
- package/dist/components/optionlistbox/OptionListbox.spec.js +350 -0
- package/dist/components/optionlistbox/OptionListbox.svelte +566 -0
- package/dist/components/optionlistbox/OptionListbox.svelte.d.ts +92 -0
- package/dist/components/optionlistbox/OptionListbox.svelte.d.ts.map +1 -0
- package/dist/components/optionlistbox/README.md +38 -0
- package/dist/components/overlay/Overlay.js +2 -2
- package/dist/components/overlay/Overlay.svelte +2 -2
- package/dist/components/pageheader/PageHeader.js +24 -0
- package/dist/components/pageheader/PageHeader.js.map +1 -0
- package/dist/components/pageheader/PageHeader.spec.js +75 -0
- package/dist/components/pageheader/PageHeader.stories.d.ts +12 -0
- package/dist/components/pageheader/PageHeader.stories.d.ts.map +1 -0
- package/dist/components/pageheader/PageHeader.stories.js +82 -0
- package/dist/components/pageheader/PageHeader.svelte +268 -0
- package/dist/components/pageheader/PageHeader.svelte.d.ts +66 -0
- package/dist/components/pageheader/PageHeader.svelte.d.ts.map +1 -0
- package/dist/components/pageheader/README.md +32 -0
- package/dist/components/pagination/Pagination.js +8 -8
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/Pagination.svelte +44 -28
- package/dist/components/pagination/Pagination.svelte.d.ts.map +1 -1
- package/dist/components/passwordinput/PasswordInput.js +4 -4
- package/dist/components/passwordinput/PasswordInput.js.map +1 -1
- package/dist/components/passwordinput/PasswordInput.stories.d.ts +1 -1
- package/dist/components/passwordinput/PasswordInput.stories.d.ts.map +1 -1
- package/dist/components/passwordinput/PasswordInput.stories.js +2 -2
- package/dist/components/passwordinput/PasswordInput.svelte +16 -6
- package/dist/components/phonenumber/PhoneNumber.js +13 -11
- package/dist/components/phonenumber/PhoneNumber.js.map +1 -1
- package/dist/components/phonenumber/PhoneNumber.stories.d.ts +1 -1
- package/dist/components/phonenumber/PhoneNumber.stories.d.ts.map +1 -1
- package/dist/components/phonenumber/PhoneNumber.stories.js +2 -2
- package/dist/components/phonenumber/PhoneNumber.svelte +87 -39
- package/dist/components/phonenumber/PhoneNumber.svelte.d.ts.map +1 -1
- package/dist/components/pincode/Pincode.js +2 -2
- package/dist/components/pincode/Pincode.js.map +1 -1
- package/dist/components/pincode/Pincode.stories.d.ts +1 -1
- package/dist/components/pincode/Pincode.stories.d.ts.map +1 -1
- package/dist/components/pincode/Pincode.stories.js +2 -2
- package/dist/components/popover/Popover.js +6 -0
- package/dist/components/popover/Popover.js.map +1 -0
- package/dist/components/popover/Popover.spec.js +69 -0
- package/dist/components/popover/Popover.stories.d.ts +36 -0
- package/dist/components/popover/Popover.stories.d.ts.map +1 -0
- package/dist/components/popover/Popover.stories.js +124 -0
- package/dist/components/popover/Popover.svelte +348 -0
- package/dist/components/popover/Popover.svelte.d.ts +79 -0
- package/dist/components/popover/Popover.svelte.d.ts.map +1 -0
- package/dist/components/popover/README.md +25 -0
- package/dist/components/quantityselector/QuantitySelector.js +3 -3
- package/dist/components/quantityselector/QuantitySelector.js.map +1 -1
- package/dist/components/quantityselector/QuantitySelector.stories.js +1 -1
- package/dist/components/quantityselector/QuantitySelector.svelte +4 -4
- package/dist/components/radio/Radio.js +2 -2
- package/dist/components/radio/Radio.js.map +1 -1
- package/dist/components/radiogroup/RadioGroup.js +2 -2
- package/dist/components/radiogroup/RadioGroup.js.map +1 -1
- package/dist/components/radiogroup/RadioGroup.svelte +6 -2
- package/dist/components/segmentedcontrol/README.md +6 -3
- package/dist/components/segmentedcontrol/SegmentedControl.js +2 -2
- package/dist/components/segmentedcontrol/SegmentedControl.js.map +1 -1
- package/dist/components/segmentedcontrol/SegmentedControl.spec.js +60 -23
- package/dist/components/segmentedcontrol/SegmentedControl.stories.d.ts.map +1 -1
- package/dist/components/segmentedcontrol/SegmentedControl.stories.js +6 -1
- package/dist/components/segmentedcontrol/SegmentedControl.svelte +23 -10
- package/dist/components/segmentedcontrol/SegmentedControl.svelte.d.ts +10 -3
- package/dist/components/segmentedcontrol/SegmentedControl.svelte.d.ts.map +1 -1
- package/dist/components/select/Select.js +3 -3
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select/Select.spec.js +2 -2
- package/dist/components/select/Select.stories.d.ts +1 -1
- package/dist/components/select/Select.stories.d.ts.map +1 -1
- package/dist/components/select/Select.stories.js +2 -2
- package/dist/components/select/Select.svelte +50 -31
- package/dist/components/select/Select.svelte.d.ts.map +1 -1
- package/dist/components/sidebar/README.md +28 -0
- package/dist/components/sidebar/Sidebar.js +18 -0
- package/dist/components/sidebar/Sidebar.js.map +1 -0
- package/dist/components/sidebar/Sidebar.spec.js +74 -0
- package/dist/components/sidebar/Sidebar.stories.d.ts +23 -0
- package/dist/components/sidebar/Sidebar.stories.d.ts.map +1 -0
- package/dist/components/sidebar/Sidebar.stories.js +333 -0
- package/dist/components/sidebar/Sidebar.svelte +570 -0
- package/dist/components/sidebar/Sidebar.svelte.d.ts +47 -0
- package/dist/components/sidebar/Sidebar.svelte.d.ts.map +1 -0
- package/dist/components/sidebar/floating-item.spec.js +96 -0
- package/dist/components/sidebar/floating-item.svelte.d.ts +13 -0
- package/dist/components/sidebar/floating-item.svelte.d.ts.map +1 -0
- package/dist/components/sidebar/floating-item.svelte.js +95 -0
- package/dist/components/sidebar/sidebar-state.spec.js +112 -0
- package/dist/components/sidebar/sidebar-state.svelte.d.ts +9 -0
- package/dist/components/sidebar/sidebar-state.svelte.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar-state.svelte.js +36 -0
- package/dist/components/sidebarexpandableitem/README.md +19 -0
- package/dist/components/sidebarexpandableitem/SidebarExpandableItem.js +18 -0
- package/dist/components/sidebarexpandableitem/SidebarExpandableItem.js.map +1 -0
- package/dist/components/sidebarexpandableitem/SidebarExpandableItem.spec.js +85 -0
- package/dist/components/sidebarexpandableitem/SidebarExpandableItem.svelte +578 -0
- package/dist/components/sidebarexpandableitem/SidebarExpandableItem.svelte.d.ts +49 -0
- package/dist/components/sidebarexpandableitem/SidebarExpandableItem.svelte.d.ts.map +1 -0
- package/dist/components/sidebarfooter/README.md +29 -0
- package/dist/components/sidebarfooter/SidebarFooter.js +18 -0
- package/dist/components/sidebarfooter/SidebarFooter.js.map +1 -0
- package/dist/components/sidebarfooter/SidebarFooter.spec.js +132 -0
- package/dist/components/sidebarfooter/SidebarFooter.svelte +1018 -0
- package/dist/components/sidebarfooter/SidebarFooter.svelte.d.ts +60 -0
- package/dist/components/sidebarfooter/SidebarFooter.svelte.d.ts.map +1 -0
- package/dist/components/sidebarfooter/_SidebarFooterMenu.js +18 -0
- package/dist/components/sidebarfooter/_SidebarFooterMenu.js.map +1 -0
- package/dist/components/sidebarfooter/_SidebarFooterMenu.svelte +517 -0
- package/dist/components/sidebarfooter/_SidebarFooterMenu.svelte.d.ts +36 -0
- package/dist/components/sidebarfooter/_SidebarFooterMenu.svelte.d.ts.map +1 -0
- package/dist/components/sidebarheader/README.md +11 -0
- package/dist/components/sidebarheader/SidebarHeader.js +18 -0
- package/dist/components/sidebarheader/SidebarHeader.js.map +1 -0
- package/dist/components/sidebarheader/SidebarHeader.spec.js +37 -0
- package/dist/components/sidebarheader/SidebarHeader.svelte +499 -0
- package/dist/components/sidebarheader/SidebarHeader.svelte.d.ts +17 -0
- package/dist/components/sidebarheader/SidebarHeader.svelte.d.ts.map +1 -0
- package/dist/components/sidebarnavitem/README.md +30 -0
- package/dist/components/sidebarnavitem/SidebarNavItem.js +18 -0
- package/dist/components/sidebarnavitem/SidebarNavItem.js.map +1 -0
- package/dist/components/sidebarnavitem/SidebarNavItem.spec.js +95 -0
- package/dist/components/sidebarnavitem/SidebarNavItem.svelte +617 -0
- package/dist/components/sidebarnavitem/SidebarNavItem.svelte.d.ts +58 -0
- package/dist/components/sidebarnavitem/SidebarNavItem.svelte.d.ts.map +1 -0
- package/dist/components/sidebarshortcutitem/README.md +17 -0
- package/dist/components/sidebarshortcutitem/SidebarShortcutItem.js +18 -0
- package/dist/components/sidebarshortcutitem/SidebarShortcutItem.js.map +1 -0
- package/dist/components/sidebarshortcutitem/SidebarShortcutItem.spec.js +34 -0
- package/dist/components/sidebarshortcutitem/SidebarShortcutItem.svelte +509 -0
- package/dist/components/sidebarshortcutitem/SidebarShortcutItem.svelte.d.ts +35 -0
- package/dist/components/sidebarshortcutitem/SidebarShortcutItem.svelte.d.ts.map +1 -0
- package/dist/components/sidebarshortcuts/README.md +23 -0
- package/dist/components/sidebarshortcuts/SidebarShortcuts.js +18 -0
- package/dist/components/sidebarshortcuts/SidebarShortcuts.js.map +1 -0
- package/dist/components/sidebarshortcuts/SidebarShortcuts.spec.js +82 -0
- package/dist/components/sidebarshortcuts/SidebarShortcuts.svelte +583 -0
- package/dist/components/sidebarshortcuts/SidebarShortcuts.svelte.d.ts +42 -0
- package/dist/components/sidebarshortcuts/SidebarShortcuts.svelte.d.ts.map +1 -0
- package/dist/components/starrating/StarRating.js +2 -2
- package/dist/components/starrating/StarRating.js.map +1 -1
- package/dist/components/starrating/StarRating.stories.d.ts +5 -5
- package/dist/components/starrating/StarRating.stories.d.ts.map +1 -1
- package/dist/components/starrating/StarRating.stories.js +5 -5
- package/dist/components/statusbadge/StatusBadge.js +2 -2
- package/dist/components/statusdot/StatusDot.js +2 -2
- package/dist/components/statusmessage/StatusMessage.js +2 -2
- package/dist/components/statusmessage/StatusMessage.js.map +1 -1
- package/dist/components/statusmessage/StatusMessage.svelte +5 -0
- package/dist/components/statusnotification/StatusNotification.js +2 -2
- package/dist/components/statusnotification/StatusNotification.js.map +1 -1
- package/dist/components/statusnotification/StatusNotification.stories.d.ts +3 -3
- package/dist/components/statusnotification/StatusNotification.stories.d.ts.map +1 -1
- package/dist/components/statusnotification/StatusNotification.stories.js +3 -3
- package/dist/components/statusnotification/StatusNotification.svelte +9 -1
- package/dist/components/stepperbottombar/StepperBottomBar.js +3 -3
- package/dist/components/stepperbottombar/StepperBottomBar.svelte +5 -1
- package/dist/components/stepperbottombar/StepperBottomBar.svelte.d.ts +1 -1
- package/dist/components/steppercompact/StepperCompact.js +2 -2
- package/dist/components/stepperinline/README.md +6 -2
- package/dist/components/stepperinline/StepperInline.js +3 -3
- package/dist/components/stepperinline/StepperInline.js.map +1 -1
- package/dist/components/stepperinline/StepperInline.spec.js +57 -23
- package/dist/components/stepperinline/StepperInline.stories.d.ts.map +1 -1
- package/dist/components/stepperinline/StepperInline.stories.js +6 -11
- package/dist/components/stepperinline/StepperInline.svelte +24 -11
- package/dist/components/stepperinline/StepperInline.svelte.d.ts +11 -3
- package/dist/components/stepperinline/StepperInline.svelte.d.ts.map +1 -1
- package/dist/components/stepperstacked/README.md +15 -0
- package/dist/components/stepperstacked/StepperStacked.js +18 -0
- package/dist/components/stepperstacked/StepperStacked.js.map +1 -0
- package/dist/components/stepperstacked/StepperStacked.spec.js +138 -0
- package/dist/components/stepperstacked/StepperStacked.stories.d.ts +8 -0
- package/dist/components/stepperstacked/StepperStacked.stories.d.ts.map +1 -0
- package/dist/components/stepperstacked/StepperStacked.stories.js +33 -0
- package/dist/components/stepperstacked/StepperStacked.svelte +214 -0
- package/dist/components/stepperstacked/StepperStacked.svelte.d.ts +35 -0
- package/dist/components/stepperstacked/StepperStacked.svelte.d.ts.map +1 -0
- package/dist/components/tab/README.md +1 -0
- package/dist/components/tab/Tab.js +2 -2
- package/dist/components/tab/Tab.js.map +1 -1
- package/dist/components/tab/Tab.svelte +17 -1
- package/dist/components/tab/Tab.svelte.d.ts +4 -0
- package/dist/components/tab/Tab.svelte.d.ts.map +1 -1
- package/dist/components/tabs/Tabs.js +2 -2
- package/dist/components/tabs/Tabs.stories.d.ts +1 -0
- package/dist/components/tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/components/tabs/Tabs.stories.js +11 -1
- package/dist/components/tag/README.md +1 -0
- package/dist/components/tag/Tag.js +2 -2
- package/dist/components/tag/Tag.js.map +1 -1
- package/dist/components/tag/Tag.svelte +15 -5
- package/dist/components/tag/Tag.svelte.d.ts +4 -0
- package/dist/components/tag/Tag.svelte.d.ts.map +1 -1
- package/dist/components/textarea/Textarea.js +2 -2
- package/dist/components/textarea/Textarea.js.map +1 -1
- package/dist/components/textarea/Textarea.stories.d.ts +1 -1
- package/dist/components/textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/components/textarea/Textarea.stories.js +2 -2
- package/dist/components/textarea/Textarea.svelte +1 -0
- package/dist/components/textinput/README.md +3 -0
- package/dist/components/textinput/Textinput.js +5 -5
- package/dist/components/textinput/Textinput.js.map +1 -1
- package/dist/components/textinput/Textinput.stories.d.ts +11 -1
- package/dist/components/textinput/Textinput.stories.d.ts.map +1 -1
- package/dist/components/textinput/Textinput.stories.js +21 -29
- package/dist/components/textinput/Textinput.svelte +33 -5
- package/dist/components/textinput/Textinput.svelte.d.ts +10 -1
- package/dist/components/textinput/Textinput.svelte.d.ts.map +1 -1
- package/dist/components/tile/README.md +19 -0
- package/dist/components/tile/Tile.js +111 -0
- package/dist/components/tile/Tile.js.map +1 -0
- package/dist/components/tile/Tile.spec.js +21 -0
- package/dist/components/tile/Tile.stories.d.ts +10 -0
- package/dist/components/tile/Tile.stories.d.ts.map +1 -0
- package/dist/components/tile/Tile.stories.js +37 -0
- package/dist/components/tile/Tile.svelte +894 -0
- package/dist/components/tile/Tile.svelte.d.ts +48 -0
- package/dist/components/tile/Tile.svelte.d.ts.map +1 -0
- package/dist/components/tileclickable/README.md +31 -0
- package/dist/components/tileclickable/TileClickable.js +114 -0
- package/dist/components/tileclickable/TileClickable.js.map +1 -0
- package/dist/components/tileclickable/TileClickable.spec.js +62 -0
- package/dist/components/tileclickable/TileClickable.stories.d.ts +10 -0
- package/dist/components/tileclickable/TileClickable.stories.d.ts.map +1 -0
- package/dist/components/tileclickable/TileClickable.stories.js +52 -0
- package/dist/components/tileclickable/TileClickable.svelte +954 -0
- package/dist/components/tileclickable/TileClickable.svelte.d.ts +65 -0
- package/dist/components/tileclickable/TileClickable.svelte.d.ts.map +1 -0
- package/dist/components/tileexpandable/README.md +20 -0
- package/dist/components/tileexpandable/TileExpandable.js +114 -0
- package/dist/components/tileexpandable/TileExpandable.js.map +1 -0
- package/dist/components/tileexpandable/TileExpandable.spec.js +65 -0
- package/dist/components/tileexpandable/TileExpandable.stories.d.ts +7 -0
- package/dist/components/tileexpandable/TileExpandable.stories.d.ts.map +1 -0
- package/dist/components/tileexpandable/TileExpandable.stories.js +38 -0
- package/dist/components/tileexpandable/TileExpandable.svelte +956 -0
- package/dist/components/tileexpandable/TileExpandable.svelte.d.ts +53 -0
- package/dist/components/tileexpandable/TileExpandable.svelte.d.ts.map +1 -0
- package/dist/components/tileselectable/README.md +21 -0
- package/dist/components/tileselectable/TileSelectable.js +108 -0
- package/dist/components/tileselectable/TileSelectable.js.map +1 -0
- package/dist/components/tileselectable/TileSelectable.spec.js +57 -0
- package/dist/components/tileselectable/TileSelectable.stories.d.ts +9 -0
- package/dist/components/tileselectable/TileSelectable.stories.d.ts.map +1 -0
- package/dist/components/tileselectable/TileSelectable.stories.js +44 -0
- package/dist/components/tileselectable/TileSelectable.svelte +939 -0
- package/dist/components/tileselectable/TileSelectable.svelte.d.ts +57 -0
- package/dist/components/tileselectable/TileSelectable.svelte.d.ts.map +1 -0
- package/dist/components/toaster/Toaster.js +3 -3
- package/dist/components/toaster/Toaster.js.map +1 -1
- package/dist/components/toaster/Toaster.stories.d.ts +2 -2
- package/dist/components/toaster/Toaster.stories.d.ts.map +1 -1
- package/dist/components/toaster/Toaster.stories.js +2 -2
- package/dist/components/toaster/Toaster.svelte +11 -3
- package/dist/components/toggle/Toggle.js +2 -2
- package/dist/components/toggle/Toggle.js.map +1 -1
- package/dist/components/toggle/Toggle.svelte +0 -14
- package/dist/components/togglegroup/ToggleGroup.js +2 -2
- package/dist/components/togglegroup/ToggleGroup.js.map +1 -1
- package/dist/components/togglegroup/ToggleGroup.svelte +6 -16
- package/dist/components/tooltip/README.md +1 -0
- package/dist/components/tooltip/Tooltip.js +2 -2
- package/dist/components/tooltip/Tooltip.js.map +1 -1
- package/dist/components/tooltip/Tooltip.svelte +18 -10
- package/dist/components/tooltip/Tooltip.svelte.d.ts +4 -0
- package/dist/components/tooltip/Tooltip.svelte.d.ts.map +1 -1
- package/dist/custom-element.js +3 -3
- package/dist/custom-element.js.map +1 -1
- package/dist/documentation/DarkMode.mdx +115 -0
- package/dist/each.js +1 -1
- package/dist/each.js.map +1 -1
- package/dist/floating-item.svelte.js +2 -0
- package/dist/floating-item.svelte.js.map +1 -0
- package/dist/if.js +1 -1
- package/dist/if.js.map +1 -1
- package/dist/index-client.js +1 -1
- package/dist/index-client.js.map +1 -1
- package/dist/input.js +1 -1
- package/dist/main.d.ts +17 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +17 -1
- package/dist/media-query.js +2 -0
- package/dist/media-query.js.map +1 -0
- package/dist/sidebar-state.svelte.js +2 -0
- package/dist/sidebar-state.svelte.js.map +1 -0
- package/dist/slot.js +1 -1
- package/dist/svelte-component.js +1 -1
- package/dist/svelte-component.js.map +1 -1
- package/dist/svelte-element.js +1 -1
- package/dist/svelte-element.js.map +1 -1
- package/dist/this.js +1 -1
- package/package.json +3 -2
|
@@ -110,13 +110,17 @@
|
|
|
110
110
|
color: var(--field-color-validation-valid, #117f03);
|
|
111
111
|
}
|
|
112
112
|
.mc-field__validation-message.is-valid::before {
|
|
113
|
-
background-
|
|
113
|
+
background-color: var(--field-color-validation-valid, #117f03);
|
|
114
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
115
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M3.25 10c0-3.72792 3.02208-6.75 6.75-6.75 3.7279 0 6.75 3.02208 6.75 6.75 0 3.7279-3.0221 6.75-6.75 6.75-3.72792 0-6.75-3.0221-6.75-6.75ZM10 1.75c-4.55635 0-8.25 3.69365-8.25 8.25 0 4.5563 3.69365 8.25 8.25 8.25 4.5563 0 8.25-3.6937 8.25-8.25 0-4.55635-3.6937-8.25-8.25-8.25Zm4.2803 6.697c.2929-.2929.2929-.76777 0-1.06066-.2929-.2929-.7677-.2929-1.0606 0L9.16667 11.4393 7.197 9.46967c-.2929-.29289-.76777-.29289-1.06066 0-.2929.29289-.2929.76773 0 1.06063l2.5 2.5c.29289.2929.76776.2929 1.06066 0l4.5833-4.5833Z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
114
116
|
}
|
|
115
117
|
.mc-field__validation-message.is-invalid {
|
|
116
118
|
color: var(--field-color-validation-invalid, #c61112);
|
|
117
119
|
}
|
|
118
120
|
.mc-field__validation-message.is-invalid::before {
|
|
119
|
-
background-
|
|
121
|
+
background-color: var(--field-color-validation-invalid, #c61112);
|
|
122
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
123
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 3.25c-3.72792 0-6.75 3.02208-6.75 6.75 0 3.7279 3.02208 6.75 6.75 6.75 3.7279 0 6.75-3.0221 6.75-6.75 0-3.72792-3.0221-6.75-6.75-6.75ZM1.75 10c0-4.55635 3.69365-8.25 8.25-8.25 4.5563 0 8.25 3.69365 8.25 8.25 0 4.5563-3.6937 8.25-8.25 8.25-4.55635 0-8.25-3.6937-8.25-8.25ZM10 5.91667c.4142 0 .75.33578.75.75v4.16663c0 .4142-.3358.75-.75.75-.41421 0-.75-.3358-.75-.75V6.66667c0-.41422.33579-.75.75-.75Zm0 8.25003c.4602 0 .8333-.3731.8333-.8334 0-.4602-.3731-.8333-.8333-.8333-.46024 0-.83333.3731-.83333.8333 0 .4603.37309.8334.83333.8334Z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
120
124
|
}
|
|
121
125
|
.mc-field__validation-message.is-loading {
|
|
122
126
|
color: var(--field-color-validation-loading, #666666);
|
|
@@ -164,7 +168,6 @@
|
|
|
164
168
|
height: 1.25rem;
|
|
165
169
|
width: 1.25rem;
|
|
166
170
|
background-color: var(--forms-color-icon-inverse, #ffffff);
|
|
167
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--forms-color-background-unchecked, %23666666)' viewBox='0 0 20 20'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M14.697 6.364a.75.75 0 1 0-1.06-1.061L10 8.939 6.364 5.303a.75.75 0 0 0-1.06 1.06L8.94 10l-3.637 3.636a.75.75 0 1 0 1.06 1.06L10 11.062l3.636 3.636a.75.75 0 0 0 1.061-1.06L11.061 10z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
168
171
|
border-radius: var(--border-radius-full, 100%);
|
|
169
172
|
background-position: center;
|
|
170
173
|
left: 0.375rem;
|
|
@@ -192,7 +195,6 @@
|
|
|
192
195
|
background-color: var(--forms-color-background-checked, #117f03);
|
|
193
196
|
}
|
|
194
197
|
.mc-toggle:has(:checked) .mc-toggle__container::after {
|
|
195
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--forms-color-background-checked, %23117f03)' viewBox='0 0 20 20'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M14.697 6.553a.75.75 0 0 1 0 1.06l-5.833 5.834a.75.75 0 0 1-1.06 0l-2.5-2.5a.75.75 0 0 1 1.06-1.06l1.97 1.97 5.303-5.304a.75.75 0 0 1 1.06 0'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
196
198
|
transform: translate(1rem, -50%);
|
|
197
199
|
}
|
|
198
200
|
.mc-toggle:has(:disabled) .mc-toggle__container {
|
|
@@ -203,14 +205,10 @@
|
|
|
203
205
|
}
|
|
204
206
|
.mc-toggle:has(:disabled) .mc-toggle__container::after {
|
|
205
207
|
background-color: var(--forms-color-icon-disabled, #737373);
|
|
206
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--forms-color-background-disabled, %23d9d9d9)' viewBox='0 0 20 20'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M14.697 6.364a.75.75 0 1 0-1.06-1.061L10 8.939 6.364 5.303a.75.75 0 0 0-1.06 1.06L8.94 10l-3.637 3.636a.75.75 0 1 0 1.06 1.06L10 11.062l3.636 3.636a.75.75 0 0 0 1.061-1.06L11.061 10z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
207
208
|
}
|
|
208
209
|
.mc-toggle:has(:disabled) .mc-toggle__label {
|
|
209
210
|
color: var(--forms-color-text-disabled, #737373);
|
|
210
211
|
}
|
|
211
|
-
.mc-toggle:has(:disabled:checked) .mc-toggle__container::after {
|
|
212
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.25rem' width='1.25rem' fill='var(--forms-color-background-disabled, %23d9d9d9)' viewBox='0 0 20 20'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M14.697 6.553a.75.75 0 0 1 0 1.06l-5.833 5.834a.75.75 0 0 1-1.06 0l-2.5-2.5a.75.75 0 0 1 1.06-1.06l1.97 1.97 5.303-5.304a.75.75 0 0 1 1.06 0'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
213
|
-
}
|
|
214
212
|
.mc-toggle:has(:focus-visible) .mc-toggle__container::before {
|
|
215
213
|
box-shadow: 0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));
|
|
216
214
|
outline: 0.125rem solid transparent;
|
|
@@ -223,19 +221,11 @@
|
|
|
223
221
|
.mc-toggle--m .mc-toggle__container::after {
|
|
224
222
|
height: 1.5rem;
|
|
225
223
|
width: 1.5rem;
|
|
226
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' fill='var(--forms-color-background-unchecked, %23666666)' viewBox='0 0 24 24'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M17.707 7.707a1 1 0 0 0-1.414-1.414L12 10.586 7.707 6.293a1 1 0 0 0-1.414 1.414L10.586 12l-4.293 4.293a1 1 0 1 0 1.414 1.414L12 13.414l4.293 4.293a1 1 0 0 0 1.414-1.414L13.414 12z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h24v24H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
227
224
|
left: 0.5rem;
|
|
228
225
|
}
|
|
229
226
|
.mc-toggle--m:has(:checked) .mc-toggle__container::after {
|
|
230
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' fill='var(--forms-color-background-checked, %23117f03)' viewBox='0 0 24 24'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M17.707 7.793a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L10 14.086l6.293-6.293a1 1 0 0 1 1.414 0'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h24v24H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
231
227
|
transform: translate(1.5rem, -50%);
|
|
232
228
|
}
|
|
233
|
-
.mc-toggle--m:has(:disabled) .mc-toggle__container::after {
|
|
234
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' fill='var(--forms-color-background-disabled, %23d9d9d9)' viewBox='0 0 24 24'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M17.707 7.707a1 1 0 0 0-1.414-1.414L12 10.586 7.707 6.293a1 1 0 0 0-1.414 1.414L10.586 12l-4.293 4.293a1 1 0 1 0 1.414 1.414L12 13.414l4.293 4.293a1 1 0 0 0 1.414-1.414L13.414 12z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h24v24H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
235
|
-
}
|
|
236
|
-
.mc-toggle--m:has(:disabled:checked) .mc-toggle__container::after {
|
|
237
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='1.5rem' width='1.5rem' fill='var(--forms-color-background-disabled, %23d9d9d9)' viewBox='0 0 24 24'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill-rule='evenodd' d='M17.707 7.793a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L10 14.086l6.293-6.293a1 1 0 0 1 1.414 0'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h24v24H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
|
|
238
|
-
}
|
|
239
229
|
.mc-toggle--hide-label .mc-toggle__label {
|
|
240
230
|
clip-path: inset(100%);
|
|
241
231
|
clip: rect(1px, 1px, 1px, 1px);
|
|
@@ -10,6 +10,7 @@ A tooltip is a small, contextual message that appears when users hover over, foc
|
|
|
10
10
|
| `text*` | Content of the tooltip. | `string` | |
|
|
11
11
|
| `position` | Determines the position of the tooltip. | `'top'` `'bottom'` `'left'` `'right'` | `top` |
|
|
12
12
|
| `pointer` | If `true`, the tooltip display a pointer. | `boolean` | `true` |
|
|
13
|
+
| `standalone` | Standalone tooltip | `boolean` | |
|
|
13
14
|
|
|
14
15
|
## Slots
|
|
15
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{c as
|
|
1
|
+
import{c as _,e as g,a as w,p as o,s as b,t as u,b as x,d as k,n as E,m as r,h as d,f as C,r as h,k as B}from"../../custom-element.js";import{s as M}from"../../slot.js";import{a as T,s as D}from"../../attributes.js";var S=C('<div><!> <span class="mc-tooltip__content svelte-11vyzsr" role="tooltip"> </span></div>');const j={hash:"svelte-11vyzsr",code:`/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/.mc-tooltip.svelte-11vyzsr {display:inline-flex;position:relative;}.mc-tooltip.svelte-11vyzsr:focus, .mc-tooltip.svelte-11vyzsr:hover {cursor:help;}.mc-tooltip.svelte-11vyzsr:focus .mc-tooltip__content:where(.svelte-11vyzsr), .mc-tooltip.svelte-11vyzsr:hover .mc-tooltip__content:where(.svelte-11vyzsr) {visibility:visible;}.mc-tooltip__content.svelte-11vyzsr {font-size:var(--font-size-100, 0.875rem);border-radius:var(--border-radius-s, 0.25rem);line-height:var(--line-height-s, 1.3);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;align-items:center;max-width:16rem;min-width:4rem;background-color:var(--tooltip-color-background, #242938);box-sizing:border-box;color:var(--tooltip-color-text, #ffffff);position:absolute;text-align:center;visibility:hidden;z-index:var(--tooltip-z-index, 1);border:var(--border-width-s, 0.0625rem) solid var(--tooltip-color-border, #636d88);word-break:break-all;padding:0.375rem 0.5rem;}
|
|
4
4
|
@supports (width: max-content) {.mc-tooltip__content.svelte-11vyzsr {width:max-content;}
|
|
5
|
-
}.mc-tooltip__content.svelte-11vyzsr::before {background-
|
|
5
|
+
}.mc-tooltip__content.svelte-11vyzsr::before {background-color:var(--tooltip-color-border, #636d88);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;content:"";height:0.625rem;position:absolute;width:0.625rem;}.mc-tooltip__content.svelte-11vyzsr::after {background-color:var(--tooltip-color-background, #242938);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;content:"";height:0.5rem;position:absolute;width:0.5rem;}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {top:0;left:50%;transform:translate(-50%, calc(-100% - 1rem));}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {bottom:0;left:50%;transform:translate(-50%, 100%) rotate(-90deg);}.mc-tooltip--top.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {bottom:-1px;}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {top:50%;right:0;transform:translate(calc(100% + 1rem), -50%);}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:50%;left:0;transform:translate(-99%, -50%);}.mc-tooltip--right.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {left:-1px;}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {left:0;top:50%;transform:translate(calc(-100% - 1rem), -50%);}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:50%;right:0;transform:translate(99%, -50%) rotate(180deg);}.mc-tooltip--left.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {right:-1px;}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {bottom:0;left:50%;transform:translate(-50%, calc(100% + 1rem));}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:0;left:50%;transform:translate(-50%, -100%) rotate(90deg);}.mc-tooltip--bottom.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {top:-1px;}.mc-tooltip--no-pointer.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::after, .mc-tooltip--no-pointer.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr)::before {background:none;}.mc-tooltip--standalone.svelte-11vyzsr {cursor:help;}.mc-tooltip--standalone.svelte-11vyzsr .mc-tooltip__content:where(.svelte-11vyzsr) {visibility:visible;position:relative;transform:none;top:0;left:0;}`};function q(p,e){g(e,!0),w(p,j);let s=o(e,"id",7),i=o(e,"text",7),n=o(e,"position",7,"top"),a=o(e,"pointer",7,!0),v=o(e,"standalone",7),f=E(e,["$$slots","$$events","$$legacy","$$host","id","text","position","pointer","standalone"]);var y={get id(){return s()},set id(t){s(t),r()},get text(){return i()},set text(t){i(t),r()},get position(){return n()},set position(t="top"){n(t),r()},get pointer(){return a()},set pointer(t=!0){a(t),r()},get standalone(){return v()},set standalone(t){v(t),r()}},l=S();T(l,()=>({class:["mc-tooltip",!a()&&"mc-tooltip--no-pointer",`mc-tooltip--${n()}`,v()&&"mc-tooltip--standalone"],"aria-describedby":s(),...f}),void 0,void 0,void 0,"svelte-11vyzsr");var m=d(l);M(m,e,"default",{},null);var c=b(m,2),z=d(c,!0);return h(c),h(l),u(()=>{D(c,"id",s()),B(z,i())}),x(p,l),k(y)}customElements.define("m-tooltip",_(q,{pointer:{attribute:"pointer",reflect:!0,type:"Boolean"},standalone:{attribute:"standalone",reflect:!0,type:"Boolean"},id:{},text:{},position:{}},["default"],[],{mode:"open"}));export{q as T};
|
|
6
6
|
//# sourceMappingURL=Tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sources":["../../../src/components/tooltip/Tooltip.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-tooltip',\n props: {\n pointer: { reflect: true, type: 'Boolean', attribute: 'pointer' },\n },\n }}\n/>\n\n<script lang=\"ts\">\n /**\n * A tooltip is a small, contextual message that appears when users hover over, focus on, or tap an element, providing additional information or guidance without cluttering the interface. Tooltips are commonly used to explain icons, abbreviations, or complex actions. They typically disappear automatically when the user moves away from the trigger element.\n *\n * @slot default - The tooltip will point to the content of the slot.\n */\n interface Props {\n [key: string]: any;\n /**\n * A unique identifier for the tooltip, used to describe the tooltip.\n */\n id: string;\n /**\n * Content of the tooltip.\n */\n text: string;\n /**\n * Determines the position of the tooltip.\n */\n position?: 'top' | 'bottom' | 'left' | 'right';\n /**\n * If `true`, the tooltip display a pointer.\n */\n pointer?: boolean;\n }\n\n let { id, text, position = 'top', pointer = true, ...attrs }: Props = $props();\n</script>\n\n<div\n class={['mc-tooltip'
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":["../../../src/components/tooltip/Tooltip.svelte"],"sourcesContent":["<svelte:options\n customElement={{\n tag: 'm-tooltip',\n props: {\n pointer: { reflect: true, type: 'Boolean', attribute: 'pointer' },\n standalone: { reflect: true, type: 'Boolean', attribute: 'standalone' },\n },\n }}\n/>\n\n<script lang=\"ts\">\n /**\n * A tooltip is a small, contextual message that appears when users hover over, focus on, or tap an element, providing additional information or guidance without cluttering the interface. Tooltips are commonly used to explain icons, abbreviations, or complex actions. They typically disappear automatically when the user moves away from the trigger element.\n *\n * @slot default - The tooltip will point to the content of the slot.\n */\n interface Props {\n [key: string]: any;\n /**\n * A unique identifier for the tooltip, used to describe the tooltip.\n */\n id: string;\n /**\n * Content of the tooltip.\n */\n text: string;\n /**\n * Determines the position of the tooltip.\n */\n position?: 'top' | 'bottom' | 'left' | 'right';\n /**\n * If `true`, the tooltip display a pointer.\n */\n pointer?: boolean;\n /**\n * Standalone tooltip\n */\n standalone?: boolean;\n }\n\n let { id, text, position = 'top', pointer = true, standalone, ...attrs }: Props = $props();\n</script>\n\n<div\n class={[\n 'mc-tooltip',\n !pointer && 'mc-tooltip--no-pointer',\n `mc-tooltip--${position}`,\n standalone && 'mc-tooltip--standalone',\n ]}\n aria-describedby={id}\n {...attrs}\n>\n <slot />\n <span {id} class=\"mc-tooltip__content\" role=\"tooltip\">\n {text}\n </span>\n</div>\n\n<style lang=\"scss\">\n @use '@mozaic-ds/styles/components/tooltip';\n</style>\n"],"names":["id","$.prop","$$props","text","position","pointer","standalone","attrs","$.rest_props","div","root","node","$.child","span","$.sibling","$.reset","$.set_attribute","$.append","$$anchor"],"mappings":";;;;ynHAUA,oBA8BQA,EAAEC,EAAAC,EAAA,KAAA,CAAA,EAAEC,EAAIF,EAAAC,EAAA,OAAA,CAAA,EAAEE,mBAAW,KAAK,EAAEC,kBAAU,EAAI,EAAEC,EAAUL,EAAAC,EAAA,aAAA,CAAA,EAAKK,EAAKC,EAAAN,EAAA,iOAA3C,MAAK,mDAAY,GAAI,qEAGjDO,EAAAC,EAAA,IAAAD,eAEG,aACC,CAAAJ,EAAO,GAAI,wCACGD,EAAQ,CAAA,GACvBE,KAAc,6CAEEN,EAAE,KAChBO,2CARL,IAAAI,EAAAC,EAAAH,CAAA,+BAWEI,EAAIC,EAAAH,EAAA,CAAA,MAAJE,EAAI,EAAA,WAAJA,CAAI,EAXNE,EAAAN,CAAA,SAWEO,EAAAH,OAAMb,GAAE,MACNG,GAAI,IAZRc,EAAAC,EAAAT,CAAA,MAFO"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
tag: 'm-tooltip',
|
|
4
4
|
props: {
|
|
5
5
|
pointer: { reflect: true, type: 'Boolean', attribute: 'pointer' },
|
|
6
|
+
standalone: { reflect: true, type: 'Boolean', attribute: 'standalone' },
|
|
6
7
|
},
|
|
7
8
|
}}
|
|
8
9
|
/>
|
|
@@ -31,13 +32,22 @@
|
|
|
31
32
|
* If `true`, the tooltip display a pointer.
|
|
32
33
|
*/
|
|
33
34
|
pointer?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Standalone tooltip
|
|
37
|
+
*/
|
|
38
|
+
standalone?: boolean;
|
|
34
39
|
}
|
|
35
40
|
|
|
36
|
-
let { id, text, position = 'top', pointer = true, ...attrs }: Props = $props();
|
|
41
|
+
let { id, text, position = 'top', pointer = true, standalone, ...attrs }: Props = $props();
|
|
37
42
|
</script>
|
|
38
43
|
|
|
39
44
|
<div
|
|
40
|
-
class={[
|
|
45
|
+
class={[
|
|
46
|
+
'mc-tooltip',
|
|
47
|
+
!pointer && 'mc-tooltip--no-pointer',
|
|
48
|
+
`mc-tooltip--${position}`,
|
|
49
|
+
standalone && 'mc-tooltip--standalone',
|
|
50
|
+
]}
|
|
41
51
|
aria-describedby={id}
|
|
42
52
|
{...attrs}
|
|
43
53
|
>
|
|
@@ -88,20 +98,18 @@
|
|
|
88
98
|
}
|
|
89
99
|
}
|
|
90
100
|
.mc-tooltip__content::before {
|
|
91
|
-
background-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
background-size: 0.625rem;
|
|
101
|
+
background-color: var(--tooltip-color-border, #636d88);
|
|
102
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
103
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
95
104
|
content: "";
|
|
96
105
|
height: 0.625rem;
|
|
97
106
|
position: absolute;
|
|
98
107
|
width: 0.625rem;
|
|
99
108
|
}
|
|
100
109
|
.mc-tooltip__content::after {
|
|
101
|
-
background-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
background-size: 0.5rem;
|
|
110
|
+
background-color: var(--tooltip-color-background, #242938);
|
|
111
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
112
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E") no-repeat center/contain;
|
|
105
113
|
content: "";
|
|
106
114
|
height: 0.5rem;
|
|
107
115
|
position: absolute;
|
|
@@ -21,6 +21,10 @@ interface Props {
|
|
|
21
21
|
* If `true`, the tooltip display a pointer.
|
|
22
22
|
*/
|
|
23
23
|
pointer?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Standalone tooltip
|
|
26
|
+
*/
|
|
27
|
+
standalone?: boolean;
|
|
24
28
|
}
|
|
25
29
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
26
30
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/Tooltip.svelte.ts"],"names":[],"mappings":"AAGE;;;;GAIG;AACH,UAAU,KAAK;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.svelte.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/Tooltip.svelte.ts"],"names":[],"mappings":"AAGE;;;;GAIG;AACH,UAAU,KAAK;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA+BH,UAAU,kCAAkC,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,GAAG,MAAM;IACpM,KAAK,OAAO,EAAE,OAAO,QAAQ,EAAE,2BAA2B,CAAC,KAAK,CAAC,GAAG,OAAO,QAAQ,EAAE,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,QAAQ,CAAA;KAAE,GAAG,OAAO,CAAC;IACjK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAA;KAAC,GAAG,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,GAAG,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC;CAC3B;AACD,KAAK,gCAAgC,CAAC,KAAK,EAAE,KAAK,IAAI,KAAK,GACvD,CAAC,KAAK,SAAS;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,GACzB,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACnC,GAAG,GACH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE,GAClB,EAAE,CAAC,CAAC;AAId,QAAA,MAAM,OAAO;;;;;;UAAqF,CAAC;AACjF,KAAK,OAAO,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC;AAC9C,eAAe,OAAO,CAAC"}
|
package/dist/custom-element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Vr=1,qr=2,Yr=4,Ur=8,Gr=16,En=1,bn=4,yn=8,mn=16,Tn=1,An=2,At="[",St="[!",Nt="]",we={},y=Symbol(),Kr="http://www.w3.org/1999/xhtml",Wr="http://www.w3.org/2000/svg",zr="@attach",Ze=!1;var Sn=Array.isArray,Nn=Array.prototype.indexOf,Ee=Array.prototype.includes,On=Array.from,je=Object.keys,Be=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,Jr=Object.getOwnPropertyDescriptors,Rn=Object.prototype,Cn=Array.prototype,xn=Object.getPrototypeOf,dt=Object.isExtensible;function Pn(e){for(var t=0;t<e.length;t++)e[t]()}function Ot(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const m=2,He=4,Ye=8,ft=1<<24,Z=16,Q=32,le=64,lt=128,L=512,T=1024,N=2048,ee=4096,q=8192,K=16384,Ue=32768,Se=65536,_t=1<<17,Rt=1<<18,_e=1<<19,Ln=1<<20,Xr=1<<25,de=32768,Qe=1<<21,at=1<<22,re=1<<23,$e=Symbol("$state"),Ct=Symbol("legacy props"),Zr=Symbol(""),pe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},es=1,Ge=3,Oe=8;function In(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function kn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Dn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Mn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Fn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function jn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Bn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Hn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Vn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Yn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ke(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ts(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Un(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function Le(e){$=e}let g;function B(e){if(e===null)throw Ke(),we;return g=e}function xt(){return B(te(g))}function ns(e){if($){if(te(g)!==null)throw Ke(),we;g=e}}function Gn(e=1){if($){for(var t=e,n=g;t--;)n=te(n);g=n}}function Kn(e=!0){for(var t=0,n=g;;){if(n.nodeType===Oe){var r=n.data;if(r===Nt){if(t===0)return n;t-=1}else(r===At||r===St)&&(t+=1)}var s=te(n);e&&n.remove(),n=s}}function rs(e){if(!e||e.nodeType!==Oe)throw Ke(),we;return e.data}function Pt(e){return e===this.v}function Wn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Lt(e){return!Wn(e,this.v)}let zn=!1,k=null;function be(e){k=e}function Jn(e,t=!1,n){k={p:k,i:!1,c:null,e:null,s:e,x:null,l:null}}function Xn(e){var t=k,n=t.e;if(n!==null){t.e=null;for(var r of n)Zt(r)}return e!==void 0&&(t.x=e),t.i=!0,k=t.p,e??{}}function It(){return!0}let ue=[];function kt(){var e=ue;ue=[],Pn(e)}function se(e){if(ue.length===0&&!Te){var t=ue;queueMicrotask(()=>{t===ue&&kt()})}ue.push(e)}function Zn(){for(;ue.length>0;)kt()}function Dt(e){var t=v;if(t===null)return _.f|=re,e;if((t.f&Ue)===0){if((t.f<)===0)throw e;t.b.error(e)}else ye(e,t)}function ye(e,t){for(;t!==null;){if((t.f<)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Qn=-7169;function E(e,t){e.f=e.f&Qn|t}function ut(e){(e.f&L)!==0||e.deps===null?E(e,T):E(e,ee)}function Mt(e){if(e!==null)for(const t of e)(t.f&m)===0||(t.f&de)===0||(t.f^=de,Mt(t.deps))}function Ft(e,t,n){(e.f&N)!==0?t.add(e):(e.f&ee)!==0&&n.add(e),Mt(e.deps),E(e,T)}const Ie=new Set;let w=null,vt=null,M=null,C=[],We=null,et=!1,Te=!1;class W{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#r=0;#a=0;#f=null;#s=new Set;#n=new Set;skipped_effects=new Set;is_fork=!1;#i=!1;is_deferred(){return this.is_fork||this.#a>0}process(t){C=[],this.apply();var n=[],r=[];for(const s of t)this.#l(s,n,r);if(this.is_deferred())this.#u(r),this.#u(n);else{for(const s of this.#e)s();this.#e.clear(),this.#r===0&&this.#o(),vt=this,w=null,pt(r),pt(n),vt=null,this.#f?.resolve()}M=null}#l(t,n,r){t.f^=T;for(var s=t.first,i=null;s!==null;){var f=s.f,l=(f&(Q|le))!==0,a=l&&(f&T)!==0,u=a||(f&q)!==0||this.skipped_effects.has(s);if(!u&&s.fn!==null){l?s.f^=T:i!==null&&(f&(He|Ye|ft))!==0?i.b.defer_effect(s):(f&He)!==0?n.push(s):Ce(s)&&((f&Z)!==0&&this.#n.add(s),Ne(s));var h=s.first;if(h!==null){s=h;continue}}var c=s.parent;for(s=s.next;s===null&&c!==null;)c===i&&(i=null),s=c.next,c=c.parent}}#u(t){for(var n=0;n<t.length;n+=1)Ft(t[n],this.#s,this.#n)}capture(t,n){n!==y&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&re)===0&&(this.current.set(t,t.v),M?.set(t,t.v))}activate(){w=this,this.apply()}deactivate(){w===this&&(w=null,M=null)}flush(){if(this.activate(),C.length>0){if(Bt(),w!==null&&w!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#o(){if(Ie.size>1){this.previous.clear();var t=M,n=!0;for(const s of Ie){if(s===this){n=!1;continue}const i=[];for(const[l,a]of this.current){if(s.current.has(l))if(n&&a!==s.current.get(l))s.current.set(l,a);else continue;i.push(l)}if(i.length===0)continue;const f=[...s.current.keys()].filter(l=>!this.current.has(l));if(f.length>0){var r=C;C=[];const l=new Set,a=new Map;for(const u of i)Ht(u,f,l,a);if(C.length>0){w=s,s.apply();for(const u of C)s.#l(u,[],[]);s.deactivate()}C=r}}w=null,M=t}this.committed=!0,Ie.delete(this)}increment(t){this.#r+=1,t&&(this.#a+=1)}decrement(t){this.#r-=1,t&&(this.#a-=1),!this.#i&&(this.#i=!0,se(()=>{this.#i=!1,this.is_deferred()?C.length>0&&this.flush():this.revive()}))}revive(){for(const t of this.#s)this.#n.delete(t),E(t,N),z(t);for(const t of this.#n)E(t,ee),z(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#f??=Ot()).promise}static ensure(){if(w===null){const t=w=new W;Ie.add(w),Te||se(()=>{w===t&&t.flush()})}return w}apply(){}}function jt(e){var t=Te;Te=!0;try{for(var n;;){if(Zn(),C.length===0&&(w?.flush(),C.length===0))return We=null,n;Bt()}}finally{Te=t}}function Bt(){et=!0;var e=null;try{for(var t=0;C.length>0;){var n=W.ensure();if(t++>1e3){var r,s;er()}n.process(C),ie.clear()}}finally{et=!1,We=null}}function er(){try{Fn()}catch(e){ye(e,We)}}let G=null;function pt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(K|q))===0&&Ce(r)&&(G=new Set,Ne(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?nn(r):r.fn=null),G?.size>0)){ie.clear();for(const s of G){if((s.f&(K|q))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)G.has(f)&&(G.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const a=i[l];(a.f&(K|q))===0&&Ne(a)}}G.clear()}}G=null}}function Ht(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&m)!==0?Ht(s,t,n,r):(i&(at|Z))!==0&&(i&N)===0&&Vt(s,t,r)&&(E(s,N),z(s))}}function Vt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(Ee.call(t,s))return!0;if((s.f&m)!==0&&Vt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function z(e){for(var t=We=e;t.parent!==null;){t=t.parent;var n=t.f;if(et&&t===v&&(n&Z)!==0&&(n&Rt)===0)return;if((n&(le|Q))!==0){if((n&T)===0)return;t.f^=T}}C.push(t)}function tr(e){let t=0,n=Re(0),r;return()=>{ct()&&(x(n),Qt(()=>(t===0&&(r=dn(()=>e(()=>Ae(n)))),t+=1,()=>{se(()=>{t-=1,t===0&&(r?.(),r=void 0,Ae(n))})})))}}var nr=Se|_e|lt;function rr(e,t,n){new sr(e,t,n)}class sr{parent;is_pending=!1;#e;#t=$?g:null;#r;#a;#f;#s=null;#n=null;#i=null;#l=null;#u=null;#o=0;#c=0;#_=!1;#d=!1;#v=new Set;#p=new Set;#h=null;#b=tr(()=>(this.#h=Re(this.#o),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=v.b,this.is_pending=!!this.#r.pending,this.#f=wr(()=>{if(v.b=this,$){const i=this.#t;xt(),i.nodeType===Oe&&i.data===St?this.#m():(this.#y(),this.#c===0&&(this.is_pending=!1))}else{var s=this.#w();try{this.#s=ae(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#$():this.is_pending=!1}return()=>{this.#u?.remove()}},nr),$&&(this.#e=g)}#y(){try{this.#s=ae(()=>this.#a(this.#e))}catch(t){this.error(t)}}#m(){const t=this.#r.pending;t&&(this.#n=ae(()=>t(this.#e)),se(()=>{var n=this.#w();this.#s=this.#g(()=>(W.ensure(),ae(()=>this.#a(n)))),this.#c>0?this.#$():(De(this.#n,()=>{this.#n=null}),this.is_pending=!1)}))}#w(){var t=this.#e;return this.is_pending&&(this.#u=J(),this.#e.before(this.#u),t=this.#u),t}defer_effect(t){Ft(t,this.#v,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#r.pending}#g(t){var n=v,r=_,s=k;U(this.#f),D(this.#f),be(this.#f.ctx);try{return t()}catch(i){return Dt(i),null}finally{U(n),D(r),be(s)}}#$(){const t=this.#r.pending;this.#s!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#u),yr(this.#s,this.#l)),this.#n===null&&(this.#n=ae(()=>t(this.#e)))}#E(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#E(t);return}if(this.#c+=t,this.#c===0){this.is_pending=!1;for(const n of this.#v)E(n,N),z(n);for(const n of this.#p)E(n,ee),z(n);this.#v.clear(),this.#p.clear(),this.#n&&De(this.#n,()=>{this.#n=null}),this.#l&&(this.#e.before(this.#l),this.#l=null)}}update_pending_count(t){this.#E(t),this.#o+=t,!(!this.#h||this.#_)&&(this.#_=!0,se(()=>{this.#_=!1,this.#h&&Ve(this.#h,this.#o)}))}get_effect_pending(){return this.#b(),x(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#d||!n&&!r)throw t;this.#s&&(j(this.#s),this.#s=null),this.#n&&(j(this.#n),this.#n=null),this.#i&&(j(this.#i),this.#i=null),$&&(B(this.#t),Gn(),B(Kn()));var s=!1,i=!1;const f=()=>{if(s){Un();return}s=!0,i&&Yn(),W.ensure(),this.#o=0,this.#i!==null&&De(this.#i,()=>{this.#i=null}),this.is_pending=this.has_pending_snippet(),this.#s=this.#g(()=>(this.#d=!1,ae(()=>this.#a(this.#e)))),this.#c>0?this.#$():this.is_pending=!1};se(()=>{try{i=!0,n?.(t,f),i=!1}catch(l){ye(l,this.#f&&this.#f.parent)}r&&(this.#i=this.#g(()=>{W.ensure(),this.#d=!0;try{return ae(()=>{r(this.#e,()=>t,()=>f)})}catch(l){return ye(l,this.#f.parent),null}finally{this.#d=!1}}))})}}function ir(e,t,n,r){const s=ze;var i=e.filter(o=>!o.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var f=w,l=v,a=fr(),u=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(o=>o.promise)):null;function h(o){a();try{r(o)}catch(d){(l.f&K)===0&&ye(d,l)}f?.deactivate(),tt()}if(n.length===0){u.then(()=>h(t.map(s)));return}function c(){a(),Promise.all(n.map(o=>lr(o))).then(o=>h([...t.map(s),...o])).catch(o=>ye(o,l))}u?u.then(c):c()}function fr(){var e=v,t=_,n=k,r=w;return function(i=!0){U(e),D(t),be(n),i&&r?.activate()}}function tt(){U(null),D(null),be(null)}function ze(e){var t=m|N,n=_!==null&&(_.f&m)!==0?_:null;return v!==null&&(v.f|=_e),{ctx:k,deps:null,effects:null,equals:Pt,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:n??v,ac:null}}function lr(e,t,n){let r=v;r===null&&In();var s=r.b,i=void 0,f=Re(y),l=!_,a=new Map;return $r(()=>{var u=Ot();i=u.promise;try{Promise.resolve(e()).then(u.resolve,u.reject).then(()=>{h===w&&h.committed&&h.deactivate(),tt()})}catch(d){u.reject(d),tt()}var h=w;if(l){var c=s.is_rendered();s.update_pending_count(1),h.increment(c),a.get(h)?.reject(pe),a.delete(h),a.set(h,u)}const o=(d,p=void 0)=>{if(h.activate(),p)p!==pe&&(f.f|=re,Ve(f,p));else{(f.f&re)!==0&&(f.f^=re),Ve(f,d);for(const[b,A]of a){if(a.delete(b),b===h)break;A.reject(pe)}}l&&(s.update_pending_count(-1),h.decrement(c))};u.promise.then(o,d=>o(null,d||"unknown"))}),Xt(()=>{for(const u of a.values())u.reject(pe)}),new Promise(u=>{function h(c){function o(){c===i?u(f):h(i)}c.then(o,o)}h(i)})}function ss(e){const t=ze(e);return fn(t),t}function ar(e){const t=ze(e);return t.equals=Lt,t}function qt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)j(t[n])}}function ur(e){for(var t=e.parent;t!==null;){if((t.f&m)===0)return(t.f&K)===0?t:null;t=t.parent}return null}function ot(e){var t,n=v;U(ur(e));try{e.f&=~de,qt(e),t=on(e)}finally{U(n)}return t}function Yt(e){var t=ot(e);if(!e.equals(t)&&(e.wv=an(),(!w?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){E(e,T);return}fe||(M!==null?(ct()||w?.is_fork)&&M.set(e,t):ut(e))}let nt=new Set;const ie=new Map;let Ut=!1;function Re(e,t){var n={f:0,v:e,reactions:null,equals:Pt,rv:0,wv:0};return n}function ne(e,t){const n=Re(e);return fn(n),n}function or(e,t=!1,n=!0){const r=Re(e);return t||(r.equals=Lt),r}function V(e,t,n=!1){_!==null&&(!F||(_.f&_t)!==0)&&It()&&(_.f&(m|Z|at|_t))!==0&&(I===null||!Ee.call(I,e))&&qn();let r=n?ge(t):t;return Ve(e,r)}function Ve(e,t){if(!e.equals(t)){var n=e.v;fe?ie.set(e,t):ie.set(e,n),e.v=t;var r=W.ensure();if(r.capture(e,n),(e.f&m)!==0){const s=e;(e.f&N)!==0&&ot(s),ut(s)}e.wv=an(),Gt(e,N),v!==null&&(v.f&T)!==0&&(v.f&(Q|le))===0&&(P===null?mr([e]):P.push(e)),!r.is_fork&&nt.size>0&&!Ut&&cr()}return t}function cr(){Ut=!1;for(const e of nt)(e.f&T)!==0&&E(e,ee),Ce(e)&&Ne(e);nt.clear()}function is(e,t=1){var n=x(e),r=t===1?n++:n--;return V(e,n),r}function Ae(e){V(e,e.v+1)}function Gt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,l=(f&N)===0;if(l&&E(i,t),(f&m)!==0){var a=i;M?.delete(a),(f&de)===0&&(f&L&&(i.f|=de),Gt(a,ee))}else l&&((f&Z)!==0&&G!==null&&G.add(i),z(i))}}function ge(e){if(typeof e!="object"||e===null||$e in e)return e;const t=xn(e);if(t!==Rn&&t!==Cn)return e;var n=new Map,r=Sn(e),s=ne(0),i=he,f=l=>{if(he===i)return l();var a=_,u=he;D(null),bt(i);var h=l();return D(a),bt(u),h};return r&&n.set("length",ne(e.length)),new Proxy(e,{defineProperty(l,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Hn();var h=n.get(a);return h===void 0?h=f(()=>{var c=ne(u.value);return n.set(a,c),c}):V(h,u.value,!0),!0},deleteProperty(l,a){var u=n.get(a);if(u===void 0){if(a in l){const h=f(()=>ne(y));n.set(a,h),Ae(s)}}else V(u,y),Ae(s);return!0},get(l,a,u){if(a===$e)return e;var h=n.get(a),c=a in l;if(h===void 0&&(!c||ce(l,a)?.writable)&&(h=f(()=>{var d=ge(c?l[a]:y),p=ne(d);return p}),n.set(a,h)),h!==void 0){var o=x(h);return o===y?void 0:o}return Reflect.get(l,a,u)},getOwnPropertyDescriptor(l,a){var u=Reflect.getOwnPropertyDescriptor(l,a);if(u&&"value"in u){var h=n.get(a);h&&(u.value=x(h))}else if(u===void 0){var c=n.get(a),o=c?.v;if(c!==void 0&&o!==y)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return u},has(l,a){if(a===$e)return!0;var u=n.get(a),h=u!==void 0&&u.v!==y||Reflect.has(l,a);if(u!==void 0||v!==null&&(!h||ce(l,a)?.writable)){u===void 0&&(u=f(()=>{var o=h?ge(l[a]):y,d=ne(o);return d}),n.set(a,u));var c=x(u);if(c===y)return!1}return h},set(l,a,u,h){var c=n.get(a),o=a in l;if(r&&a==="length")for(var d=u;d<c.v;d+=1){var p=n.get(d+"");p!==void 0?V(p,y):d in l&&(p=f(()=>ne(y)),n.set(d+"",p))}if(c===void 0)(!o||ce(l,a)?.writable)&&(c=f(()=>ne(void 0)),V(c,ge(u)),n.set(a,c));else{o=c.v!==y;var b=f(()=>ge(u));V(c,b)}var A=Reflect.getOwnPropertyDescriptor(l,a);if(A?.set&&A.set.call(h,u),!o){if(r&&typeof a=="string"){var xe=n.get("length"),S=Number(a);Number.isInteger(S)&&S>=xe.v&&V(xe,S+1)}Ae(s)}return!0},ownKeys(l){x(s);var a=Reflect.ownKeys(l).filter(c=>{var o=n.get(c);return o===void 0||o.v!==y});for(var[u,h]of n)h.v!==y&&!(u in l)&&a.push(u);return a},setPrototypeOf(){Vn()}})}function gt(e){try{if(e!==null&&typeof e=="object"&&$e in e)return e[$e]}catch{}return e}function fs(e,t){return Object.is(gt(e),gt(t))}var $t,Kt,Wt,zt;function rt(){if($t===void 0){$t=window,Kt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Wt=ce(t,"firstChild").get,zt=ce(t,"nextSibling").get,dt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),dt(n)&&(n.__t=void 0)}}function J(e=""){return document.createTextNode(e)}function X(e){return Wt.call(e)}function te(e){return zt.call(e)}function ls(e,t){if(!$)return X(e);var n=X(g);if(n===null)n=g.appendChild(J());else if(t&&n.nodeType!==Ge){var r=J();return n?.before(r),B(r),r}return B(n),n}function as(e,t=!1){if(!$){var n=X(e);return n instanceof Comment&&n.data===""?te(n):n}if(t&&g?.nodeType!==Ge){var r=J();return g?.before(r),B(r),r}return g}function us(e,t=1,n=!1){let r=$?g:e;for(var s;t--;)s=r,r=te(r);if(!$)return r;if(n&&r?.nodeType!==Ge){var i=J();return r===null?s?.after(i):r.before(i),B(i),i}return B(r),r}function Jt(e){e.textContent=""}function os(){return!1}function cs(e,t){if(t){const n=document.body;e.autofocus=!0,se(()=>{document.activeElement===n&&e.focus()})}}function hs(e){$&&X(e)!==null&&Jt(e)}let wt=!1;function hr(){wt||(wt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Je(e){var t=_,n=v;D(null),U(null);try{return e()}finally{D(t),U(n)}}function ds(e,t,n,r=n){e.addEventListener(t,()=>Je(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),hr()}function dr(e){v===null&&(_===null&&Mn(),Dn()),fe&&kn()}function _r(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function H(e,t,n){var r=v;r!==null&&(r.f&q)!==0&&(e|=q);var s={ctx:k,deps:null,nodes:null,f:e|N|L,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{Ne(s),s.f|=Ue}catch(l){throw j(s),l}else t!==null&&z(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&_e)===0&&(i=i.first,(e&Z)!==0&&(e&Se)!==0&&i!==null&&(i.f|=Se)),i!==null&&(i.parent=r,r!==null&&_r(i,r),_!==null&&(_.f&m)!==0&&(e&le)===0)){var f=_;(f.effects??=[]).push(i)}return s}function ct(){return _!==null&&!F}function Xt(e){const t=H(Ye,null,!1);return E(t,T),t.teardown=e,t}function _s(e){dr();var t=v.f,n=!_&&(t&Q)!==0&&(t&Ue)===0;if(n){var r=k;(r.e??=[]).push(e)}else return Zt(e)}function Zt(e){return H(He|Ln,e,!1)}function vr(e){W.ensure();const t=H(le|_e,e,!0);return()=>{j(t)}}function pr(e){W.ensure();const t=H(le|_e,e,!0);return(n={})=>new Promise(r=>{n.outro?De(t,()=>{j(t),r(void 0)}):(j(t),r(void 0))})}function gr(e){return H(He,e,!1)}function $r(e){return H(at|_e,e,!0)}function Qt(e,t=0){return H(Ye|t,e,!0)}function vs(e,t=[],n=[],r=[]){ir(r,t,n,s=>{H(Ye,()=>e(...s.map(x)),!0)})}function wr(e,t=0){var n=H(Z|t,e,!0);return n}function ps(e,t=0){var n=H(ft|t,e,!0);return n}function ae(e){return H(Q|_e,e,!0)}function en(e){var t=e.teardown;if(t!==null){const n=fe,r=_;Et(!0),D(null);try{t.call(null)}finally{Et(n),D(r)}}}function tn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Je(()=>{s.abort(pe)});var r=n.next;(n.f&le)!==0?n.parent=null:j(n,t),n=r}}function Er(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Q)===0&&j(t),t=n}}function j(e,t=!0){var n=!1;(t||(e.f&Rt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(br(e.nodes.start,e.nodes.end),n=!0),tn(e,t&&!n),qe(e,0),E(e,K);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();en(e);var s=e.parent;s!==null&&s.first!==null&&nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function br(e,t){for(;e!==null;){var n=e===t?null:te(e);e.remove(),e=n}}function nn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function De(e,t,n=!0){var r=[];rn(e,r,!0);var s=()=>{n&&j(e),t&&t()},i=r.length;if(i>0){var f=()=>--i||s();for(var l of r)l.out(f)}else s()}function rn(e,t,n){if((e.f&q)===0){e.f^=q;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,f=(s.f&Se)!==0||(s.f&Q)!==0&&(e.f&Z)!==0;rn(s,t,f?n:!1),s=i}}}function gs(e){sn(e,!0)}function sn(e,t){if((e.f&q)!==0){e.f^=q,(e.f&T)===0&&(E(e,N),z(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Se)!==0||(n.f&Q)!==0;sn(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const f of i)(f.is_global||t)&&f.in()}}function yr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:te(n);t.append(n),n=s}}let Me=!1,fe=!1;function Et(e){fe=e}let _=null,F=!1;function D(e){_=e}let v=null;function U(e){v=e}let I=null;function fn(e){_!==null&&(I===null?I=[e]:I.push(e))}let O=null,R=0,P=null;function mr(e){P=e}let ln=1,oe=0,he=oe;function bt(e){he=e}function an(){return++ln}function Ce(e){var t=e.f;if((t&N)!==0)return!0;if(t&m&&(e.f&=~de),(t&ee)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Ce(i)&&Yt(i),i.wv>e.wv)return!0}(t&L)!==0&&M===null&&E(e,T)}return!1}function un(e,t,n=!0){var r=e.reactions;if(r!==null&&!(I!==null&&Ee.call(I,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&m)!==0?un(i,t,!1):t===i&&(n?E(i,N):(i.f&T)!==0&&E(i,ee),z(i))}}function on(e){var t=O,n=R,r=P,s=_,i=I,f=k,l=F,a=he,u=e.f;O=null,R=0,P=null,_=(u&(Q|le))===0?e:null,I=null,be(e.ctx),F=!1,he=++oe,e.ac!==null&&(Je(()=>{e.ac.abort(pe)}),e.ac=null);try{e.f|=Qe;var h=e.fn,c=h(),o=e.deps;if(O!==null){var d;if(qe(e,R),o!==null&&R>0)for(o.length=R+O.length,d=0;d<O.length;d++)o[R+d]=O[d];else e.deps=o=O;if(ct()&&(e.f&L)!==0)for(d=R;d<o.length;d++)(o[d].reactions??=[]).push(e)}else o!==null&&R<o.length&&(qe(e,R),o.length=R);if(It()&&P!==null&&!F&&o!==null&&(e.f&(m|ee|N))===0)for(d=0;d<P.length;d++)un(P[d],e);if(s!==null&&s!==e){if(oe++,s.deps!==null)for(let p=0;p<n;p+=1)s.deps[p].rv=oe;if(t!==null)for(const p of t)p.rv=oe;P!==null&&(r===null?r=P:r.push(...P))}return(e.f&re)!==0&&(e.f^=re),c}catch(p){return Dt(p)}finally{e.f^=Qe,O=t,R=n,P=r,_=s,I=i,be(f),F=l,he=a}}function Tr(e,t){let n=t.reactions;if(n!==null){var r=Nn.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&m)!==0&&(O===null||!Ee.call(O,t))){var i=t;(i.f&L)!==0&&(i.f^=L,i.f&=~de),ut(i),qt(i),qe(i,0)}}function qe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Tr(e,n[r])}function Ne(e){var t=e.f;if((t&K)===0){E(e,T);var n=v,r=Me;v=e,Me=!0;try{(t&(Z|ft))!==0?Er(e):tn(e),en(e);var s=on(e);e.teardown=typeof s=="function"?s:null,e.wv=ln;var i;Ze&&zn&&(e.f&N)!==0&&e.deps}finally{Me=r,v=n}}}async function $s(){await Promise.resolve(),jt()}function x(e){var t=e.f,n=(t&m)!==0;if(_!==null&&!F){var r=v!==null&&(v.f&K)!==0;if(!r&&(I===null||!Ee.call(I,e))){var s=_.deps;if((_.f&Qe)!==0)e.rv<oe&&(e.rv=oe,O===null&&s!==null&&s[R]===e?R++:O===null?O=[e]:O.push(e));else{(_.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[_]:Ee.call(i,_)||i.push(_)}}}if(fe&&ie.has(e))return ie.get(e);if(n){var f=e;if(fe){var l=f.v;return((f.f&T)===0&&f.reactions!==null||hn(f))&&(l=ot(f)),ie.set(f,l),l}var a=(f.f&L)===0&&!F&&_!==null&&(Me||(_.f&L)!==0),u=f.deps===null;Ce(f)&&(a&&(f.f|=L),Yt(f)),a&&!u&&cn(f)}if(M?.has(e))return M.get(e);if((e.f&re)!==0)throw e.v;return e.v}function cn(e){if(e.deps!==null){e.f|=L;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&m)!==0&&(t.f&L)===0&&cn(t)}}function hn(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ie.has(t)||(t.f&m)!==0&&hn(t))return!0;return!1}function dn(e){var t=F;try{return F=!0,e()}finally{F=t}}const _n=new Set,st=new Set;function Ar(e,t,n,r={}){function s(i){if(r.capture||me.call(t,i),!i.cancelBubble)return Je(()=>n?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?se(()=>{t.addEventListener(e,s,r)}):t.addEventListener(e,s,r),s}function ws(e,t,n,r,s){var i={capture:r,passive:s},f=Ar(e,t,n,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Xt(()=>{t.removeEventListener(e,f,i)})}function Es(e){for(var t=0;t<e.length;t++)_n.add(e[t]);for(var n of st)n(e)}let yt=null;function me(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;yt=e;var f=0,l=yt===e&&e.__root;if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var u=s.indexOf(t);if(u===-1)return;a<=u&&(f=a)}if(i=s[f]||e.target,i!==t){Be(e,"currentTarget",{configurable:!0,get(){return i||n}});var h=_,c=v;D(null),U(null);try{for(var o,d=[];i!==null;){var p=i.assignedSlot||i.parentNode||i.host||null;try{var b=i["__"+r];b!=null&&(!i.disabled||e.target===i)&&b.call(i,e)}catch(A){o?d.push(A):o=A}if(e.cancelBubble||p===t||p===null)break;i=p}if(o){for(let A of d)queueMicrotask(()=>{throw A});throw o}}finally{e.__root=t,delete e.currentTarget,D(h),U(c)}}}function vn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Y(e,t){var n=v;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function bs(e,t){var n=(t&Tn)!==0,r=(t&An)!==0,s,i=!e.startsWith("<!>");return()=>{if($)return Y(g,null),g;s===void 0&&(s=vn(i?e:"<!>"+e),n||(s=X(s)));var f=r||Kt?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=X(f),a=f.lastChild;Y(l,a)}else Y(f,f);return f}}function Sr(e,t,n="svg"){var r=!e.startsWith("<!>"),s=`<${n}>${r?e:"<!>"+e}</${n}>`,i;return()=>{if($)return Y(g,null),g;if(!i){var f=vn(s),l=X(f);i=X(l)}var a=i.cloneNode(!0);return Y(a,a),a}}function ys(e,t){return Sr(e,t,"svg")}function ms(e=""){if(!$){var t=J(e+"");return Y(t,t),t}var n=g;return n.nodeType!==Ge&&(n.before(n=J()),B(n)),Y(n,n),n}function Ts(){if($)return Y(g,null),g;var e=document.createDocumentFragment(),t=document.createComment(""),n=J();return e.append(t,n),Y(t,n),e}function Nr(e,t){if($){var n=v;((n.f&Ue)===0||n.nodes.end===null)&&(n.nodes.end=g),xt();return}e!==null&&e.before(t)}function As(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Or=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Ss(e){return Or.includes(e)}const Rr={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Ns(e){return e=e.toLowerCase(),Rr[e]??e}const Cr=["touchstart","touchmove"];function xr(e){return Cr.includes(e)}const Pr=["textarea","script","style","title"];function Os(e){return Pr.includes(e)}function Rs(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function pn(e,t){return gn(e,t)}function Lr(e,t){rt(),t.intro=t.intro??!1;const n=t.target,r=$,s=g;try{for(var i=X(n);i&&(i.nodeType!==Oe||i.data!==At);)i=te(i);if(!i)throw we;Le(!0),B(i);const f=gn(e,{...t,anchor:i});return Le(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==
|
|
3
|
-
\r\f \v\uFEFF`];function
|
|
1
|
+
typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ss=1,is=2,fs=4,as=8,ls=16,Sn=1,Nn=4,On=8,Rn=16,xn=1,Cn=2,xt="[",Ct="[!",gt="[?",Pt="]",ye={},T=Symbol(),Pn="http://www.w3.org/1999/xhtml",us="http://www.w3.org/2000/svg",os="@attach",tt=!1;var kn=Array.isArray,Ln=Array.prototype.indexOf,Ee=Array.prototype.includes,In=Array.from,Ye=Object.keys,Ue=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,cs=Object.getOwnPropertyDescriptors,Mn=Object.prototype,Dn=Array.prototype,Fn=Object.getPrototypeOf,wt=Object.isExtensible;const jn=()=>{};function Hn(e){for(var t=0;t<e.length;t++)e[t]()}function kt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const N=2,Oe=4,Te=8,ze=1<<24,ue=16,K=32,oe=64,nt=128,L=512,A=1024,S=2048,V=4096,W=8192,J=16384,we=32768,Pe=65536,$t=1<<17,Vn=1<<18,$e=1<<19,Bn=1<<20,hs=1<<25,ge=65536,rt=1<<21,ot=1<<22,ie=1<<23,me=Symbol("$state"),Lt=Symbol("legacy props"),ds=Symbol(""),he=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},vs=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),ps=1,Le=3,Ge=8;function qn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Yn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function gs(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Un(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Wn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function zn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Kn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Xn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Jn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Zn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Qn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function er(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ke(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ws(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function tr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function De(e){$=e}let w;function B(e){if(e===null)throw Ke(),ye;return w=e}function It(){return B(te(w))}function $s(e){if($){if(te(w)!==null)throw Ke(),ye;w=e}}function nr(e=1){if($){for(var t=e,n=w;t--;)n=te(n);w=n}}function rr(e=!0){for(var t=0,n=w;;){if(n.nodeType===Ge){var r=n.data;if(r===Pt){if(t===0)return n;t-=1}else(r===xt||r===Ct||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=te(n);e&&n.remove(),n=s}}function bs(e){if(!e||e.nodeType!==Ge)throw Ke(),ye;return e.data}function Mt(e){return e===this.v}function sr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Dt(e){return!sr(e,this.v)}let ir=!1,O=null;function Ae(e){O=e}function ms(e){return jt().get(e)}function ys(e,t){return jt().set(e,t),t}function fr(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,l:null}}function ar(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)sn(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function Ft(){return!0}function jt(e){return O===null&&qn(),O.c??=new Map(lr(O)||void 0)}function lr(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let de=[];function Ht(){var e=de;de=[],Hn(e)}function fe(e){if(de.length===0&&!xe){var t=de;queueMicrotask(()=>{t===de&&Ht()})}de.push(e)}function ur(){for(;de.length>0;)Ht()}function Vt(e){var t=p;if(t===null)return v.f|=ie,e;if((t.f&we)===0&&(t.f&Oe)===0)throw e;se(e,t)}function se(e,t){for(;t!==null;){if((t.f&nt)!==0){if((t.f&we)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const or=-7169;function m(e,t){e.f=e.f&or|t}function ct(e){(e.f&L)!==0||e.deps===null?m(e,A):m(e,V)}function Bt(e){if(e!==null)for(const t of e)(t.f&N)===0||(t.f&ge)===0||(t.f^=ge,Bt(t.deps))}function qt(e,t,n){(e.f&S)!==0?t.add(e):(e.f&V)!==0&&n.add(e),Bt(e.deps),m(e,A)}const Fe=new Set;let b=null,bt=null,F=null,R=[],Xe=null,xe=!1,Se=null,cr=1;class Z{id=cr++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#i=0;#l=0;#s=null;#f=new Set;#n=new Set;#r=new Map;is_fork=!1;#a=!1;#o(){return this.is_fork||this.#l>0}skip_effect(t){this.#r.has(t)||this.#r.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#r.get(t);if(n){this.#r.delete(t);for(var r of n.d)m(r,S),U(r);for(r of n.m)m(r,V),U(r)}}process(t){R=[],this.apply();var n=Se=[],r=[];for(const s of t)this.#u(s,n,r);if(Se=null,this.#o()){this.#c(r),this.#c(n);for(const[s,i]of this.#r)Gt(s,i)}else{bt=this,b=null;for(const s of this.#e)s(this);this.#e.clear(),this.#i===0&&this.#h(),mt(r),mt(n),this.#f.clear(),this.#n.clear(),bt=null,this.#s?.resolve()}F=null}#u(t,n,r){t.f^=A;for(var s=t.first;s!==null;){var i=s.f,f=(i&(K|oe))!==0,l=f&&(i&A)!==0,a=(i&W)!==0,u=l||this.#r.has(s);if(!u&&s.fn!==null){f?a||(s.f^=A):(i&Oe)!==0?n.push(s):(i&(Te|ze))!==0&&a?r.push(s):Me(s)&&(Ne(s),(i&ue)!==0&&(this.#n.add(s),a&&m(s,S)));var c=s.first;if(c!==null){s=c;continue}}for(;s!==null;){var o=s.next;if(o!==null){s=o;break}s=s.parent}}}#c(t){for(var n=0;n<t.length;n+=1)qt(t[n],this.#f,this.#n)}capture(t,n){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&ie)===0&&(this.current.set(t,t.v),F?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,F=null)}flush(){if(R.length>0)b=this,Ut();else if(this.#i===0&&!this.is_fork){for(const t of this.#e)t(this);this.#e.clear(),this.#h(),this.#s?.resolve()}this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#h(){if(Fe.size>1){this.previous.clear();var t=b,n=F,r=!0;for(const i of Fe){if(i===this){r=!1;continue}const f=[];for(const[a,u]of this.current){if(i.current.has(a))if(r&&u!==i.current.get(a))i.current.set(a,u);else continue;f.push(a)}if(f.length===0)continue;const l=[...i.current.keys()].filter(a=>!this.current.has(a));if(l.length>0){var s=R;R=[];const a=new Set,u=new Map;for(const c of f)Wt(c,l,a,u);if(R.length>0){b=i,i.apply();for(const c of R)i.#u(c,[],[]);i.deactivate()}R=s}}b=t,F=n}this.#r.clear(),Fe.delete(this)}increment(t){this.#i+=1,t&&(this.#l+=1)}decrement(t){this.#i-=1,t&&(this.#l-=1),!this.#a&&(this.#a=!0,fe(()=>{this.#a=!1,this.#o()?R.length>0&&this.flush():this.revive()}))}revive(){for(const t of this.#f)this.#n.delete(t),m(t,S),U(t);for(const t of this.#n)m(t,V),U(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#s??=kt()).promise}static ensure(){if(b===null){const t=b=new Z;Fe.add(b),xe||fe(()=>{b===t&&t.flush()})}return b}apply(){}}function Yt(e){var t=xe;xe=!0;try{for(var n;;){if(ur(),R.length===0&&(b?.flush(),R.length===0))return Xe=null,n;Ut()}}finally{xe=t}}function Ut(){var e=null;try{for(var t=0;R.length>0;){var n=Z.ensure();if(t++>1e3){var r,s;hr()}n.process(R),ae.clear()}}finally{R=[],Xe=null,Se=null}}function hr(){try{Gn()}catch(e){se(e,Xe)}}let X=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(J|W))===0&&Me(r)&&(X=new Set,Ne(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ln(r),X?.size>0)){ae.clear();for(const s of X){if((s.f&(J|W))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)X.has(f)&&(X.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const a=i[l];(a.f&(J|W))===0&&Ne(a)}}X.clear()}}X=null}}function Wt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&N)!==0?Wt(s,t,n,r):(i&(ot|ue))!==0&&(i&S)===0&&zt(s,t,r)&&(m(s,S),U(s))}}function zt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(Ee.call(t,s))return!0;if((s.f&N)!==0&&zt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function U(e){var t=Xe=e,n=t.b;if(n?.is_pending&&(e.f&(Oe|Te|ze))!==0&&(e.f&we)===0){n.defer_effect(e);return}for(;t.parent!==null;){t=t.parent;var r=t.f;if(Se!==null&&t===p&&(e.f&Te)===0)return;if((r&(oe|K))!==0){if((r&A)===0)return;t.f^=A}}R.push(t)}function Gt(e,t){if(!((e.f&K)!==0&&(e.f&A)!==0)){(e.f&S)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),m(e,A);for(var n=e.first;n!==null;)Gt(n,t),n=n.next}}function dr(e){let t=0,n=Ie(0),r;return()=>{_t()&&(P(n),fn(()=>(t===0&&(r=wn(()=>e(()=>Ce(n)))),t+=1,()=>{fe(()=>{t-=1,t===0&&(r?.(),r=void 0,Ce(n))})})))}}var _r=Pe|$e;function vr(e,t,n,r){new pr(e,t,n,r)}class pr{parent;is_pending=!1;transform_error;#e;#t=$?w:null;#i;#l;#s;#f=null;#n=null;#r=null;#a=null;#o=0;#u=0;#c=!1;#h=new Set;#_=new Set;#d=null;#$=dr(()=>(this.#d=Ie(this.#o),()=>{this.#d=null}));constructor(t,n,r,s){this.#e=t,this.#i=n,this.#l=i=>{var f=p;f.b=this,f.f|=nt,r(i)},this.parent=p.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#s=Lr(()=>{if($){const i=this.#t;It();const f=i.data===Ct;if(i.data.startsWith(gt)){const a=JSON.parse(i.data.slice(gt.length));this.#m(a)}else f?this.#y():this.#b()}else this.#g()},_r),$&&(this.#e=w)}#b(){try{this.#f=ce(()=>this.#l(this.#e))}catch(t){this.error(t)}}#m(t){const n=this.#i.failed;n&&(this.#r=ce(()=>{n(this.#e,()=>t,()=>()=>{})}))}#y(){const t=this.#i.pending;t&&(this.is_pending=!0,this.#n=ce(()=>t(this.#e)),fe(()=>{var n=this.#a=document.createDocumentFragment(),r=Q();n.append(r),this.#f=this.#p(()=>(Z.ensure(),ce(()=>this.#l(r)))),this.#u===0&&(this.#e.before(n),this.#a=null,Ve(this.#n,()=>{this.#n=null}),this.#v())}))}#g(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#o=0,this.#f=ce(()=>{this.#l(this.#e)}),this.#u>0){var t=this.#a=document.createDocumentFragment();Dr(this.#f,t);const n=this.#i.pending;this.#n=ce(()=>n(this.#e))}else this.#v()}catch(n){this.error(n)}}#v(){this.is_pending=!1;for(const t of this.#h)m(t,S),U(t);for(const t of this.#_)m(t,V),U(t);this.#h.clear(),this.#_.clear()}defer_effect(t){qt(t,this.#h,this.#_)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#p(t){var n=p,r=v,s=O;G(this.#s),M(this.#s),Ae(this.#s.ctx);try{return t()}catch(i){return Vt(i),null}finally{G(n),M(r),Ae(s)}}#w(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t);return}this.#u+=t,this.#u===0&&(this.#v(),this.#n&&Ve(this.#n,()=>{this.#n=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t){this.#w(t),this.#o+=t,!(!this.#d||this.#c)&&(this.#c=!0,fe(()=>{this.#c=!1,this.#d&&We(this.#d,this.#o)}))}get_effect_pending(){return this.#$(),P(this.#d)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(!n&&!r)throw t;this.#f&&(H(this.#f),this.#f=null),this.#n&&(H(this.#n),this.#n=null),this.#r&&(H(this.#r),this.#r=null),$&&(B(this.#t),nr(),B(rr()));var s=!1,i=!1;const f=()=>{if(s){tr();return}s=!0,i&&er(),this.#r!==null&&Ve(this.#r,()=>{this.#r=null}),this.#p(()=>{Z.ensure(),this.#g()})},l=a=>{try{i=!0,n?.(a,f),i=!1}catch(u){se(u,this.#s&&this.#s.parent)}r&&(this.#r=this.#p(()=>{Z.ensure();try{return ce(()=>{var u=p;u.b=this,u.f|=nt,r(this.#e,()=>a,()=>f)})}catch(u){return se(u,this.#s.parent),null}}))};fe(()=>{var a;try{a=this.transform_error(t)}catch(u){se(u,this.#s&&this.#s.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(l,u=>se(u,this.#s&&this.#s.parent)):l(a)})}}function gr(e,t,n,r){const s=Je;var i=e.filter(o=>!o.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var f=p,l=wr(),a=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(o=>o.promise)):null;function u(o){l();try{r(o)}catch(h){(f.f&J)===0&&se(h,f)}st()}if(n.length===0){a.then(()=>u(t.map(s)));return}function c(){l(),Promise.all(n.map(o=>br(o))).then(o=>u([...t.map(s),...o])).catch(o=>se(o,f))}a?a.then(c):c()}function wr(){var e=p,t=v,n=O,r=b;return function(i=!0){G(e),M(t),Ae(n),i&&r?.activate()}}function st(e=!0){G(null),M(null),Ae(null),e&&b?.deactivate()}function $r(){var e=p.b,t=b,n=e.is_rendered();return e.update_pending_count(1),t.increment(n),()=>{e.update_pending_count(-1),t.decrement(n)}}function Je(e){var t=N|S,n=v!==null&&(v.f&N)!==0?v:null;return p!==null&&(p.f|=$e),{ctx:O,deps:null,effects:null,equals:Mt,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??p,ac:null}}function br(e,t,n){p===null&&Yn();var s=void 0,i=Ie(T),f=!v,l=new Map;return kr(()=>{var a=kt();s=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(st)}catch(h){a.reject(h),st()}var u=b;if(f){var c=$r();l.get(u)?.reject(he),l.delete(u),l.set(u,a)}const o=(h,_=void 0)=>{if(u.activate(),_)_!==he&&(i.f|=ie,We(i,_));else{(i.f&ie)!==0&&(i.f^=ie),We(i,h);for(const[d,g]of l){if(l.delete(d),d===u)break;g.reject(he)}}c&&c()};a.promise.then(o,h=>o(null,h||"unknown"))}),rn(()=>{for(const a of l.values())a.reject(he)}),new Promise(a=>{function u(c){function o(){c===s?a(i):u(s)}c.then(o,o)}u(s)})}function Es(e){const t=Je(e);return cn(t),t}function mr(e){const t=Je(e);return t.equals=Dt,t}function yr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)H(t[n])}}function Er(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&J)===0?t:null;t=t.parent}return null}function ht(e){var t,n=p;G(Er(e));try{e.f&=~ge,yr(e),t=vn(e)}finally{G(n)}return t}function Kt(e){var t=ht(e);if(!e.equals(t)&&(e.wv=dn(),(!b?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){m(e,A);return}le||(F!==null?(_t()||b?.is_fork)&&F.set(e,t):ct(e))}function Tr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(he),t.teardown=jn,t.ac=null,ke(t,0),vt(t))}function Xt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ne(t)}let it=new Set;const ae=new Map;let Jt=!1;function Ie(e,t){var n={f:0,v:e,reactions:null,equals:Mt,rv:0,wv:0};return n}function re(e,t){const n=Ie(e);return cn(n),n}function Ar(e,t=!1,n=!0){const r=Ie(e);return t||(r.equals=Dt),r}function Y(e,t,n=!1){v!==null&&(!j||(v.f&$t)!==0)&&Ft()&&(v.f&(N|ue|ot|$t))!==0&&(I===null||!Ee.call(I,e))&&Qn();let r=n?be(t):t;return We(e,r)}function We(e,t){if(!e.equals(t)){var n=e.v;le?ae.set(e,t):ae.set(e,n),e.v=t;var r=Z.ensure();if(r.capture(e,n),(e.f&N)!==0){const s=e;(e.f&S)!==0&&ht(s),ct(s)}e.wv=dn(),Zt(e,S),p!==null&&(p.f&A)!==0&&(p.f&(K|oe))===0&&(k===null?Fr([e]):k.push(e)),!r.is_fork&&it.size>0&&!Jt&&Sr()}return t}function Sr(){Jt=!1;for(const e of it)(e.f&A)!==0&&m(e,V),Me(e)&&Ne(e);it.clear()}function Ts(e,t=1){var n=P(e),r=t===1?n++:n--;return Y(e,n),r}function Ce(e){Y(e,e.v+1)}function Zt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,l=(f&S)===0;if(l&&m(i,t),(f&N)!==0){var a=i;F?.delete(a),(f&ge)===0&&(f&L&&(i.f|=ge),Zt(a,V))}else l&&((f&ue)!==0&&X!==null&&X.add(i),U(i))}}function be(e){if(typeof e!="object"||e===null||me in e)return e;const t=Fn(e);if(t!==Mn&&t!==Dn)return e;var n=new Map,r=kn(e),s=re(0),i=pe,f=l=>{if(pe===i)return l();var a=v,u=pe;M(null),St(i);var c=l();return M(a),St(u),c};return r&&n.set("length",re(e.length)),new Proxy(e,{defineProperty(l,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Jn();var c=n.get(a);return c===void 0?f(()=>{var o=re(u.value);return n.set(a,o),o}):Y(c,u.value,!0),!0},deleteProperty(l,a){var u=n.get(a);if(u===void 0){if(a in l){const c=f(()=>re(T));n.set(a,c),Ce(s)}}else Y(u,T),Ce(s);return!0},get(l,a,u){if(a===me)return e;var c=n.get(a),o=a in l;if(c===void 0&&(!o||ve(l,a)?.writable)&&(c=f(()=>{var _=be(o?l[a]:T),d=re(_);return d}),n.set(a,c)),c!==void 0){var h=P(c);return h===T?void 0:h}return Reflect.get(l,a,u)},getOwnPropertyDescriptor(l,a){var u=Reflect.getOwnPropertyDescriptor(l,a);if(u&&"value"in u){var c=n.get(a);c&&(u.value=P(c))}else if(u===void 0){var o=n.get(a),h=o?.v;if(o!==void 0&&h!==T)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return u},has(l,a){if(a===me)return!0;var u=n.get(a),c=u!==void 0&&u.v!==T||Reflect.has(l,a);if(u!==void 0||p!==null&&(!c||ve(l,a)?.writable)){u===void 0&&(u=f(()=>{var h=c?be(l[a]):T,_=re(h);return _}),n.set(a,u));var o=P(u);if(o===T)return!1}return c},set(l,a,u,c){var o=n.get(a),h=a in l;if(r&&a==="length")for(var _=u;_<o.v;_+=1){var d=n.get(_+"");d!==void 0?Y(d,T):_ in l&&(d=f(()=>re(T)),n.set(_+"",d))}if(o===void 0)(!h||ve(l,a)?.writable)&&(o=f(()=>re(void 0)),Y(o,be(u)),n.set(a,o));else{h=o.v!==T;var g=f(()=>be(u));Y(o,g)}var y=Reflect.getOwnPropertyDescriptor(l,a);if(y?.set&&y.set.call(c,u),!h){if(r&&typeof a=="string"){var D=n.get("length"),E=Number(a);Number.isInteger(E)&&E>=D.v&&Y(D,E+1)}Ce(s)}return!0},ownKeys(l){P(s);var a=Reflect.ownKeys(l).filter(o=>{var h=n.get(o);return h===void 0||h.v!==T});for(var[u,c]of n)c.v!==T&&!(u in l)&&a.push(u);return a},setPrototypeOf(){Zn()}})}function yt(e){try{if(e!==null&&typeof e=="object"&&me in e)return e[me]}catch{}return e}function As(e,t){return Object.is(yt(e),yt(t))}var Et,Qt,en,tn;function ft(){if(Et===void 0){Et=window,Qt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;en=ve(t,"firstChild").get,tn=ve(t,"nextSibling").get,wt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),wt(n)&&(n.__t=void 0)}}function Q(e=""){return document.createTextNode(e)}function ee(e){return en.call(e)}function te(e){return tn.call(e)}function Ss(e,t){if(!$)return ee(e);var n=ee(w);if(n===null)n=w.appendChild(Q());else if(t&&n.nodeType!==Le){var r=Q();return n?.before(r),B(r),r}return t&&Ze(n),B(n),n}function Ns(e,t=!1){if(!$){var n=ee(e);return n instanceof Comment&&n.data===""?te(n):n}if(t){if(w?.nodeType!==Le){var r=Q();return w?.before(r),B(r),r}Ze(w)}return w}function Os(e,t=1,n=!1){let r=$?w:e;for(var s;t--;)s=r,r=te(r);if(!$)return r;if(n){if(r?.nodeType!==Le){var i=Q();return r===null?s?.after(i):r.before(i),B(i),i}Ze(r)}return B(r),r}function nn(e){e.textContent=""}function Rs(){return!1}function dt(e,t,n){return document.createElementNS(t??Pn,e,void 0)}function Ze(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Le;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function xs(e,t){if(t){const n=document.body;e.autofocus=!0,fe(()=>{document.activeElement===n&&e.focus()})}}function Cs(e){$&&ee(e)!==null&&nn(e)}let Tt=!1;function Nr(){Tt||(Tt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Qe(e){var t=v,n=p;M(null),G(null);try{return e()}finally{M(t),G(n)}}function Ps(e,t,n,r=n){e.addEventListener(t,()=>Qe(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Nr()}function Or(e){p===null&&(v===null&&zn(),Wn()),le&&Un()}function Rr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function q(e,t){var n=p;n!==null&&(n.f&W)!==0&&(e|=W);var r={ctx:O,deps:null,nodes:null,f:e|S|L,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},s=r;if((e&Oe)!==0)Se!==null?Se.push(r):U(r);else if(t!==null){try{Ne(r)}catch(f){throw H(r),f}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&$e)===0&&(s=s.first,(e&ue)!==0&&(e&Pe)!==0&&s!==null&&(s.f|=Pe))}if(s!==null&&(s.parent=n,n!==null&&Rr(s,n),v!==null&&(v.f&N)!==0&&(e&oe)===0)){var i=v;(i.effects??=[]).push(s)}return r}function _t(){return v!==null&&!j}function rn(e){const t=q(Te,null);return m(t,A),t.teardown=e,t}function ks(e){Or();var t=p.f,n=!v&&(t&K)!==0&&(t&we)===0;if(n){var r=O;(r.e??=[]).push(e)}else return sn(e)}function sn(e){return q(Oe|Bn,e)}function xr(e){Z.ensure();const t=q(oe|$e,e);return()=>{H(t)}}function Cr(e){Z.ensure();const t=q(oe|$e,e);return(n={})=>new Promise(r=>{n.outro?Ve(t,()=>{H(t),r(void 0)}):(H(t),r(void 0))})}function Pr(e){return q(Oe,e)}function kr(e){return q(ot|$e,e)}function fn(e,t=0){return q(Te|t,e)}function Ls(e,t=[],n=[],r=[]){gr(r,t,n,s=>{q(Te,()=>e(...s.map(P)))})}function Lr(e,t=0){var n=q(ue|t,e);return n}function Is(e,t=0){var n=q(ze|t,e);return n}function ce(e){return q(K|$e,e)}function an(e){var t=e.teardown;if(t!==null){const n=le,r=v;At(!0),M(null);try{t.call(null)}finally{At(n),M(r)}}}function vt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Qe(()=>{s.abort(he)});var r=n.next;(n.f&oe)!==0?n.parent=null:H(n,t),n=r}}function Ir(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&K)===0&&H(t),t=n}}function H(e,t=!0){var n=!1;(t||(e.f&Vn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Mr(e.nodes.start,e.nodes.end),n=!0),vt(e,t&&!n),ke(e,0),m(e,J);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();an(e);var s=e.parent;s!==null&&s.first!==null&&ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Mr(e,t){for(;e!==null;){var n=e===t?null:te(e);e.remove(),e=n}}function ln(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ve(e,t,n=!0){var r=[];un(e,r,!0);var s=()=>{n&&H(e),t&&t()},i=r.length;if(i>0){var f=()=>--i||s();for(var l of r)l.out(f)}else s()}function un(e,t,n){if((e.f&W)===0){e.f^=W;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,f=(s.f&Pe)!==0||(s.f&K)!==0&&(e.f&ue)!==0;un(s,t,f?n:!1),s=i}}}function Ms(e){on(e,!0)}function on(e,t){if((e.f&W)!==0){e.f^=W;for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Pe)!==0||(n.f&K)!==0;on(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const f of i)(f.is_global||t)&&f.in()}}function Dr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:te(n);t.append(n),n=s}}let Be=!1,le=!1;function At(e){le=e}let v=null,j=!1;function M(e){v=e}let p=null;function G(e){p=e}let I=null;function cn(e){v!==null&&(I===null?I=[e]:I.push(e))}let x=null,C=0,k=null;function Fr(e){k=e}let hn=1,_e=0,pe=_e;function St(e){pe=e}function dn(){return++hn}function Me(e){var t=e.f;if((t&S)!==0)return!0;if(t&N&&(e.f&=~ge),(t&V)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Me(i)&&Kt(i),i.wv>e.wv)return!0}(t&L)!==0&&F===null&&m(e,A)}return!1}function _n(e,t,n=!0){var r=e.reactions;if(r!==null&&!(I!==null&&Ee.call(I,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&N)!==0?_n(i,t,!1):t===i&&(n?m(i,S):(i.f&A)!==0&&m(i,V),U(i))}}function vn(e){var t=x,n=C,r=k,s=v,i=I,f=O,l=j,a=pe,u=e.f;x=null,C=0,k=null,v=(u&(K|oe))===0?e:null,I=null,Ae(e.ctx),j=!1,pe=++_e,e.ac!==null&&(Qe(()=>{e.ac.abort(he)}),e.ac=null);try{e.f|=rt;var c=e.fn,o=c();e.f|=we;var h=e.deps,_=b?.is_fork;if(x!==null){var d;if(_||ke(e,C),h!==null&&C>0)for(h.length=C+x.length,d=0;d<x.length;d++)h[C+d]=x[d];else e.deps=h=x;if(_t()&&(e.f&L)!==0)for(d=C;d<h.length;d++)(h[d].reactions??=[]).push(e)}else!_&&h!==null&&C<h.length&&(ke(e,C),h.length=C);if(Ft()&&k!==null&&!j&&h!==null&&(e.f&(N|V|S))===0)for(d=0;d<k.length;d++)_n(k[d],e);if(s!==null&&s!==e){if(_e++,s.deps!==null)for(let g=0;g<n;g+=1)s.deps[g].rv=_e;if(t!==null)for(const g of t)g.rv=_e;k!==null&&(r===null?r=k:r.push(...k))}return(e.f&ie)!==0&&(e.f^=ie),o}catch(g){return Vt(g)}finally{e.f^=rt,x=t,C=n,k=r,v=s,I=i,Ae(f),j=l,pe=a}}function jr(e,t){let n=t.reactions;if(n!==null){var r=Ln.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&N)!==0&&(x===null||!Ee.call(x,t))){var i=t;(i.f&L)!==0&&(i.f^=L,i.f&=~ge),ct(i),Tr(i),ke(i,0)}}function ke(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)jr(e,n[r])}function Ne(e){var t=e.f;if((t&J)===0){m(e,A);var n=p,r=Be;p=e,Be=!0;try{(t&(ue|ze))!==0?Ir(e):vt(e),an(e);var s=vn(e);e.teardown=typeof s=="function"?s:null,e.wv=hn;var i;tt&&ir&&(e.f&S)!==0&&e.deps}finally{Be=r,p=n}}}async function Ds(){await Promise.resolve(),Yt()}function P(e){var t=e.f,n=(t&N)!==0;if(v!==null&&!j){var r=p!==null&&(p.f&J)!==0;if(!r&&(I===null||!Ee.call(I,e))){var s=v.deps;if((v.f&rt)!==0)e.rv<_e&&(e.rv=_e,x===null&&s!==null&&s[C]===e?C++:x===null?x=[e]:x.push(e));else{(v.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[v]:Ee.call(i,v)||i.push(v)}}}if(le&&ae.has(e))return ae.get(e);if(n){var f=e;if(le){var l=f.v;return((f.f&A)===0&&f.reactions!==null||gn(f))&&(l=ht(f)),ae.set(f,l),l}var a=(f.f&L)===0&&!j&&v!==null&&(Be||(v.f&L)!==0),u=(f.f&we)===0;Me(f)&&(a&&(f.f|=L),Kt(f)),a&&!u&&(Xt(f),pn(f))}if(F?.has(e))return F.get(e);if((e.f&ie)!==0)throw e.v;return e.v}function pn(e){if(e.f|=L,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&L)===0&&(Xt(t),pn(t))}function gn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ae.has(t)||(t.f&N)!==0&&gn(t))return!0;return!1}function wn(e){var t=j;try{return j=!0,e()}finally{j=t}}const Re=Symbol("events"),$n=new Set,at=new Set;function bn(e,t,n,r={}){function s(i){if(r.capture||lt.call(t,i),!i.cancelBubble)return Qe(()=>n?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?fe(()=>{t.addEventListener(e,s,r)}):t.addEventListener(e,s,r),s}function Fs(e,t,n,r={}){var s=bn(t,e,n,r);return()=>{e.removeEventListener(t,s,r)}}function js(e,t,n,r,s){var i={capture:r,passive:s},f=bn(e,t,n,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&rn(()=>{t.removeEventListener(e,f,i)})}function Hs(e,t,n){(t[Re]??={})[e]=n}function Vs(e){for(var t=0;t<e.length;t++)$n.add(e[t]);for(var n of at)n(e)}let Nt=null;function lt(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Nt=e;var f=0,l=Nt===e&&e[Re];if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e[Re]=t;return}var u=s.indexOf(t);if(u===-1)return;a<=u&&(f=a)}if(i=s[f]||e.target,i!==t){Ue(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=v,o=p;M(null),G(null);try{for(var h,_=[];i!==null;){var d=i.assignedSlot||i.parentNode||i.host||null;try{var g=i[Re]?.[r];g!=null&&(!i.disabled||e.target===i)&&g.call(i,e)}catch(y){h?_.push(y):h=y}if(e.cancelBubble||d===t||d===null)break;i=d}if(h){for(let y of _)queueMicrotask(()=>{throw y});throw h}}finally{e[Re]=t,delete e.currentTarget,M(c),G(o)}}}const Hr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Vr(e){return Hr?.createHTML(e)??e}function mn(e){var t=dt("template");return t.innerHTML=Vr(e.replaceAll("<!>","<!---->")),t.content}function z(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Bs(e,t){var n=(t&xn)!==0,r=(t&Cn)!==0,s,i=!e.startsWith("<!>");return()=>{if($)return z(w,null),w;s===void 0&&(s=mn(i?e:"<!>"+e),n||(s=ee(s)));var f=r||Qt?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=ee(f),a=f.lastChild;z(l,a)}else z(f,f);return f}}function Br(e,t,n="svg"){var r=!e.startsWith("<!>"),s=`<${n}>${r?e:"<!>"+e}</${n}>`,i;return()=>{if($)return z(w,null),w;if(!i){var f=mn(s),l=ee(f);i=ee(l)}var a=i.cloneNode(!0);return z(a,a),a}}function qs(e,t){return Br(e,t,"svg")}function Ys(e=""){if(!$){var t=Q(e+"");return z(t,t),t}var n=w;return n.nodeType!==Le?(n.before(n=Q()),B(n)):Ze(n),z(n,n),n}function Us(){if($)return z(w,null),w;var e=document.createDocumentFragment(),t=document.createComment(""),n=Q();return e.append(t,n),z(t,n),e}function qr(e,t){if($){var n=p;((n.f&we)===0||n.nodes.end===null)&&(n.nodes.end=w),It();return}e!==null&&e.before(t)}function Ws(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Yr=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function zs(e){return Yr.includes(e)}const Ur={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Gs(e){return e=e.toLowerCase(),Ur[e]??e}const Wr=["touchstart","touchmove"];function zr(e){return Wr.includes(e)}const Gr=["textarea","script","style","title"];function Ks(e){return Gr.includes(e)}function Xs(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function yn(e,t){return En(e,t)}function Kr(e,t){ft(),t.intro=t.intro??!1;const n=t.target,r=$,s=w;try{for(var i=ee(n);i&&(i.nodeType!==Ge||i.data!==xt);)i=te(i);if(!i)throw ye;De(!0),B(i);const f=En(e,{...t,anchor:i});return De(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==ye&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Kn(),ft(),nn(n),De(!1),yn(e,t)}finally{De(r),B(s)}}const je=new Map;function En(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0,transformError:l}){ft();var a=void 0,u=Cr(()=>{var c=n??t.appendChild(Q());vr(c,{pending:()=>{}},_=>{fr({});var d=O;if(i&&(d.c=i),s&&(r.$$events=s),$&&z(_,null),a=e(_,r)||{},$&&(p.nodes.end=w,w===null||w.nodeType!==Ge||w.data!==Pt))throw Ke(),ye;ar()},l);var o=new Set,h=_=>{for(var d=0;d<_.length;d++){var g=_[d];if(!o.has(g)){o.add(g);var y=zr(g);for(const ne of[t,document]){var D=je.get(ne);D===void 0&&(D=new Map,je.set(ne,D));var E=D.get(g);E===void 0?(ne.addEventListener(g,lt,{passive:y}),D.set(g,1)):D.set(g,E+1)}}}};return h(In($n)),at.add(h),()=>{for(var _ of o)for(const y of[t,document]){var d=je.get(y),g=d.get(_);--g==0?(y.removeEventListener(_,lt),d.delete(_),d.size===0&&je.delete(y)):d.set(_,g)}at.delete(h),c!==n&&c.parentNode?.removeChild(c)}});return ut.set(a,u),a}let ut=new WeakMap;function Xr(e,t){const n=ut.get(e);return n?(ut.delete(e),n(t)):Promise.resolve()}function Js(e,t){Pr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=dt("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function Tn(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Tn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Jr(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Tn(e))&&(r&&(r+=" "),r+=t);return r}function Zs(e){return typeof e=="object"?Jr(e):e??""}const Ot=[...`
|
|
3
|
+
\r\f \v\uFEFF`];function Zr(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var s of Object.keys(n))if(n[s])r=r?r+" "+s:s;else if(r.length)for(var i=s.length,f=0;(f=r.indexOf(s,f))>=0;){var l=f+i;(f===0||Ot.includes(r[f-1]))&&(l===r.length||Ot.includes(r[l]))?r=(f===0?"":r.substring(0,f))+r.substring(l+1):f=l}}return r===""?null:r}function Rt(e,t=!1){var n=t?" !important;":";",r="";for(var s of Object.keys(e)){var i=e[s];i!=null&&i!==""&&(r+=" "+s+": "+i+n)}return r}function et(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Qs(e,t){if(t){var n="",r,s;if(Array.isArray(t)?(r=t[0],s=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var i=!1,f=0,l=!1,a=[];r&&a.push(...Object.keys(r).map(et)),s&&a.push(...Object.keys(s).map(et));var u=0,c=-1;const g=e.length;for(var o=0;o<g;o++){var h=e[o];if(l?h==="/"&&e[o-1]==="*"&&(l=!1):i?i===h&&(i=!1):h==="/"&&e[o+1]==="*"?l=!0:h==='"'||h==="'"?i=h:h==="("?f++:h===")"&&f--,!l&&i===!1&&f===0){if(h===":"&&c===-1)c=o;else if(h===";"||o===g-1){if(c!==-1){var _=et(e.substring(u,c).trim());if(!a.includes(_)){h!==";"&&o++;var d=e.substring(u,o).trim();n+=" "+d+";"}}u=o+1,c=-1}}}}return r&&(n+=Rt(r)),s&&(n+=Rt(s,!0)),n=n.trim(),n===""?null:n}return e==null?null:String(e)}function ei(e,t,n,r,s,i){var f=e.__className;if($||f!==n||f===void 0){var l=Zr(n,r,i);(!$||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):t?e.className=l:e.setAttribute("class",l)),e.__className=n}else if(i&&s!==i)for(var a in i){var u=!!i[a];(s==null||u!==!!s[a])&&e.classList.toggle(a,u)}return i}let He=!1;function Qr(e){var t=He;try{return He=!1,[e(),He]}finally{He=t}}function ti(e,t=1){const n=e();return e(n+t),n}const es={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function ni(e,t,n){return new Proxy({props:e,exclude:t},es)}function ri(e,t,n,r){var s=(n&On)!==0,i=(n&Rn)!==0,f=r,l=!0,a=()=>(l&&(l=!1,f=i?wn(r):r),f),u;if(s){var c=me in e||Lt in e;u=ve(e,t)?.set??(c&&t in e?E=>e[t]=E:void 0)}var o,h=!1;s?[o,h]=Qr(()=>e[t]):o=e[t],o===void 0&&r!==void 0&&(o=a(),u&&(Xn(),u(o)));var _;if(_=()=>{var E=e[t];return E===void 0?a():(l=!0,E)},(n&Nn)===0)return _;if(u){var d=e.$$legacy;return(function(E,ne){return arguments.length>0?((!ne||d||h)&&u(ne?_():E),E):_()})}var g=!1,y=((n&Sn)!==0?Je:mr)(()=>(g=!1,_()));s&&P(y);var D=p;return(function(E,ne){if(arguments.length>0){const pt=ne?P(y):s?be(E):E;return Y(y,pt),g=!0,f!==void 0&&(f=pt),E}return le&&g||(D.f&J)!==0?y.v:P(y)})}function ts(e){return new ns(e)}class ns{#e;#t;constructor(t){var n=new Map,r=(i,f)=>{var l=Ar(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return P(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===Lt?!0:(P(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return Y(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#t=(t.hydrate?Kr:yn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Yt(),this.#e=s.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||Ue(this,i,{get(){return this.#t[i]},set(f){this.#t[i]=f},enumerable:!0});this.#t.$set=i=>{Object.assign(s,i)},this.#t.$destroy=()=>{Xr(this.#t)}}$set(t){this.#t.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#t.$destroy()}}let An;typeof HTMLElement=="function"&&(An=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=dt("slot");r!=="default"&&(i.name=r),qr(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=rs(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=qe(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ts({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=xr(()=>{fn(()=>{this.$$r=!0;for(const r of Ye(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=qe(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=qe(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Ye(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function qe(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function rs(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function si(e,t,n,r,s,i){let f=class extends An{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Ye(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Ye(t).forEach(l=>{Ue(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=qe(l,a,t),this.$$d[l]=a;var u=this.$$c;if(u){var c=ve(u,l)?.get;c?u[l]=a:u.$set({[l]:a})}}})}),r.forEach(l=>{Ue(f.prototype,l,{get(){return this.$$c?.[l]}})}),i&&(f=i(f)),e.element=f,f}export{Gs as $,ti as A,ks as B,js as C,ms as D,ys as E,dr as F,Fs as G,$ as H,It as I,Is as J,H as K,ce as L,Pr as M,Qs as N,kn as O,ws as P,As as Q,rn as R,Ps as S,b as T,bt as U,gr as V,os as W,vs as X,Ws as Y,bn as Z,xs as _,Js as a,T as a0,Pn as a1,Fn as a2,ds as a3,zs as a4,cs as a5,fe as a6,Nr as a7,De as a8,M as a9,K as aA,as as aB,nn as aC,Dr as aD,ee as aE,Ct as aF,Ge as aG,Pt as aH,te as aI,wn as aJ,fn as aK,Ds as aL,O as aM,qn as aN,xt as aO,me as aP,qs as aQ,dt as aR,us as aS,z as aT,ps as aU,Ks as aV,nr as aW,pe as aX,Ce as aY,Ys as aZ,Ts as a_,G as aa,v as ab,p as ac,Lr as ad,Pe as ae,bs as af,rr as ag,B as ah,w as ai,Q as aj,We as ak,hs as al,gs as am,Rs as an,fs as ao,mr as ap,In as aq,ss as ar,ls as as,Ar as at,Ie as au,is as av,J as aw,Ms as ax,Ve as ay,W as az,qr as b,si as c,ar as d,fr as e,Bs as f,be as g,Ss as h,P as i,ei as j,Xs as k,Zs as l,Yt as m,ni as n,Vs as o,ri as p,Y as q,$s as r,Os as s,Ls as t,Hs as u,re as v,Es as w,Ns as x,Us as y,Cs as z};
|
|
4
4
|
//# sourceMappingURL=custom-element.js.map
|